Skip to content

Commit

Permalink
Stuff to site generation added.
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniotarricone committed Aug 5, 2024
1 parent 837796b commit ce4d0f4
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Common classes used by services that make up the Multi-channel Intagration Layer
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=pagopa_mil-common&metric=bugs)](https://sonarcloud.io/summary/new_code?id=pagopa_mil-common)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=pagopa_mil-common&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=pagopa_mil-common)

[GitHub Pages](https://pagopa.github.io/mil-common/)
72 changes: 70 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@
<version>2.5.0</version>
<packaging>jar</packaging>

<name>mil-common</name>
<description>Common classes for Multi-channel Integration Layer of SW Client
Project</description>

<url>https://pagopa.github.io/mil-common/</url>
<organization>
<name>PagoPA S.p.A.</name>
<url>https://www.pagopa.it</url>
</organization>
<licenses>
<license>
<name>Mozilla Public License 2.0</name>
</license>
</licenses>
<developers>
<developer>
<name>Antonio Tarricone</name>
<email>[email protected]</email>
<organization>PagoPA S.p.A.</organization>
<organizationUrl>https://www.pagopa.it</organizationUrl>
</developer>
</developers>

Expand All @@ -38,6 +49,10 @@
<depcheck-plugin.version>1.2.1</depcheck-plugin.version>
<jacoco-maven-plugin.version>0.8.10</jacoco-maven-plugin.version>
<sonar-plugin.version>3.11.0.3922</sonar-plugin.version>
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
<maven-project-info-reports-plugin.version>3.5.0</maven-project-info-reports-plugin.version>
<maven-javadoc-plugin.version>3.7.0</maven-javadoc-plugin.version>
<github-site-maven-plugin.version>0.12</github-site-maven-plugin.version>
<!-- Dependencies version -->
<lombok.version>1.18.32</lombok.version>
<assertj-core.version>3.25.3</assertj-core.version>
Expand All @@ -50,6 +65,8 @@
<sonar.coverage.jacoco.xmlReportPaths>target/jacoco-report/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<!-- Other properties -->
<skipITs>true</skipITs>
<repository.name>mil-common</repository.name>
<repository.owner>pagopa</repository.owner>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -165,6 +182,26 @@
<includeParent>false</includeParent>
</configuration>
</plugin>

<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>${github-site-maven-plugin.version}</version>
<configuration>
<message>Creating site for ${project.version}</message>
<repositoryName>${repository.name}</repositoryName>
<repositoryOwner>${repository.owner}</repositoryOwner>
<server>github</server>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -203,7 +240,38 @@
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/pagopa/mil-common</url>
<url>https://maven.pkg.github.com/${repository.owner}/${repository.name}</url>
</repository>
</distributionManagement>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>${maven-site-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>${maven-project-info-reports-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<show>private</show>
</configuration>
<reportSets>
<reportSet>
<id>default</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</project>

0 comments on commit ce4d0f4

Please sign in to comment.