Skip to content

Commit

Permalink
Updated POM for release to Maven Central
Browse files Browse the repository at this point in the history
  • Loading branch information
defano committed Jan 21, 2017
1 parent 649e0f9 commit 303a3ec
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@

<modelVersion>4.0.0</modelVersion>

<name>JMonet</name>
<description>A rudimentary toolkit for incorporating MacPaint-like tools into a Java Swing or JavaFX application.
</description>
<url>https://github.com/defano/jmonet</url>

<licenses>
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<developers>
<developer>
<name>Matt DeFano</name>
<email>[email protected]</email>
<organization>defano.com</organization>
<organizationUrl>https://github.com/defano</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/defano/jmonet.git</connection>
<developerConnection>scm:git:ssh://github.com:defano/jmonet.git</developerConnection>
<url>http://github.com/defano/jmonet/tree/master</url>
</scm>

<packaging>jar</packaging>
<groupId>com.defano.jmonet</groupId>
<artifactId>jmonet</artifactId>
Expand All @@ -27,6 +54,79 @@
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>

</plugins>
</build>


<reporting>
<plugins>
<plugin>
Expand Down

0 comments on commit 303a3ec

Please sign in to comment.