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

30
pom.xml
View File

@ -17,7 +17,7 @@
<url>http://www.opensource.org/licenses/mit-license.php</url> <url>http://www.opensource.org/licenses/mit-license.php</url>
</license> </license>
</licenses> </licenses>
<developers> <developers>
<developer> <developer>
<id>kske</id> <id>kske</id>
@ -31,7 +31,7 @@
<timezone>Europe/Berlin</timezone> <timezone>Europe/Berlin</timezone>
</developer> </developer>
</developers> </developers>
<scm> <scm>
<connection>scm:git:https://git.kske.dev/zdm/event-bus.git</connection> <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> <developerConnection>scm:git:ssh:git@git.kske.dev:zdm/event-bus.git</developerConnection>
@ -47,6 +47,32 @@
<build> <build>
<resources /> <resources />
<testResources /> <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> </build>
<dependencies> <dependencies>