Skip to content

Commit 487817b

Browse files
author
Paul Gray
committed
Adding maven deploy plugin, addresses #2
1 parent 39c92bc commit 487817b

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

pom.xml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,47 @@
171171
<target>1.7</target>
172172
</configuration>
173173
</plugin>
174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-source-plugin</artifactId>
177+
<version>2.2.1</version>
178+
<executions>
179+
<execution>
180+
<id>attach-sources</id>
181+
<goals>
182+
<goal>jar-no-fork</goal>
183+
</goals>
184+
</execution>
185+
</executions>
186+
</plugin>
187+
<plugin>
188+
<groupId>org.apache.maven.plugins</groupId>
189+
<artifactId>maven-javadoc-plugin</artifactId>
190+
<version>2.9.1</version>
191+
<executions>
192+
<execution>
193+
<id>attach-javadocs</id>
194+
<goals>
195+
<goal>jar</goal>
196+
</goals>
197+
<configuration>
198+
<failOnError>false</failOnError>
199+
</configuration>
200+
</execution>
201+
</executions>
202+
</plugin>
174203
</plugins>
175204
</build>
176205

206+
<distributionManagement>
207+
<snapshotRepository>
208+
<id>ossrh</id>
209+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
210+
</snapshotRepository>
211+
<repository>
212+
<id>ossrh</id>
213+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
214+
</repository>
215+
</distributionManagement>
216+
177217
</project>

0 commit comments

Comments
 (0)