atom-archetype
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.archetom</groupId>
<artifactId>atom-archetype</artifactId>
<version>2.1.0</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>
<groupId>io.github.archetom</groupId>
<artifactId>atom-archetype</artifactId>
<version>2.1.0</version>
<packaging>maven-archetype</packaging>
<name>Atom :: Archetype</name>
<description>A Maven archetype for generating Java 25 and Spring Boot 4 multi-module applications with Domain-Driven Design patterns.</description>
<url>https://github.com/Archetom/atom-archetype</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/license/mit</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>fuhanfeng</id>
<name>Fu Hanfeng</name>
<email>michael.fhf@gmail.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/Archetom/atom-archetype.git</connection>
<developerConnection>scm:git:ssh://git@github.com/Archetom/atom-archetype.git</developerConnection>
<url>https://github.com/Archetom/atom-archetype</url>
<tag>v2.1.0</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.outputTimestamp>2026-07-10T05:12:49Z</project.build.outputTimestamp>
<java.version>25</java.version>
<maven.minimum.version>3.9.16</maven.minimum.version>
<!-- Maven Plugin -->
<maven.archetype.packaging.version>3.4.1</maven.archetype.packaging.version>
<maven.clean.plugin.version>3.5.0</maven.clean.plugin.version>
<maven.resources.plugin.version>3.5.0</maven.resources.plugin.version>
<maven.enforcer.plugin.version>3.6.3</maven.enforcer.plugin.version>
<maven.source.plugin.version>3.4.0</maven.source.plugin.version>
<maven.jar.plugin.version>3.5.1</maven.jar.plugin.version>
<maven.gpg.plugin.version>3.2.8</maven.gpg.plugin.version>
<maven.central.plugin.version>0.11.0</maven.central.plugin.version>
<versions.maven.plugin.version>2.21.0</versions.maven.plugin.version>
<central.autoPublish>false</central.autoPublish>
<central.waitUntil>validated</central.waitUntil>
</properties>
<distributionManagement>
<snapshotRepository>
<id>central</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<defaultGoal>package</defaultGoal>
<extensions>
<extension>
<!-- https://mvnrepository.com/artifact/org.apache.maven.archetype/archetype-packaging -->
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>${maven.archetype.packaging.version}</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.plugin.version}</version>
<executions>
<execution>
<id>enforce-toolchain</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[${java.version},)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[${maven.minimum.version},)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-jar-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<executions>
<execution>
<!-- The archetype has no Java API. Central accepts a documented placeholder Javadoc JAR. -->
<id>attach-placeholder-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${project.basedir}/src/javadoc</classesDirectory>
<forceCreation>true</forceCreation>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-source-plugin -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG signing -->
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-gpg-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- Publish to Maven Central -->
<!-- https://mvnrepository.com/artifact/org.sonatype.central/central-publishing-maven-plugin -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${maven.central.plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<!-- Local deploys require Portal approval; the protected release workflow overrides both properties. -->
<autoPublish>${central.autoPublish}</autoPublish>
<waitUntil>${central.waitUntil}</waitUntil>
<deploymentName>${project.artifactId}:${project.version}</deploymentName>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>${versions.maven.plugin.version}</version>
</plugin>
</plugins>
</build>
</project>