Put javadoc and source into install maven phase

This commit is contained in:
tastybento 2020-01-12 17:07:08 -08:00
parent 227ebef824
commit bcce54cedc
1 changed files with 4 additions and 1 deletions

View File

@ -321,7 +321,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<!-- To build with Java 9+ use <release>8</release> here instead of source and target tags -->
<!-- To build with Java 9+ use <release>8</release> here
instead of source and target tags -->
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
@ -351,6 +352,7 @@
<executions>
<execution>
<id>attach-javadocs</id>
<phase>install</phase>
<goals>
<goal>jar</goal>
</goals>
@ -364,6 +366,7 @@
<executions>
<execution>
<id>attach-sources</id>
<phase>install</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>