Skip to content

Commit 1abaa3e

Browse files
authored
Merge branch 'main' into scratch/jakarta
2 parents 23849de + 2f151ce commit 1abaa3e

File tree

5 files changed

+55
-4
lines changed

5 files changed

+55
-4
lines changed

core/src/main/java9/module-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module owasp.encoder {
2+
exports org.owasp.encoder;
3+
}

esapi/src/main/java9/module-info.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module owasp.encoder.esapi {
2+
requires owasp.encoder;
3+
4+
exports org.owasp.encoder.esapi;
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module owasp.encoder.jakarta {
2+
requires owasp.encoder;
3+
4+
exports org.owasp.encoder.tag;
5+
}

jsp/src/main/java9/module-info.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module owasp.encoder.jsp {
2+
requires owasp.encoder;
3+
4+
exports org.owasp.encoder.tag;
5+
}

pom.xml

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<plugin>
169169
<groupId>org.apache.maven.plugins</groupId>
170170
<artifactId>maven-jar-plugin</artifactId>
171-
<version>3.2.2</version>
171+
<version>3.3.0</version>
172172
</plugin>
173173
<plugin>
174174
<groupId>org.apache.maven.plugins</groupId>
@@ -242,7 +242,7 @@
242242
<plugin>
243243
<groupId>org.apache.felix</groupId>
244244
<artifactId>maven-bundle-plugin</artifactId>
245-
<version>3.3.0</version>
245+
<version>3.5.1</version>
246246
</plugin>
247247
<plugin>
248248
<groupId>org.codehaus.mojo</groupId>
@@ -266,9 +266,42 @@
266266
<plugin>
267267
<groupId>org.apache.maven.plugins</groupId>
268268
<artifactId>maven-compiler-plugin</artifactId>
269+
<executions>
270+
<execution>
271+
<id>compile-java-8</id>
272+
<goals>
273+
<goal>compile</goal>
274+
</goals>
275+
<configuration>
276+
<source>1.8</source>
277+
<target>1.8</target>
278+
</configuration>
279+
</execution>
280+
<execution>
281+
<id>compile-java-9</id>
282+
<phase>compile</phase>
283+
<goals>
284+
<goal>compile</goal>
285+
</goals>
286+
<configuration>
287+
<release>9</release>
288+
<compileSourceRoots>
289+
<compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot>
290+
</compileSourceRoots>
291+
<multiReleaseOutput>true</multiReleaseOutput>
292+
</configuration>
293+
</execution>
294+
</executions>
295+
</plugin>
296+
<plugin>
297+
<groupId>org.apache.maven.plugins</groupId>
298+
<artifactId>maven-jar-plugin</artifactId>
269299
<configuration>
270-
<source>1.8</source>
271-
<target>1.8</target>
300+
<archive>
301+
<manifestEntries>
302+
<Multi-Release>true</Multi-Release>
303+
</manifestEntries>
304+
</archive>
272305
</configuration>
273306
</plugin>
274307
<plugin>

0 commit comments

Comments
 (0)