Skip to content

Commit

Permalink
Move requestfactory-apt to executableDependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroyer committed Jan 2, 2025
1 parent 4979a83 commit 9a6d100
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
<artifactId>${rootArtifactId}-shared</artifactId>
<version>${dollar}{project.version}</version>
</dependency>
<dependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
<!-- This is an annotation processor, it's only needed at compile-time -->
<optional>true</optional>
<!-- The provided scope will exclude the dependency from the webapp classpath in jetty-maven-plugin -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-server-jakarta</artifactId>
Expand Down Expand Up @@ -60,9 +52,21 @@
<argument>${dollar}{project.build.outputDirectory}</argument>
<argument>${package}.${module}Factory</argument>
</arguments>
<includePluginDependencies>true</includePluginDependencies>
<executableDependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
</executableDependency>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
<version>${dollar}{gwt.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<gwt.version>2.12.1</gwt.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt</artifactId>
<version>2.12.1</version>
<version>${dollar}{gwt.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
<artifactId>basic-rf-shared</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
<!-- This is an annotation processor, it's only needed at compile-time -->
<optional>true</optional>
<!-- The provided scope will exclude the dependency from the webapp classpath in jetty-maven-plugin -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-server-jakarta</artifactId>
Expand Down Expand Up @@ -59,9 +51,21 @@
<argument>${project.build.outputDirectory}</argument>
<argument>it.pkg.BasicFactory</argument>
</arguments>
<includePluginDependencies>true</includePluginDependencies>
<executableDependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
</executableDependency>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.gwtproject.web.bindery</groupId>
<artifactId>requestfactory-apt</artifactId>
<version>${gwt.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<pluginManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<gwt.version>2.12.1</gwt.version>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gwtproject</groupId>
<artifactId>gwt</artifactId>
<version>2.12.1</version>
<version>${gwt.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit 9a6d100

Please sign in to comment.