You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2018/01/07 19:28:37 UTC
[1/2] commons-release-plugin git commit: More tweeks to the unit tests
Repository: commons-release-plugin
Updated Branches:
refs/heads/master 2f945be95 -> 4d378276b
More tweeks to the unit tests
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/0569fd57
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/0569fd57
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/0569fd57
Branch: refs/heads/master
Commit: 0569fd5744769c37cef42be90af7643981b5b198
Parents: 2f945be
Author: Rob Tompkins <ch...@apache.org>
Authored: Sun Jan 7 14:28:01 2018 -0500
Committer: Rob Tompkins <ch...@apache.org>
Committed: Sun Jan 7 14:28:01 2018 -0500
----------------------------------------------------------------------
RELEASE-NOTES.txt | 1 +
.../release/plugin/mojos/CommonsDistributionStagingMojo.java | 1 -
src/site/xdoc/index.xml | 7 +++----
.../plugin/stubs/DistributionDetatchmentProjectStub.java | 1 -
.../mojos/detatch-distributions/detatch-distributions.xml | 6 +++---
5 files changed, 7 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/0569fd57/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
new file mode 100644
index 0000000..5a03f8b
--- /dev/null
+++ b/RELEASE-NOTES.txt
@@ -0,0 +1 @@
+Empty for now.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/0569fd57/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
index 8bd7bf9..7920f52 100644
--- a/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
+++ b/src/main/java/org/apache/commons/release/plugin/mojos/CommonsDistributionStagingMojo.java
@@ -153,7 +153,6 @@ public class CommonsDistributionStagingMojo extends AbstractMojo {
copiedReleaseNotesAbsolutePath.append("/scm/");
copiedReleaseNotesAbsolutePath.append(releaseNotes.getName());
File copiedReleaseNotes = new File(copiedReleaseNotesAbsolutePath.toString());
- getLog().info("Copying: " + releaseNotes.getName());
SharedFunctions.copyFile(getLog(), releaseNotes, copiedReleaseNotes);
}
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/0569fd57/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 4c6427b..eb02ced 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -28,12 +28,11 @@
<body>
- <section name="Build Plugin">
+ <section name="Release Plugin">
<p>
- This is a <a href="http://maven.apache.org/">Maven 2.x/3.x</a>
- <a href="http://ant.apache.org/">Ant</a> Plugin which is
- used by <a href="http://commons.apache.org/">Apache Commons</a> builds. See
+ This is a <a href="http://maven.apache.org/">Maven 2.x/3.x</a>Plugin which is
+ used by <a href="http://commons.apache.org/">Apache Commons</a> releases. See
the <a href="development.html">Development</a> page for information to
help maintain this plugin.
</p>
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/0569fd57/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetatchmentProjectStub.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetatchmentProjectStub.java b/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetatchmentProjectStub.java
index 65f0ac7..003d398 100644
--- a/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetatchmentProjectStub.java
+++ b/src/test/java/org/apache/commons/release/plugin/stubs/DistributionDetatchmentProjectStub.java
@@ -21,7 +21,6 @@ import org.apache.maven.artifact.Artifact;
import org.apache.maven.plugin.testing.stubs.ArtifactStub;
import org.apache.maven.plugin.testing.stubs.MavenProjectStub;
import org.apache.maven.project.MavenProject;
-import org.apache.maven.project.artifact.AttachedArtifact;
import java.io.File;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/0569fd57/src/test/resources/mojos/detatch-distributions/detatch-distributions.xml
----------------------------------------------------------------------
diff --git a/src/test/resources/mojos/detatch-distributions/detatch-distributions.xml b/src/test/resources/mojos/detatch-distributions/detatch-distributions.xml
index c6e5f81..36c9207 100644
--- a/src/test/resources/mojos/detatch-distributions/detatch-distributions.xml
+++ b/src/test/resources/mojos/detatch-distributions/detatch-distributions.xml
@@ -22,11 +22,11 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.commons.plugin.my.unit</groupId>
- <artifactId>compress-site-test</artifactId>
+ <groupId>org.apache.commons.release.plugin.unit</groupId>
+ <artifactId>detatch-distributions-test</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
- <name>Test MyMojo</name>
+ <name>Mock Pom For Testing CommonsDistributionDetatchmentMojo</name>
<dependencies>
<dependency>
[2/2] commons-release-plugin git commit: Deleting unneeded
RELEASE-NOTES.txt file
Posted by ch...@apache.org.
Deleting unneeded RELEASE-NOTES.txt file
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/4d378276
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/4d378276
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/4d378276
Branch: refs/heads/master
Commit: 4d378276b6727485a9d11275792fe1cb49e961a3
Parents: 0569fd5
Author: Rob Tompkins <ch...@apache.org>
Authored: Sun Jan 7 14:28:24 2018 -0500
Committer: Rob Tompkins <ch...@apache.org>
Committed: Sun Jan 7 14:28:24 2018 -0500
----------------------------------------------------------------------
RELEASE-NOTES.txt | 1 -
1 file changed, 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/4d378276/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
deleted file mode 100644
index 5a03f8b..0000000
--- a/RELEASE-NOTES.txt
+++ /dev/null
@@ -1 +0,0 @@
-Empty for now.
\ No newline at end of file