Skip to content

Commit 09c45fc

Browse files
committed
Attach sources and javadocs on release
1 parent 365a30f commit 09c45fc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,32 @@
110110
</execution>
111111
</executions>
112112
</plugin>
113+
<plugin>
114+
<groupId>org.apache.maven.plugins</groupId>
115+
<artifactId>maven-source-plugin</artifactId>
116+
<version>2.2.1</version>
117+
<executions>
118+
<execution>
119+
<id>attach-sources</id>
120+
<goals>
121+
<goal>jar-no-fork</goal>
122+
</goals>
123+
</execution>
124+
</executions>
125+
</plugin>
126+
<plugin>
127+
<groupId>org.apache.maven.plugins</groupId>
128+
<artifactId>maven-javadoc-plugin</artifactId>
129+
<version>2.9.1</version>
130+
<executions>
131+
<execution>
132+
<id>attach-javadocs</id>
133+
<goals>
134+
<goal>jar</goal>
135+
</goals>
136+
</execution>
137+
</executions>
138+
</plugin>
113139
</plugins>
114140
</build>
115141
</profile>

0 commit comments

Comments
 (0)