|
@@ -13,27 +13,69 @@
|
|
|
<java.version>17</java.version>
|
|
|
<version.compiler.plugin>3.9.0</version.compiler.plugin>
|
|
|
<version.war.plugin>3.3.2</version.war.plugin>
|
|
|
- <version.javaee.api>8.0</version.javaee.api>
|
|
|
- <version.wildfly.bootable>26.0.1.Final</version.wildfly.bootable>
|
|
|
- <version.wildfly.maven.jar.plugin>7.0.0.Final</version.wildfly.maven.jar.plugin>
|
|
|
- <version.wildfly.galleon.datasources.feature.pack>2.0.6.Final</version.wildfly.galleon.datasources.feature.pack>
|
|
|
+ <version.jakarta.ee>10.0.0</version.jakarta.ee>
|
|
|
+ <version.wildfly-maven-plugin>5.0.1.Final</version.wildfly-maven-plugin>
|
|
|
+ <version.wildfly.galleon.datasources.feature.pack>8.0.1.Final</version.wildfly.galleon.datasources.feature.pack>
|
|
|
</properties>
|
|
|
|
|
|
- <dependencies>
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.platform</groupId>
|
|
|
+ <artifactId>jakarta.jakartaee-bom</artifactId>
|
|
|
+ <version>${version.jakarta.ee}</version>
|
|
|
+ <scope>import</scope>
|
|
|
+ <type>pom</type>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
|
|
|
+ <dependencies>
|
|
|
<dependency>
|
|
|
- <groupId>javax</groupId>
|
|
|
- <artifactId>javaee-api</artifactId>
|
|
|
- <version>${version.javaee.api}</version>
|
|
|
+ <groupId>jakarta.annotation</groupId>
|
|
|
+ <artifactId>jakarta.annotation-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.enterprise</groupId>
|
|
|
+ <artifactId>jakarta.enterprise.cdi-api</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
- <groupId>org.glassfish.jaxb</groupId>
|
|
|
- <artifactId>jaxb-runtime</artifactId>
|
|
|
- <version>2.4.0-b180830.0438</version>
|
|
|
+ <groupId>jakarta.enterprise.concurrent</groupId>
|
|
|
+ <artifactId>jakarta.enterprise.concurrent-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.inject</groupId>
|
|
|
+ <artifactId>jakarta.inject-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.json</groupId>
|
|
|
+ <artifactId>jakarta.json-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.persistence</groupId>
|
|
|
+ <artifactId>jakarta.persistence-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.transaction</groupId>
|
|
|
+ <artifactId>jakarta.transaction-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.validation</groupId>
|
|
|
+ <artifactId>jakarta.validation-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.ws.rs</groupId>
|
|
|
+ <artifactId>jakarta.ws.rs-api</artifactId>
|
|
|
+ <scope>provided</scope>
|
|
|
</dependency>
|
|
|
-
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
@@ -50,63 +92,50 @@
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>${version.compiler.plugin}</version>
|
|
|
<configuration>
|
|
|
- <source>${java.version}</source>
|
|
|
- <target>${java.version}</target>
|
|
|
<release>${java.version}</release>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.wildfly.plugins</groupId>
|
|
|
+ <artifactId>wildfly-maven-plugin</artifactId>
|
|
|
+ <version>${version.wildfly-maven-plugin}</version>
|
|
|
+ <configuration>
|
|
|
+ <name>ROOT.war</name>
|
|
|
+ <!-- Not using the version for the feature-pack and channel manifest will always use the latest -->
|
|
|
+ <feature-packs>
|
|
|
+ <feature-pack>
|
|
|
+ <groupId>org.wildfly</groupId>
|
|
|
+ <artifactId>wildfly-ee-galleon-pack</artifactId>
|
|
|
+ </feature-pack>
|
|
|
+ <feature-pack>
|
|
|
+ <groupId>org.wildfly</groupId>
|
|
|
+ <artifactId>wildfly-datasources-galleon-pack</artifactId>
|
|
|
+ <version>${version.wildfly.galleon.datasources.feature.pack}</version>
|
|
|
+ </feature-pack>
|
|
|
+ </feature-packs>
|
|
|
+ <channels>
|
|
|
+ <channel>
|
|
|
+ <manifest>
|
|
|
+ <groupId>org.wildfly.channels</groupId>
|
|
|
+ <artifactId>wildfly-ee</artifactId>
|
|
|
+ </manifest>
|
|
|
+ </channel>
|
|
|
+ </channels>
|
|
|
+ <layers>
|
|
|
+ <layer>jaxrs-server</layer>
|
|
|
+ <layer>jpa</layer>
|
|
|
+ <layer>jsf</layer>
|
|
|
+ <layer>mysql-driver</layer>
|
|
|
+ </layers>
|
|
|
+ <packaging-scripts>
|
|
|
+ <packaging-script>
|
|
|
+ <scripts>
|
|
|
+ <script>${basedir}/scripts/wildfly-setup.cli</script>
|
|
|
+ </scripts>
|
|
|
+ </packaging-script>
|
|
|
+ </packaging-scripts>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
-
|
|
|
- <profiles>
|
|
|
- <profile>
|
|
|
- <id>bootable-jar</id>
|
|
|
- <activation>
|
|
|
- <activeByDefault>false</activeByDefault>
|
|
|
- </activation>
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.wildfly.plugins</groupId>
|
|
|
- <artifactId>wildfly-jar-maven-plugin</artifactId>
|
|
|
- <version>${version.wildfly.maven.jar.plugin}</version>
|
|
|
- <configuration>
|
|
|
- <feature-packs>
|
|
|
- <feature-pack>
|
|
|
- <location>wildfly@maven(org.jboss.universe:community-universe)#${version.wildfly.bootable}</location>
|
|
|
- </feature-pack>
|
|
|
- <feature-pack>
|
|
|
- <groupId>org.wildfly</groupId>
|
|
|
- <artifactId>wildfly-datasources-galleon-pack</artifactId>
|
|
|
- <version>${version.wildfly.galleon.datasources.feature.pack}</version>
|
|
|
- </feature-pack>
|
|
|
- </feature-packs>
|
|
|
- <layers>
|
|
|
- <layer>jaxrs-server</layer>
|
|
|
- <layer>jsf</layer>
|
|
|
- <layer>mysql-driver</layer>
|
|
|
- </layers>
|
|
|
- <excluded-layers>
|
|
|
- <layer>deployment-scanner</layer>
|
|
|
- </excluded-layers>
|
|
|
- <cli-sessions>
|
|
|
- <cli-session>
|
|
|
- <script-files>
|
|
|
- <script>scripts/bootable-jar.cli</script>
|
|
|
- </script-files>
|
|
|
- </cli-session>
|
|
|
- </cli-sessions>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <goals>
|
|
|
- <goal>package</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </build>
|
|
|
- </profile>
|
|
|
- </profiles>
|
|
|
</project>
|