From b8a7dcaddb0f06ef4d508e93fa8052783b1c6140 Mon Sep 17 00:00:00 2001 From: Jitse Boonstra Date: Mon, 3 Jun 2019 23:30:50 +0200 Subject: [PATCH] More fiddling around with Sonatype.... --- api/pom.xml | 88 ----------------------------------- nms/pom.xml | 36 --------------- plugin/pom.xml | 2 - pom.xml | 111 ++++++++++++--------------------------------- release.properties | 9 ++++ 5 files changed, 37 insertions(+), 209 deletions(-) delete mode 100755 api/pom.xml delete mode 100755 nms/pom.xml create mode 100644 release.properties diff --git a/api/pom.xml b/api/pom.xml deleted file mode 100755 index d4af644..0000000 --- a/api/pom.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - 4.0.0 - - - net.jitse - npclib - 1.5-SNAPSHOT - - - npclib-api - - - - net.jitse - npclib-commons - ${project.version} - compile - - - net.jitse - npclib-nms-v1_8_R1 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_8_R2 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_8_R3 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_9_R1 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_9_R2 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_10_R1 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_11_R1 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_12_R1 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_13_R1 - ${project.version} - compile - - - net.jitse - npclib-nms-v1_13_R2 - ${project.version} - compile - - - - - clean install - npclib-api-${project.version} - - diff --git a/nms/pom.xml b/nms/pom.xml deleted file mode 100755 index b476296..0000000 --- a/nms/pom.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - 4.0.0 - pom - - net.jitse - npclib - 1.5-SNAPSHOT - - - npclib-nms - - - v1_8_R1 - v1_8_R2 - v1_8_R3 - v1_9_R1 - v1_9_R2 - v1_10_R1 - v1_11_R1 - v1_12_R1 - v1_13_R1 - v1_13_R2 - - - - - ${project.parent.groupId} - npclib-commons - ${project.parent.version} - provided - - - diff --git a/plugin/pom.xml b/plugin/pom.xml index 9c3b931..4cbace7 100755 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -13,8 +13,6 @@ npclib-plugin - ../target - npclib-plugin-${project.parent.version} . diff --git a/pom.xml b/pom.xml index a823f90..51b6546 100755 --- a/pom.xml +++ b/pom.xml @@ -10,15 +10,10 @@ npclib 1.5-SNAPSHOT - - org.sonatype.oss - oss-parent - 7 - - - https://github.com/sonatype/nexus-oss.git - scm:git:git://github.com/JitseB/NPClib + git@github.com:JitseB/NPCLib.git + scm:git:git@github.com:JitseB/NPClib.git + scm:git:git@github.com:JitseB/NPCLib.git @@ -37,16 +32,13 @@ - - sonatype-nexus-snapshots + ossrh https://oss.sonatype.org/content/repositories/snapshots - - nexus-releases - Nexus Release Repository - http://oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ @@ -87,61 +79,6 @@ 1.8 - - org.apache.maven.plugins - maven-shade-plugin - 3.1.0 - - - package - - shade - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - ${java.version} - ${java.version} - - - - org.apache.maven.plugins - maven-source-plugin - 2.1.2 - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - true - true - true - true - true - - - - - attach-javadocs - - jar - - - - org.apache.maven.plugins maven-gpg-plugin @@ -155,24 +92,32 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ossrh + https://oss.sonatype.org/ + true + + commons - nms - api + nms/v1_8_R1 + nms/v1_8_R2 + nms/v1_8_R3 + nms/v1_9_R1 + nms/v1_9_R2 + nms/v1_10_R1 + nms/v1_11_R1 + nms/v1_12_R1 + nms/v1_13_R1 + nms/v1_13_R2 + plugin - - - - plugin - - commons - nms - api - plugin - - - \ No newline at end of file diff --git a/release.properties b/release.properties new file mode 100644 index 0000000..23b9a57 --- /dev/null +++ b/release.properties @@ -0,0 +1,9 @@ +#release configuration +#Mon Jun 03 22:24:55 CEST 2019 +preparationGoals=clean verify +pushChanges=true +scm.commentPrefix=[maven-release-plugin] +remoteTagging=true +exec.additionalArguments=-Psonatype-oss-release +completedPhase=scm-check-modifications +scm.url=scm\:git\:git@github.com\:JitseB/NPCLib.git