Revert "[CI-SKIP] Don't generate javadocs and sources by default"

This reverts commit 8a66a92f81.
This commit is contained in:
Gabriele C 2018-03-13 22:23:43 +01:00
parent 18e4be8d5b
commit fe538a4341

17
pom.xml
View File

@ -187,6 +187,15 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version> <version>3.0.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>javadoc</goal>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration> <configuration>
<finalName>${project.outputName}-${project.version}</finalName> <finalName>${project.outputName}-${project.version}</finalName>
<show>public</show> <show>public</show>
@ -197,6 +206,14 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version> <version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration> <configuration>
<finalName>${project.outputName}-${project.version}</finalName> <finalName>${project.outputName}-${project.version}</finalName>
</configuration> </configuration>