Don't require fhir core javadocs by default

This commit is contained in:
James Agnew 2019-11-26 02:22:09 -03:00
parent 5f803f7e68
commit 7745dc4ad4
1 changed files with 16 additions and 7 deletions

View File

@ -31,13 +31,6 @@
<artifactId>org.hl7.fhir.r4</artifactId>
<version>${fhir_core_version}</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.r4</artifactId>
<classifier>javadoc</classifier>
<scope>provided</scope>
<version>${fhir_core_version}</version>
</dependency>
<dependency>
<groupId>org.fhir</groupId>
<artifactId>ucum</artifactId>
@ -365,4 +358,20 @@
</plugins>
</build>
<profiles>
<profile>
<id>DIST</id>
<dependencies>
<!-- When we're building a DIST, make sure that the javadocs for fhir_core are available -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.r4</artifactId>
<classifier>javadoc</classifier>
<scope>provided</scope>
<version>${fhir_core_version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>