diff options
author | Olivier Lamy <olamy@apache.org> | 2022-08-06 11:30:06 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2022-08-06 11:30:06 +1000 |
commit | 4e15d4fd6f458ac29b4dc928b538e2d23e2885f1 (patch) | |
tree | dee4b6dbf72d6a04094baf1bf0a512cb6d6da643 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml | |
parent | 215b7719fd91469e28b7e45a22c671de28e350cc (diff) | |
download | archiva-4e15d4fd6f458ac29b4dc928b538e2d23e2885f1.tar.gz archiva-4e15d4fd6f458ac29b4dc928b538e2d23e2885f1.zip |
[MRM-2031] Switch to jdk 11
Signed-off-by: Olivier Lamy <olamy@apache.org>
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml | 53 |
1 files changed, 16 insertions, 37 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml index fbc01e61f..58f940392 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml @@ -104,24 +104,24 @@ <groupId>jakarta.inject</groupId> <artifactId>jakarta.inject-api</artifactId> </dependency> + <dependency> + <groupId>jakarta.xml.bind</groupId> + <artifactId>jakarta.xml.bind-api</artifactId> + </dependency> + <dependency> + <groupId>io.swagger.core.v3</groupId> + <artifactId>swagger-core</artifactId> + </dependency> + <dependency> + <groupId>io.swagger.core.v3</groupId> + <artifactId>swagger-jaxrs2</artifactId> + </dependency> + <dependency> + <groupId>io.swagger.core.v3</groupId> + <artifactId>swagger-annotations</artifactId> + </dependency> - <dependency> - <groupId>io.swagger.core.v3</groupId> - <artifactId>swagger-core</artifactId> - </dependency> - <dependency> - <groupId>io.swagger.core.v3</groupId> - <artifactId>swagger-jaxrs2</artifactId> - </dependency> - <dependency> - <groupId>io.swagger.core.v3</groupId> - <artifactId>swagger-annotations</artifactId> - </dependency> - <dependency> - <groupId>jakarta.xml.bind</groupId> - <artifactId>jakarta.xml.bind-api</artifactId> - </dependency> </dependencies> <build> @@ -140,25 +140,4 @@ </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>jakarta.xml.bind</groupId> - <artifactId>jakarta.xml.bind-api</artifactId> - </dependency> - </dependencies> - </profile> - </profiles> - - </project> |