Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pom] Site still did not release, add scm data to allow it to occur #905

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>