Skip to content

Commit 870e3a4

Browse files
committed
Upgrade parent to 5.0
This fixes #59
1 parent a8b8831 commit 870e3a4

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

Diff for: pom.xml

+23-25
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.codehaus.plexus</groupId>
88
<artifactId>plexus</artifactId>
9-
<version>4.0</version>
9+
<version>5.0</version>
1010
</parent>
1111

1212
<artifactId>plexus-archiver</artifactId>
@@ -23,6 +23,16 @@
2323
<system>jira</system>
2424
<url>https://github.com/codehaus-plexus/plexus-archiver/issues</url>
2525
</issueManagement>
26+
<distributionManagement>
27+
<site>
28+
<id>github:gh-pages</id>
29+
<url>${project.scm.developerConnection}</url>
30+
</site>
31+
</distributionManagement>
32+
33+
<properties>
34+
<javaVersion>7</javaVersion>
35+
</properties>
2636

2737
<contributors>
2838
<contributor>
@@ -86,29 +96,10 @@
8696

8797

8898
<build>
89-
<pluginManagement>
90-
<plugins>
91-
<plugin>
92-
<groupId>org.apache.maven.plugins</groupId>
93-
<artifactId>maven-site-plugin</artifactId>
94-
<version>3.4</version>
95-
</plugin>
96-
<plugin>
97-
<groupId>org.apache.maven.plugins</groupId>
98-
<artifactId>maven-gpg-plugin</artifactId>
99-
<version>1.6</version>
100-
</plugin>
101-
</plugins>
102-
</pluginManagement>
10399
<plugins>
104-
<plugin>
105-
<groupId>org.apache.maven.plugins</groupId>
106-
<artifactId>maven-surefire-plugin</artifactId>
107-
</plugin>
108100
<plugin>
109101
<groupId>org.apache.maven.plugins</groupId>
110102
<artifactId>maven-release-plugin</artifactId>
111-
<version>2.5.2</version>
112103
<configuration>
113104
<!-- olamy: exclude files with strange names as failed here on osx -->
114105
<checkModificationExcludes>
@@ -119,7 +110,6 @@
119110
<plugin>
120111
<groupId>org.codehaus.plexus</groupId>
121112
<artifactId>plexus-component-metadata</artifactId>
122-
<version>1.6</version>
123113
<executions>
124114
<execution>
125115
<goals>
@@ -131,7 +121,6 @@
131121
<plugin>
132122
<groupId>org.apache.maven.plugins</groupId>
133123
<artifactId>maven-enforcer-plugin</artifactId>
134-
<version>1.4</version>
135124
<executions>
136125
<execution>
137126
<id>enforce-java</id>
@@ -149,11 +138,20 @@
149138
</executions>
150139
</plugin>
151140
<plugin>
152-
<artifactId>maven-compiler-plugin</artifactId>
141+
<groupId>org.apache.maven.plugins</groupId>
142+
<artifactId>maven-scm-publish-plugin</artifactId>
153143
<configuration>
154-
<source>1.7</source>
155-
<target>1.7</target>
144+
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
156145
</configuration>
146+
<executions>
147+
<execution>
148+
<id>scm-publish</id>
149+
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
150+
<goals>
151+
<goal>publish-scm</goal>
152+
</goals>
153+
</execution>
154+
</executions>
157155
</plugin>
158156
</plugins>
159157
</build>

0 commit comments

Comments
 (0)