|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | | - |
| 5 | + |
6 | 6 | <modelVersion>4.0.0</modelVersion> |
7 | | - <groupId>OpenJavaLibs</groupId> |
| 7 | + <groupId>io.github.openjavalibs</groupId> |
8 | 8 | <artifactId>pojo-tester</artifactId> |
9 | 9 | <version>21.0.0</version> |
| 10 | + <packaging>jar</packaging> |
10 | 11 | <name>pojo-tester</name> |
11 | 12 | <description>Pojo Tester</description> |
12 | 13 | <url>https://github.com/OpenJavaLibs/pojo-tester</url> |
| 14 | + |
13 | 15 | <licenses> |
14 | 16 | <license> |
15 | | - <name>GNU General Public License v3.0</name> |
16 | | - <url>https://www.gnu.org/licenses/gpl-3.0.html</url> |
| 17 | + <name>Apache License, Version 2.0</name> |
| 18 | + <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
17 | 19 | <distribution>repo</distribution> |
18 | 20 | </license> |
19 | 21 | </licenses> |
20 | 22 |
|
| 23 | + |
21 | 24 | <developers> |
22 | 25 | <developer> |
23 | | - <id>srikanthkapila</id> <!-- Unique identifier for the developer --> |
24 | | - <name>Srikanth Kapila</name> <!-- Full name --> |
25 | | - <email>srikanthkapila@gmail.com</email> <!-- Contact email --> |
26 | | - <organization>OpenJavaLibs</organization> <!-- Organization --> |
27 | | - <organizationUrl>https://github.com/OpenJavaLibs</organizationUrl> <!-- |
28 | | - Organization website --> |
| 26 | + <id>srikanthkapila</id> |
| 27 | + <name>Srikanth Kapila</name> |
| 28 | + <email>srikanthkapila@gmail.com</email> |
| 29 | + <organization>OpenJavaLibs</organization> |
| 30 | + <organizationUrl>https://github.com/OpenJavaLibs</organizationUrl> |
29 | 31 | </developer> |
30 | 32 | </developers> |
| 33 | + |
| 34 | + <scm> |
| 35 | + <connection>scm:git:git://github.com/OpenJavaLibs/pojo-tester.git</connection> |
| 36 | + <developerConnection>scm:git:ssh://github.com/OpenJavaLibs/pojo-tester.git</developerConnection> |
| 37 | + <url>https://github.com/OpenJavaLibs/pojo-tester</url> |
| 38 | + </scm> |
| 39 | + |
31 | 40 | <properties> |
32 | 41 | <java.version>21</java.version> |
| 42 | + <maven.compiler.source>21</maven.compiler.source> |
| 43 | + <maven.compiler.target>21</maven.compiler.target> |
33 | 44 | </properties> |
34 | 45 | <dependencies> |
35 | 46 | <dependency> |
|
139 | 150 | <version>2.0.9</version> |
140 | 151 | <scope>test</scope> |
141 | 152 | </dependency> |
142 | | - |
143 | 153 | </dependencies> |
144 | 154 |
|
145 | 155 | <build> |
146 | 156 | <plugins> |
147 | | - <!-- Attach Source Code --> |
148 | 157 | <plugin> |
149 | 158 | <groupId>org.apache.maven.plugins</groupId> |
150 | 159 | <artifactId>maven-source-plugin</artifactId> |
151 | 160 | <version>3.3.0</version> |
152 | 161 | <executions> |
153 | 162 | <execution> |
| 163 | + <id>attach-sources</id> |
154 | 164 | <goals> |
155 | | - <goal>jar</goal> |
| 165 | + <goal>jar-no-fork</goal> |
156 | 166 | </goals> |
157 | 167 | </execution> |
158 | 168 | </executions> |
159 | 169 | </plugin> |
160 | | - |
161 | | - <!-- Attach Javadoc --> |
162 | 170 | <plugin> |
163 | 171 | <groupId>org.apache.maven.plugins</groupId> |
164 | 172 | <artifactId>maven-javadoc-plugin</artifactId> |
|
174 | 182 | </configuration> |
175 | 183 | <executions> |
176 | 184 | <execution> |
| 185 | + <id>attach-javadocs</id> |
177 | 186 | <goals> |
178 | 187 | <goal>jar</goal> |
179 | 188 | </goals> |
180 | 189 | </execution> |
181 | 190 | </executions> |
182 | 191 | </plugin> |
| 192 | + <plugin> |
| 193 | + <groupId>org.apache.maven.plugins</groupId> |
| 194 | + <artifactId>maven-gpg-plugin</artifactId> |
| 195 | + <version>3.1.0</version> |
| 196 | + <executions> |
| 197 | + <execution> |
| 198 | + <id>sign-artifacts</id> |
| 199 | + <phase>verify</phase> |
| 200 | + <goals> |
| 201 | + <goal>sign</goal> |
| 202 | + </goals> |
| 203 | + </execution> |
| 204 | + </executions> |
| 205 | + </plugin> |
| 206 | + |
| 207 | + <plugin> |
| 208 | + <groupId>org.sonatype.central</groupId> |
| 209 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 210 | + <version>0.6.0</version> |
| 211 | + <extensions>true</extensions> |
| 212 | + <configuration> |
| 213 | + <publishingServerId>central</publishingServerId> |
| 214 | + </configuration> |
| 215 | + </plugin> |
| 216 | + |
183 | 217 | </plugins> |
184 | 218 | </build> |
185 | 219 |
|
186 | 220 |
|
187 | 221 | <distributionManagement> |
| 222 | + <snapshotRepository> |
| 223 | + <id>ossrh</id> |
| 224 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 225 | + </snapshotRepository> |
188 | 226 | <repository> |
189 | | - <id>openjavalibs-github</id> |
190 | | - <name>OpenJavaLibs Maven Packages</name> |
191 | | - <url>https://maven.pkg.github.com/OpenJavaLibs/pojo-tester</url> |
| 227 | + <id>ossrh</id> |
| 228 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
192 | 229 | </repository> |
193 | 230 | </distributionManagement> |
194 | 231 |
|
|
0 commit comments