Skip to content

Commit 3f7fc8b

Browse files
committed
updated parent pom and prepared site publication
1 parent f60f02c commit 3f7fc8b

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

pom.xml

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

1212
<artifactId>plexus-archiver</artifactId>
@@ -23,8 +23,15 @@
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>
2632

2733
<properties>
34+
<javaVersion>6</javaVersion>
2835
<useJvmChmod>true</useJvmChmod>
2936
</properties>
3037

@@ -82,7 +89,6 @@
8289
</dependency>
8390
</dependencies>
8491

85-
8692
<build>
8793
<pluginManagement>
8894
<plugins>
@@ -94,6 +100,22 @@
94100
</plugins>
95101
</pluginManagement>
96102
<plugins>
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-scm-publish-plugin</artifactId>
106+
<configuration>
107+
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
108+
</configuration>
109+
<executions>
110+
<execution>
111+
<id>scm-publish</id>
112+
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
113+
<goals>
114+
<goal>publish-scm</goal>
115+
</goals>
116+
</execution>
117+
</executions>
118+
</plugin>
97119
<plugin>
98120
<groupId>org.apache.maven.plugins</groupId>
99121
<artifactId>maven-surefire-plugin</artifactId>
@@ -117,7 +139,6 @@
117139
<plugin>
118140
<groupId>org.codehaus.plexus</groupId>
119141
<artifactId>plexus-component-metadata</artifactId>
120-
<version>1.6</version>
121142
<executions>
122143
<execution>
123144
<goals>
@@ -146,14 +167,7 @@
146167
</execution>
147168
</executions>
148169
</plugin>
149-
<plugin>
150-
<artifactId>maven-compiler-plugin</artifactId>
151-
<configuration>
152-
<source>1.6</source>
153-
<target>1.6</target>
154-
</configuration>
155-
</plugin>
156-
</plugins>
170+
</plugins>
157171
</build>
158172

159173
</project>

0 commit comments

Comments
 (0)