Skip to content

Commit

Permalink
Generate source & javadoc JARs during build
Browse files Browse the repository at this point in the history
  • Loading branch information
echebbi committed Jan 26, 2018
1 parent c44ee7e commit 3029df8
Showing 1 changed file with 30 additions and 2 deletions.
32 changes: 30 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.kazejiyu.generic</groupId>
<artifactId>datatable</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>1.0.0</version>
<name>datatable</name>
<description>Heterogeneous and type-safe table structure</description>

Expand Down Expand Up @@ -73,7 +73,8 @@

<build>
<plugins>
<!-- A workaround, waiting for maven-surefire-plugin to support JUnit 5 -->
<!-- A workaround, waiting for maven-surefire-plugin to support JUnit
5 -->
<!-- See issue : https://issues.apache.org/jira/browse/SUREFIRE-1330 -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down Expand Up @@ -110,6 +111,33 @@
</instrumentation>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 3029df8

Please sign in to comment.