Change poms to conform to Sonatype's OSSRH requirements

This commit is contained in:
Luck 2017-11-28 22:22:52 +00:00
parent 1e105b4135
commit e2b9e37867
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
5 changed files with 45 additions and 94 deletions

View File

@ -74,27 +74,6 @@
</plugins>
</build>
</profile>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>

View File

@ -57,30 +57,6 @@
</plugins>
</build>
<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- Spigot API -->
<dependency>

View File

@ -57,30 +57,6 @@
</plugins>
</build>
<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- BungeeCord -->
<dependency>

46
pom.xml
View File

@ -31,6 +31,14 @@
</license>
</licenses>
<developers>
<developer>
<name>Luck</name>
<email>git@lucko.me</email>
<url>https://github.com/lucko</url>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/lucko/LuckPerms.git</connection>
<developerConnection>scm:git:git@github.com:lucko/LuckPerms.git</developerConnection>
@ -58,7 +66,6 @@
<compiler.version>3.7.0</compiler.version>
<shade.version>3.1.0</shade.version>
<lombok.version>1.16.18</lombok.version>
<gpg.version>1.6</gpg.version>
</properties>
<distributionManagement>
@ -105,6 +112,43 @@
</plugins>
</build>
<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>ossrh</id>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
<repositories>
<repository>
<id>luck-repo</id>

View File

@ -70,30 +70,6 @@
</plugins>
</build>
<profiles>
<profile>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>package</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- LP Sponge Model -->
<dependency>