scaffold-maven-parent-pom
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>dev.mohterbaord</groupId>
<artifactId>scaffold-maven-parent-pom</artifactId>
<version>0.1.0</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-FileCopyrightText: 2026 Sergey Sokolov <mohterbaord@gmail.com> -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>dev.mohterbaord</groupId>
<artifactId>maven-parent</artifactId>
<version>7.0</version>
</parent>
<artifactId>scaffold-maven-parent-pom</artifactId>
<version>0.1.0</version>
<packaging>maven-archetype</packaging>
<name>Scaffold Maven Parent POM</name>
<description>A Maven archetype to create parent POMs</description>
<url>https://codeberg.org/mohterbaord/scaffold-maven-parent-pom</url>
<organization>
<name>Sergey Sokolov</name>
</organization>
<inceptionYear>2026</inceptionYear>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>mohterbaord</id>
<name>Sergey Sokolov</name>
<email>mohterbaord@gmail.com</email>
<url>https://www.mohterbaord.dev</url>
<roles>
<role>Project lead</role>
<role>Developer</role>
<role>Maintainer</role>
</roles>
</developer>
</developers>
<scm>
<url>https://codeberg.org/mohterbaord/scaffold-maven-parent-pom</url>
<connection>scm:git:https://codeberg.org/mohterbaord/scaffold-maven-parent-pom.git</connection>
<developerConnection>scm:git:ssh://git@codeberg.org/mohterbaord/scaffold-maven-parent-pom.git</developerConnection>
<tag>0.1.0</tag>
</scm>
<profiles>
<profile>
<id>scaffold-maven-parent-pom:build</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>${version.archetype-packaging}</version>
<configuration>
<!-- NOTE: do not exclude dot-files, e.g. `.gitignore` -->
<useDefaultExcludes>false</useDefaultExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<!-- NOTE: do not exclude dot-files, e.g. `.gitignore` -->
<addDefaultExcludes>false</addDefaultExcludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>scaffold-maven-parent-pom:license</id>
<properties>
<skipTests>true</skipTests>
<license.licenseName>apache_v2</license.licenseName>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.7.1</version>
<executions>
<execution>
<id>upsert-license-file</id>
<goals>
<goal>update-project-license</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>scaffold-maven-parent-pom:release</id>
<properties>
<keynameProfile>keyname-general</keynameProfile>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<tagNameFormat>@{version}</tagNameFormat>
<releaseProfiles>${keynameProfile},scaffold-maven-parent-pom:build,scaffold-maven-parent-pom:publish</releaseProfiles>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>scaffold-maven-parent-pom:publish</id>
<properties>
<publishingServerId>scaffold-maven-parent-pom-usertoken</publishingServerId>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<bestPractices>true</bestPractices>
<defaultKeyring>false</defaultKeyring>
<keyname>${gpg.keyname}</keyname>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.10.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>${publishingServerId}</publishingServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>${version.archetype-packaging}</version>
</extension>
</extensions>
</build>
</project>