Skip to content

Commit

Permalink
Package the sources necessary to produce Javadocs
Browse files Browse the repository at this point in the history
When the fullBuild profile was removed some modules no longer produced
the sources-jar necessary in the downstream Javadocs build.
This adds maven-source-plugin to these modules directly so that
a sources-jar is produced by default as part of the package phase.
  • Loading branch information
jjaderberg committed Jan 16, 2017
1 parent efb0f9c commit b592a0a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Expand Up @@ -69,9 +69,27 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.neo4j.build.plugins</groupId>
<artifactId>clirr-maven-plugin</artifactId>
Expand Down

0 comments on commit b592a0a

Please sign in to comment.