Skip to content

Commit

Permalink
Merge pull request #905 from hazendaz/main
Browse files Browse the repository at this point in the history
[pom] Site still did not release, add scm data to allow it to occur
  • Loading branch information
hazendaz authored Jun 5, 2024
2 parents cd3b8c8 + 6372421 commit 9c87aa7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@
<scm>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<site>
<id>gh-pages</id>
<name>Formatter Maven Plugin GitHub Pages</name>
<url>scm:git:ssh://[email protected]/revelc/formatter-maven-plugin.git</url>
</site>
</distributionManagement>

<properties>
<formatter.configFile>${project.basedir}/src/main/resources/formatter-maven-plugin/eclipse/java.xml</formatter.configFile>
<formatter.css.skip>true</formatter.css.skip>
Expand Down Expand Up @@ -321,6 +329,16 @@
</excludes>
</configuration>
</plugin>
<!-- Release still doesn't publish site automately due to overrides on release, to use this run: mvn site site:stage scm-publish:publish-scm -->
<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>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 9c87aa7

Please sign in to comment.