Generating sources and Javadoc in JAR export

This commit is contained in:
Kai S. K. Engelbart 2020-01-06 14:38:14 +01:00
parent 4fe5d9d5f8
commit 5b2ffb0f7e

28
pom.xml
View File

@ -28,5 +28,33 @@
<build>
<finalName>java-nio-server</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>