commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject commons-release-plugin git commit: (fix) checkstyle and StagingMojoTest
Date Wed, 13 Jun 2018 16:47:26 GMT
Repository: commons-release-plugin
Updated Branches:
  refs/heads/master 812ea8f51 -> 1900a67fb


(fix) checkstyle and StagingMojoTest


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/1900a67f
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/1900a67f
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/1900a67f

Branch: refs/heads/master
Commit: 1900a67fb694c655542350cba444fef85aa2121e
Parents: 812ea8f
Author: Rob Tompkins <chtompki@apache.org>
Authored: Wed Jun 13 12:47:19 2018 -0400
Committer: Rob Tompkins <chtompki@apache.org>
Committed: Wed Jun 13 12:47:19 2018 -0400

----------------------------------------------------------------------
 .../CommonsDistributionStagingMojoTest.java     |  40 +--
 .../DistributionDetachmentProjectStub.java      | 284 +++++++++----------
 2 files changed, 162 insertions(+), 162 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/1900a67f/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
index 9b40cc7..e5d4734 100755
--- a/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
+++ b/src/test/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojoTest.java
@@ -96,28 +96,28 @@ public class CommonsDistributionStagingMojoTest {
         File headerHtml = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/HEADER.html");
         File binariesReadmeHtml = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/README.html");
         File binariesHeaderHtml = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/HEADER.html");
-        File binTar = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedTar-bin.tar.gz");
-        File binTarASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedTar-bin.tar.gz.asc");
-        File binTarMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedTar-bin.tar.gz.md5");
-        File binTarSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedTar-bin.tar.gz.sha1");
-        File binTarSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedTar-bin.tar.gz.sha256");
-        File binZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedZip-bin.zip");
-        File binZipASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedZip-bin.zip.asc");
-        File binZipMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedZip-bin.zip.md5");
-        File binZipSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedZip-bin.zip.sha1");
-        File binZipSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/mockAttachedZip-bin.zip.sha256");
+        File binTar = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz");
+        File binTarASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz.asc");
+        File binTarMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz.md5");
+        File binTarSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz.sha1");
+        File binTarSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.tar.gz.sha256");
+        File binZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip");
+        File binZipASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip.asc");
+        File binZipMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip.md5");
+        File binZipSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip.sha1");
+        File binZipSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/commons-text-1.4-bin.zip.sha256");
         File sourcesReadmeHtml = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/README.html");
         File sourceHeaderHtml = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/binaries/HEADER.html");
-        File srcTar = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedTar-src.tar.gz");
-        File srcTarASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedTar-src.tar.gz.asc");
-        File srcTarMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedTar-src.tar.gz.md5");
-        File srcTarSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedTar-src.tar.gz.sha1");
-        File srcTarSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedTar-src.tar.gz.sha256");
-        File srcZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedZip-src.zip");
-        File srcZipASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedZip-src.zip.asc");
-        File srcZipMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedZip-src.zip.md5");
-        File srcZipSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedZip-src.zip.sha1");
-        File srcZipSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/mockAttachedZip-src.zip.sha256");
+        File srcTar = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz");
+        File srcTarASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz.asc");
+        File srcTarMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz.md5");
+        File srcTarSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz.sha1");
+        File srcTarSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.tar.gz.sha256");
+        File srcZip = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip");
+        File srcZipASC = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip.asc");
+        File srcZipMD5 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip.md5");
+        File srcZipSHA1 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip.sha1");
+        File srcZipSHA256 = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/source/commons-text-1.4-src.zip.sha256");
         File site = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/site");
         File siteIndexHtml = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/site/index.html");
         File siteSubdirectory = new File(COMMONS_RELEASE_PLUGIN_TEST_DIR_PATH + "/scm/1.0-SNAPSHOT-RC1/site/subdirectory");

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/1900a67f/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 9201fbc..d392915 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
@@ -59,148 +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/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/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/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/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/commons-text-1.4.jar"),
-                        "jar",
-                        "commons-text",
-                        "jar",
-                        "1.4"
-                )
-        );
-        attachedArtifacts.add(
-                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/commons-text-1.4.pom"),
-                        "pom",
-                        "commons-text",
-                        "pom",
-                        "1.4"
-                )
-        );
-        attachedArtifacts.add(
-                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/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"
-                )
+            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/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/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/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/commons-text-1.4.jar"),
+                "jar",
+                "commons-text",
+                "jar",
+                "1.4"
+            )
+        );
+        attachedArtifacts.add(
+            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/commons-text-1.4.pom"),
+                "pom",
+                "commons-text",
+                "pom",
+                "1.4"
+            )
+        );
+        attachedArtifacts.add(
+            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/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;
     }


Mime
View raw message