Skip to content

Commit

Permalink
Merge pull request #296 from groovy/scm-publish-plugin
Browse files Browse the repository at this point in the history
Use maven-scm-publish-plugin instead of wagon-gitsite
  • Loading branch information
keeganwitt committed Dec 19, 2023
2 parents ad71ea1 + 3e140e6 commit f562d4f
Showing 1 changed file with 44 additions and 24 deletions.
68 changes: 44 additions & 24 deletions pom.xml
Expand Up @@ -405,31 +405,46 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
<executions>
<execution>
<id>stage-for-scm-publish</id>
<phase>post-site</phase>
<goals>
<goal>stage</goal>
</goals>
<configuration>
<skipDeploy>false</skipDeploy>
</configuration>
</execution>
</executions>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
<tryUpdate>true</tryUpdate>
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase>
<goals>
<goal>publish-scm</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>

<extensions>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.12.0</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.12.0</version>
</extension>
<extension>
<groupId>com.github.stephenc.wagon</groupId>
<artifactId>wagon-gitsite</artifactId>
<version>0.5</version>
</extension>
</extensions>
</build>

<reporting>
Expand Down Expand Up @@ -460,6 +475,11 @@
</links>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
<version>3.10.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
Expand Down Expand Up @@ -567,15 +587,15 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<site>
<id>github-project-site</id>
<url>gitsite:git@github.com/groovy/GMavenPlus.git</url>
<id>github</id>
<url>scm:git:git@github.com:groovy/GMavenPlus.git</url>
</site>
</distributionManagement>

<name>GMavenPlus Plugin</name>
<description>Integrates Groovy into Maven projects.</description>
<inceptionYear>2011</inceptionYear>
<url>http://groovy.github.io/GMavenPlus/</url>
<url>https://groovy.github.io/GMavenPlus/</url>
<developers>
<developer>
<id>keeganwitt</id>
Expand All @@ -588,12 +608,12 @@
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<issueManagement>
<system>GitHub</system>
<url>http://github.com/groovy/GMavenPlus/issues</url>
<url>https://github.com/groovy/GMavenPlus/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
Expand All @@ -609,7 +629,7 @@
</mailingList>
</mailingLists>
<scm>
<url>http://github.com/groovy/GMavenPlus</url>
<url>https://github.com/groovy/GMavenPlus</url>
<connection>scm:git:git@github.com:groovy/GMavenPlus.git</connection>
<developerConnection>scm:git:git@github.com:groovy/GMavenPlus.git</developerConnection>
<tag>HEAD</tag>
Expand Down

0 comments on commit f562d4f

Please sign in to comment.