Skip to content

Commit

Permalink
add site creation on release
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwarz-eitco-de committed Aug 1, 2024
1 parent 8d339fe commit f69fa56
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
29 changes: 29 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<goals>deploy site site:stage scm-publish:publish-scm</goals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
Expand All @@ -77,6 +80,32 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
</plugin>
</plugins>
</build>

<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-report-plugin</artifactId>
</plugin>
</plugins>
</reporting>

<distributionManagement>
<site>
<id>github</id>
<url>scm:git:https://github.com/eitco/eitco.github.io.git</url>
</site>
</distributionManagement>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,14 @@ public class DependenciesVersionPropertiesMojo extends AbstractMojo {
private MavenProject project;

/**
* Skip plugin execution completely.
* If this parameter is set to {@code true} the plugin execution is skipped completely.
*/
@Parameter(property = "dependencies-version-properties.skip", defaultValue = "false")
private boolean skip;

/**
* This parameter specifies whether to add properties holding the files of the dependencies.
*/
@Parameter(property = "dependencies-version-properties.add-files", defaultValue = "false")
private boolean addFiles;

Expand Down
18 changes: 18 additions & 0 deletions src/site/site.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project xmlns="http://maven.apache.org/DECORATION/1.8.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.8.0 https://maven.apache.org/xsd/decoration-1.8.0.xsd"
name="build-utilities-maven-plugin"
combine.self="override">

<skin>
<groupId>org.apache.maven.skins</groupId>
<artifactId>maven-fluido-skin</artifactId>
<version>1.12.0</version>
</skin>

<body>
<menu>
<item name="overview" href="plugin-info.html"/>
</menu>
</body>
</project>

0 comments on commit f69fa56

Please sign in to comment.