Skip to content

Commit

Permalink
Use maven-scm-publish-plugin instead of wagon-gitsite
Browse files Browse the repository at this point in the history
  • Loading branch information
keeganwitt committed Dec 18, 2023
1 parent e067dc4 commit be35c05
Showing 1 changed file with 39 additions and 20 deletions.
59 changes: 39 additions & 20 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -405,31 +405,45 @@
<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>
</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 +474,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,8 +586,8 @@
<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>

Expand Down

0 comments on commit be35c05

Please sign in to comment.