Enable Javadoc and source generation in POM

This commit is contained in:
Kai S. K. Engelbart 2020-09-06 14:59:06 +02:00
parent 83010942f1
commit 856e81b090
Signed by: kske
GPG Key ID: 8BEB13EC5DF7EF13
1 changed files with 28 additions and 2 deletions

30
pom.xml
View File

@ -17,7 +17,7 @@
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>
<developers>
<developer>
<id>kske</id>
@ -31,7 +31,7 @@
<timezone>Europe/Berlin</timezone>
</developer>
</developers>
<scm>
<connection>scm:git:https://git.kske.dev/zdm/event-bus.git</connection>
<developerConnection>scm:git:ssh:git@git.kske.dev:zdm/event-bus.git</developerConnection>
@ -47,6 +47,32 @@
<build>
<resources />
<testResources />
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<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>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>