|
13 | 13 | <java.version>17</java.version>
|
14 | 14 | <version.compiler.plugin>3.9.0</version.compiler.plugin>
|
15 | 15 | <version.war.plugin>3.3.2</version.war.plugin>
|
16 |
| - <version.javaee.api>8.0</version.javaee.api> |
17 |
| - <version.wildfly.bootable>26.0.1.Final</version.wildfly.bootable> |
18 |
| - <version.wildfly.maven.jar.plugin>7.0.0.Final</version.wildfly.maven.jar.plugin> |
19 |
| - <version.wildfly.galleon.datasources.feature.pack>2.0.6.Final</version.wildfly.galleon.datasources.feature.pack> |
| 16 | + <version.jakarta.ee>10.0.0</version.jakarta.ee> |
| 17 | + <version.wildfly-maven-plugin>5.0.1.Final</version.wildfly-maven-plugin> |
| 18 | + <version.wildfly.galleon.datasources.feature.pack>8.0.1.Final</version.wildfly.galleon.datasources.feature.pack> |
20 | 19 | </properties>
|
21 | 20 |
|
22 |
| - <dependencies> |
| 21 | + <dependencyManagement> |
| 22 | + <dependencies> |
| 23 | + <dependency> |
| 24 | + <groupId>jakarta.platform</groupId> |
| 25 | + <artifactId>jakarta.jakartaee-bom</artifactId> |
| 26 | + <version>${version.jakarta.ee}</version> |
| 27 | + <scope>import</scope> |
| 28 | + <type>pom</type> |
| 29 | + </dependency> |
| 30 | + </dependencies> |
| 31 | + </dependencyManagement> |
23 | 32 |
|
| 33 | + <dependencies> |
24 | 34 | <dependency>
|
25 |
| - <groupId>javax</groupId> |
26 |
| - <artifactId>javaee-api</artifactId> |
27 |
| - <version>${version.javaee.api}</version> |
| 35 | + <groupId>jakarta.annotation</groupId> |
| 36 | + <artifactId>jakarta.annotation-api</artifactId> |
| 37 | + <scope>provided</scope> |
| 38 | + </dependency> |
| 39 | + <dependency> |
| 40 | + <groupId>jakarta.enterprise</groupId> |
| 41 | + <artifactId>jakarta.enterprise.cdi-api</artifactId> |
28 | 42 | <scope>provided</scope>
|
29 | 43 | </dependency>
|
30 |
| - |
31 | 44 | <dependency>
|
32 |
| - <groupId>org.glassfish.jaxb</groupId> |
33 |
| - <artifactId>jaxb-runtime</artifactId> |
34 |
| - <version>2.4.0-b180830.0438</version> |
| 45 | + <groupId>jakarta.enterprise.concurrent</groupId> |
| 46 | + <artifactId>jakarta.enterprise.concurrent-api</artifactId> |
| 47 | + <scope>provided</scope> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>jakarta.inject</groupId> |
| 51 | + <artifactId>jakarta.inject-api</artifactId> |
| 52 | + <scope>provided</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>jakarta.json</groupId> |
| 56 | + <artifactId>jakarta.json-api</artifactId> |
| 57 | + <scope>provided</scope> |
| 58 | + </dependency> |
| 59 | + <dependency> |
| 60 | + <groupId>jakarta.persistence</groupId> |
| 61 | + <artifactId>jakarta.persistence-api</artifactId> |
| 62 | + <scope>provided</scope> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>jakarta.transaction</groupId> |
| 66 | + <artifactId>jakarta.transaction-api</artifactId> |
| 67 | + <scope>provided</scope> |
| 68 | + </dependency> |
| 69 | + <dependency> |
| 70 | + <groupId>jakarta.validation</groupId> |
| 71 | + <artifactId>jakarta.validation-api</artifactId> |
| 72 | + <scope>provided</scope> |
| 73 | + </dependency> |
| 74 | + <dependency> |
| 75 | + <groupId>jakarta.ws.rs</groupId> |
| 76 | + <artifactId>jakarta.ws.rs-api</artifactId> |
| 77 | + <scope>provided</scope> |
35 | 78 | </dependency>
|
36 |
| - |
37 | 79 | </dependencies>
|
38 | 80 |
|
39 | 81 | <build>
|
|
50 | 92 | <artifactId>maven-compiler-plugin</artifactId>
|
51 | 93 | <version>${version.compiler.plugin}</version>
|
52 | 94 | <configuration>
|
53 |
| - <source>${java.version}</source> |
54 |
| - <target>${java.version}</target> |
55 | 95 | <release>${java.version}</release>
|
56 | 96 | </configuration>
|
57 | 97 | </plugin>
|
| 98 | + <plugin> |
| 99 | + <groupId>org.wildfly.plugins</groupId> |
| 100 | + <artifactId>wildfly-maven-plugin</artifactId> |
| 101 | + <version>${version.wildfly-maven-plugin}</version> |
| 102 | + <configuration> |
| 103 | + <name>ROOT.war</name> |
| 104 | + <!-- Not using the version for the feature-pack and channel manifest will always use the latest --> |
| 105 | + <feature-packs> |
| 106 | + <feature-pack> |
| 107 | + <groupId>org.wildfly</groupId> |
| 108 | + <artifactId>wildfly-ee-galleon-pack</artifactId> |
| 109 | + </feature-pack> |
| 110 | + <feature-pack> |
| 111 | + <groupId>org.wildfly</groupId> |
| 112 | + <artifactId>wildfly-datasources-galleon-pack</artifactId> |
| 113 | + <version>${version.wildfly.galleon.datasources.feature.pack}</version> |
| 114 | + </feature-pack> |
| 115 | + </feature-packs> |
| 116 | + <channels> |
| 117 | + <channel> |
| 118 | + <manifest> |
| 119 | + <groupId>org.wildfly.channels</groupId> |
| 120 | + <artifactId>wildfly-ee</artifactId> |
| 121 | + </manifest> |
| 122 | + </channel> |
| 123 | + </channels> |
| 124 | + <layers> |
| 125 | + <layer>jaxrs-server</layer> |
| 126 | + <layer>jpa</layer> |
| 127 | + <layer>jsf</layer> |
| 128 | + <layer>mysql-driver</layer> |
| 129 | + </layers> |
| 130 | + <packaging-scripts> |
| 131 | + <packaging-script> |
| 132 | + <scripts> |
| 133 | + <script>${basedir}/scripts/wildfly-setup.cli</script> |
| 134 | + </scripts> |
| 135 | + </packaging-script> |
| 136 | + </packaging-scripts> |
| 137 | + </configuration> |
| 138 | + </plugin> |
58 | 139 | </plugins>
|
59 | 140 | </build>
|
60 |
| - |
61 |
| - <profiles> |
62 |
| - <profile> |
63 |
| - <id>bootable-jar</id> |
64 |
| - <activation> |
65 |
| - <activeByDefault>false</activeByDefault> |
66 |
| - </activation> |
67 |
| - <build> |
68 |
| - <plugins> |
69 |
| - <plugin> |
70 |
| - <groupId>org.wildfly.plugins</groupId> |
71 |
| - <artifactId>wildfly-jar-maven-plugin</artifactId> |
72 |
| - <version>${version.wildfly.maven.jar.plugin}</version> |
73 |
| - <configuration> |
74 |
| - <feature-packs> |
75 |
| - <feature-pack> |
76 |
| - <location>wildfly@maven(org.jboss.universe:community-universe)#${version.wildfly.bootable}</location> |
77 |
| - </feature-pack> |
78 |
| - <feature-pack> |
79 |
| - <groupId>org.wildfly</groupId> |
80 |
| - <artifactId>wildfly-datasources-galleon-pack</artifactId> |
81 |
| - <version>${version.wildfly.galleon.datasources.feature.pack}</version> |
82 |
| - </feature-pack> |
83 |
| - </feature-packs> |
84 |
| - <layers> |
85 |
| - <layer>jaxrs-server</layer> |
86 |
| - <layer>jsf</layer> |
87 |
| - <layer>mysql-driver</layer> |
88 |
| - </layers> |
89 |
| - <excluded-layers> |
90 |
| - <layer>deployment-scanner</layer> |
91 |
| - </excluded-layers> |
92 |
| - <cli-sessions> |
93 |
| - <cli-session> |
94 |
| - <script-files> |
95 |
| - <script>scripts/bootable-jar.cli</script> |
96 |
| - </script-files> |
97 |
| - </cli-session> |
98 |
| - </cli-sessions> |
99 |
| - </configuration> |
100 |
| - <executions> |
101 |
| - <execution> |
102 |
| - <goals> |
103 |
| - <goal>package</goal> |
104 |
| - </goals> |
105 |
| - </execution> |
106 |
| - </executions> |
107 |
| - </plugin> |
108 |
| - </plugins> |
109 |
| - </build> |
110 |
| - </profile> |
111 |
| - </profiles> |
112 | 141 | </project>
|
0 commit comments