Skip to content

Commit

Permalink
- Added distributionManagement for oss deployments.
Browse files Browse the repository at this point in the history
- Updated several plugins
  maven-assembly-plugin to 2.5.5
  maven-clean-plugin to 2.6.1
  maven-javadoc-plugin to 2.10.3
  maven-release-plugin to 2.5.2
  maven-plugin-plugin using consistent 3.4
- Added maven-war-plugin, maven-ear-plugin
- Removed ciManagement, cause currently we have no CI system
- Removed wagon extension cause we don't need it anymore.
- Removed tagBase for SVN cause we have moved to git.
  • Loading branch information
khmarbaise committed Jul 7, 2015
1 parent 979467e commit 7a63900
Showing 1 changed file with 26 additions and 34 deletions.
60 changes: 26 additions & 34 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,19 @@
<system>github</system>
<url>https://github.com/mojohaus/mojo-parent/issues</url>
</issueManagement>
<ciManagement>
<system>bamboo</system>
<url>http://bamboo.ci.codehaus.org/browse/MOJO</url>
</ciManagement>

<distributionManagement>
<repository>
<id>ossrh-staging</id>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>ossrh-snapshots</id>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<site>
<id>codehaus.org</id>
<name>Mojo Website</name>
<url>dav:https://dav.codehaus.org/mojo/</url>
<id>github</id>
<url>scm:git:git@github.com:mojohaus/mojo-parent.git</url>
</site>
</distributionManagement>

Expand All @@ -113,17 +117,6 @@
<netbeans.checkstyle.format>true</netbeans.checkstyle.format>
</properties>

<pluginRepositories>
<pluginRepository>
<id>codehaus-snapshots</id>
<name>Codehaus Snapshots</name>
<url>http://nexus.codehaus.org/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -158,7 +151,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.5.3</version>
<version>2.5.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -168,7 +161,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
<version>2.6.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -214,10 +207,20 @@
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>2.10.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<version>2.10.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -245,9 +248,8 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<configuration>
<tagBase>https://svn.codehaus.org/mojo/tags</tagBase>
<useReleaseProfile>false</useReleaseProfile>
<arguments>-Pmojo-release</arguments>
</configuration>
Expand Down Expand Up @@ -369,13 +371,6 @@
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>2.7</version>
</extension>
</extensions>
</build>

<reporting>
Expand All @@ -384,7 +379,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.3</version>
<version>3.4</version>
<configuration>
<requirements>
<!--
Expand Down Expand Up @@ -568,9 +563,6 @@
<version>3.4</version>
<configuration>
<targetJdk>${mojo.java.target}</targetJdk>
<rulesets>
<ruleset>http://svn.codehaus.org/mojo/tags/mojo-parent-34/src/main/config/pmd/mojo_rules.xml</ruleset>
</rulesets>
<excludeRoots>
<excludeRoot>${project.build.directory}/generated-sources/antlr</excludeRoot>
<excludeRoot>${project.build.directory}/generated-sources/javacc</excludeRoot>
Expand Down

0 comments on commit 7a63900

Please sign in to comment.