Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1238685

Browse files
committed
configure for "mvn site-deploy"
1 parent 02d1f6c commit 1238685

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

pom.xml

+45
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,51 @@
2727
<system>github</system>
2828
<url>https://github.com/codehaus-plexus/codehaus-plexus.github.io/issues</url>
2929
</issueManagement>
30+
<distributionManagement>
31+
<site>
32+
<id>github</id>
33+
<url>scm:git:git@github.com:codehaus-plexus/codehaus-plexus.github.io.git</url>
34+
</site>
35+
</distributionManagement>
36+
37+
<build>
38+
<pluginManagement>
39+
<plugins>
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-site-plugin</artifactId>
43+
<version>3.4</version>
44+
<configuration>
45+
<skipDeploy>true</skipDeploy><!-- don't deploy site with maven-site-plugin -->
46+
</configuration>
47+
</plugin>
48+
<plugin>
49+
<groupId>org.apache.maven.plugins</groupId>
50+
<artifactId>maven-scm-publish-plugin</artifactId>
51+
<version>1.1</version>
52+
<configuration>
53+
<scmBranch>master</scmBranch><!-- see https://help.github.com/articles/user-organization-and-project-pages/ -->
54+
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
55+
</configuration>
56+
</plugin>
57+
</plugins>
58+
</pluginManagement>
59+
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-scm-publish-plugin</artifactId>
63+
<executions>
64+
<execution>
65+
<id>scm-publish</id>
66+
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
67+
<goals>
68+
<goal>publish-scm</goal>
69+
</goals>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
</plugins>
74+
</build>
3075

3176
<reporting>
3277
<excludeDefaults>true</excludeDefaults>

0 commit comments

Comments
 (0)