-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #905 from hazendaz/main
[pom] Site still did not release, add scm data to allow it to occur
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> |