Selaa lähdekoodia

Fixing dependency for JDK>=9

pull/51/head
Martin Stockhammer 5 vuotta sitten
vanhempi
commit
b639d3ee50
1 muutettua tiedostoa jossa 22 lisäystä ja 0 poistoa
  1. 22
    0
      archiva-modules/archiva-base/archiva-proxy-maven/pom.xml

+ 22
- 0
archiva-modules/archiva-base/archiva-proxy-maven/pom.xml Näytä tiedosto

@@ -179,4 +179,26 @@
</pluginManagement>
</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>

Loading…
Peruuta
Tallenna