Skip to content

Commit

Permalink
Update pom for sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
safchain authored and Sylvain Afchain committed Oct 4, 2014
1 parent 4660b5e commit f1d10d8
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 12 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ jstreamsourcer

Java sourcer library for Icecast, Shoutcast v1/v2 streaming servers.

Install
-------

Maven
```xml
<dependencies>
<dependency>
<groupId>com.supernovapps.audio</groupId>
<artifactId>jstreamsourcerer</artifactId>
<version>0.1.3</version>
</dependency>
</dependencies>
```

Examples
--------

Expand Down
64 changes: 52 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,6 @@
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
Expand All @@ -40,6 +28,7 @@
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>attach-sources</id>
Expand All @@ -51,6 +40,7 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
Expand Down Expand Up @@ -93,8 +83,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-7</version>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>nexus-releases</id>
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.apache.directory.studio</groupId>
Expand Down Expand Up @@ -136,4 +138,42 @@
<email>[email protected]</email>
</developer>
</developers>

<profiles>

<profile>
<id>release-sign-artifacts</id>

<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>

<properties>
<gpg.keyname>A9A81001</gpg.keyname>
<release.username>safchain</release.username>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.0-alpha-4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit f1d10d8

Please sign in to comment.