library-archetype
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.bernardomg.maven.archetypes</groupId>
<artifactId>library-archetype</artifactId>
<version>1.2.23</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<prerequisites>
<maven>${maven.version}</maven>
</prerequisites>
<!-- ********************************************** -->
<!-- ***************** PARENT POM ***************** -->
<!-- ********************************************** -->
<parent>
<groupId>com.bernardomg.maven</groupId>
<artifactId>archetype-pom</artifactId>
<version>1.3.8</version>
</parent>
<!-- ********************************************** -->
<!-- **************** PROJECT INFO **************** -->
<!-- ********************************************** -->
<groupId>com.bernardomg.maven.archetypes</groupId>
<artifactId>library-archetype</artifactId>
<version>1.2.23</version>
<packaging>maven-archetype</packaging>
<name>Library Maven Archetype</name>
<description>A Maven Archetype to ease the creation of new Java libraries.</description>
<url>https://github.com/bernardo-mg/library-maven-archetype</url>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>MIT License</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- ********************************************** -->
<!-- *********** ORGANIZATION AND MEMBERS ********* -->
<!-- ********************************************** -->
<organization>
<name>Bernardo Martínez Garrido</name>
<url>https://github.com/Bernardo-MG</url>
</organization>
<developers>
<developer>
<id>bmg</id>
<name>Bernardo Martínez Garrido</name>
<email>programming@bernardomg.com</email>
<url>https://github.com/Bernardo-MG</url>
<organization>Bernardo Martínez Garrido</organization>
<organizationUrl>https://github.com/Bernardo-MG</organizationUrl>
<roles>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
<properties />
</developer>
</developers>
<!-- ********************************************** -->
<!-- ************ RESOURCES AND SERVICES ********** -->
<!-- ********************************************** -->
<scm>
<connection>scm:git:https://github.com/bernardo-mg/library-maven-archetype.git</connection>
<developerConnection>scm:git:https://github.com/bernardo-mg/library-maven-archetype.git</developerConnection>
<tag>head</tag>
<url>https://github.com/bernardo-mg/library-maven-archetype</url>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/bernardo-mg/library-maven-archetype/issues</url>
</issueManagement>
<ciManagement>
<system>Github workflow</system>
<url>https://github.com/bernardo-mg/library-maven-archetype/actions</url>
<notifiers />
</ciManagement>
<!-- ********************************************** -->
<!-- ****************** PROFILES ****************** -->
<!-- ********************************************** -->
<profiles>
<!-- ============================================== -->
<!-- ============= DEPLOYMENT PROFILES ============ -->
<!-- ============================================== -->
<profile>
<!-- Site deployment profile -->
<!-- Sets the site repository to point to the releases repo -->
<id>deployment-site</id>
<distributionManagement>
<site>
<id>site</id>
<name>Project Documentation Site</name>
<!-- The URL should be set externally -->
<url>${site.url}</url>
</site>
</distributionManagement>
</profile>
<profile>
<!-- Github deployment profile. -->
<id>deployment-github</id>
<distributionManagement>
<repository>
<!-- Github repository -->
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/Bernardo-MG/library-maven-archetype</url>
</repository>
</distributionManagement>
</profile>
<profile>
<!-- Central deployment profile. -->
<id>deployment-central</id>
<build>
<plugins>
<plugin>
<!-- GPG -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Prevent gpg from using pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
<plugin>
<!-- Maven Central publishing -->
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!-- ********************************************** -->
<!-- **************** PROPERTIES ****************** -->
<!-- ********************************************** -->
<properties>
<!-- ============================================== -->
<!-- ================ JAVA VERSION ================ -->
<!-- ============================================== -->
<java.version>17</java.version>
<!-- ============================================== -->
<!-- =============== MANIFEST DATA ================ -->
<!-- ============================================== -->
<manifest.name>com/bernardomg/archetype/library</manifest.name>
<!-- ============================================== -->
<!-- ================= MAVEN SITE ================= -->
<!-- ============================================== -->
<site.skin.version>2.4.1</site.skin.version>
<mavenURL>https://mvnrepository.com/artifact/com.bernardomg.maven.archetypes/library-archetype</mavenURL>
<githubArtifactURL><![CDATA[https://github.com/Bernardo-MG?tab=packages&repo_name=library-archetype]]></githubArtifactURL>
</properties>
<!-- ********************************************** -->
<!-- ******************* BUILD ******************** -->
<!-- ********************************************** -->
<build>
<defaultGoal>clean package install</defaultGoal>
<plugins>
<plugin>
<!-- Changes -->
<!-- Takes care of the changes log -->
<!-- It is set to also validate the changes log file -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<executions>
<execution>
<id>check-changes</id>
<phase>pre-site</phase>
<goals>
<goal>changes-check</goal>
</goals>
</execution>
<execution>
<id>validate-changes</id>
<phase>pre-site</phase>
<goals>
<goal>changes-validate</goal>
</goals>
<configuration>
<failOnError>true</failOnError>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- Site -->
<!-- Generates the Maven Site -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<dependencies>
<dependency>
<!-- Docs Maven Skin -->
<groupId>com.bernardomg.maven.skins</groupId>
<artifactId>docs-maven-skin</artifactId>
<version>${site.skin.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>