You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2017/12/09 17:23:57 UTC

[maven-shared-incremental] branch master created (now 9e7f137)

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git.


      at 9e7f137  Upgrade org.codehaus.plexus:plexus-component-metadata to 1.7.1 This will make them build with Java9

This branch includes the following new commits:

     new 86b8f56  MSHARED-245 add IncremtalBuildHelper
     new fbcb2b7  MSHARED-245 more IncrementalBuildHelper features.
     new 5847d65  o Deleted ArrayUtils since there was no concrete counterpart in plexus and it was only being used a couple of places in m-shared
     new c3260dd  use released version
     new 9f485e8  [maven-release-plugin] prepare release maven-shared-incremental-1.0
     new b040939  [maven-release-plugin] prepare for next development iteration
     new 1e1be1b  added basic site descriptor to have javadoc and jxr
     new 3b6eb16  fixed typos
     new a2fc601  [MSHARED-264] afterRebuildExecution must create createdFiles.lst file if not exists
     new b9f5d08  npe free
     new 0108adc  [MSHARED-264] afterRebuildExecution must create createdFiles.lst file if not exists use a new bean to pass parameters will ease future changes without breaking backward comp.
     new 72e19c4  oups missed to add the file
     new cf39aca  fix javadoc
     new 89ba33e  configure site deployment
     new 2d484a8  configure site deployment via svnpubsub
     new d6c93d9  use released parent
     new c8be3e3  [maven-release-plugin] prepare release maven-shared-incremental-1.1
     new 99d458d  [maven-release-plugin] prepare for next development iteration
     new e855f98  back to 1.1-SNAPSHOT version
     new abaeb4c  [maven-release-plugin] prepare release maven-shared-incremental-1.1
     new 02830c2  [maven-release-plugin] prepare for next development iteration
     new def2c65  back to 1.1-SNAPSHOT
     new a7ae98b  [maven-release-plugin] prepare release maven-shared-incremental-1.1
     new da947d1  [maven-release-plugin] prepare for next development iteration
     new c7da060  Follow ASF branding rules.
     new e5baddf  use versions defined in parent's dependencyManagement
     new 59fede5  configured site deploy to /shared-archives/<artifactId>-LATEST
     new 04d22de  updated parent pom
     new eb1ab01  updated maven-shared-utils
     new 90898fc  reverted shared-utils version update since it causes unexpected + random failures on ASF Jenkins build farm (artifact not found in central???)
     new 7c704b1  [MNGSITE-152]  - Added appropriate links to download site and license location    to fulfill the ASF requirements.
     new 33ab753  [MNGSITE-152]  - Added missing links from overview to ASF License page    and to download area.
     new 2e6bcc8  added license header
     new 88d7c18  s/plugins/shared/
     new ae96f01  [MSHARED-371] Increased chance of java8 compliance by updating to asm5.x based plexus-component-*
     new 51655bb  upgraded parent pom
     new 697e3cb  [MSHARED-406] Upgrade maven-shared-utils to 0.7
     new 666a490  changed svnpubsub url from /content to /components
     new eec6f90  moved Jira from Codehaus to Apache
     new dcf5424  [MNGSITE-243] Fixed wrong link.
     new 78c2c1f  [MPOM-95] updated parent pom location
     new 9841405  updated Jira url
     new 1f817fd  Upgrade parent to org.apache.maven.shared:maven-shared-components:30
     new 9e7f137  Upgrade org.codehaus.plexus:plexus-component-metadata to 1.7.1 This will make them build with Java9

The 44 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].

[maven-shared-incremental] 38/44: changed svnpubsub url from /content to /components

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 666a4903a8d17949f2959530ecc77e830e43c0e9
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Mon Mar 30 22:25:48 2015 +0000

    changed svnpubsub url from /content to /components
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1670207 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index e49f349..00a5c9f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,7 +47,7 @@
   <distributionManagement>
     <site>
       <id>apache.website</id>
-      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url>
+      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/components/${maven.site.path}</url>
     </site>
   </distributionManagement>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 15/44: configure site deployment via svnpubsub

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 2d484a83932d87d4fb8db7cf8d629a70aa960bb1
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Dec 13 10:58:37 2012 +0000

    configure site deployment via svnpubsub
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1421222 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 66 +----------------------------------------------------------------
 1 file changed, 1 insertion(+), 65 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2fcd2ab..5003c90 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>18</version>
+    <version>19-SNAPSHOT</version>
     <relativePath>../maven-shared-components/pom.xml</relativePath>
   </parent>
 
@@ -40,13 +40,6 @@
     <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
 
-  <distributionManagement>
-    <site>
-      <id>apache.website.svnpub</id>
-      <url>scm:svn:${svnUrl}</url>
-    </site>
-  </distributionManagement>
-
   <issueManagement>
     <system>jira</system>
     <url>https://jira.codehaus.org/browse/MSHARED/component/15650</url>
@@ -54,12 +47,6 @@
 
   <properties>
     <mavenVersion>2.2.1</mavenVersion>
-
-    <maven.sites.cache>${user.home}/maven-sites</maven.sites.cache>
-    <siteFilePath>${maven.sites.cache}/shared/${project.artifactId}-${project.version}</siteFilePath>
-    <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
-    <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/shared-archives/${project.artifactId}-${project.version}</svnUrl>
-
   </properties>
 
   <dependencies>
@@ -143,58 +130,7 @@
           </execution>
         </executions>
       </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <configuration>
-          <skipDeploy>true</skipDeploy>
-        </configuration>
-        <executions>
-          <execution>
-            <id>stage-for-scm-publish</id>
-            <phase>post-site</phase>
-            <goals>
-              <goal>stage</goal>
-            </goals>
-            <configuration>
-              <skipDeploy>false</skipDeploy>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-scm-publish-plugin</artifactId>
-        <version>1.0-beta-2</version>
-        <configuration>
-          <checkinComment>Apache ${project.name} site deployment</checkinComment>
-        </configuration>
-        <executions>
-          <execution>
-            <id>scm-publish</id>
-            <phase>site-deploy</phase>
-            <goals>
-              <goal>publish-scm</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
     </plugins>
   </build>
 
-  <profiles>
-    <profile>
-      <id>site-release</id>
-      <properties>
-
-        <siteFilePath>${maven.sites.cache}/shared/${project.artifactId}</siteFilePath>
-        <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
-        <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/shared/${project.artifactId}</svnUrl>
-
-      </properties>
-    </profile>
-  </profiles>
-
 </project>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 16/44: use released parent

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit d6c93d9c39b231098f83868dc41bb1f3237e5db4
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sat Feb 2 22:33:04 2013 +0000

    use released parent
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1441820 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 5003c90..efb2c1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>19-SNAPSHOT</version>
+    <version>19</version>
     <relativePath>../maven-shared-components/pom.xml</relativePath>
   </parent>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 30/44: reverted shared-utils version update since it causes unexpected + random failures on ASF Jenkins build farm (artifact not found in central???)

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 90898fc490987cb88cb948e8bf517483baa6e3aa
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Thu Apr 3 01:59:26 2014 +0000

    reverted shared-utils version update since it causes unexpected + random failures on ASF Jenkins build farm (artifact not found in central???)
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1584250 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index f2cce94..b71ef63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -107,7 +107,7 @@
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-shared-utils</artifactId>
-      <version>0.6</version>
+      <version>0.1</version>
     </dependency>
 
     <dependency>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 41/44: [MPOM-95] updated parent pom location

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 78c2c1ff5ff8715a5760646c67ecc9d1f5957c6e
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Tue Nov 17 21:02:09 2015 +0000

    [MPOM-95] updated parent pom location
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1714889 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index e8d5f58..bb602ee 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
     <version>21</version>
-    <relativePath>../maven-shared-components/pom.xml</relativePath>
+    <relativePath>../../pom/maven/maven-shared-components/pom.xml</relativePath>
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 19/44: back to 1.1-SNAPSHOT version

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit e855f983750036e5a32c85379c6f8b78b8c33033
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sun Mar 24 09:45:37 2013 +0000

    back to 1.1-SNAPSHOT version
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1460295 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3738773..efb2c1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.2-SNAPSHOT</version>
+  <version>1.1-SNAPSHOT</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 11/44: [MSHARED-264] afterRebuildExecution must create createdFiles.lst file if not exists use a new bean to pass parameters will ease future changes without breaking backward comp.

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 0108adc4cc48a2a676fd69922e1a9d538d4fcc2c
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Nov 26 23:13:31 2012 +0000

    [MSHARED-264] afterRebuildExecution must create createdFiles.lst file if not exists
    use a new bean to pass parameters will ease future changes without breaking backward comp.
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1413922 13f79535-47bb-0310-9956-ffa450edef68
---
 .../shared/incremental/IncrementalBuildHelper.java | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 8904201..2ae5174 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -162,11 +162,11 @@ public class IncrementalBuildHelper
      * We simply load the list of files for the previous build from a status file
      * and compare it with the new list. Afterwards we store the new list in the status file.
      *
-     * @param inputFiles
+     * @param incrementalBuildHelperRequest
      * @return <code>true</code> if the set of inputFiles got changed since the last build.
      * @throws MojoExecutionException
      */
-    public boolean inputFileTreeChanged( Set<File> inputFiles )
+    public boolean inputFileTreeChanged( IncrementalBuildHelperRequest incrementalBuildHelperRequest )
         throws MojoExecutionException
     {
         File mojoConfigBase = getMojoStatusDirectory();
@@ -186,9 +186,9 @@ public class IncrementalBuildHelper
             }
         }
 
-        String[] inputFileNames = new String[ inputFiles.size() ];
+        String[] inputFileNames = new String[ incrementalBuildHelperRequest.getInputFiles().size() ];
         int i = 0;
-        for ( File inputFile : inputFiles )
+        for ( File inputFile : incrementalBuildHelperRequest.getInputFiles() )
         {
             inputFileNames[ i++ ] = inputFile.getAbsolutePath();
         }
@@ -270,11 +270,11 @@ public class IncrementalBuildHelper
      * by this task.</p>
      *
      *
-     * @param outputDirectory
+     * @param incrementalBuildHelperRequest
      * @return all files which got created in the previous build and have been deleted now.
      * @throws MojoExecutionException
      */
-    public String[] beforeRebuildExecution( File outputDirectory )
+    public String[] beforeRebuildExecution( IncrementalBuildHelperRequest incrementalBuildHelperRequest )
         throws MojoExecutionException
     {
         File mojoConfigBase = getMojoStatusDirectory();
@@ -287,7 +287,7 @@ public class IncrementalBuildHelper
             oldFiles = FileUtils.fileReadArray( mojoConfigFile );
             for ( String oldFileName : oldFiles )
             {
-                File oldFile = new File( outputDirectory, oldFileName );
+                File oldFile = new File( incrementalBuildHelperRequest.getOutputDirectory(), oldFileName );
                 oldFile.delete();
             }
         }
@@ -298,8 +298,8 @@ public class IncrementalBuildHelper
 
         // we remember all files which currently exist in the output directory
         DirectoryScanner diffScanner = getDirectoryScanner();
-        diffScanner.setBasedir( outputDirectory );
-        if ( outputDirectory.exists() )
+        diffScanner.setBasedir( incrementalBuildHelperRequest.getOutputDirectory() );
+        if ( incrementalBuildHelperRequest.getOutputDirectory().exists() )
         {
             diffScanner.scan();
             filesBeforeAction = diffScanner.getIncludedFiles();
@@ -310,7 +310,7 @@ public class IncrementalBuildHelper
 
     /**
      * <p>This method collects and stores all information about files changed since
-     * the call to {@link #beforeRebuildExecution(java.io.File)}.</p>
+     * the call to {@link #beforeRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)}.</p>
      *
      * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
      *
@@ -318,7 +318,7 @@ public class IncrementalBuildHelper
      *
      * @throws MojoExecutionException
      */
-    public void afterRebuildExecution( Set<File> sources )
+    public void afterRebuildExecution( IncrementalBuildHelperRequest incrementalBuildHelperRequest )
         throws MojoExecutionException
     {
         DirectoryScanner diffScanner = getDirectoryScanner();
@@ -345,7 +345,7 @@ public class IncrementalBuildHelper
         {
             try
             {
-                FileUtils.fileWriteArray( mojoConfigFile, toArrayOfPath( sources ));
+                FileUtils.fileWriteArray( mojoConfigFile, toArrayOfPath( incrementalBuildHelperRequest.getInputFiles() ));
             }
             catch ( IOException e )
             {

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 12/44: oups missed to add the file

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 72e19c44160d7d3a35722b54dc3413eff8dfdd4a
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Nov 26 23:13:50 2012 +0000

    oups missed to add the file
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1413923 13f79535-47bb-0310-9956-ffa450edef68
---
 .../incremental/IncrementalBuildHelperRequest.java | 75 ++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java
new file mode 100644
index 0000000..19111df
--- /dev/null
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java
@@ -0,0 +1,75 @@
+package org.apache.maven.shared.incremental;
+/*
+ * 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.
+ */
+
+import java.io.File;
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * @author Olivier Lamy
+ * @since 1.1
+ */
+public class IncrementalBuildHelperRequest
+{
+    private Set<File> inputFiles;
+
+    private File outputDirectory;
+
+    public IncrementalBuildHelperRequest()
+    {
+        // no op
+    }
+
+    public Set<File> getInputFiles()
+    {
+        if ( inputFiles == null )
+        {
+            this.inputFiles = new HashSet<File>();
+        }
+        return inputFiles;
+    }
+
+    public void setInputFiles( Set<File> inputFiles )
+    {
+        this.inputFiles = inputFiles;
+    }
+
+    public IncrementalBuildHelperRequest inputFiles( Set<File> inputFiles )
+    {
+        this.inputFiles = inputFiles;
+        return this;
+    }
+
+    public File getOutputDirectory()
+    {
+        return outputDirectory;
+    }
+
+    public void setOutputDirectory( File outputDirectory )
+    {
+        this.outputDirectory = outputDirectory;
+    }
+
+    public IncrementalBuildHelperRequest outputDirectory( File outputDirectory )
+    {
+        this.outputDirectory = outputDirectory;
+        return this;
+    }
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 02/44: MSHARED-245 more IncrementalBuildHelper features.

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit fbcb2b7f8baa074c50ea2bca56df367e0d6664e8
Author: Mark Struberg <st...@apache.org>
AuthorDate: Sat Sep 22 22:51:44 2012 +0000

    MSHARED-245 more IncrementalBuildHelper features.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1388917 13f79535-47bb-0310-9956-ffa450edef68
---
 .../shared/incremental/IncrementalBuildHelper.java | 156 ++++++++++++++++++++-
 1 file changed, 150 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 5602b08..35dd105 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -24,12 +24,14 @@ import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecution;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.project.MavenProject;
+import org.apache.maven.shared.utils.ArrayUtils;
 import org.apache.maven.shared.utils.io.DirectoryScanResult;
 import org.apache.maven.shared.utils.io.DirectoryScanner;
 import org.apache.maven.shared.utils.io.FileUtils;
 
 import java.io.File;
 import java.io.IOException;
+import java.util.Set;
 
 /**
  * Various helper methods to support incremental builds
@@ -42,6 +44,7 @@ public class IncrementalBuildHelper
      */
     private static final String MAVEN_STATUS_ROOT = "maven-status";
     public static final String CREATED_FILES_LST_FILENAME = "createdFiles.lst";
+    private static final String INPUT_FILES_LST_FILENAME = "inputFiles.lst";
 
     /**
      * Needed for storing the status for the incremental build support.
@@ -59,20 +62,50 @@ public class IncrementalBuildHelper
      */
     private DirectoryScanner directoryScanner;
 
-    private String[] filesBeforeAction;
+    /**
+     * Once the {@link #beforeRebuildExecution(java.io.File)} gots called
+     * this will contain the list of files in the build directory.
+     */
+    private String[] filesBeforeAction = ArrayUtils.EMPTY_STRING_ARRAY;
 
     public IncrementalBuildHelper( MojoExecution mojoExecution, MavenSession mavenSession )
     {
-        this( mojoExecution, mavenSession.getCurrentProject() );
+        this( mojoExecution, getMavenProject( mavenSession ) );
     }
 
-
     public IncrementalBuildHelper( MojoExecution mojoExecution, MavenProject mavenProject )
     {
+        if ( mavenProject == null )
+        {
+            throw new IllegalArgumentException( "MavenProject must not be null!" );
+        }
+        if ( mojoExecution == null )
+        {
+            throw new IllegalArgumentException( "MojoExecution must not be null!" );
+        }
+
         this.mavenProject = mavenProject;
         this.mojoExecution = mojoExecution;
     }
 
+    /**
+     * small helper method to allow for the nullcheck in the ct invocation
+     */
+    private static MavenProject getMavenProject( MavenSession mavenSession )
+    {
+        if ( mavenSession == null )
+        {
+            throw new IllegalArgumentException( "MavenSession must not be null!" );
+        }
+
+        return mavenSession.getCurrentProject();
+    }
+
+    /**
+     * Get the existing DirectoryScanner used by this helper,
+     * or create new a DirectoryScanner if none is yet set.
+     * The DirectoryScanner is used for detecting changes in a directory
+     */
     public DirectoryScanner getDirectoryScanner()
     {
         if ( directoryScanner == null )
@@ -84,6 +117,17 @@ public class IncrementalBuildHelper
     }
 
     /**
+     * Set the DirectoryScanner which shall get used by this build helper.
+     * @param directoryScanner
+     */
+    public void setDirectoryScanner( DirectoryScanner directoryScanner )
+    {
+        this.directoryScanner = directoryScanner;
+    }
+
+    /**
+     * We use a specific status directory for each mojo execution to store state
+     * which is needed during the next build invocation run.
      * @return the directory for storing status information of the current mojo execution.
      */
     public File getMojoStatusDirectory() throws MojoExecutionException
@@ -95,6 +139,9 @@ public class IncrementalBuildHelper
 
         File buildOutputDirectory = new File( mavenProject.getBuild().getDirectory() );
 
+        //X TODO the executionId contains -cli and -mojoname
+        //X we should remove those postfixes as it should not make
+        //X any difference whether being run on the cli or via build
         String mojoStatusPath = MAVEN_STATUS_ROOT + File.separator
                                 + mojoExecution.getMojoDescriptor().getPluginDescriptor().getArtifactId() + File.separator
                                 + mojoExecution.getMojoDescriptor().getGoal() + File.separator
@@ -111,6 +158,103 @@ public class IncrementalBuildHelper
     }
 
     /**
+     * Detect whether the list of detected files has changed since the last build.
+     * We simply load the list of files for the previous build from a status file
+     * and compare it with the new list. Afterwards we store the new list in the status file.
+     *
+     * @param inputFiles
+     * @return <code>true</code> if the set of inputFiles got changed since the last build.
+     * @throws MojoExecutionException
+     */
+    public boolean inputFileTreeChanged( Set<File> inputFiles ) throws MojoExecutionException
+    {
+        File mojoConfigBase = getMojoStatusDirectory();
+        File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
+
+        String[] oldInputFiles = ArrayUtils.EMPTY_STRING_ARRAY;
+
+        if ( mojoConfigFile.exists() )
+        {
+            try
+            {
+                oldInputFiles = FileUtils.fileReadArray( mojoConfigFile );
+            }
+            catch( IOException e )
+            {
+                throw new MojoExecutionException( "Error reading old mojo status " + mojoConfigFile, e );
+            }
+        }
+
+        String[] inputFileNames = new String[ inputFiles.size() ];
+        int i = 0;
+        for ( File inputFile : inputFiles )
+        {
+            inputFileNames[ i++ ] = inputFile.getAbsolutePath();
+        }
+
+        DirectoryScanResult dsr = DirectoryScanner.diffFiles( oldInputFiles, inputFileNames );
+
+
+        try
+        {
+            FileUtils.fileWriteArray( mojoConfigFile, inputFileNames );
+        }
+        catch( IOException e )
+        {
+            throw new MojoExecutionException( "Error while storing the mojo status", e );
+        }
+
+        return ( dsr.getFilesAdded().length > 0 || dsr.getFilesRemoved().length > 0 );
+    }
+
+    /**
+     * Detect whether the list of detected files picked up by the DirectoryScanner
+     * has changed since the last build.
+     * We simply load the list of files for the previous build from a status file
+     * and compare it with the result of the new DirectoryScanner#scan().
+     * Afterwards we store the new list in the status file.
+     *
+     * @param dirScanner
+     * @return <code>true</code> if the set of inputFiles got changed since the last build.
+     * @throws MojoExecutionException
+     */
+    public boolean inputFileTreeChanged( DirectoryScanner dirScanner ) throws MojoExecutionException
+    {
+        File mojoConfigBase = getMojoStatusDirectory();
+        File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
+
+        String[] oldInputFiles = ArrayUtils.EMPTY_STRING_ARRAY;
+
+        if ( mojoConfigFile.exists() )
+        {
+            try
+            {
+                oldInputFiles = FileUtils.fileReadArray( mojoConfigFile );
+            }
+            catch( IOException e )
+            {
+                throw new MojoExecutionException( "Error reading old mojo status " + mojoConfigFile, e );
+            }
+        }
+
+        dirScanner.scan();
+
+        try
+        {
+            // store away the list of input files
+            FileUtils.fileWriteArray( mojoConfigFile, dirScanner.getIncludedFiles() );
+        }
+        catch( IOException e )
+        {
+            throw new MojoExecutionException( "Error while storing new mojo status" + mojoConfigFile, e );
+        }
+
+        DirectoryScanResult dsr = dirScanner.diffIncludedFiles( oldInputFiles );
+
+        return ( dsr.getFilesAdded().length > 0 || dsr.getFilesRemoved().length > 0 );
+    }
+
+    /**
      * <p>This method shall get invoked before the actual mojo task gets triggered,
      * e.g. the actual compile in maven-compiler-plugin.</p>
      *
@@ -132,7 +276,7 @@ public class IncrementalBuildHelper
     public String[] beforeRebuildExecution( File outputDirectory ) throws MojoExecutionException
     {
         File mojoConfigBase = getMojoStatusDirectory();
-        File mojoConfigFile = new File( mojoConfigBase, "createdFiles.lst" );
+        File mojoConfigFile = new File( mojoConfigBase, CREATED_FILES_LST_FILENAME );
 
         String[] oldFiles;
 
@@ -141,7 +285,7 @@ public class IncrementalBuildHelper
             oldFiles = FileUtils.fileReadArray( mojoConfigFile );
             for ( String oldFileName : oldFiles )
             {
-                File oldFile = new File( oldFileName );
+                File oldFile = new File( outputDirectory, oldFileName );
                 oldFile.delete();
             }
         }
@@ -156,8 +300,8 @@ public class IncrementalBuildHelper
         if ( outputDirectory.exists() )
         {
             diffScanner.scan();
+            filesBeforeAction = diffScanner.getIncludedFiles();
         }
-        filesBeforeAction = diffScanner.getIncludedFiles();
 
         return oldFiles;
     }

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 21/44: [maven-release-plugin] prepare for next development iteration

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 02830c2ceb2acde1354f78107142ffabf173d594
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Apr 2 12:25:46 2013 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1463499 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index f832f26..3738773 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.1</version>
+  <version>1.2-SNAPSHOT</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.1</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 37/44: [MSHARED-406] Upgrade maven-shared-utils to 0.7

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 697e3cbd374cfcbfc3bbfb249e816ced72923682
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Tue Jan 20 20:18:23 2015 +0000

    [MSHARED-406] Upgrade maven-shared-utils to 0.7
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1653360 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 0d2166a..e49f349 100644
--- a/pom.xml
+++ b/pom.xml
@@ -107,7 +107,7 @@
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-shared-utils</artifactId>
-      <version>0.1</version>
+      <version>0.7</version>
     </dependency>
 
     <dependency>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 10/44: npe free

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit b9f5d08f4a5bac58b823589678538d981c4d73b8
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Nov 26 23:13:14 2012 +0000

    npe free
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1413920 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/maven/shared/incremental/IncrementalBuildHelper.java    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 66799a5..8904201 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -43,6 +43,8 @@ public class IncrementalBuildHelper
     public static final String CREATED_FILES_LST_FILENAME = "createdFiles.lst";
     private static final String INPUT_FILES_LST_FILENAME = "inputFiles.lst";
 
+    private static final String[] EMPTY_ARRAY = new String[0];
+
     /**
      * Needed for storing the status for the incremental build support.
      */
@@ -355,7 +357,10 @@ public class IncrementalBuildHelper
 
     private String[] toArrayOfPath( Set<File> files )
     {
-
+        if (files == null || files.isEmpty())
+        {
+            return EMPTY_ARRAY;
+        }
         String[] paths = new String[files.size()];
 
         int i = 0;

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 20/44: [maven-release-plugin] prepare release maven-shared-incremental-1.1

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit abaeb4cf996c9e2268e9d4d935f77d6a56dd793f
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Tue Apr 2 12:25:39 2013 +0000

    [maven-release-plugin] prepare release maven-shared-incremental-1.1
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1463497 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index efb2c1f..f832f26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.1-SNAPSHOT</version>
+  <version>1.1</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.1</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 42/44: updated Jira url

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 9841405cdb0706a6bf69eacf7cb741d2167b26ee
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Sun May 15 09:15:59 2016 +0000

    updated Jira url
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1743896 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/site.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/site.xml b/src/site/site.xml
index 563b34c..a18a2a6 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -26,7 +26,7 @@ under the License.
       <item name="JavaDocs" href="apidocs/index.html"/>
       <item name="Source Xref" href="xref/index.html"/>
       <!--item name="FAQ" href="faq.html"/-->
-      <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
+      <!-- According to https://issues.apache.org/jira/browse/MNGSITE-152 -->
       <item name="License" href="http://www.apache.org/licenses/"/>
       <item name="Download" href="download.html"/>
     </menu>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 14/44: configure site deployment

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 89ba33ef00f2906385101bc221d40df871ffa67c
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Dec 13 10:58:27 2012 +0000

    configure site deployment
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1421221 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/pom.xml b/pom.xml
index a88c1b3..2fcd2ab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,6 +40,13 @@
     <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
 
+  <distributionManagement>
+    <site>
+      <id>apache.website.svnpub</id>
+      <url>scm:svn:${svnUrl}</url>
+    </site>
+  </distributionManagement>
+
   <issueManagement>
     <system>jira</system>
     <url>https://jira.codehaus.org/browse/MSHARED/component/15650</url>
@@ -47,6 +54,12 @@
 
   <properties>
     <mavenVersion>2.2.1</mavenVersion>
+
+    <maven.sites.cache>${user.home}/maven-sites</maven.sites.cache>
+    <siteFilePath>${maven.sites.cache}/shared/${project.artifactId}-${project.version}</siteFilePath>
+    <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
+    <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/shared-archives/${project.artifactId}-${project.version}</svnUrl>
+
   </properties>
 
   <dependencies>
@@ -130,6 +143,58 @@
           </execution>
         </executions>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <skipDeploy>true</skipDeploy>
+        </configuration>
+        <executions>
+          <execution>
+            <id>stage-for-scm-publish</id>
+            <phase>post-site</phase>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+            <configuration>
+              <skipDeploy>false</skipDeploy>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <version>1.0-beta-2</version>
+        <configuration>
+          <checkinComment>Apache ${project.name} site deployment</checkinComment>
+        </configuration>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
     </plugins>
   </build>
+
+  <profiles>
+    <profile>
+      <id>site-release</id>
+      <properties>
+
+        <siteFilePath>${maven.sites.cache}/shared/${project.artifactId}</siteFilePath>
+        <scmPubCheckoutDirectory>${siteFilePath}-content</scmPubCheckoutDirectory>
+        <svnUrl>https://svn.apache.org/repos/infra/websites/production/maven/content/shared/${project.artifactId}</svnUrl>
+
+      </properties>
+    </profile>
+  </profiles>
+
 </project>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 28/44: updated parent pom

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 04d22deeb306bd03c2ac759442be2f29c0783f70
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Mon Mar 31 20:57:52 2014 +0000

    updated parent pom
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1583459 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 26acc1d..b71ef63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>19</version>
+    <version>20</version>
     <relativePath>../maven-shared-components/pom.xml</relativePath>
   </parent>
 
@@ -53,7 +53,6 @@
 
   <properties>
     <mavenVersion>2.2.1</mavenVersion>
-    <maven.site.path>shared-archives/${project.artifactId}-LATEST</maven.site.path>
   </properties>
 
   <dependencies>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 17/44: [maven-release-plugin] prepare release maven-shared-incremental-1.1

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit c8be3e389e252af289e5f9a3995815520e1be959
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Wed Mar 6 07:53:08 2013 +0000

    [maven-release-plugin] prepare release maven-shared-incremental-1.1
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1453180 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index efb2c1f..f832f26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.1-SNAPSHOT</version>
+  <version>1.1</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.1</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 40/44: [MNGSITE-243] Fixed wrong link.

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit dcf5424cfa10ea0ed7b5b200393eac739af60b10
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Fri Jun 19 23:25:50 2015 +0000

    [MNGSITE-243] Fixed wrong link.
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1686514 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/xdoc/download.xml.vm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm
index 46ca4be..5d1650b 100644
--- a/src/site/xdoc/download.xml.vm
+++ b/src/site/xdoc/download.xml.vm
@@ -39,7 +39,7 @@ under the License.
 
       <p>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
 
-      <p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="./guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.</p>
+      <p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="/guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.</p>
 
       <a name="mirror"/>
       <subsection name="Mirror">

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 22/44: back to 1.1-SNAPSHOT

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit def2c6552f1022cedebf7c326557b3ebec22f17c
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Wed Apr 3 07:46:06 2013 +0000

    back to 1.1-SNAPSHOT
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1463849 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3738773..efb2c1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.2-SNAPSHOT</version>
+  <version>1.1-SNAPSHOT</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 01/44: MSHARED-245 add IncremtalBuildHelper

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 86b8f567f4cb7f16d68c1a99d8f76376dad71b55
Author: Mark Struberg <st...@apache.org>
AuthorDate: Fri Sep 21 12:34:05 2012 +0000

    MSHARED-245 add IncremtalBuildHelper
    
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1388456 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            | 135 ++++++++++++++
 .../shared/incremental/IncrementalBuildHelper.java | 193 +++++++++++++++++++++
 2 files changed, 328 insertions(+)

diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..8ce1d7f
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,135 @@
+<?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/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.maven.shared</groupId>
+    <artifactId>maven-shared-components</artifactId>
+    <version>18</version>
+    <relativePath>../maven-shared-components/pom.xml</relativePath>
+  </parent>
+
+  <artifactId>maven-shared-incremental</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <name>Maven Incremental Build support utilities</name>
+  <description>
+    Various utility classes and plexus components for supporting 
+    incremental build functionality in maven plugins.
+  </description>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
+  </scm>
+
+  <issueManagement>
+    <system>jira</system>
+    <url>https://jira.codehaus.org/browse/MSHARED/component/15650</url>
+  </issueManagement>
+
+  <properties>
+    <mavenVersion>2.2.1</mavenVersion>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-plugin-api</artifactId>
+      <version>${mavenVersion}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-core</artifactId>
+      <version>${mavenVersion}</version>
+      <exclusions>
+        <exclusion>
+          <groupId>org.apache.maven.reporting</groupId>
+          <artifactId>maven-reporting-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.maven.wagon</groupId>
+          <artifactId>wagon-file</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.maven.wagon</groupId>
+          <artifactId>wagon-http-lightweight</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.maven.wagon</groupId>
+          <artifactId>wagon-ssh</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.maven.wagon</groupId>
+          <artifactId>wagon-ssh-external</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>commons-cli</groupId>
+          <artifactId>commons-cli</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>classworlds</groupId>
+          <artifactId>classworlds</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.plexus</groupId>
+          <artifactId>plexus-container-default</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.plexus</groupId>
+          <artifactId>plexus-interactivity-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-shared-utils</artifactId>
+      <version>0.1-SNAPSHOT</version>
+    </dependency>
+
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-component-annotations</artifactId>
+      <version>1.5.5</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-component-api</artifactId>
+      <version>1.0-alpha-16</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-component-metadata</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate-metadata</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
new file mode 100644
index 0000000..5602b08
--- /dev/null
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -0,0 +1,193 @@
+package org.apache.maven.shared.incremental;
+
+/*
+ * 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.
+ */
+
+
+import org.apache.maven.execution.MavenSession;
+import org.apache.maven.plugin.MojoExecution;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.shared.utils.io.DirectoryScanResult;
+import org.apache.maven.shared.utils.io.DirectoryScanner;
+import org.apache.maven.shared.utils.io.FileUtils;
+
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * Various helper methods to support incremental builds
+ *
+ */
+public class IncrementalBuildHelper
+{
+    /**
+     * the root directory to store status information about maven executions in.
+     */
+    private static final String MAVEN_STATUS_ROOT = "maven-status";
+    public static final String CREATED_FILES_LST_FILENAME = "createdFiles.lst";
+
+    /**
+     * Needed for storing the status for the incremental build support.
+     */
+    private MojoExecution mojoExecution;
+
+    /**
+     * Needed for storing the status for the incremental build support.
+     */
+    private MavenProject mavenProject;
+
+    /**
+     * Used for detecting changes between the Mojo execution.
+     * @see #getDirectoryScanner();
+     */
+    private DirectoryScanner directoryScanner;
+
+    private String[] filesBeforeAction;
+
+    public IncrementalBuildHelper( MojoExecution mojoExecution, MavenSession mavenSession )
+    {
+        this( mojoExecution, mavenSession.getCurrentProject() );
+    }
+
+
+    public IncrementalBuildHelper( MojoExecution mojoExecution, MavenProject mavenProject )
+    {
+        this.mavenProject = mavenProject;
+        this.mojoExecution = mojoExecution;
+    }
+
+    public DirectoryScanner getDirectoryScanner()
+    {
+        if ( directoryScanner == null )
+        {
+            directoryScanner = new DirectoryScanner();
+        }
+
+        return directoryScanner;
+    }
+
+    /**
+     * @return the directory for storing status information of the current mojo execution.
+     */
+    public File getMojoStatusDirectory() throws MojoExecutionException
+    {
+        if ( mojoExecution == null )
+        {
+            throw new MojoExecutionException( "MojoExecution could not get resolved" );
+        }
+
+        File buildOutputDirectory = new File( mavenProject.getBuild().getDirectory() );
+
+        String mojoStatusPath = MAVEN_STATUS_ROOT + File.separator
+                                + mojoExecution.getMojoDescriptor().getPluginDescriptor().getArtifactId() + File.separator
+                                + mojoExecution.getMojoDescriptor().getGoal() + File.separator
+                                + mojoExecution.getExecutionId();
+
+        File mojoStatusDir = new File( buildOutputDirectory, mojoStatusPath );
+
+        if ( !mojoStatusDir.exists() )
+        {
+            mojoStatusDir.mkdirs();
+        }
+
+        return mojoStatusDir;
+    }
+
+    /**
+     * <p>This method shall get invoked before the actual mojo task gets triggered,
+     * e.g. the actual compile in maven-compiler-plugin.</p>
+     *
+     * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
+     *
+     * <p>It first picks up the list of files created in the previous build and delete them.
+     * This step is necessary to prevent left-overs. After that we take a 'directory snapshot'
+     * (list of all files which exist in the outputDirectory after the clean). </p>
+     *
+     * <p>After the actual mojo task got executed you should invoke the method
+     * {@link #afterRebuildExecution()} to collect the list of files which got changed
+     * by this task.</p>
+     *
+     *
+     * @param outputDirectory
+     * @return all files which got created in the previous build and have been deleted now.
+     * @throws MojoExecutionException
+     */
+    public String[] beforeRebuildExecution( File outputDirectory ) throws MojoExecutionException
+    {
+        File mojoConfigBase = getMojoStatusDirectory();
+        File mojoConfigFile = new File( mojoConfigBase, "createdFiles.lst" );
+
+        String[] oldFiles;
+
+        try
+        {
+            oldFiles = FileUtils.fileReadArray( mojoConfigFile );
+            for ( String oldFileName : oldFiles )
+            {
+                File oldFile = new File( oldFileName );
+                oldFile.delete();
+            }
+        }
+        catch( IOException e )
+        {
+            throw new MojoExecutionException( "Error reading old mojo status", e );
+        }
+
+        // we remember all files which currently exist in the output directory
+        DirectoryScanner diffScanner = getDirectoryScanner();
+        diffScanner.setBasedir( outputDirectory );
+        if ( outputDirectory.exists() )
+        {
+            diffScanner.scan();
+        }
+        filesBeforeAction = diffScanner.getIncludedFiles();
+
+        return oldFiles;
+    }
+
+    /**
+     * <p>This method collects and stores all information about files changed since
+     * the call to {@link #beforeRebuildExecution(java.io.File)}.</p>
+     *
+     * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
+     *
+     * @throws MojoExecutionException
+     */
+    public void afterRebuildExecution() throws MojoExecutionException
+    {
+        DirectoryScanner diffScanner = getDirectoryScanner();
+        // now scan the same directory again and create a diff
+        diffScanner.scan();
+        DirectoryScanResult scanResult = diffScanner.diffIncludedFiles( filesBeforeAction );
+
+        File mojoConfigBase = getMojoStatusDirectory();
+        File mojoConfigFile = new File( mojoConfigBase, CREATED_FILES_LST_FILENAME );
+
+        try
+        {
+            FileUtils.fileWriteArray( mojoConfigFile, scanResult.getFilesAdded() );
+        }
+        catch( IOException e )
+        {
+            throw new MojoExecutionException( "Error while storing the mojo status", e );
+        }
+
+    }
+}

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 36/44: upgraded parent pom

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 51655bb51eb250d32c6631c092fcaa2252677ce3
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Thu Oct 30 07:46:45 2014 +0000

    upgraded parent pom
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1635418 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                            |  2 +-
 .../shared/incremental/IncrementalBuildHelper.java | 65 ++++++++++++----------
 .../incremental/IncrementalBuildHelperRequest.java |  1 +
 3 files changed, 37 insertions(+), 31 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2e5db8e..0d2166a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>20</version>
+    <version>21</version>
     <relativePath>../maven-shared-components/pom.xml</relativePath>
   </parent>
 
diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 03d8b75..cebe33f 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -62,8 +62,8 @@ public class IncrementalBuildHelper
     private DirectoryScanner directoryScanner;
 
     /**
-     * Once the {@link #beforeRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)} got called,
-     * this will contain the list of files in the build directory.
+     * Once the {@link #beforeRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)} got
+     * called, this will contain the list of files in the build directory.
      */
     private String[] filesBeforeAction = new String[0];
 
@@ -142,10 +142,10 @@ public class IncrementalBuildHelper
         //X TODO the executionId contains -cli and -mojoname
         //X we should remove those postfixes as it should not make
         //X any difference whether being run on the cli or via build
-        String mojoStatusPath = MAVEN_STATUS_ROOT + File.separator
-                                + mojoExecution.getMojoDescriptor().getPluginDescriptor().getArtifactId() + File.separator
-                                + mojoExecution.getMojoDescriptor().getGoal() + File.separator
-                                + mojoExecution.getExecutionId();
+        String mojoStatusPath =
+            MAVEN_STATUS_ROOT + File.separator
+                + mojoExecution.getMojoDescriptor().getPluginDescriptor().getArtifactId() + File.separator
+                + mojoExecution.getMojoDescriptor().getGoal() + File.separator + mojoExecution.getExecutionId();
 
         File mojoStatusDir = new File( buildOutputDirectory, mojoStatusPath );
 
@@ -180,17 +180,17 @@ public class IncrementalBuildHelper
             {
                 oldInputFiles = FileUtils.fileReadArray( mojoConfigFile );
             }
-            catch( IOException e )
+            catch ( IOException e )
             {
                 throw new MojoExecutionException( "Error reading old mojo status " + mojoConfigFile, e );
             }
         }
 
-        String[] inputFileNames = new String[ incrementalBuildHelperRequest.getInputFiles().size() ];
+        String[] inputFileNames = new String[incrementalBuildHelperRequest.getInputFiles().size()];
         int i = 0;
         for ( File inputFile : incrementalBuildHelperRequest.getInputFiles() )
         {
-            inputFileNames[ i++ ] = inputFile.getAbsolutePath();
+            inputFileNames[i++] = inputFile.getAbsolutePath();
         }
 
         DirectoryScanResult dsr = DirectoryScanner.diffFiles( oldInputFiles, inputFileNames );
@@ -199,7 +199,7 @@ public class IncrementalBuildHelper
         {
             FileUtils.fileWriteArray( mojoConfigFile, inputFileNames );
         }
-        catch( IOException e )
+        catch ( IOException e )
         {
             throw new MojoExecutionException( "Error while storing the mojo status", e );
         }
@@ -232,7 +232,7 @@ public class IncrementalBuildHelper
             {
                 oldInputFiles = FileUtils.fileReadArray( mojoConfigFile );
             }
-            catch( IOException e )
+            catch ( IOException e )
             {
                 throw new MojoExecutionException( "Error reading old mojo status " + mojoConfigFile, e );
             }
@@ -245,7 +245,7 @@ public class IncrementalBuildHelper
             // store away the list of input files
             FileUtils.fileWriteArray( mojoConfigFile, dirScanner.getIncludedFiles() );
         }
-        catch( IOException e )
+        catch ( IOException e )
         {
             throw new MojoExecutionException( "Error while storing new mojo status" + mojoConfigFile, e );
         }
@@ -256,19 +256,23 @@ public class IncrementalBuildHelper
     }
 
     /**
-     * <p>This method shall get invoked before the actual Mojo task gets triggered,
-     * e.g. the actual compile in maven-compiler-plugin.</p>
-     *
-     * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
-     *
-     * <p>It first picks up the list of files created in the previous build and delete them.
-     * This step is necessary to prevent left-overs. After that we take a 'directory snapshot'
-     * (list of all files which exist in the outputDirectory after the clean). </p>
-     *
-     * <p>After the actual Mojo task got executed you should invoke the method
-     * {@link #afterRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)} to collect the list of files which got changed
-     * by this task.</p>
-     *
+     * <p>
+     * This method shall get invoked before the actual Mojo task gets triggered, e.g. the actual compile in
+     * maven-compiler-plugin.
+     * </p>
+     * <p>
+     * <b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.
+     * </p>
+     * <p>
+     * It first picks up the list of files created in the previous build and delete them. This step is necessary to
+     * prevent left-overs. After that we take a 'directory snapshot' (list of all files which exist in the
+     * outputDirectory after the clean).
+     * </p>
+     * <p>
+     * After the actual Mojo task got executed you should invoke the method
+     * {@link #afterRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)} to collect the
+     * list of files which got changed by this task.
+     * </p>
      *
      * @param incrementalBuildHelperRequest
      * @return all files which got created in the previous build and have been deleted now.
@@ -291,7 +295,7 @@ public class IncrementalBuildHelper
                 oldFile.delete();
             }
         }
-        catch( IOException e )
+        catch ( IOException e )
         {
             throw new MojoExecutionException( "Error reading old mojo status", e );
         }
@@ -309,8 +313,8 @@ public class IncrementalBuildHelper
     }
 
     /**
-     * <p>This method collects and stores all information about files changed since
-     * the call to {@link #beforeRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)}.</p>
+     * <p>This method collects and stores all information about files changed since the
+     * call to {@link #beforeRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)}.</p>
      *
      * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
      *
@@ -345,7 +349,8 @@ public class IncrementalBuildHelper
         {
             try
             {
-                FileUtils.fileWriteArray( mojoConfigFile, toArrayOfPath( incrementalBuildHelperRequest.getInputFiles() ));
+                FileUtils.fileWriteArray( mojoConfigFile,
+                                          toArrayOfPath( incrementalBuildHelperRequest.getInputFiles() ) );
             }
             catch ( IOException e )
             {
@@ -357,7 +362,7 @@ public class IncrementalBuildHelper
 
     private String[] toArrayOfPath( Set<File> files )
     {
-        if (files == null || files.isEmpty())
+        if ( files == null || files.isEmpty() )
         {
             return EMPTY_ARRAY;
         }
diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java
index 19111df..8423172 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelperRequest.java
@@ -1,4 +1,5 @@
 package org.apache.maven.shared.incremental;
+
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 05/44: [maven-release-plugin] prepare release maven-shared-incremental-1.0

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 9f485e88b966fc93b434434fceb52c90ea54371a
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Nov 15 23:04:41 2012 +0000

    [maven-release-plugin] prepare release maven-shared-incremental-1.0
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1410094 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1497d2e..8fc9853 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.0-SNAPSHOT</version>
+  <version>1.0</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.0</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.0</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.0</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 23/44: [maven-release-plugin] prepare release maven-shared-incremental-1.1

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit a7ae98be73756c0a0b36f357741eb1e39daffd3b
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Wed Apr 3 12:00:47 2013 +0000

    [maven-release-plugin] prepare release maven-shared-incremental-1.1
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1463942 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index efb2c1f..f832f26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.1-SNAPSHOT</version>
+  <version>1.1</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.1</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 39/44: moved Jira from Codehaus to Apache

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit eec6f902898bc4d4e5d9b9ea0ff50b5eeb36e2ae
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Mon Apr 6 01:33:47 2015 +0000

    moved Jira from Codehaus to Apache
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1671466 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 00a5c9f..e8d5f58 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,7 +42,7 @@
   </scm>
   <issueManagement>
     <system>jira</system>
-    <url>https://jira.codehaus.org/browse/MSHARED/component/15650</url>
+    <url>https://jira.codehaus.org/browse/MSHARED/component/12326453</url>
   </issueManagement>
   <distributionManagement>
     <site>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 24/44: [maven-release-plugin] prepare for next development iteration

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit da947d1029f77585b8427e252b2ed4ed4d6a8dcb
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Wed Apr 3 12:00:54 2013 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1463944 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index f832f26..3738773 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.1</version>
+  <version>1.2-SNAPSHOT</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.1</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 08/44: fixed typos

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 3b6eb163a6dbe71a3e3af08ad184d2ac9562e5db
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Sat Nov 17 13:12:42 2012 +0000

    fixed typos
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1410727 13f79535-47bb-0310-9956-ffa450edef68
---
 .../shared/incremental/IncrementalBuildHelper.java | 30 ++++++++++++----------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 25a95f1..e778993 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -19,7 +19,6 @@ package org.apache.maven.shared.incremental;
  * under the License.
  */
 
-
 import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecution;
 import org.apache.maven.plugin.MojoExecutionException;
@@ -34,12 +33,11 @@ import java.util.Set;
 
 /**
  * Various helper methods to support incremental builds
- *
  */
 public class IncrementalBuildHelper
 {
     /**
-     * the root directory to store status information about maven executions in.
+     * the root directory to store status information about Maven executions in.
      */
     private static final String MAVEN_STATUS_ROOT = "maven-status";
     public static final String CREATED_FILES_LST_FILENAME = "createdFiles.lst";
@@ -62,7 +60,7 @@ public class IncrementalBuildHelper
     private DirectoryScanner directoryScanner;
 
     /**
-     * Once the {@link #beforeRebuildExecution(java.io.File)} gots called
+     * Once the {@link #beforeRebuildExecution(java.io.File)} got called,
      * this will contain the list of files in the build directory.
      */
     private String[] filesBeforeAction = new String[0];
@@ -125,11 +123,12 @@ public class IncrementalBuildHelper
     }
 
     /**
-     * We use a specific status directory for each mojo execution to store state
+     * We use a specific status directory for each Mojo execution to store state
      * which is needed during the next build invocation run.
-     * @return the directory for storing status information of the current mojo execution.
+     * @return the directory for storing status information of the current Mojo execution.
      */
-    public File getMojoStatusDirectory() throws MojoExecutionException
+    public File getMojoStatusDirectory()
+        throws MojoExecutionException
     {
         if ( mojoExecution == null )
         {
@@ -165,7 +164,8 @@ public class IncrementalBuildHelper
      * @return <code>true</code> if the set of inputFiles got changed since the last build.
      * @throws MojoExecutionException
      */
-    public boolean inputFileTreeChanged( Set<File> inputFiles ) throws MojoExecutionException
+    public boolean inputFileTreeChanged( Set<File> inputFiles )
+        throws MojoExecutionException
     {
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
@@ -193,7 +193,6 @@ public class IncrementalBuildHelper
 
         DirectoryScanResult dsr = DirectoryScanner.diffFiles( oldInputFiles, inputFileNames );
 
-
         try
         {
             FileUtils.fileWriteArray( mojoConfigFile, inputFileNames );
@@ -217,7 +216,8 @@ public class IncrementalBuildHelper
      * @return <code>true</code> if the set of inputFiles got changed since the last build.
      * @throws MojoExecutionException
      */
-    public boolean inputFileTreeChanged( DirectoryScanner dirScanner ) throws MojoExecutionException
+    public boolean inputFileTreeChanged( DirectoryScanner dirScanner )
+        throws MojoExecutionException
     {
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
@@ -254,7 +254,7 @@ public class IncrementalBuildHelper
     }
 
     /**
-     * <p>This method shall get invoked before the actual mojo task gets triggered,
+     * <p>This method shall get invoked before the actual Mojo task gets triggered,
      * e.g. the actual compile in maven-compiler-plugin.</p>
      *
      * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
@@ -263,7 +263,7 @@ public class IncrementalBuildHelper
      * This step is necessary to prevent left-overs. After that we take a 'directory snapshot'
      * (list of all files which exist in the outputDirectory after the clean). </p>
      *
-     * <p>After the actual mojo task got executed you should invoke the method
+     * <p>After the actual Mojo task got executed you should invoke the method
      * {@link #afterRebuildExecution()} to collect the list of files which got changed
      * by this task.</p>
      *
@@ -272,7 +272,8 @@ public class IncrementalBuildHelper
      * @return all files which got created in the previous build and have been deleted now.
      * @throws MojoExecutionException
      */
-    public String[] beforeRebuildExecution( File outputDirectory ) throws MojoExecutionException
+    public String[] beforeRebuildExecution( File outputDirectory )
+        throws MojoExecutionException
     {
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, CREATED_FILES_LST_FILENAME );
@@ -313,7 +314,8 @@ public class IncrementalBuildHelper
      *
      * @throws MojoExecutionException
      */
-    public void afterRebuildExecution() throws MojoExecutionException
+    public void afterRebuildExecution()
+        throws MojoExecutionException
     {
         DirectoryScanner diffScanner = getDirectoryScanner();
         // now scan the same directory again and create a diff

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 13/44: fix javadoc

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit cf39aca712297cb78f4a452445816495d224b3f5
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Nov 26 23:14:05 2012 +0000

    fix javadoc
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1413924 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/maven/shared/incremental/IncrementalBuildHelper.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 2ae5174..03d8b75 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -62,7 +62,7 @@ public class IncrementalBuildHelper
     private DirectoryScanner directoryScanner;
 
     /**
-     * Once the {@link #beforeRebuildExecution(java.io.File)} got called,
+     * Once the {@link #beforeRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)} got called,
      * this will contain the list of files in the build directory.
      */
     private String[] filesBeforeAction = new String[0];
@@ -266,7 +266,7 @@ public class IncrementalBuildHelper
      * (list of all files which exist in the outputDirectory after the clean). </p>
      *
      * <p>After the actual Mojo task got executed you should invoke the method
-     * {@link #afterRebuildExecution()} to collect the list of files which got changed
+     * {@link #afterRebuildExecution(org.apache.maven.shared.incremental.IncrementalBuildHelperRequest)} to collect the list of files which got changed
      * by this task.</p>
      *
      *
@@ -314,7 +314,7 @@ public class IncrementalBuildHelper
      *
      * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
      *
-     * @param sources file sources to store if create files are not yet stored
+     * @param incrementalBuildHelperRequest will contains file sources to store if create files are not yet stored
      *
      * @throws MojoExecutionException
      */

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 44/44: Upgrade org.codehaus.plexus:plexus-component-metadata to 1.7.1 This will make them build with Java9

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 9e7f137b170d1bf1d41aa6369d08c47c9ac35120
Author: Robert Scholte <rf...@apache.org>
AuthorDate: Wed Nov 30 19:50:11 2016 +0000

    Upgrade org.codehaus.plexus:plexus-component-metadata to 1.7.1
    This will make them build with Java9
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1772107 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 036e25a..87d7ef9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,7 +128,7 @@
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-component-metadata</artifactId>
-        <version>1.6</version>
+        <version>1.7.1</version>
         <executions>
           <execution>
             <goals>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 25/44: Follow ASF branding rules.

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit c7da060c891f43ba1e80bcf3feeb25c2b3c292e5
Author: Dennis Lundberg <de...@apache.org>
AuthorDate: Tue Jul 23 23:07:18 2013 +0000

    Follow ASF branding rules.
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1506360 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3738773..e97a2b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,7 +28,8 @@
 
   <artifactId>maven-shared-incremental</artifactId>
   <version>1.2-SNAPSHOT</version>
-  <name>Maven Incremental Build support utilities</name>
+
+  <name>Apache Maven Incremental Build Support Utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
     incremental build functionality in maven plugins.

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 31/44: [MNGSITE-152] - Added appropriate links to download site and license location to fulfill the ASF requirements.

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 7c704b1930649d1d7973b0f17cb87891cc4733f7
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Wed May 14 19:12:38 2014 +0000

    [MNGSITE-152]
     - Added appropriate links to download site and license location
       to fulfill the ASF requirements.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1594676 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/resources/download.cgi |   4 ++
 src/site/xdoc/download.xml.vm   | 126 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+)

diff --git a/src/site/resources/download.cgi b/src/site/resources/download.cgi
new file mode 100644
index 0000000..495cde1
--- /dev/null
+++ b/src/site/resources/download.cgi
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file
diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm
new file mode 100644
index 0000000..7186d93
--- /dev/null
+++ b/src/site/xdoc/download.xml.vm
@@ -0,0 +1,126 @@
+<?xml version="1.0"?>
+
+<!--
+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.
+-->
+
+<document>
+  <properties>
+    <title>Download ${project.name} Source</title>
+  </properties>
+  <body>
+    <section name="Download ${project.name} ${project.version} Source">
+
+      <p>${project.name} ${project.version} is distributed in source format. Use a source archive if you intend to build
+      ${project.name} yourself. Otherwise, simply use the ready-made binary artifacts from central repository.</p>
+
+      <p>You will be prompted for a mirror - if the file is not found on yours, please be patient, as it may take 24
+      hours to reach all mirrors.<p/>
+
+      <p>In order to guard against corrupted downloads/installations, it is highly recommended to
+      <a href="http://www.apache.org/dev/release-signing#verifying-signature">verify the signature</a>
+      of the release bundles against the public <a href="http://www.apache.org/dist/maven/KEYS">KEYS</a> used by the Apache Maven
+      developers.</p>
+
+      <p>${project.name} is distributed under the <a href="http://www.apache.org/licenses/">Apache License, version 2.0</a>.</p>
+
+      <p></p>We <b>strongly</b> encourage our users to configure a Maven repository mirror closer to their location, please read <a href="./guides/mini/guide-mirror-settings.html">How to Use Mirrors for Repositories</a>.</p>
+
+      <a name="mirror"/>
+      <subsection name="Mirror">
+
+        <p>
+          [if-any logo]
+          <a href="[link]">
+            <img align="right" src="[logo]" border="0"
+                 alt="logo"/>
+          </a>
+          [end]
+          The currently selected mirror is
+          <b>[preferred]</b>.
+          If you encounter a problem with this mirror,
+          please select another mirror.
+          If all mirrors are failing, there are
+          <i>backup</i>
+          mirrors
+          (at the end of the mirrors list) that should be available.
+        </p>
+
+        <form action="[location]" method="get" id="SelectMirror">
+          Other mirrors:
+          <select name="Preferred">
+            [if-any http]
+            [for http]
+            <option value="[http]">[http]</option>
+            [end]
+            [end]
+            [if-any ftp]
+            [for ftp]
+            <option value="[ftp]">[ftp]</option>
+            [end]
+            [end]
+            [if-any backup]
+            [for backup]
+            <option value="[backup]">[backup] (backup)</option>
+            [end]
+            [end]
+          </select>
+          <input type="submit" value="Change"/>
+        </form>
+
+        <p>
+          You may also consult the
+          <a href="http://www.apache.org/mirrors/">complete list of
+            mirrors.</a>
+        </p>
+
+      </subsection>
+      
+      <subsection name="${project.name} ${project.version}">
+        
+      <p>This is the current stable version of ${project.name}.</p>
+        
+      <table>
+        <thead>
+          <tr>
+            <th></th>
+            <th>Link</th>
+            <th>Checksum</th>
+            <th>Signature</th>
+          </tr>
+        </thead>
+        <tbody>
+          <tr>
+            <td>${project.name} ${project.version} (Source zip)</td>
+            <td><a href="[preferred]maven/plugins/${project.artifactId}-${project.version}-source-release.zip">maven/plugins/${project.artifactId}-${project.version}-source-release.zip</a></td>
+            <td><a href="http://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5</a></td>
+            <td><a href="http://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
+          </tr>
+        </tbody>
+      </table>
+      </subsection>
+
+      <subsection name="Previous Versions">
+        
+      <p>Older non-recommended releases can be found on our <a href="http://archive.apache.org/dist/maven/plugins/">archive site</a>.</p>
+
+      </subsection>
+    </section>
+  </body>
+</document>
+

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 06/44: [maven-release-plugin] prepare for next development iteration

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit b040939515a9d9095b2d9784f986a7fdd165f400
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Thu Nov 15 23:04:49 2012 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1410096 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8fc9853..a88c1b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.0</version>
+  <version>1.1-SNAPSHOT</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.0</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.0</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.0</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 18/44: [maven-release-plugin] prepare for next development iteration

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 99d458da1eab5ee907dfd5c03b350f8754b1bc37
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Wed Mar 6 07:53:15 2013 +0000

    [maven-release-plugin] prepare for next development iteration
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1453182 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index f832f26..3738773 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   </parent>
 
   <artifactId>maven-shared-incremental</artifactId>
-  <version>1.1</version>
+  <version>1.2-SNAPSHOT</version>
   <name>Maven Incremental Build support utilities</name>
   <description>
     Various utility classes and plexus components for supporting 
@@ -35,9 +35,9 @@
   </description>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-shared-incremental-1.1</developerConnection>
-    <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-shared-incremental-1.1</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
+    <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
 
   <issueManagement>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 29/44: updated maven-shared-utils

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit eb1ab01a5090a331bf6c923889b02066a086a8ae
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Mon Mar 31 21:40:39 2014 +0000

    updated maven-shared-utils
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1583470 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index b71ef63..f2cce94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -107,7 +107,7 @@
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-shared-utils</artifactId>
-      <version>0.1</version>
+      <version>0.6</version>
     </dependency>
 
     <dependency>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 43/44: Upgrade parent to org.apache.maven.shared:maven-shared-components:30

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 1f817fdd04d5a5bb73a7ec35daae83dc23e16136
Author: Robert Scholte <rf...@apache.org>
AuthorDate: Tue Nov 29 21:51:30 2016 +0000

    Upgrade parent to org.apache.maven.shared:maven-shared-components:30
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1771961 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index bb602ee..036e25a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
   <parent>
     <groupId>org.apache.maven.shared</groupId>
     <artifactId>maven-shared-components</artifactId>
-    <version>21</version>
+    <version>30</version>
     <relativePath>../../pom/maven/maven-shared-components/pom.xml</relativePath>
   </parent>
 

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 04/44: use released version

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit c3260dd1079695c1756123698dde16d9719f219d
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Sat Nov 3 21:40:50 2012 +0000

    use released version
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1405424 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8ce1d7f..1497d2e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,7 +101,7 @@
     <dependency>
       <groupId>org.apache.maven.shared</groupId>
       <artifactId>maven-shared-utils</artifactId>
-      <version>0.1-SNAPSHOT</version>
+      <version>0.1</version>
     </dependency>
 
     <dependency>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 07/44: added basic site descriptor to have javadoc and jxr

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 1e1be1b1a16cf1b7e19758deea250419191ea590
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Sat Nov 17 13:08:35 2012 +0000

    added basic site descriptor to have javadoc and jxr
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1410725 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/site.xml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..0442da7
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+
+<!--
+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/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+  <body>
+    <menu name="Overview">
+      <item name="Introduction" href="index.html"/>
+      <item name="JavaDocs" href="apidocs/index.html"/>
+      <item name="Source Xref" href="xref/index.html"/>
+      <!--item name="FAQ" href="faq.html"/-->
+    </menu>
+
+    <menu ref="parent"/>
+    <menu ref="reports"/>
+  </body>
+</project>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 33/44: added license header

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 2e6bcc83983d2b949b2db0e4b03e9e1375ea813d
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Sun May 18 14:26:56 2014 +0000

    added license header
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1595626 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/resources/download.cgi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/src/site/resources/download.cgi b/src/site/resources/download.cgi
index 495cde1..1b178d2 100644
--- a/src/site/resources/download.cgi
+++ b/src/site/resources/download.cgi
@@ -1,4 +1,22 @@
 #!/bin/sh
+#
+# 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.
+#
 # Just call the standard mirrors.cgi script. It will use download.html
 # as the input template.
 exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 32/44: [MNGSITE-152] - Added missing links from overview to ASF License page and to download area.

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 33ab753ff89cbc3253abc4f3081b3dc90cc3ab43
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Wed May 14 19:20:21 2014 +0000

    [MNGSITE-152]
     - Added missing links from overview to ASF License page
       and to download area.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1594680 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/site.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/site/site.xml b/src/site/site.xml
index 0442da7..563b34c 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -26,9 +26,12 @@ under the License.
       <item name="JavaDocs" href="apidocs/index.html"/>
       <item name="Source Xref" href="xref/index.html"/>
       <!--item name="FAQ" href="faq.html"/-->
+      <!-- According to http://jira.codehaus.org/browse/MNGSITE-152 -->
+      <item name="License" href="http://www.apache.org/licenses/"/>
+      <item name="Download" href="download.html"/>
     </menu>
 
     <menu ref="parent"/>
     <menu ref="reports"/>
   </body>
-</project>
\ No newline at end of file
+</project>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 35/44: [MSHARED-371] Increased chance of java8 compliance by updating to asm5.x based plexus-component-*

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit ae96f01c015f5443b38ba3125d02e28208823e68
Author: Kristian Rosenvold <kr...@apache.org>
AuthorDate: Fri Oct 24 04:30:46 2014 +0000

    [MSHARED-371] Increased chance of java8 compliance by updating to asm5.x based plexus-component-*
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1633997 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pom.xml b/pom.xml
index b71ef63..2e5db8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,6 +113,7 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-component-annotations</artifactId>
+      <version>1.6</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
@@ -127,6 +128,7 @@
       <plugin>
         <groupId>org.codehaus.plexus</groupId>
         <artifactId>plexus-component-metadata</artifactId>
+        <version>1.6</version>
         <executions>
           <execution>
             <goals>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 09/44: [MSHARED-264] afterRebuildExecution must create createdFiles.lst file if not exists

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit a2fc601ecdc29fca4e7d6e3870dc483ea8342fb7
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Nov 26 23:12:58 2012 +0000

    [MSHARED-264] afterRebuildExecution must create createdFiles.lst file if not exists
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1413919 13f79535-47bb-0310-9956-ffa450edef68
---
 .../shared/incremental/IncrementalBuildHelper.java | 37 ++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index e778993..66799a5 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -312,9 +312,11 @@ public class IncrementalBuildHelper
      *
      * <p><b>Attention:</b> This method shall only get invoked if the plugin re-creates <b>all</b> the output.</p>
      *
+     * @param sources file sources to store if create files are not yet stored
+     *
      * @throws MojoExecutionException
      */
-    public void afterRebuildExecution()
+    public void afterRebuildExecution( Set<File> sources )
         throws MojoExecutionException
     {
         DirectoryScanner diffScanner = getDirectoryScanner();
@@ -329,10 +331,41 @@ public class IncrementalBuildHelper
         {
             FileUtils.fileWriteArray( mojoConfigFile, scanResult.getFilesAdded() );
         }
-        catch( IOException e )
+        catch ( IOException e )
         {
             throw new MojoExecutionException( "Error while storing the mojo status", e );
         }
 
+        // in case of clean compile the file is not created so next compile won't see it
+        // we mus create it here
+        mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
+        if ( !mojoConfigFile.exists() )
+        {
+            try
+            {
+                FileUtils.fileWriteArray( mojoConfigFile, toArrayOfPath( sources ));
+            }
+            catch ( IOException e )
+            {
+                throw new MojoExecutionException( "Error while storing the mojo status", e );
+            }
+        }
+
+    }
+
+    private String[] toArrayOfPath( Set<File> files )
+    {
+
+        String[] paths = new String[files.size()];
+
+        int i = 0;
+
+        for ( File file : files )
+        {
+            paths[i] = file.getPath();
+            i++;
+        }
+
+        return paths;
     }
 }

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 26/44: use versions defined in parent's dependencyManagement

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit e5baddf6713723ec156491e91a5ca4944dbc8d4e
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Sun Aug 25 17:12:57 2013 +0000

    use versions defined in parent's dependencyManagement
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1517342 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index e97a2b2..b0091ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,7 +108,6 @@
     <dependency>
       <groupId>org.codehaus.plexus</groupId>
       <artifactId>plexus-component-annotations</artifactId>
-      <version>1.5.5</version>
     </dependency>
     <dependency>
       <groupId>org.codehaus.plexus</groupId>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 03/44: o Deleted ArrayUtils since there was no concrete counterpart in plexus and it was only being used a couple of places in m-shared

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 5847d656f43e02a16193b700ede1bee632d4320d
Author: Kristian Rosenvold <kr...@apache.org>
AuthorDate: Mon Oct 15 19:01:46 2012 +0000

    o Deleted ArrayUtils since there was no concrete counterpart in plexus and it was only being used a couple of places in m-shared
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1398456 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/maven/shared/incremental/IncrementalBuildHelper.java    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
index 35dd105..25a95f1 100644
--- a/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
+++ b/src/main/java/org/apache/maven/shared/incremental/IncrementalBuildHelper.java
@@ -24,7 +24,6 @@ import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecution;
 import org.apache.maven.plugin.MojoExecutionException;
 import org.apache.maven.project.MavenProject;
-import org.apache.maven.shared.utils.ArrayUtils;
 import org.apache.maven.shared.utils.io.DirectoryScanResult;
 import org.apache.maven.shared.utils.io.DirectoryScanner;
 import org.apache.maven.shared.utils.io.FileUtils;
@@ -66,7 +65,7 @@ public class IncrementalBuildHelper
      * Once the {@link #beforeRebuildExecution(java.io.File)} gots called
      * this will contain the list of files in the build directory.
      */
-    private String[] filesBeforeAction = ArrayUtils.EMPTY_STRING_ARRAY;
+    private String[] filesBeforeAction = new String[0];
 
     public IncrementalBuildHelper( MojoExecution mojoExecution, MavenSession mavenSession )
     {
@@ -171,7 +170,7 @@ public class IncrementalBuildHelper
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
 
-        String[] oldInputFiles = ArrayUtils.EMPTY_STRING_ARRAY;
+        String[] oldInputFiles = new String[0];
 
         if ( mojoConfigFile.exists() )
         {
@@ -223,7 +222,7 @@ public class IncrementalBuildHelper
         File mojoConfigBase = getMojoStatusDirectory();
         File mojoConfigFile = new File( mojoConfigBase, INPUT_FILES_LST_FILENAME );
 
-        String[] oldInputFiles = ArrayUtils.EMPTY_STRING_ARRAY;
+        String[] oldInputFiles = new String[0];
 
         if ( mojoConfigFile.exists() )
         {

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 27/44: configured site deploy to /shared-archives/-LATEST

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 59fede5dbb333e3f6ab238abdb625774f178d90f
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Tue Nov 12 21:33:35 2013 +0000

    configured site deploy to /shared-archives/<artifactId>-LATEST
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1541249 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index b0091ba..26acc1d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,14 +40,20 @@
     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/trunk/maven-shared-incremental</developerConnection>
     <url>http://svn.apache.org/viewvc/maven/shared/trunk/maven-shared-incremental</url>
   </scm>
-
   <issueManagement>
     <system>jira</system>
     <url>https://jira.codehaus.org/browse/MSHARED/component/15650</url>
   </issueManagement>
+  <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      <url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}</url>
+    </site>
+  </distributionManagement>
 
   <properties>
     <mavenVersion>2.2.1</mavenVersion>
+    <maven.site.path>shared-archives/${project.artifactId}-LATEST</maven.site.path>
   </properties>
 
   <dependencies>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.

[maven-shared-incremental] 34/44: s/plugins/shared/

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-incremental.git

commit 88d7c18d61c273a34a94bf04fc0cc79ae97ae4b9
Author: Herve Boutemy <hb...@apache.org>
AuthorDate: Sun May 18 16:07:51 2014 +0000

    s/plugins/shared/
    
    git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@1595631 13f79535-47bb-0310-9956-ffa450edef68
---
 src/site/xdoc/download.xml.vm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/site/xdoc/download.xml.vm b/src/site/xdoc/download.xml.vm
index 7186d93..46ca4be 100644
--- a/src/site/xdoc/download.xml.vm
+++ b/src/site/xdoc/download.xml.vm
@@ -107,9 +107,9 @@ under the License.
         <tbody>
           <tr>
             <td>${project.name} ${project.version} (Source zip)</td>
-            <td><a href="[preferred]maven/plugins/${project.artifactId}-${project.version}-source-release.zip">maven/plugins/${project.artifactId}-${project.version}-source-release.zip</a></td>
-            <td><a href="http://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.md5</a></td>
-            <td><a href="http://www.apache.org/dist/maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc">maven/plugins/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
+            <td><a href="[preferred]maven/shared/${project.artifactId}-${project.version}-source-release.zip">maven/shared/${project.artifactId}-${project.version}-source-release.zip</a></td>
+            <td><a href="http://www.apache.org/dist/maven/shared/${project.artifactId}-${project.version}-source-release.zip.md5">maven/shared/${project.artifactId}-${project.version}-source-release.zip.md5</a></td>
+            <td><a href="http://www.apache.org/dist/maven/shared/${project.artifactId}-${project.version}-source-release.zip.asc">maven/shared/${project.artifactId}-${project.version}-source-release.zip.asc</a></td>
           </tr>
         </tbody>
       </table>
@@ -117,7 +117,7 @@ under the License.
 
       <subsection name="Previous Versions">
         
-      <p>Older non-recommended releases can be found on our <a href="http://archive.apache.org/dist/maven/plugins/">archive site</a>.</p>
+      <p>Older non-recommended releases can be found on our <a href="http://archive.apache.org/dist/maven/shared/">archive site</a>.</p>
 
       </subsection>
     </section>

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <co...@maven.apache.org>.