Skip to content

Commit

Permalink
OGM-752 Only include the javadocs in the assembly if the module was b…
Browse files Browse the repository at this point in the history
…uilt
  • Loading branch information
Sanne authored and gunnarmorling committed Mar 11, 2015
1 parent f96712e commit 59f0277
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions distribution/pom.xml
Expand Up @@ -95,12 +95,6 @@
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-neo4j</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-javadoc</artifactId>
<version>${project.version}</version>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>org.hibernate.ogm</groupId>
Expand Down Expand Up @@ -172,4 +166,26 @@
</exclusions>
</dependency>
</dependencies>

<profiles>
<profile>
<id>doc</id>
<activation>
<!-- Needs to match activation of "doc" profile in parent pom! -->
<jdk>[1.7, 1.9)</jdk>
<property>
<name>skipDocs</name>
<value>!true</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.hibernate.ogm</groupId>
<artifactId>hibernate-ogm-javadoc</artifactId>
<version>${project.version}</version>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit 59f0277

Please sign in to comment.