Repository: commons-release-plugin Updated Branches: refs/heads/master 3b775f6f6 -> 812ea8f51
(fix) uniquely identify hashes in sha256 and sha1 artifact maps Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/812ea8f5 Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/812ea8f5 Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/812ea8f5 Branch: refs/heads/master Commit: 812ea8f5150124756c991632ead795202e72197d Parents: 3b775f6 Author: Rob Tompkins <chtom...@apache.org> Authored: Wed Jun 13 12:38:57 2018 -0400 Committer: Rob Tompkins <chtom...@apache.org> Committed: Wed Jun 13 12:38:57 2018 -0400 ---------------------------------------------------------------------- .../CommonsDistributionDetachmentMojo.java | 7 + .../CommonsDistributionDetachmentMojoTest.java | 62 ++- .../DistributionDetachmentProjectStub.java | 200 ++++++--- .../target/commons-text-1.4-bin.tar.gz | Bin 0 -> 1812152 bytes .../target/commons-text-1.4-bin.tar.gz.asc | 11 + .../target/commons-text-1.4-bin.zip | Bin 0 -> 2183252 bytes .../target/commons-text-1.4-bin.zip.asc | 11 + .../target/commons-text-1.4-javadoc.jar | Bin 0 -> 537451 bytes .../target/commons-text-1.4-javadoc.jar.asc | 16 + .../target/commons-text-1.4-sources.jar | Bin 0 -> 213808 bytes .../target/commons-text-1.4-sources.jar.asc | 16 + .../target/commons-text-1.4-src.tar.gz | Bin 0 -> 273552 bytes .../target/commons-text-1.4-src.tar.gz.asc | 11 + .../target/commons-text-1.4-src.zip | Bin 0 -> 434498 bytes .../target/commons-text-1.4-src.zip.asc | 11 + .../target/commons-text-1.4-test-sources.jar | Bin 0 -> 136486 bytes .../commons-text-1.4-test-sources.jar.asc | 16 + .../target/commons-text-1.4-tests.jar | Bin 0 -> 248578 bytes .../target/commons-text-1.4-tests.jar.asc | 16 + .../target/commons-text-1.4.jar | Bin 0 -> 183750 bytes .../target/commons-text-1.4.jar.asc | 16 + .../target/commons-text-1.4.pom | 442 +++++++++++++++++++ .../target/commons-text-1.4.pom.asc | 16 + .../target/mockAttachedFile.html | 24 - .../target/mockAttachedTar-bin.tar.gz | Bin 327 -> 0 bytes .../target/mockAttachedTar-bin.tar.gz.asc | Bin 566 -> 0 bytes .../target/mockAttachedTar-src.tar.gz | Bin 327 -> 0 bytes .../target/mockAttachedTar-src.tar.gz.asc | Bin 566 -> 0 bytes .../target/mockAttachedZip-bin.zip | Bin 1323 -> 0 bytes .../target/mockAttachedZip-bin.zip.asc | Bin 566 -> 0 bytes .../target/mockAttachedZip-src.zip | Bin 1323 -> 0 bytes .../target/mockAttachedZip-src.zip.asc | Bin 566 -> 0 bytes 32 files changed, 775 insertions(+), 100 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java index fd5972d..9c95127 100755 --- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java +++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojo.java @@ -163,6 +163,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { artifactKey .append(artifact.getArtifactId()).append('-') .append(artifact.getVersion()).append('-') + .append(artifact.getClassifier()).append('-') .append(artifact.getType()); try (FileInputStream fis = new FileInputStream(artifact.getFile())) { artifactSha1s.put(artifactKey.toString(), DigestUtils.sha1Hex(fis)); @@ -172,6 +173,8 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { "Could not find artifact signature for: " + artifact.getArtifactId() + "-" + + artifact.getClassifier() + + "-" + artifact.getVersion() + " type: " + artifact.getType(), @@ -191,6 +194,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { artifactKey .append(artifact.getArtifactId()).append('-') .append(artifact.getVersion()).append('-') + .append(artifact.getClassifier()).append('-') .append(artifact.getType()); try (FileInputStream fis = new FileInputStream(artifact.getFile())) { artifactSha256s.put(artifactKey.toString(), DigestUtils.sha256Hex(fis)); @@ -200,6 +204,8 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { "Could not find artifact signature for: " + artifact.getArtifactId() + "-" + + artifact.getClassifier() + + "-" + artifact.getVersion() + " type: " + artifact.getType(), @@ -274,6 +280,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo { StringBuffer artifactKey = new StringBuffer(); artifactKey.append(artifact.getArtifactId()).append('-') .append(artifact.getVersion()).append('-') + .append(artifact.getClassifier()).append('-') .append(artifact.getType()); try { // MD5 http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java index d5dbcf9..39906b0 100755 --- a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java +++ b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionDetachmentMojoTest.java @@ -65,29 +65,49 @@ public class CommonsDistributionDetachmentMojoTest { assertTrue(testPom.exists()); mojo = (CommonsDistributionDetachmentMojo) rule.lookupMojo("detach-distributions", testPom); mojo.execute(); - File detachedTarGz = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar-src.tar.gz"); - File detachedTarGzAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar-src.tar.gz.asc"); - File detachedTarMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar-src.tar.gz.md5"); - File detachedTarGzSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar-src.tar.gz.sha1"); - File detachedTarGzSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedTar-src.tar.gz.sha256"); - File detachedZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip-src.zip"); - File detachedZipAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip-src.zip.asc"); - File detachedZipMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip-src.zip.md5"); - File detachedZipSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip-src.zip.sha1"); - File detachedZipSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedZip-src.zip.sha256"); - File notDetachedMockAttachedFile = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/mockAttachedFile.html"); + File detachedSrcTarGz = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.tar.gz"); + File detachedSrcTarGzAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.tar.gz.asc"); + File detachedSrcTarMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.tar.gz.md5"); + File detachedSrcTarGzSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.tar.gz.sha1"); + File detachedSrcTarGzSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.tar.gz.sha256"); + File detachedSrcZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.zip"); + File detachedSrcZipAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.zip.asc"); + File detachedSrcZipMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.zip.md5"); + File detachedSrcZipSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.zip.sha1"); + File detachedSrcZipSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-src.zip.sha256"); + File detachedBinTarGz = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.tar.gz"); + File detachedBinTarGzAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.tar.gz.asc"); + File detachedBinTarMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.tar.gz.md5"); + File detachedBinTarGzSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.tar.gz.sha1"); + File detachedBinTarGzSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.tar.gz.sha256"); + File detachedBinZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.zip"); + File detachedBinZipAsc = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.zip.asc"); + File detachedBinZipMd5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.zip.md5"); + File detachedBinZipSha1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.zip.sha1"); + File detachedBinZipSha256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4-bin.zip.sha256"); + File notDetachedMockAttachedFile = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/commons-text-1.4.jar"); File sha1Properties = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/sha1.properties"); File sha256Properties = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/sha256.properties"); - assertTrue(detachedTarGz.exists()); - assertTrue(detachedTarGzAsc.exists()); - assertTrue(detachedTarMd5.exists()); - assertTrue(detachedTarGzSha1.exists()); - assertTrue(detachedTarGzSha256.exists()); - assertTrue(detachedZip.exists()); - assertTrue(detachedZipAsc.exists()); - assertTrue(detachedZipMd5.exists()); - assertTrue(detachedZipSha1.exists()); - assertTrue(detachedZipSha256.exists()); + assertTrue(detachedSrcTarGz.exists()); + assertTrue(detachedSrcTarGzAsc.exists()); + assertTrue(detachedSrcTarMd5.exists()); + assertTrue(detachedSrcTarGzSha1.exists()); + assertTrue(detachedSrcTarGzSha256.exists()); + assertTrue(detachedSrcZip.exists()); + assertTrue(detachedSrcZipAsc.exists()); + assertTrue(detachedSrcZipMd5.exists()); + assertTrue(detachedSrcZipSha1.exists()); + assertTrue(detachedSrcZipSha256.exists()); + assertTrue(detachedBinTarGz.exists()); + assertTrue(detachedBinTarGzAsc.exists()); + assertTrue(detachedBinTarMd5.exists()); + assertTrue(detachedBinTarGzSha1.exists()); + assertTrue(detachedBinTarGzSha256.exists()); + assertTrue(detachedBinZip.exists()); + assertTrue(detachedBinZipAsc.exists()); + assertTrue(detachedBinZipMd5.exists()); + assertTrue(detachedBinZipSha1.exists()); + assertTrue(detachedBinZipSha256.exists()); assertTrue(sha1Properties.exists()); assertTrue(sha256Properties.exists()); assertFalse(notDetachedMockAttachedFile.exists()); http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.java b/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.java index 87f5cdf..9201fbc 100755 --- a/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.java +++ b/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetachmentProjectStub.java @@ -19,6 +19,7 @@ package org.apache.commons.release.plugin.stubs; import java.io.File; import java.util.ArrayList; import java.util.List; + import org.apache.commons.release.plugin.mojos.CommonsDistributionDetachmentMojoTest; import org.apache.maven.artifact.Artifact; import org.apache.maven.plugin.testing.stubs.ArtifactStub; @@ -58,76 +59,148 @@ public class DistributionDetachmentProjectStub extends MavenProjectStub { public List<Artifact> getAttachedArtifacts() { attachedArtifacts = new ArrayList<>(); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html"), - "html", - "mockAttachedFile" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz"), + "tar.gz", + "commons-text", + "bin", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz.asc"), + "tar.gz.asc", + "commons-text", + "bin", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip"), + "zip", + "commons-text", + "bin", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip.asc"), + "zip.asc", + "commons-text", + "bin", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz"), + "tar.gz", + "commons-text", + "src", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz"), - "tar.gz", - "mockAttachedTar" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz.asc"), + "tar.gz.asc", + "commons-text", + "src", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz.asc"), - "tar.gz.asc", - "mockAttachedTar" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip"), + "zip", + "commons-text", + "src", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz"), - "tar.gz", - "mockAttachedTar" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip.asc"), + "zip.asc", + "commons-text", + "src", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz.asc"), - "tar.gz.asc", - "mockAttachedTar" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar"), + "jar", + "commons-text", + "jar", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip"), - "zip", - "mockAttachedZip" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar.asc"), + "jar.asc", + "commons-text", + "jar", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip.asc"), - "zip.asc", - "mockAttachedZip" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom"), + "pom", + "commons-text", + "pom", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip"), - "zip", - "mockAttachedZip" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom.asc"), + "pom.asc", + "commons-text", + "pom", + "1.4" + ) ); attachedArtifacts.add( - new DistributionDetachmentArtifactStub( - new File( - "src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip.asc"), - "zip.asc", - "mockAttachedZip" - ) + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar"), + "jar", + "commons-text", + "javadoc", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar.asc"), + "jar.asc", + "commons-text", + "javadoc", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar"), + "jar", + "commons-text", + "sources", + "1.4" + ) + ); + attachedArtifacts.add( + new DistributionDetachmentArtifactStub( + new File("src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar.asc"), + "jar.asc", + "commons-text", + "sources", + "1.4" + ) ); return attachedArtifacts; } @@ -136,12 +209,19 @@ public class DistributionDetachmentProjectStub extends MavenProjectStub { private final File artifact; + private final String version; + + private final String classifier; + private final String type; - public DistributionDetachmentArtifactStub(File file, String type, String artifactId) { + public DistributionDetachmentArtifactStub(File file, String type, + String artifactId, String classifier, String version) { this.setArtifactId(artifactId); this.artifact = file; this.type = type; + this.classifier = classifier; + this.version = version; } @Override @@ -153,5 +233,15 @@ public class DistributionDetachmentProjectStub extends MavenProjectStub { public String getType() { return this.type; } + + @Override + public String getVersion() { + return this.version; + } + + @Override + public String getClassifier() { + return this.classifier; + } } } http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz new file mode 100644 index 0000000..4bcdd65 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz.asc new file mode 100644 index 0000000..b2b9fad --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAlscC00ACgkQhv3H4qES +YsvKSgf/VqjRKK90KA/GD7t1GtZrLltnY44gcDixq7bkuvuFSYlz4NcK8asMA1r8 +E4qWuJFbLGvyT2iPXfKUD6eSFXyoP60DEkxuXK44O2dlw8TgeuyBb/39jzo2QGDZ +FutlMbsz2gPvayGnB2bapVcohbApGXU1lj1JqIYd3HVwMSudfZCVacqzknNIAXvl +y1+OzxPGJvdM+lmdt11S0iGEiWn2EDqJXX7K9B4LhW1cS4W8GqzipMMgu/D9Tjqa +Lfk6UB8wBuxKq3xUuKdXByPoIh8TxtD8tTFiRUcm8MNSZedSWobgYmydSPPR7beS +IzhgeJOvpZUgjllRs7sCRXTSlhe22w== +=VoUI +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip new file mode 100644 index 0000000..1848d23 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip.asc new file mode 100644 index 0000000..50f8e8a --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-bin.zip.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAlscC04ACgkQhv3H4qES +YsttmAf7Bdxj5OYIh1Qsp9AJo37gooZqT0MHA68OASSTrnq9QXAyC4sBPQmnSNRf +ncYCPYuu5mSsobNKUhuhCFx9zApzfwH7vlSgbCAG2B0rropxWf1uEsWoK8BPy37x +dKR7mQsArJl9dxM3N3wDPXXFY/ZEfAVw/SzZa5bxJbInglwTHxRfRnsFtWs7x3ic +58iI7ID8Eq6y2Mbt1BZOL1zhcwiJxrI+6+50eZn1K6CFTxwYY/NkuummXO6pOapX +T/iUmzYe79l0VxczmYjxaULWhgkDBkl/ipq62MvH2sbhwIiKxBtLfuGmfKuW6vQ1 +Ef/nCPpf4lUBntQZvw7v+qenlnuzYA== +=yasz +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar new file mode 100644 index 0000000..b16e010 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar.asc new file mode 100644 index 0000000..b27a794 --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-javadoc.jar.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlshPWYACgkQP6rSzV7L +sxR0oQ//TbixiBvrdIoCzb89CySUWSZ4CZ8V1MTmNf7XZxor0OytGH4VgjCreHD2 +p3NvIS5InUuAR91pIdhOLO8jjk3uWK7MAgcZcjxzExuicQubnJqoBxpvHmJbm9Mv +x0LO5I0SfRjSbHZdxJUyOCDxuF+9vHiFnEZPvJJRCuGEn0Be9GlB+r6bUp05Mgpa +D9C69yF+hDggnY1fwqfOWkvmNlr9Z08KlI4UAM26iLXIazxmhoNjl8tZmsysMZ+X +4yD61/NPsOKXFDk38FeoyfzpEtKf+ieFWLKb0Yhq5cMyhGEtc/Yce/JI7kgST9iB +O9nxuivTSi8QRdBNF/IO1aUko2N2Aka7zAul/+m8vancUthQ/OaI4tkvN/UHJgYs +6Z89dfpxIE0CT8p1IysVyfABLpe3xGCK+tt82GDv0/4snXndzvZv0FSyvtBJFAWE +hkAntQrZjT8qf+8yyhm779Ad2iKabSQF3zLo+C2xR6jZpSODS4m/5IWiCoWSuGlm +agE6ZYeefhGJzDGlv5tjUu1AJP4AbkgMbJ2Su9BlsXkFTlocY3C8lCuAu7+5GfIh +eYhja73/dg0OdsiJGcqIoJB0LY+NX5RYEk2LU3PWnxKfYEtrAUm/+i3CDpiFJnsB +1Xo2rS1rOne/g6ch7ptwf6bp9W5KVE6hxuQuiwPBB9infsUuJS8= +=E0vM +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar new file mode 100644 index 0000000..04bada4 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar.asc new file mode 100644 index 0000000..23a47f4 --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-sources.jar.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlshPWYACgkQP6rSzV7L +sxSxbRAAhB2KTg41VPxC3suZBtdQ4wZjvgKEkjPnMyoggEJr2JlzxhrgTci0m81h +IhxU6Pn01FFD/uokKSwd4yu96UUNlwHB9j72eINbMzTkX4TJINoHwec1aff1zOvP +66G/W7riLAlQnHyiLm1FhUhHSW76nb68EGP8XL6t12sawyp+LA3FJDVmoimxPH+O +o/RUhndyBcvgLgtMIITMTez2w/fpriTEXCfP7i7x7hO3kM8HXul/8wLUP79nW3ec +aceRHWE6ybQbfnIW1+HjZfyXnjJ7F2wun4bubV9JulUomp1VqUOlrmvvWCUMJuWi +bCWe8t4usY+NB1JulTcXc0oiGysnNSE+/g64dYMc5nbwZcer7eThsH/xAINBS3rv +97FV95LXbumvLfTAxm0gVzXpH5qgG2rK2WQ4aehl67zURPQz9OzOf5YRRzGGB/9u +nSs44kzY9zwA6psE1rlS6ouhzdD1s04bNNEsxFPOco3NvHZ0BXaBDYs1z+bWabvD +ySEB4+/cLr1HTLHbmHtI3JkzakIcgXAeV7aPMKs77oKr93ItbEVaROd3687J6pXD +d8PZHgjAsxsqIlKc8aS8ho2vo7C3ocmXZ7p9qc+/tFfW7/p53Oy8Lh7ZvCk4Q0ou +2lVtG2wmYHWWLq+CLvknNmCycKXZS9TS6vrWFYvl3qkLWx7tmWA= +=CodX +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz new file mode 100644 index 0000000..d74fa36 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz.asc new file mode 100644 index 0000000..02c5762 --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEyBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAlscC04ACgkQhv3H4qES +Ysu5hwf47apHFf3f6A4/4JanDkeUShYZ1VnM4XjKwl5hTHgst9WtIy6I1/DI9cBg +lsgXmWFOXVzccYT9+wJknNBL3VcoXhrrmGuj6m9FCJAufbPXMMvOtRFjGUtmIIJp +MIia0v4khx+BgKcwJ9HEe+R1xvLD5YLnMNsHd8gUO7EFb/2JQWwbk9Ephtnk/OC+ +I24QHAqD+ShvdKEm95zQDd9cG54eiLdc8uv0zPYXMz63RSgwgKL31LJPBNx/tXA1 +RDcu3toawrbfvg81u+RCw3iJxee49oekckNlHrOfB6Ji8ZDIWszs/HzT5lWFmemN +Spxt04SqE9wOrSmogTMeuldQf/X1 +=vNat +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip new file mode 100644 index 0000000..0be2464 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip.asc new file mode 100644 index 0000000..34e1fc9 --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-src.zip.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAlscC04ACgkQhv3H4qES +YssZHQf+Mtpo6Gzq2F4ks1c2OmfvkhLr1GxK+G77DcqgD32SKGoRA0kQKOHcRp7z +08yq7pILQaC3sQxeKAU8nA2Eq9D1NhJr2/KqzrbPjEgz6FkUrwm0SQlusOfmzzrE +XK6EDUQfgrawUCjnZzNECjF7lBosDi1BuZjdOJYF8zAiXNTTCa0Y/DHucjaf9ZUA +Tgga1APFctnYbonjfx+QQZTIlp6vFe7957izKCBCfSRFUPUCcWPUxmVHtuQ2smJy +mNYspsdnnx4NkhI6bN2Jr4aHmukFjmMbhS4tROYwSCJky+fTR9AuQOMNkmSk0BJN +5fVwJ/KSLpkUAK1xH+uevWrUuL02Cg== +=sI60 +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar new file mode 100644 index 0000000..de22e0d Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar.asc new file mode 100644 index 0000000..6d25773 --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-test-sources.jar.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlshPWYACgkQP6rSzV7L +sxQqSw/+MlQ7I47+wnZdQYShbBo6w1+6d9z1jChYkTgldb6YwEVcTeZMsg7qCI+1 +tgH/OQ2RSJ7UTGNtb3PDZefqE+lO99GLPHxkZQbDebfGeiKDXBDxrxgk8M6S3a+T +Wb06bniyIZnLSmK4xt3afNhG9oz4fOQ5EC8fZts7OuwuMMDr4Jaei3Dnmeb62Du7 +dcYXQV6DWioZOc61z4P9Bv8kMKYB0qSLzvp02rlgjS7k+zY9wPcBmO/VgVupoyTc +/2mqFzLu0/4lSywCf6GtZ+x67VcmM9XyRLcPAz2IQYAsPv5KxuRjle0auEDFtxs1 +op6zYqtecZj9V+baVi0SxcdZZ5KfVaEDE2DQe0h+rAs7zqCwsHUq16Zrzpayv2JJ +cavArXRKSeJ7942OTB67bzJmjDdzyCwncGGNKLxliUc/0dh1drE/Ki895LY6FGRa +RKp41Q0+pE5yG/DMtEW05hHDkTQcTNFh7hZT/S6wDcerh8m2F+f892EcWDHWsghZ +PqFH/ZDVHQGuQ5wgGgjF8ePbJZ4crDxWu8JyWghFPslfjbPg+6a2FqCg1Mk/OKHk +uzwaR83TDPnNUIGejBK+9CEM6P4ZKEi36gHNqOkcv+VM+9z7mZ7ycTjpBkdIVc24 +hq/nm/MRkpSvq5u+7Tv/E8QvkVYZpWCOaKbPZWTIoWsG2zUr8jk= +=aMnW +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar new file mode 100644 index 0000000..eec7610 Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar.asc new file mode 100644 index 0000000..13d89ec --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4-tests.jar.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlshPWYACgkQP6rSzV7L +sxTTvg/9E0FaHbxqp0sOxQ2StCO7kbdkIFlMDc+Jr4pNiejnFs53Ts4GfI0FVwm4 +AufZ+IK/FLgytzwOaK//1nqy0ac5O51C/josxYLmupiluR/Rpaj0enpuiPAbU01W +/niRMOtKPvkQVRVKMcj0Ig5pvmg35fNlr9n5qGHIh9gQk9nUzkLa2IkMA+E0LRfq +qluIUXFcpPoe7NvsHd4jlh/ZDRlMF9TSyFLxhl50q/OgLuARxozwxbPHRnpo5hCd +jyImmnGun7eg9VvH4SzjxwNX36ON40G8ybITkUqYRKhbrjFv96wZFuDeyMX4v7cP +Q24W53Ykvy1240zoBphmBnfmb5zw0BzCYL7AKeU8AOXAt5FQWRa8Qo7xi8crIfqB +Jwk6gYL/tNjOrB7hrNSv8ppPlQGLwoIo5b+V4AlnPVORRVHucW/nSfmQ7iKD2QaR +L+ncj/TYiXDcl6aJ0so0a9OhmCEt6NxgsdzcWtR3MBmBzmD0fOTCqfLwp06XBdsR +rUwSQa7lwkxlerpcEnlOEWBZXF+J0IU6rAXs8a0gSg/4TPmX3iJSBdC3RByX6CMm +IB0iJhBGY5s8KKGZ8o+ab+TDqgprzf1W+g8ZNI3DnPi38ddS4zqBhSncO+fBaXQw +aNV+p17TS43SNp8pTS8IQbajnl8LMOhMeGmOjsdysyWvKdjaXKg= +=dsZE +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar new file mode 100644 index 0000000..ccf6fbc Binary files /dev/null and b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar.asc new file mode 100644 index 0000000..d0c6bd4 --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.jar.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlshPWUACgkQP6rSzV7L +sxQEZw/9GdoSLsyraknARARDjgPzzlkyVpohYuR1fBdz/Rie3d7XUbz3ORcaaIWM +YHVd3bAMkeNyNw/9yrd/Fp0EbSslbIIe8Y0e+bxOKRmTp5j2y77oka/D+eRI1zky +6GdxpFVi9hO1tqU9lFzBha+FTXXODEVrPO2fA4BYPYB9/vapT8dvbduzVVgW38OJ +lkMCjsqjbUQEgCGLT3H+5CA6JkfTJDcGMTyKn3Ln9RTDu47jGp5PFg8G650vIaaU +H7uit/RVg7S/p5m8G/S8kaPZrwQEFVIb9QcfEWDAmD/O+FEVigofg0DJDI/cx6Pe +EwszA7t+OTDRqAHTZcYNXVik7SWSKV9y7TL/SNyT525CJIM1U9LlFIGBlp3RW/io +DembG7AB1cgmV4rptJSPKEgwEijOqItJ7NpOLnfsn+FmgypsUc3uSh36tzRpuYhf +bUs0Xs3Zhs7OaiXExwLsbFo9mJ4M6RH7+abacjYiiSFHydBaLDRZfyLpctJaw+30 +hWACka/SmUcf7Pwqp7ZA2dJjrMjGvg0D1XFVVPwLZQJhLQNzfePXrcO+KuYxuq5t +qBu3Zw6g6hBjrUZ6Ab4Mp6aZI/a0enpqCGvRh/A28HhfPUaC8Te3ZfI77iBK/1eZ +14C5nho9Hiwi06iNha/J9rM/dnfDvkWpjEwWJw/5151h7o7+31Q= +=Ua8J +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom new file mode 100644 index 0000000..590a40e --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom @@ -0,0 +1,442 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.commons</groupId> + <artifactId>commons-parent</artifactId> + <version>46</version> + </parent> + <artifactId>commons-text</artifactId> + <version>1.4</version> + <name>Apache Commons Text</name> + <description>Apache Commons Text is a library focused on algorithms working on strings.</description> + <url>http://commons.apache.org/proper/commons-text</url> + + <properties> + <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> + + <commons.componentid>text</commons.componentid> + <commons.module.name>org.apache.commons.text</commons.module.name> + + <commons.release.version>1.4</commons.release.version> + <commons.release.desc>(Java 8+)</commons.release.desc> + + <commons.jira.id>TEXT</commons.jira.id> + <commons.jira.pid>12318221</commons.jira.pid> + + <commons.site.path>text</commons.site.path> + <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text</commons.scmPubUrl> + <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory> + + <junit.version>5.2.0</junit.version> + <junit.platform.version>1.2.0</junit.platform.version> + + <checkstyle.plugin.version>3.0.0</checkstyle.plugin.version> + <checkstyle.version>8.10.1</checkstyle.version> + + <spotbugs.plugin.version>3.1.3.1</spotbugs.plugin.version> + + <!-- Commons Release Plugin --> + <commons.bc.version>1.3</commons.bc.version> + <commons.release.isDistModule>true</commons.release.isDistModule> + <commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl> + <commons.releaseManagerName>Gary Gregory</commons.releaseManagerName> + <commons.releaseManagerKey>2DB4F1EF0FA761ECC4EA935C86FDC7E2A11262CB</commons.releaseManagerKey> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.7</version> + </dependency> + <!-- testing --> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <version>${junit.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-params</artifactId> + <version>${junit.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-launcher</artifactId> + <version>${junit.platform.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + <version>3.10.0</version> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check spotbugs:check javadoc:javadoc</defaultGoal> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>site-content/**</exclude> + <exclude>src/site/resources/download_lang.cgi</exclude> + <exclude>src/test/resources/stringEscapeUtilsTestData.txt</exclude> + <exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude> + </excludes> + </configuration> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.junit.platform</groupId> + <artifactId>junit-platform-surefire-provider</artifactId> + <version>${junit.platform.version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>${checkstyle.plugin.version}</version> + <configuration> + <enableRulesSummary>false</enableRulesSummary> + <configLocation>${basedir}/checkstyle.xml</configLocation> + <headerLocation>${basedir}/license-header.txt</headerLocation> + <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> + <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + </configuration> + <dependencies> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>${checkstyle.version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-maven-plugin</artifactId> + <version>${spotbugs.plugin.version}</version> + <configuration> + <excludeFilterFile>${basedir}/sb-excludes.xml</excludeFilterFile> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <configuration> + <descriptors> + <descriptor>src/assembly/bin.xml</descriptor> + <descriptor>src/assembly/src.xml</descriptor> + </descriptors> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + <configuration> + <archive combine.children="append"> + <manifestEntries> + <Automatic-Module-Name>${commons.module.name}</Automatic-Module-Name> + </manifestEntries> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-scm-publish-plugin</artifactId> + <configuration> + <ignorePathsToDelete> + <ignorePathToDelete>javadocs</ignorePathToDelete> + </ignorePathsToDelete> + </configuration> + </plugin> + </plugins> + + </build> + + <reporting> + <plugins> + <plugin> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>${checkstyle.plugin.version}</version> + <configuration> + <enableRulesSummary>false</enableRulesSummary> + <configLocation>${basedir}/checkstyle.xml</configLocation> + <headerLocation>${basedir}/license-header.txt</headerLocation> + <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation> + <suppressionsFileExpression>${basedir}/checkstyle-suppressions.xml</suppressionsFileExpression> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>checkstyle</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <!-- Requires setting 'export MAVEN_OPTS="-Xmx512m" ' --> + <plugin> + <groupId>com.github.spotbugs</groupId> + <artifactId>spotbugs-maven-plugin</artifactId> + <version>${spotbugs.plugin.version}</version> + <configuration> + <excludeFilterFile>${basedir}/sb-excludes.xml</excludeFilterFile> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>clirr-maven-plugin</artifactId> + <configuration> + <minSeverity>info</minSeverity> + </configuration> + </plugin> + <plugin> + <artifactId>maven-pmd-plugin</artifactId> + <version>3.9.0</version> + <configuration> + <targetJdk>${maven.compiler.target}</targetJdk> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>pmd</report> + <report>cpd</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + <version>2.4</version> + <configuration> + <tagListOptions> + <tagClasses> + <tagClass> + <displayName>Needs Work</displayName> + <tags> + <tag> + <matchString>TODO</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>FIXME</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>XXX</matchString> + <matchType>exact</matchType> + </tag> + </tags> + </tagClass> + <tagClass> + <displayName>Noteable Markers</displayName> + <tags> + <tag> + <matchString>NOTE</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>NOPMD</matchString> + <matchType>exact</matchType> + </tag> + <tag> + <matchString>NOSONAR</matchString> + <matchType>exact</matchType> + </tag> + </tags> + </tagClass> + </tagClasses> + </tagListOptions> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>javancss-maven-plugin</artifactId> + </plugin> + </plugins> + </reporting> + + <inceptionYear>2014</inceptionYear> + + <developers> + <developer> + <id>kinow</id> + <name>Bruno P. Kinoshita</name> + <email>ki...@apache.org</email> + </developer> + <developer> + <id>britter</id> + <name>Benedikt Ritter</name> + <email>brit...@apache.org</email> + </developer> + <developer> + <id>chtompki</id> + <name>Rob Tompkins</name> + <email>chtom...@apache.org</email> + </developer> + <developer> + <id>ggregory</id> + <name>Gary Gregory</name> + <email>ggreg...@apache.org</email> + </developer> + <developer> + <id>djones</id> + <name>Duncan Jones</name> + <email>djo...@apache.org</email> + </developer> + </developers> + + <contributors> + <contributor> + <name>Don Jeba</name> + <email>donj...@yahoo.com</email> + </contributor> + <contributor> + <name>Sampanna Kahu</name> + </contributor> + <contributor> + <name>Jarek Strzelecki</name> + </contributor> + <contributor> + <name>Lee Adcock</name> + </contributor> + <contributor> + <name>Amey Jadiye</name> + <email>ameyjad...@gmail.com</email> + </contributor> + <contributor> + <name>Arun Vinud S S</name> + </contributor> + <contributor> + <name>Ioannis Sermetziadis</name> + </contributor> + </contributors> + + <scm> + <connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-text.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-text.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=commons-text.git</url> + </scm> + + <issueManagement> + <system>jira</system> + <url>http://issues.apache.org/jira/browse/TEXT</url> + </issueManagement> + + <distributionManagement> + <site> + <id>apache.website</id> + <name>Apache Commons Site</name> + <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text/</url> + </site> + </distributionManagement> + + <profiles> + <profile> + <id>setup-checkout</id> + <activation> + <file> + <missing>site-content</missing> + </file> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>prepare-checkout</id> + <goals> + <goal>run</goal> + </goals> + <phase>pre-site</phase> + <configuration> + <tasks> + <exec executable="svn"> + <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}"/> + </exec> + + <exec executable="svn"> + <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs"/> + </exec> + + <pathconvert pathsep=" " property="dirs"> + <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*"/> + </pathconvert> + <exec executable="svn"> + <arg line="update --set-depth infinity ${dirs}"/> + </exec> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>java9+</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <properties> + <!-- coverall version 4.3.0 does not work with java 9+, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 --> + <coveralls.skip>true</coveralls.skip> + </properties> + </profile> + <profile> + <id>java11+</id> + <activation> + <jdk>[11,)</jdk> + </activation> + <properties> + <!-- jacoco does not work with java 11 yet, see https://github.com/jacoco/jacoco/issues/663 --> + <jacoco.skip>true</jacoco.skip> + <!-- spotbugs does not work with java 11 yet, because ASM does not yet support the java 11 class file format --> + <spotbugs.skip>true</spotbugs.skip> + </properties> + </profile> + </profiles> +</project> http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom.asc b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom.asc new file mode 100644 index 0000000..23a519a --- /dev/null +++ b/src/test/resources/mojos/detach-distributions/target/commons-text-1.4.pom.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAlshPWYACgkQP6rSzV7L +sxROtw/+LVkVg7ETZPiUL+fIytA4kI/c7kl/7KfNUwrhfLShqVz6Av4/7DwfWVan +/S750eerqkmPjWLVs08MSOCWSf5R6o3rWASGqXgyaUDGKpZCN6Ku277kxjTU5sdG +fhjBS2geFRLG1Tc9UACCq3TlJOc7UWWlOc0ZlAcOwGEQzEKCEcetVPAqvzqeY3jn +/+WsccbPajox0BNlbs4ZnyvQdrkCPglRduJex3yZfC5E4skyNjwkzz33AqQDA1pk +vcSGv+hwqhP3QEuk/ZYMigV/d6sWH+M6bR98Lfn2HLkMyff/2zsFaLISjgUlNK4Q +1LT3hzJW7dxvz3jTn8MAJk7MDNda89zMRV6cu9M3WjaX1hRH9xAisxqKEoxMiMKq +MDvIQrBAcfXE7UrIKKpc9FOSRV1DGE/bmDLU7hjMh6L34E6ikTQ2w4oZMBQiB68G +I3OHj+r6xt5i12leii5NGB70TOhQJi18MT9kU+a4FwSwPOImsmDjG84//7AuvMpm +ys1kp2k9olRf+42aj6JP5HoznVyckOIqCRKPVnpKv46kt1sQtoOltbqFxVmdCrQC +0XGXn7ZaBluM5kZwFQ5ZTdBVgfSeyg2z5t4+d70EHbgtizArsN4rjaDkdpa9rCzB +oGm4RSoW5xaKGjH43yZAHm1cFmkrpBGs7AnbiYxROCMwkMwhE/g= +=lCbd +-----END PGP SIGNATURE----- http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html b/src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html deleted file mode 100755 index c9a72dd..0000000 --- a/src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html +++ /dev/null @@ -1,24 +0,0 @@ -<html> -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one - ~ or more contributor license agreements. See the NOTICE file - ~ distributed with this work for additional information - ~ regarding copyright ownership. The ASF licenses this file - ~ to you under the Apache License, Version 2.0 (the - ~ "License"); you may not use this file except in compliance - ~ with the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, - ~ software distributed under the License is distributed on an - ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - ~ KIND, either express or implied. See the License for the - ~ specific language governing permissions and limitations - ~ under the License. - --> -<header><title>Mock maven site</title></header> -<body> -mock body -</body> -</html> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz deleted file mode 100755 index dda7e6c..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz.asc b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz.asc deleted file mode 100755 index f45982f..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-bin.tar.gz.asc and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz deleted file mode 100755 index dda7e6c..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz.asc b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz.asc deleted file mode 100755 index f45982f..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar-src.tar.gz.asc and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip deleted file mode 100755 index 1f34188..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip.asc b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip.asc deleted file mode 100755 index 804d188..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-bin.zip.asc and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip deleted file mode 100755 index 1f34188..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip and /dev/null differ http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/812ea8f5/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip.asc ---------------------------------------------------------------------- diff --git a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip.asc b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip.asc deleted file mode 100755 index 804d188..0000000 Binary files a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip-src.zip.asc and /dev/null differ