diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f15d41d..632d131 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,10 +17,6 @@ permissions: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - java: [8, 11] - steps: - name: Checkout uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3.0.2 @@ -28,7 +24,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 #v3.4.1 with: - java-version: ${{ matrix.java }} + java-version: 11 distribution: 'temurin' cache: 'maven' diff --git a/pom.xml b/pom.xml index 5ec8d68..3742068 100644 --- a/pom.xml +++ b/pom.xml @@ -2,28 +2,38 @@ - - + - - org.joda - joda-parent - 1.4.1 - 4.0.0 + org.joda joda-money jar Joda-Money 1.0.3-SNAPSHOT Money representation and formatting - https://www.joda.org/${joda.artifactId}/ + https://www.joda.org/joda-money/ 2009 + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + Joda.org + https://www.joda.org + + + GitHub + https://github.com/JodaOrg/joda-money/issues + - scm:git:https://github.com/JodaOrg/${joda.artifactId}.git - scm:git:https://github.com/JodaOrg/${joda.artifactId}.git - https://github.com/JodaOrg/${joda.artifactId} + scm:git:https://github.com/JodaOrg/joda-money.git + scm:git:https://github.com/JodaOrg/joda-money.git + https://github.com/JodaOrg/joda-money HEAD @@ -75,41 +85,22 @@ - - - - - org.apache.maven.plugins - maven-release-plugin - ${maven-release-plugin.version} - - -Doss.repo - true - v@{project.version} - true - - - - org.kohsuke - github-api - ${github-api.version} - - - - - + + + src/main/resources + + + META-INF + ${project.basedir} + + LICENSE.txt + NOTICE.txt + + + + - - - org.apache.maven.plugins - maven-checkstyle-plugin - - - - org.jacoco - jacoco-maven-plugin - - + org.apache.maven.plugins maven-enforcer-plugin @@ -124,12 +115,399 @@ 3.6.0 + + [11,) + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + default-compile + + 9 + + + + + base-compile + + compile + + + + module-info.java + + + + + + + 8 + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + compile + + copy-dependencies + + + ${project.build.directory}/dependencies + true + true + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --add-modules org.joda.convert --module-path ${project.build.directory}/dependencies ${argLine} + + + + + org.apache.felix + maven-bundle-plugin + ${maven-bundle-plugin.version} + + + bundle-manifest + process-classes + + manifest + + + + ${project.version} + ${joda.osgi.packages} + ${joda.osgi.require.capability} + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + true + true + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + + attach-javadocs + package + + jar + + + + + + 11 + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + package + + jar-no-fork + + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + + run-checkstyle + process-sources + + checkstyle + + + + + module-info.java + + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + + + + + org.jacoco + jacoco-maven-plugin + + + jacoco-initialize + + prepare-agent + + + + jacoco-site + package + + report + + + + + + + org.apache.maven.plugins + maven-release-plugin + + -Doss.repo + true + v@{project.version} + true + + + + org.kohsuke + github-api + ${github-api.version} + + + + + + + + + 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-release-plugin + ${maven-release-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-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.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + com.github.spotbugs + spotbugs-maven-plugin + ${spotbugs-maven-plugin.version} + + + + org.apache.maven.plugins + maven-site-plugin + ${maven-site-plugin.version} + + true + + + + attach-descriptor + + attach-descriptor + + + + en,de + + + + + + org.joda.external + reflow-velocity-tools + 1.2 + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.felix + maven-bundle-plugin + [2.5.4,) + + manifest + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [3.1.1,) + + copy-dependencies + + + + + + + + + + + + @@ -155,11 +533,168 @@ + + + + + + org.apache.maven.plugins + maven-project-info-reports-plugin + ${maven-project-info-reports-plugin.version} + + + + ci-management + dependencies + dependency-info + issue-management + licenses + 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 + + + + + 11 + + + + + 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 + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + default + + + false + sonatype-joda-snapshot + Sonatype OSS snapshot repository + https://oss.sonatype.org/content/repositories/joda-snapshots + default + + https://oss.sonatype.org/content/repositories/joda-releases + + - + - release-artifacts + compat + + + compat + + + + + + org.revapi + revapi-maven-plugin + ${revapi-maven-plugin.version} + + + org.revapi + revapi-java + ${revapi-java.version} + + + + + check + check + + + + + + + + + release-basics oss.repo @@ -188,6 +723,34 @@ + + + org.apache.maven.plugins + maven-gpg-plugin + + + sign-artifacts + verify + + sign + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + ${nexus-staging-maven-plugin.version} + true + + https://oss.sonatype.org/ + sonatype-joda-staging + ${joda.nexus.auto.release} + true + 20 + + @@ -197,15 +760,15 @@ ${github-release-plugin.version} Release v${project.version} - See the [change notes](https://www.joda.org/${joda.artifactId}/changes-report.html#a${project.version}) for more information. + See the [change notes](https://www.joda.org/joda-money/changes-report.html#a${project.version}) for more information. v${project.version} true ${project.build.directory} - ${joda.artifactId}*-dist.tar.gz - ${joda.artifactId}*-dist.zip + joda-money*-dist.tar.gz + joda-money*-dist.zip @@ -231,16 +794,65 @@ 1.13.1 2.2.2 4.13.2 - + + + org.joda.money.* + osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${maven.compiler.source}))" + true + + + 3.4.2 + 5.1.8 + 2.12.1 + + 2.17 + 3.2.0 + 3.10.1 + 3.0.0 + 3.3.0 + 3.1.0 + 3.0.1 + 3.0.1 + 3.2.2 + 3.4.1 + 3.3.0 + 3.6.4 + 3.19.0 + 3.4.1 + 2.5.3 + 2.4 + 3.3.0 + 3.12.1 + 3.2.1 + 3.0.0-M7 + 3.0.0-M7 + 3.1.0 1.308 1.4.0 - - org.joda.money.* - org.joda.money - joda-money - --add-modules org.joda.convert - 20 - 0.10.0 + 0.8.8 + 1.6.13 + 0.11.1 0.15.1 + 4.7.1.1 + + + 1.8 + 1.8 + 1.8 + true + + + false + true + none + + + 8.14 + src/main/checkstyle/checkstyle.xml + false + + + UTF-8 + UTF-8