Skip to content

Commit

Permalink
added parent pom for sonarype deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
smartrics committed Sep 26, 2012
1 parent f55f8bf commit 3b7f3c8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
bin
target
.m2
.settings
.classpath
.project
Expand Down
16 changes: 12 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<parent>
<!-- required to link to sonatype: see https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-4.MavenRepositories -->
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<groupId>smartrics.restfixture</groupId>
<artifactId>smartrics-RestClient</artifactId>
Expand All @@ -28,9 +36,9 @@
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/smartrics/RestClient.git</connection>
<developerConnection>scm:git:[fetch=]https://github.com/smartrics/RestClient.git[push=]git@github.com:smartrics/RestClient.git</developerConnection>
<url>scm:git:https://github.com/smartrics/RestClient.git</url>
<connection>scm:git:git@github.com:smartrics/RestClient.git</connection>
<developerConnection>scm:git:git@github.com:smartrics/RestClient.git</developerConnection>
<url>git@github.com:smartrics/RestClient.git</url>
</scm>
<organization>
<name>smartrics</name>
Expand Down Expand Up @@ -117,7 +125,7 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<!-- mvn clean deploy -Dgpg.passphrase=yourpassphrase -->
<!-- mvn clean deploy -Dgpg.passphrase=yourpassphrase -->
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
Expand Down

0 comments on commit 3b7f3c8

Please sign in to comment.