Repository: commons-release-plugin
Updated Branches:
  refs/heads/master 34e727bae -> ea2fb4e75


(chore) adding back testing target folder, .gitignore accidentally removed it


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

Branch: refs/heads/master
Commit: ea2fb4e75cf8bdebc60676e1f610647e234da448
Parents: 34e727b
Author: Rob Tompkins <christopher.tompk...@capitalone.com>
Authored: Mon Jan 8 08:52:56 2018 -0500
Committer: Rob Tompkins <christopher.tompk...@capitalone.com>
Committed: Mon Jan 8 08:52:56 2018 -0500

----------------------------------------------------------------------
 .../commons/release/plugin/SharedFunctions.java |   7 +++---
 .../target/mockAttachedFile.html                |  24 +++++++++++++++++++
 .../target/mockAttachedTar.tar.gz               | Bin 0 -> 327 bytes
 .../target/mockAttachedTar.tar.gz.asc           | Bin 0 -> 566 bytes
 .../target/mockAttachedZip.zip                  | Bin 0 -> 1323 bytes
 .../target/mockAttachedZip.zip.asc              | Bin 0 -> 566 bytes
 6 files changed, 28 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/ea2fb4e7/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java 
b/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
index 9051629..741cd29 100644
--- a/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
+++ b/src/main/java/org/apache/commons/release/plugin/SharedFunctions.java
@@ -26,12 +26,12 @@ import java.io.FileOutputStream;
 import java.io.IOException;
 
 /**
- * Shared static functions for all of our Mojos
+ * Shared static functions for all of our Mojos.
  *
  * @author chtompki
  * @since 1.0
  */
-public class SharedFunctions {
+public final class SharedFunctions {
 
     private SharedFunctions() {
         //Uitility Class
@@ -59,7 +59,8 @@ public class SharedFunctions {
     }
 
     /**
-     * Copies a file from the from file to the to file and logs the failure 
using the maven logger.
+     * Copies a {@link File} from the <code>fromfile</code> to the 
<code>tofile</code> and logs the failure
+     * using the maven {@link Log}.
      *
      * @param log the {@link Log}, the maven logger.
      * @param fromFile the {@link File} from which to copy.

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/ea2fb4e7/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
new file mode 100644
index 0000000..c9a72dd
--- /dev/null
+++ b/src/test/resources/mojos/detach-distributions/target/mockAttachedFile.html
@@ -0,0 +1,24 @@
+<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/ea2fb4e7/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz
----------------------------------------------------------------------
diff --git 
a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz
new file mode 100644
index 0000000..dda7e6c
Binary files /dev/null and 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz 
differ

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/ea2fb4e7/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz.asc
----------------------------------------------------------------------
diff --git 
a/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz.asc
 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz.asc
new file mode 100644
index 0000000..f45982f
Binary files /dev/null and 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedTar.tar.gz.asc
 differ

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/ea2fb4e7/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip
----------------------------------------------------------------------
diff --git 
a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip
new file mode 100644
index 0000000..1f34188
Binary files /dev/null and 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip 
differ

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/ea2fb4e7/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip.asc
----------------------------------------------------------------------
diff --git 
a/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip.asc 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip.asc
new file mode 100644
index 0000000..804d188
Binary files /dev/null and 
b/src/test/resources/mojos/detach-distributions/target/mockAttachedZip.zip.asc 
differ

Reply via email to