Skip to content

Commit 0ead773

Browse files
committed
Update SCM information and site publishing
1 parent 3c13cdb commit 0ead773

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

pom.xml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ See the Apache License Version 2.0 for the specific language governing permissio
2525

2626
<scm>
2727
<connection>scm:git:https://github.com/codehaus-plexus/plexus-build-api.git</connection>
28-
<developerConnection>scm:git:https://github.com/codehaus-plexus/plexus-build-api.git</developerConnection>
29-
<tag>HEAD</tag>
30-
<url>https://github.com/codehaus-plexus/plexus-build-api</url>
28+
<developerConnection>${project.scm.connection}</developerConnection>
29+
<tag>master</tag>
30+
<url>https://github.com/codehaus-plexus/plexus-build-api/tree/master</url>
3131
</scm>
3232

3333
<dependencies>
@@ -97,6 +97,24 @@ See the Apache License Version 2.0 for the specific language governing permissio
9797
</execution>
9898
</executions>
9999
</plugin>
100+
<plugin>
101+
<groupId>org.apache.maven.plugins</groupId>
102+
<artifactId>maven-scm-publish-plugin</artifactId>
103+
<configuration>
104+
<content>${project.reporting.outputDirectory}</content>
105+
<!-- mono-module doesn't require site:stage -->
106+
</configuration>
107+
<executions>
108+
<execution>
109+
<id>scm-publish</id>
110+
<!-- deploy site with maven-scm-publish-plugin -->
111+
<goals>
112+
<goal>publish-scm</goal>
113+
</goals>
114+
<phase>site-deploy</phase>
115+
</execution>
116+
</executions>
117+
</plugin>
100118
</plugins>
101119
</build>
102120

0 commit comments

Comments
 (0)