This is an automated email from the ASF dual-hosted git repository. martin_s pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git
commit 9e0f15c0374bfed224a03fb91a424b68a0a3df50 Author: Martin Stockhammer <[email protected]> AuthorDate: Wed Feb 13 07:48:32 2019 +0100 Adding profile for JDK11 --- pom.xml | 5 +++++ .../redback-rest/redback-rest-api/pom.xml | 22 ++++++++++++++++++++++ .../redback-rest/redback-rest-services/pom.xml | 21 +++++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/pom.xml b/pom.xml index 68ec204..de7b288 100644 --- a/pom.xml +++ b/pom.xml @@ -405,6 +405,11 @@ <version>2.6</version> </dependency> <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.5</version> + </dependency> + <dependency> <groupId>commons-digester</groupId> <artifactId>commons-digester</artifactId> <version>1.8.1</version> diff --git a/redback-integrations/redback-rest/redback-rest-api/pom.xml b/redback-integrations/redback-rest/redback-rest-api/pom.xml index 281793c..2d58167 100644 --- a/redback-integrations/redback-rest/redback-rest-api/pom.xml +++ b/redback-integrations/redback-rest/redback-rest-api/pom.xml @@ -59,4 +59,26 @@ </dependency> </dependencies> + <!-- + The jaxb dependency is needed by the enunciate plugin starting with JDK9. + Adding to the plugin dependency is not sufficient, so I have to add it as project dependency. + Using provided scope to avoid adding it to packaging. +--> + <profiles> + <profile> + <id>jdk9+</id> + <activation> + <jdk>[1.9,)</jdk> + </activation> + <dependencies> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.3.0</version> + <scope>provided</scope> + </dependency> + </dependencies> + </profile> + </profiles> + </project> diff --git a/redback-integrations/redback-rest/redback-rest-services/pom.xml b/redback-integrations/redback-rest/redback-rest-services/pom.xml index 29b7688..4baa6b8 100644 --- a/redback-integrations/redback-rest/redback-rest-services/pom.xml +++ b/redback-integrations/redback-rest/redback-rest-services/pom.xml @@ -274,4 +274,25 @@ </plugins> </build> + <!-- + The jaxb dependency is needed by the enunciate plugin starting with JDK9. + Adding to the plugin dependency is not sufficient, so I have to add it as project dependency. + Using provided scope to avoid adding it to packaging. +--> + <profiles> + <profile> + <id>jdk9+</id> + <activation> + <jdk>[1.9,)</jdk> + </activation> + <dependencies> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.3.0</version> + <scope>provided</scope> + </dependency> + </dependencies> + </profile> + </profiles> </project>
