diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-10-27 21:52:11 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-10-27 21:52:11 -0700 |
| commit | f89590eeaa618233403555e2a99cb937911ee758 (patch) | |
| tree | 79eb1c950d6d98d9238b1314d8effa8bc4c0fa91 /pom.xml | |
| parent | 2ccf0233fa58596f548844788810088275d00fce (diff) | |
update pom.xml
Diffstat (limited to 'pom.xml')
| -rw-r--r-- | pom.xml | 67 |
1 files changed, 62 insertions, 5 deletions
@@ -33,10 +33,13 @@ </scm> <distributionManagement> <repository> - <id>github</id> - <name>GitHub Packages</name> - <url>https://maven.pkg.github.com/pinapelz/JHolodex</url> + <id>ossrh</id> + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> + <snapshotRepository> + <id>ossrh</id> + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> + </snapshotRepository> </distributionManagement> <dependencies> <dependency> @@ -70,8 +73,62 @@ <artifactId>json</artifactId> <version>20231013</version> </dependency> - - </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <serverId>ossrh</serverId> + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> + <autoReleaseAfterClose>true</autoReleaseAfterClose> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>2.2.1</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>2.9.1</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>1.5</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </project> |
