diff --git a/.gitignore b/.gitignore index b6711c1..a224b7c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ /.settings/ .idea *.iml +/pom.xml.releaseBackup +/release.properties diff --git a/README.md b/README.md index 6fc3331..97c58c9 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,6 @@ Please use GitHub issues and Pull Requests for support. ### Release process -* Update version (pom.xml, README.md, index.md, changes.xml) -* Commit and push -* `mvn clean deploy -Doss.repo -Dgpg.passphrase=""` -* Release project in [Nexus](https://oss.sonatype.org) +* Ensure everything is ready to release +* `mvn clean release:prepare release:perform` * Website will be built and released by Travis diff --git a/pom.xml b/pom.xml index f7aecec..0fc9d7c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,412 +1,46 @@ - + + + org.joda + joda-parent + 1.0.1 + 4.0.0 - org.joda joda-collect jar Joda-Collect - 1.0-SNAPSHOT + 0.9-SNAPSHOT Additional collections http://www.joda.org/${joda.artifactId}/ - - GitHub - https://github.com/JodaOrg/${joda.artifactId}/issues - 2014 - - - - - jodastephen - Stephen Colebourne - - Project Lead - - 0 - https://github.com/jodastephen - - - - - - - - - Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.txt - repo - - scm:git:https://github.com/JodaOrg/${joda.artifactId}.git - scm:git:git@github.com:JodaOrg/${joda.artifactId}.git + scm:git:https://github.com/JodaOrg/${joda.artifactId}.git https://github.com/JodaOrg/${joda.artifactId} + HEAD - - Joda.org - http://www.joda.org - - - - src/main/resources - - - META-INF - ${project.basedir} - - LICENSE.txt - NOTICE.txt - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-maven - - enforce - - - - - 3.5.0 - - - - - - - + org.apache.maven.plugins maven-checkstyle-plugin - - - run-checkstyle - process-sources - - checkstyle - - - - - module-info.java - - - - - org.apache.maven.plugins - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - true - true - - - ${joda.module.name} - - - - - - - org.apache.felix - maven-bundle-plugin - 2.5.4 - - - biz.aQute.bnd - biz.aQute.bndlib - 3.5.0 - - - - - bundle-manifest - process-classes - - manifest - - - - ${joda.osgi.packages} - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - package - - jar - - - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - package - - jar-no-fork - - - - - - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} - - - com.github.spotbugs - spotbugs - 3.1.0 - - - - + org.jacoco jacoco-maven-plugin - ${jacoco-maven-plugin.version} - - - jacoco-initialize - - prepare-agent - - - - jacoco-site - package - - report - - - - - - - org.apache.maven.plugins - maven-site-plugin - - true - - - - lt.velykis.maven.skins - reflow-velocity-tools - 1.1.1 - - - org.apache.velocity - velocity - 1.7 - - - - - - com.github.github - site-maven-plugin - 0.12 - - - github-site - - site - - site-deploy - - - - Create website for ${project.artifactId} v${project.version} - ${project.artifactId} - true - github - JodaOrg - jodaorg.github.io - refs/heads/master - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - - org.apache.maven.plugins - maven-changes-plugin - ${maven-changes-plugin.version} - - - org.apache.maven.plugins - maven-clean-plugin - ${maven-clean-plugin.version} - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - - org.apache.maven.plugins - maven-deploy-plugin - ${maven-deploy-plugin.version} - - - org.apache.maven.plugins - maven-dependency-plugin - ${maven-dependency-plugin.version} - - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - - - org.apache.maven.plugins - maven-install-plugin - ${maven-install-plugin.version} - - - org.apache.maven.plugins - maven-jar-plugin - ${maven-jar-plugin.version} - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - org.apache.maven.plugins - maven-jxr-plugin - ${maven-jxr-plugin.version} - - - org.apache.maven.plugins - maven-plugin-plugin - ${maven-plugin-plugin.version} - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${maven-project-info-reports-plugin.version} - - - org.apache.maven.plugins - maven-repository-plugin - ${maven-repository-plugin.version} - - - org.apache.maven.plugins - maven-resources-plugin - ${maven-resources-plugin.version} - - - org.apache.maven.plugins - maven-site-plugin - ${maven-site-plugin.version} - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - org.apache.maven.plugins - maven-surefire-report-plugin - ${maven-surefire-report-plugin.version} - - - org.apache.maven.plugins - maven-toolchains-plugin - ${maven-toolchains-plugin.version} - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.felix - maven-bundle-plugin - [2.5.4,) - - manifest - - - - - - - - - - - - @@ -424,262 +58,11 @@ - - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - ${maven-project-info-plugin.version} - - - - dependencies - dependency-info - issue-tracking - license - project-team - scm - summary - - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} - - false - false - false - module-info.java - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - - - javadoc - - - - - - - org.apache.maven.plugins - maven-surefire-report-plugin - ${maven-surefire-report-plugin.version} - - true - - - - - org.apache.maven.plugins - maven-changes-plugin - ${maven-changes-plugin.version} - - - - changes-report - - - - - - - org.apache.maven.plugins - maven-pmd-plugin - ${maven-pmd-plugin.version} - - 100 - ${maven.compiler.target} - - module-info.java - - - - - - com.github.spotbugs - spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} - - - - org.jacoco - jacoco-maven-plugin - ${jacoco-maven-plugin.version} - - - - report - - - - - - - - - - - sonatype-joda-staging - Sonatype OSS staging repository - http://oss.sonatype.org/service/local/staging/deploy/maven2/ - default - - - false - sonatype-joda-snapshot - Sonatype OSS snapshot repository - http://oss.sonatype.org/content/repositories/joda-snapshots - default - - http://oss.sonatype.org/content/repositories/joda-releases - - - - - java8 - - 1.8 - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - module-info.java - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - module-info.java - - - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - - module-info.java - - - - - - - - - java9plus - - [9,) - - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - default-compile - - 9 - - - - - base-compile - - compile - - - - module-info.java - - - - - - - - 9 - - ${joda.release.version} - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - compile - - copy-dependencies - - - ${project.build.directory}/dependencies - true - true - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - --module-path ${project.build.directory}/dependencies - - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - --module-path ${project.build.directory}/dependencies - - - - - - repo-sign-artifacts + release-artifacts oss.repo @@ -687,41 +70,6 @@ - - - org.apache.maven.plugins - maven-enforcer-plugin - ${maven-enforcer-plugin.version} - - - enforce-java - - enforce - - - - - [9,) - - - - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - - sign-artifacts - verify - - sign - - - - org.apache.maven.plugins @@ -777,9 +125,6 @@ - - - @@ -789,48 +134,5 @@ org.joda.collect.* org.joda.collect joda-collect - 8 - - 3.1.0 - 2.12.1 - 2.17 - 3.0.0 - 3.7.0 - 2.8.2 - 3.0.2 - 3.0.0-M1 - 1.6 - 2.5.2 - 3.0.2 - 3.0.0-M1 - 2.5 - 3.5 - 3.8 - 2.9 - 2.4 - 3.0.2 - - 3.4 - 3.0.1 - 2.20.1 - 2.20.1 - 1.1 - 0.7.9 - 3.1.0-RC6 - - 1.8 - 1.8 - 1.8 - true - - false - true - none - - ${project.basedir}/src/main/checkstyle/checkstyle.xml - false - - UTF-8 - UTF-8