Update pom.xml

Revert version back to 0.1 & upgrade pom for deployment to central repository
pull/9/head
Hammy 3 years ago
parent c43f9f4586
commit d90e254ff3

@ -4,20 +4,31 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<groupId>org.goudham.me</groupId> <groupId>me.goudham</groupId>
<artifactId>MyWaifuWrapper</artifactId> <artifactId>MyWaifuWrapper</artifactId>
<version>0.1.4</version> <version>0.1.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>MyWaifuWrapper</name>
<description>An Asynchronous Java API Wrapper for MyWaifuList.</description>
<url>https://github.com/sgoudham/MyWaifuWrapper</url>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source> <maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
<name>MyWaifuWrapper</name> <distributionManagement>
<description>An Asynchronous Java API Wrapper for MyWaifuList.</description> <snapshotRepository>
<url>https://github.com/sgoudham/MyWaifuWrapper</url> <id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<scm> <scm>
<connection>scm:git:git://github.com/sgoudham/MyWaifuWrapper.git</connection> <connection>scm:git:git://github.com/sgoudham/MyWaifuWrapper.git</connection>
@ -117,6 +128,31 @@
<source>11</source> <source>11</source>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>

Loading…
Cancel
Save