|
34 | 34 | </modules>
|
35 | 35 |
|
36 | 36 | <properties>
|
| 37 | + <maven.compiler.source>16</maven.compiler.source> |
| 38 | + <maven.compiler.target>16</maven.compiler.target> |
| 39 | + <byte-buddy.version>1.11.0</byte-buddy.version> |
37 | 40 | <apt.version>1.1.3</apt.version>
|
38 | 41 | <jvm.enable-preview></jvm.enable-preview>
|
39 | 42 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
54 | 57 | </properties>
|
55 | 58 | </profile>
|
56 | 59 |
|
57 |
| - <profile> |
58 |
| - <id>java8</id> |
59 |
| - |
60 |
| - <activation> |
61 |
| - <jdk>1.8</jdk> |
62 |
| - </activation> |
63 |
| - |
64 |
| - <modules> |
65 |
| - |
66 |
| - <!-- Embedded Cassandra (cassandra-all) is not compatible with Java runtime 9 and higher. |
67 |
| - See https://issues.apache.org/jira/browse/CASSANDRA-9608 --> |
68 |
| - <module>cassandra</module> |
69 |
| - </modules> |
70 |
| - </profile> |
71 |
| - |
72 |
| - <profile> |
73 |
| - <id>java11</id> |
74 |
| - |
75 |
| - <activation> |
76 |
| - <jdk>11</jdk> |
77 |
| - </activation> |
78 |
| - </profile> |
79 |
| - |
80 |
| - <profile> |
81 |
| - <id>java-next</id> |
82 |
| - |
83 |
| - <activation> |
84 |
| - <jdk>[9,)</jdk> |
85 |
| - </activation> |
86 |
| - |
87 |
| - <dependencies> |
88 |
| - <dependency> |
89 |
| - <groupId>javax.xml.bind</groupId> |
90 |
| - <artifactId>jaxb-api</artifactId> |
91 |
| - </dependency> |
92 |
| - <dependency> |
93 |
| - <groupId>javax.annotation</groupId> |
94 |
| - <artifactId>javax.annotation-api</artifactId> |
95 |
| - </dependency> |
96 |
| - </dependencies> |
97 |
| - </profile> |
98 |
| - |
99 |
| - <profile> |
100 |
| - <id>java-13+</id> |
101 |
| - |
102 |
| - <activation> |
103 |
| - <jdk>[13,)</jdk> |
104 |
| - </activation> |
105 |
| - |
106 |
| - <properties> |
107 |
| - <jvm.enable-preview>--enable-preview</jvm.enable-preview> |
108 |
| - </properties> |
109 |
| - |
110 |
| - <build> |
111 |
| - <plugins> |
112 |
| - <plugin> |
113 |
| - <artifactId>maven-compiler-plugin</artifactId> |
114 |
| - <configuration> |
115 |
| - <release>13</release> |
116 |
| - <compilerArgs> |
117 |
| - ${jvm.enable-preview} |
118 |
| - </compilerArgs> |
119 |
| - </configuration> |
120 |
| - </plugin> |
121 |
| - <plugin> |
122 |
| - <artifactId>maven-surefire-plugin</artifactId> |
123 |
| - <configuration> |
124 |
| - <argLine>${jvm.enable-preview}</argLine> |
125 |
| - </configuration> |
126 |
| - </plugin> |
127 |
| - <plugin> |
128 |
| - <artifactId>maven-failsafe-plugin</artifactId> |
129 |
| - <configuration> |
130 |
| - <argLine>${jvm.enable-preview}</argLine> |
131 |
| - </configuration> |
132 |
| - </plugin> |
133 |
| - |
134 |
| - </plugins> |
135 |
| - </build> |
136 |
| - </profile> |
137 |
| - |
138 |
| - <profile> |
139 |
| - <id>java-13</id> |
140 |
| - |
141 |
| - <activation> |
142 |
| - <jdk>13</jdk> |
143 |
| - </activation> |
144 |
| - |
145 |
| - <build> |
146 |
| - <plugins> |
147 |
| - <plugin> |
148 |
| - <artifactId>maven-compiler-plugin</artifactId> |
149 |
| - <configuration> |
150 |
| - <release>13</release> |
151 |
| - </configuration> |
152 |
| - </plugin> |
153 |
| - </plugins> |
154 |
| - </build> |
155 |
| - </profile> |
156 |
| - |
157 |
| - <profile> |
158 |
| - <id>java-14</id> |
159 |
| - |
160 |
| - <activation> |
161 |
| - <jdk>14</jdk> |
162 |
| - </activation> |
163 |
| - |
164 |
| - <build> |
165 |
| - <plugins> |
166 |
| - <plugin> |
167 |
| - <artifactId>maven-compiler-plugin</artifactId> |
168 |
| - <configuration> |
169 |
| - <release>14</release> |
170 |
| - </configuration> |
171 |
| - </plugin> |
172 |
| - </plugins> |
173 |
| - </build> |
174 |
| - </profile> |
175 |
| - |
176 |
| - <profile> |
177 |
| - <id>java-15</id> |
178 |
| - |
179 |
| - <activation> |
180 |
| - <jdk>15</jdk> |
181 |
| - </activation> |
182 |
| - |
183 |
| - <build> |
184 |
| - <plugins> |
185 |
| - <plugin> |
186 |
| - <artifactId>maven-compiler-plugin</artifactId> |
187 |
| - <configuration> |
188 |
| - <release>15</release> |
189 |
| - </configuration> |
190 |
| - </plugin> |
191 |
| - </plugins> |
192 |
| - </build> |
193 |
| - </profile> |
194 |
| - |
195 |
| - <profile> |
196 |
| - <id>java-16</id> |
197 |
| - |
198 |
| - <activation> |
199 |
| - <jdk>16</jdk> |
200 |
| - </activation> |
201 |
| - |
202 |
| - <build> |
203 |
| - <plugins> |
204 |
| - <plugin> |
205 |
| - <artifactId>maven-compiler-plugin</artifactId> |
206 |
| - <configuration> |
207 |
| - <release>16</release> |
208 |
| - </configuration> |
209 |
| - </plugin> |
210 |
| - </plugins> |
211 |
| - </build> |
212 |
| - </profile> |
213 |
| - |
214 | 60 | </profiles>
|
215 | 61 |
|
216 | 62 | <developers>
|
|
274 | 120 | <scope>test</scope>
|
275 | 121 | </dependency>
|
276 | 122 | <dependency>
|
277 |
| - <groupId>org.junit.jupiter</groupId> |
278 |
| - <artifactId>junit-jupiter-engine</artifactId> |
279 |
| - <scope>test</scope> |
| 123 | + <groupId>org.junit.jupiter</groupId> |
| 124 | + <artifactId>junit-jupiter-engine</artifactId> |
| 125 | + <scope>test</scope> |
280 | 126 | </dependency>
|
281 | 127 | <dependency>
|
282 | 128 | <groupId>org.junit.vintage</groupId>
|
283 | 129 | <artifactId>junit-vintage-engine</artifactId>
|
284 | 130 | <scope>test</scope>
|
285 | 131 | </dependency>
|
286 | 132 |
|
| 133 | + <!-- Java 9++ dependencies --> |
| 134 | + |
| 135 | + <dependency> |
| 136 | + <groupId>javax.xml.bind</groupId> |
| 137 | + <artifactId>jaxb-api</artifactId> |
| 138 | + </dependency> |
| 139 | + <dependency> |
| 140 | + <groupId>javax.annotation</groupId> |
| 141 | + <artifactId>javax.annotation-api</artifactId> |
| 142 | + </dependency> |
287 | 143 |
|
288 | 144 | </dependencies>
|
289 | 145 |
|
| 146 | + <build> |
| 147 | + <plugins> |
| 148 | + <plugin> |
| 149 | + <groupId>org.apache.maven.plugins</groupId> |
| 150 | + <artifactId>maven-compiler-plugin</artifactId> |
| 151 | + <configuration> |
| 152 | + <release>16</release> |
| 153 | + <parameters>true</parameters> |
| 154 | + </configuration> |
| 155 | + </plugin> |
| 156 | + </plugins> |
| 157 | + </build> |
| 158 | + |
290 | 159 | <repositories>
|
291 | 160 | <repository>
|
292 | 161 | <id>central</id>
|
|
0 commit comments