Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
d1ac774a
Commit
d1ac774a
authored
Aug 09, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configure build to be compatible with Java 11
See gh-14028
parent
930c838d
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
91 additions
and
41 deletions
+91
-41
pom.xml
spring-boot-project/spring-boot-autoconfigure/pom.xml
+28
-0
pom.xml
spring-boot-project/spring-boot-cli/pom.xml
+26
-0
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+6
-0
pom.xml
spring-boot-project/spring-boot-parent/pom.xml
+0
-17
pom.xml
...ng-boot-samples/spring-boot-sample-data-cassandra/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-data-jpa/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-data-rest/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-flyway/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-jersey/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-jetty-jsp/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-jpa/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-jta-atomikos/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-jta-bitronix/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-test/pom.xml
+1
-1
pom.xml
...t-samples/spring-boot-sample-web-groovy-templates/pom.xml
+1
-1
pom.xml
spring-boot-samples/spring-boot-sample-webservices/pom.xml
+20
-13
No files found.
spring-boot-project/spring-boot-autoconfigure/pom.xml
View file @
d1ac774a
...
...
@@ -796,4 +796,32 @@
<scope>
test
</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>
java9-10
</id>
<activation>
<jdk>
[9,10]
</jdk>
</activation>
<dependencies>
<dependency>
<groupId>
javax.xml.bind
</groupId>
<artifactId>
jaxb-api
</artifactId>
<optional>
true
</optional>
</dependency>
</dependencies>
</profile>
<profile>
<id>
java11+
</id>
<activation>
<jdk>
[11,)
</jdk>
</activation>
<dependencies>
<dependency>
<groupId>
org.glassfish.jaxb
</groupId>
<artifactId>
jaxb-runtime
</artifactId>
<optional>
true
</optional>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
spring-boot-project/spring-boot-cli/pom.xml
View file @
d1ac774a
...
...
@@ -454,5 +454,31 @@
<spring.profiles.active>
integration
</spring.profiles.active>
</properties>
</profile>
<profile>
<id>
java9-10
</id>
<activation>
<jdk>
[9,10]
</jdk>
</activation>
<dependencies>
<dependency>
<groupId>
javax.xml.bind
</groupId>
<artifactId>
jaxb-api
</artifactId>
<optional>
true
</optional>
</dependency>
</dependencies>
</profile>
<profile>
<id>
java11+
</id>
<activation>
<jdk>
[11,)
</jdk>
</activation>
<dependencies>
<dependency>
<groupId>
org.glassfish.jaxb
</groupId>
<artifactId>
jaxb-runtime
</artifactId>
<optional>
true
</optional>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
d1ac774a
...
...
@@ -62,6 +62,7 @@
<freemarker.version>
2.3.28
</freemarker.version>
<elasticsearch.version>
6.3.2
</elasticsearch.version>
<glassfish-el.version>
3.0.0
</glassfish-el.version>
<glassfixh-jaxb.version>
2.4.0-b180725.0644
</glassfixh-jaxb.version>
<groovy.version>
2.5.2
</groovy.version>
<gson.version>
2.8.5
</gson.version>
<h2.version>
1.4.197
</h2.version>
...
...
@@ -1832,6 +1833,11 @@
<artifactId>
javax.el
</artifactId>
<version>
${glassfish-el.version}
</version>
</dependency>
<dependency>
<groupId>
org.glassfish.jaxb
</groupId>
<artifactId>
jaxb-runtime
</artifactId>
<version>
${glassfixh-jaxb.version}
</version>
</dependency>
<dependency>
<groupId>
org.glassfish.jersey
</groupId>
<artifactId>
jersey-bom
</artifactId>
...
...
spring-boot-project/spring-boot-parent/pom.xml
View file @
d1ac774a
...
...
@@ -720,22 +720,5 @@
<m2e.cdi.activation>
false
</m2e.cdi.activation>
</properties>
</profile>
<profile>
<id>
java9
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<configuration>
<argLine>
--add-modules java.base,java.xml.bind
</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
spring-boot-samples/spring-boot-sample-data-cassandra/pom.xml
View file @
d1ac774a
...
...
@@ -105,7 +105,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-data-jpa/pom.xml
View file @
d1ac774a
...
...
@@ -47,7 +47,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-data-rest/pom.xml
View file @
d1ac774a
...
...
@@ -66,7 +66,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-flyway/pom.xml
View file @
d1ac774a
...
...
@@ -55,7 +55,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-jersey/pom.xml
View file @
d1ac774a
...
...
@@ -56,7 +56,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-jetty-jsp/pom.xml
View file @
d1ac774a
...
...
@@ -71,7 +71,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-jpa/pom.xml
View file @
d1ac774a
...
...
@@ -55,7 +55,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-jta-atomikos/pom.xml
View file @
d1ac774a
...
...
@@ -63,7 +63,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-jta-bitronix/pom.xml
View file @
d1ac774a
...
...
@@ -63,7 +63,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-test/pom.xml
View file @
d1ac774a
...
...
@@ -63,7 +63,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-web-groovy-templates/pom.xml
View file @
d1ac774a
...
...
@@ -37,7 +37,7 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
+
</id>
<activation>
<jdk>
[9,)
</jdk>
</activation>
...
...
spring-boot-samples/spring-boot-sample-webservices/pom.xml
View file @
d1ac774a
...
...
@@ -49,21 +49,28 @@
</build>
<profiles>
<profile>
<id>
java9
</id>
<id>
java9
-10
</id>
<activation>
<jdk>
[9,
)
</jdk>
<jdk>
[9,
10]
</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<configuration>
<argLine>
--add-modules java.base,java.xml.ws
</argLine>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>
javax.xml.bind
</groupId>
<artifactId>
jaxb-api
</artifactId>
</dependency>
</dependencies>
</profile>
<profile>
<id>
java11+
</id>
<activation>
<jdk>
[11,)
</jdk>
</activation>
<dependencies>
<dependency>
<groupId>
org.glassfish.jaxb
</groupId>
<artifactId>
jaxb-runtime
</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment