Skip to content
Permalink
Browse files
(fix) findbugs, javadoc
  • Loading branch information
chtompki committed Jun 15, 2018
1 parent 598aa43 commit 731a2893803ab57f3eef2e5ac9e02fcd0aa8214d
Showing 2 changed files with 22 additions and 13 deletions.
@@ -108,6 +108,9 @@
<project.build.sourceEncoding>${commons.encoding}</project.build.sourceEncoding>
<!-- This is used by reporting plugins -->
<project.reporting.outputEncoding>${commons.encoding}</project.reporting.outputEncoding>

<!-- Including commons release plugin older version -->
<commons.release.isDistModule>true</commons.release.isDistModule>
</properties>

<dependencies>
@@ -428,7 +431,7 @@
<plugin>
<groupId>org.apache.commons</groupId>
<artifactId>commons-release-plugin</artifactId>
<version>1.1</version>
<version>1.2</version>
<configuration>
<distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin
</distSvnStagingUrl>
@@ -193,7 +193,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
getLog().info("Checking out dist from: " + distSvnStagingUrl);
provider.checkOut(repository, scmFileSet);
File copiedReleaseNotes = copyReleaseNotesToWorkingDirectory();
List<File> filesToCommit = copyDistributionsIntoScmDirectoryStructureAndAddToSvn(copiedReleaseNotes,
copyDistributionsIntoScmDirectoryStructureAndAddToSvn(copiedReleaseNotes,
provider, repository);
List<File> filesToAdd = new ArrayList<>();
listNotHiddenFilesAndDirectories(distCheckoutDirectory, filesToAdd);
@@ -272,19 +272,25 @@ private File copyReleaseNotesToWorkingDirectory() throws MojoExecutionException
* the directory structure of the distribution staging repository. Specifically:
* <ul>
* <li>root:</li>
* <ul>
* <li>site</li>
* <li>site.zip</li>
* <li>RELEASE-NOTES.txt</li>
* <li>source:</li>
* <ul>
* <li>-src artifacts....</li>
* </ul>
* <li>binaries:</li>
* <li>
* <ul>
* <li>-bin artifacts....</li>
* <li>site</li>
* <li>site.zip</li>
* <li>RELEASE-NOTES.txt</li>
* <li>source:</li>
* <li>
* <ul>
* <li>-src artifacts....</li>
* </ul>
* </li>
* <li>binaries:</li>
* <li>
* <ul>
* <li>-bin artifacts....</li>
* </ul>
* </li>
* </ul>
* </ul>
* </li>
* </ul>
*
* @param copiedReleaseNotes is the RELEASE-NOTES.txt file that exists in the

0 comments on commit 731a289

Please sign in to comment.