Skip to content

Commit

Permalink
Generate empty javadoc jar for deferred-locks module
Browse files Browse the repository at this point in the history
The only package in this module is `org.neo4j.kernel.impl.locking` and all
packages with `impl` in their name are excluded from javadoc generation. This
means that no packages in deferred-locks module were eligible for javadoc
generation and javadoc jar was not created at all.

This commit forces an empty javadoc jar generation.
  • Loading branch information
lutovich committed Aug 31, 2016
1 parent fbc9f62 commit 71f2bd7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions enterprise/deferred-locks/pom.xml
Expand Up @@ -100,4 +100,39 @@

</dependencies>

<profiles>
<profile>
<id>neo-full-build-with-javadoc</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>fullBuild</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>generate-dummy-javadocs-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<excludes>
<exclude>**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 71f2bd7

Please sign in to comment.