|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| 5 | + https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 6 | + <modelVersion>4.0.0</modelVersion> |
| 7 | + |
| 8 | + <groupId>io.github.jeffjensen</groupId> |
| 9 | + <artifactId>java-service-archetype</artifactId> |
| 10 | + <version>1.0.0-SNAPSHOT</version> |
| 11 | + <packaging>maven-archetype</packaging> |
| 12 | + |
| 13 | + <name>Java Service Archetype</name> |
| 14 | + <description> |
| 15 | + Maven archetype that generates a structured multi-module Java service project |
| 16 | + with integration, service, and presentation architectural tiers. |
| 17 | + </description> |
| 18 | + <url>https://github.com/jeffjensen/java-service-archetype</url> |
| 19 | + |
| 20 | + <licenses> |
| 21 | + <license> |
| 22 | + <name>Apache License, Version 2.0</name> |
| 23 | + <url>https://www.apache.org/licenses/LICENSE-2.0</url> |
| 24 | + <distribution>repo</distribution> |
| 25 | + </license> |
| 26 | + </licenses> |
| 27 | + |
| 28 | + <properties> |
| 29 | + <!-- CONFIG --> |
| 30 | + <java.version>17</java.version> |
| 31 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 32 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
| 33 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 34 | + <project.build.outputTimestamp>2026-06-07T00:00:00Z</project.build.outputTimestamp> |
| 35 | + |
| 36 | + <!-- VERSIONS --> |
| 37 | + <maven-archetype-plugin.version>3.4.1</maven-archetype-plugin.version> |
| 38 | + <asciidoctor-parser-doxia-module.version>3.2.0</asciidoctor-parser-doxia-module.version> |
| 39 | + <central-publishing-maven-plugin.version>0.10.0</central-publishing-maven-plugin.version> |
| 40 | + <maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version> |
| 41 | + <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> |
| 42 | + <maven-install-plugin.version>3.1.4</maven-install-plugin.version> |
| 43 | + <maven-release-plugin.version>3.1.1</maven-release-plugin.version> |
| 44 | + <maven-resources-plugin.version>3.5.0</maven-resources-plugin.version> |
| 45 | + <maven-site-plugin.version>3.22.0</maven-site-plugin.version> |
| 46 | + <maven-surefire-plugin.version>3.5.5</maven-surefire-plugin.version> |
| 47 | + </properties> |
| 48 | + |
| 49 | + <developers> |
| 50 | + <developer> |
| 51 | + <id>jeffjensen</id> |
| 52 | + <name>Jeff Jensen</name> |
| 53 | + <email>jjensen@apache.org</email> |
| 54 | + </developer> |
| 55 | + </developers> |
| 56 | + |
| 57 | + <ciManagement> |
| 58 | + <system>GitHub Actions</system> |
| 59 | + <url>https://github.com/jeffjensen/java-service-archetype/actions</url> |
| 60 | + </ciManagement> |
| 61 | + <issueManagement> |
| 62 | + <system>GitHub Issues</system> |
| 63 | + <url>https://github.com/jeffjensen/java-service-archetype/issues</url> |
| 64 | + </issueManagement> |
| 65 | + <scm> |
| 66 | + <connection>scm:git:https://github.com/jeffjensen/java-service-archetype.git</connection> |
| 67 | + <developerConnection>scm:git:ssh://git@github.com/jeffjensen/java-service-archetype.git</developerConnection> |
| 68 | + <url>https://github.com/jeffjensen/java-service-archetype</url> |
| 69 | + <tag>HEAD</tag> |
| 70 | + </scm> |
| 71 | + |
| 72 | + <build> |
| 73 | + <extensions> |
| 74 | + <extension> |
| 75 | + <groupId>org.apache.maven.archetype</groupId> |
| 76 | + <artifactId>archetype-packaging</artifactId> |
| 77 | + <version>${maven-archetype-plugin.version}</version> |
| 78 | + </extension> |
| 79 | + </extensions> |
| 80 | + <pluginManagement> |
| 81 | + <plugins> |
| 82 | + <plugin> |
| 83 | + <groupId>org.apache.maven.plugins</groupId> |
| 84 | + <artifactId>maven-archetype-plugin</artifactId> |
| 85 | + <version>${maven-archetype-plugin.version}</version> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <groupId>org.apache.maven.plugins</groupId> |
| 89 | + <artifactId>maven-deploy-plugin</artifactId> |
| 90 | + <version>${maven-deploy-plugin.version}</version> |
| 91 | + </plugin> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-gpg-plugin</artifactId> |
| 95 | + <version>${maven-gpg-plugin.version}</version> |
| 96 | + </plugin> |
| 97 | + <plugin> |
| 98 | + <groupId>org.apache.maven.plugins</groupId> |
| 99 | + <artifactId>maven-install-plugin</artifactId> |
| 100 | + <version>${maven-install-plugin.version}</version> |
| 101 | + </plugin> |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-release-plugin</artifactId> |
| 105 | + <version>${maven-release-plugin.version}</version> |
| 106 | + <configuration> |
| 107 | + <tagNameFormat>v@{project.version}</tagNameFormat> |
| 108 | + <releaseProfiles>release</releaseProfiles> |
| 109 | + </configuration> |
| 110 | + </plugin> |
| 111 | + <plugin> |
| 112 | + <groupId>org.apache.maven.plugins</groupId> |
| 113 | + <artifactId>maven-resources-plugin</artifactId> |
| 114 | + <version>${maven-resources-plugin.version}</version> |
| 115 | + </plugin> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-site-plugin</artifactId> |
| 119 | + <version>${maven-site-plugin.version}</version> |
| 120 | + <dependencies> |
| 121 | + <dependency> |
| 122 | + <groupId>org.asciidoctor</groupId> |
| 123 | + <artifactId>asciidoctor-parser-doxia-module</artifactId> |
| 124 | + <version>${asciidoctor-parser-doxia-module.version}</version> |
| 125 | + </dependency> |
| 126 | + </dependencies> |
| 127 | + </plugin> |
| 128 | + <plugin> |
| 129 | + <groupId>org.apache.maven.plugins</groupId> |
| 130 | + <artifactId>maven-surefire-plugin</artifactId> |
| 131 | + <version>${maven-surefire-plugin.version}</version> |
| 132 | + <configuration> |
| 133 | + <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 134 | + </configuration> |
| 135 | + </plugin> |
| 136 | + <plugin> |
| 137 | + <groupId>org.sonatype.central</groupId> |
| 138 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 139 | + <version>${central-publishing-maven-plugin.version}</version> |
| 140 | + <extensions>true</extensions> |
| 141 | + <configuration> |
| 142 | + <publishingServerId>central-publish</publishingServerId> |
| 143 | + <autoPublish>true</autoPublish> |
| 144 | + <waitUntil>published</waitUntil> |
| 145 | + </configuration> |
| 146 | + </plugin> |
| 147 | + </plugins> |
| 148 | + </pluginManagement> |
| 149 | + <plugins> |
| 150 | + <plugin> |
| 151 | + <groupId>org.sonatype.central</groupId> |
| 152 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 153 | + </plugin> |
| 154 | + </plugins> |
| 155 | + </build> |
| 156 | + |
| 157 | + <profiles> |
| 158 | + <profile> |
| 159 | + <id>release</id> |
| 160 | + <build> |
| 161 | + <plugins> |
| 162 | + <plugin> |
| 163 | + <groupId>org.apache.maven.plugins</groupId> |
| 164 | + <artifactId>maven-gpg-plugin</artifactId> |
| 165 | + <executions> |
| 166 | + <execution> |
| 167 | + <id>sign-artifacts</id> |
| 168 | + <phase>verify</phase> |
| 169 | + <goals> |
| 170 | + <goal>sign</goal> |
| 171 | + </goals> |
| 172 | + </execution> |
| 173 | + </executions> |
| 174 | + </plugin> |
| 175 | + </plugins> |
| 176 | + </build> |
| 177 | + </profile> |
| 178 | + </profiles> |
| 179 | + |
| 180 | +</project> |
0 commit comments