diff options
Diffstat (limited to 'archiva-modules/metadata/metadata-model/pom.xml')
-rw-r--r-- | archiva-modules/metadata/metadata-model/pom.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-model/pom.xml b/archiva-modules/metadata/metadata-model/pom.xml index a38a8736f..420d1bcf4 100644 --- a/archiva-modules/metadata/metadata-model/pom.xml +++ b/archiva-modules/metadata/metadata-model/pom.xml @@ -55,4 +55,22 @@ </plugin> </plugins> </build> + + <profiles> + <profile> + <id>jdk9+</id> + <activation> + <jdk>[1.9,)</jdk> + </activation> + <dependencies> + <!-- needed for jdk 11 --> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + <version>2.3.1</version> + </dependency> + </dependencies> + </profile> + </profiles> + </project> |