Skip to content

Commit

Permalink
Plugins for generating jars with dependencies, javadoc, sourcecode, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-f committed May 30, 2017
1 parent 2a55535 commit 63feaae
Showing 1 changed file with 43 additions and 4 deletions.
47 changes: 43 additions & 4 deletions PolenClient/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,52 @@
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>withDependencies</shadedClassifierName>
</configuration>
</plugin>


<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>


</plugins>

<extensions>
Expand Down

0 comments on commit 63feaae

Please sign in to comment.