diff --git a/com.eclipsesource.json.performancetest/pom.xml b/com.eclipsesource.json.performancetest/pom.xml index 61d63d2..56a015a 100644 --- a/com.eclipsesource.json.performancetest/pom.xml +++ b/com.eclipsesource.json.performancetest/pom.xml @@ -2,13 +2,9 @@ 4.0.0 - - com.eclipsesource.minimal-json - parent - 0.9.4-SNAPSHOT - - + com.eclipsesource.minimal-json minimal-json-performancetest + 0.9.4-SNAPSHOT jar minimal-json performance tests Performance benchmarks for minimal-json parser diff --git a/com.eclipsesource.json/pom.xml b/com.eclipsesource.json/pom.xml index 269ce86..dd129d8 100644 --- a/com.eclipsesource.json/pom.xml +++ b/com.eclipsesource.json/pom.xml @@ -2,13 +2,9 @@ 4.0.0 - - com.eclipsesource.minimal-json - parent - 0.9.4-SNAPSHOT - - + com.eclipsesource.minimal-json minimal-json + 0.9.4-SNAPSHOT bundle minimal-json A Minimal JSON Parser and Writer @@ -92,14 +88,6 @@ - - org.apache.maven.plugins - maven-deploy-plugin - 2.4 - - false - - @@ -143,34 +131,4 @@ - - - release-sign-artifacts - - - performRelease - true - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.1 - - - sign-artifacts - verify - - sign - - - - - - - - - diff --git a/com.eclipsesource.json/release.sh b/com.eclipsesource.json/release.sh index 236f2a9..9888976 100755 --- a/com.eclipsesource.json/release.sh +++ b/com.eclipsesource.json/release.sh @@ -11,10 +11,21 @@ echo "Build and release ${ID}" echo -n "Version: " read VERSION -git tag -a -s -m "${VERSION} release" ${VERSION} +sed -e "s/-SNAPSHOT//; s/HEAD/${VERSION}/" pom.xml > .pom.xml || exit 1 +mv .pom.xml pom.xml || exit 1 +git diff -sed -e "s/-SNAPSHOT//" pom.xml > ${ID}-${VERSION}.pom || exit 1 -mvn -Duser.name="${USER_NAME}" -f ${ID}-${VERSION}.pom clean package || exit 1 +echo "POM rewritten, okay?" +read + +mvn -Duser.name="${USER_NAME}" clean package || exit 1 + +echo "Ready, okay to tag and upload?" +read + +git tag -a -s -m "${VERSION} release" ${VERSION} || exit 1 + +cp pom.xml ${ID}-${VERSION}.pom mvn gpg:sign-and-deploy-file -Durl=${NEXUS_URL} -DrepositoryId=${NEXUS_REPO} -DpomFile=${ID}-${VERSION}.pom -Dfile=target/${ID}-${VERSION}.jar || exit 1 mvn gpg:sign-and-deploy-file -Durl=${NEXUS_URL} -DrepositoryId=${NEXUS_REPO} -DpomFile=${ID}-${VERSION}.pom -Dfile=target/${ID}-${VERSION}-sources.jar -Dclassifier=sources || exit 1 diff --git a/pom.xml b/pom.xml index 8ffce7b..d81f6ab 100644 --- a/pom.xml +++ b/pom.xml @@ -3,62 +3,13 @@ 4.0.0 com.eclipsesource.minimal-json - parent + build 0.9.4-SNAPSHOT pom - parent com.eclipsesource.json com.eclipsesource.json.performancetest - - https://github.com/ralfstx/minimal-json - scm:git:git@github.com:ralfstx/minimal-json.git - scm:git:git@github.com:ralfstx/minimal-json.git - HEAD - - - - - sonatype-nexus-snapshots - Sonatype Nexus Snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - - sonatype-nexus-staging - Nexus Release Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - - - - - org.apache.maven.plugins - maven-deploy-plugin - 2.4 - - true - - - - - - - org.apache.maven.plugins - maven-release-plugin - 2.4 - - - forked-path - @{project.version} - -Duser.name="@{user.name}" - - - - - -