You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by ap...@apache.org on 2020/01/31 14:53:16 UTC

[mahout] branch master updated: (nojira)[release] leave distribution packages in their target directory. exclude the target in the base dir from the binary release.

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

apalumbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mahout.git


The following commit(s) were added to refs/heads/master by this push:
     new dc153f7  (nojira)[release] leave distribution packages in their target directory. exclude the target in the base dir from the binary release.
dc153f7 is described below

commit dc153f7affa631665eeb6b95be7f25b34fd6b601
Author: Andrew Palumbo <ap...@apache.org>
AuthorDate: Fri Jan 31 06:52:20 2020 -0800

    (nojira)[release] leave distribution packages in their target directory. exclude the target in the base dir from the binary release.
---
 distribution/pom.xml                             | 22 ----------------------
 distribution/src/main/resources/assembly/bin.xml |  3 +++
 2 files changed, 3 insertions(+), 22 deletions(-)

diff --git a/distribution/pom.xml b/distribution/pom.xml
index f6bc40a..9ea57de 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -109,28 +109,6 @@
                     </execution>
                 </executions>
             </plugin>
-              <plugin>
-              <artifactId>maven-antrun-plugin</artifactId>
-              <version>1.4</version>
-              <executions>
-                  <execution>
-                      <id>copy</id>
-                      <phase>package</phase>
-                      <configuration>
-                          <tasks>
-                              <copy todir="${project.basedir}">
-                                  <fileset dir="target"
-                                           includes="*.*"
-                                   />
-                              </copy>
-                          </tasks>
-                      </configuration>
-                      <goals>
-                          <goal>run</goal>
-                      </goals>
-                  </execution>
-              </executions>
-          </plugin>
         </plugins>
 <!--            <pluginManagement>-->
 <!--                <plugins>-->
diff --git a/distribution/src/main/resources/assembly/bin.xml b/distribution/src/main/resources/assembly/bin.xml
index bf4783a..df2c58c 100644
--- a/distribution/src/main/resources/assembly/bin.xml
+++ b/distribution/src/main/resources/assembly/bin.xml
@@ -45,6 +45,9 @@
             <include>**/*.properties</include>
             <include>**/**/*.properties</include>
         </includes>
+        <excludes>
+            <exclude>target/**</exclude>
+        </excludes>
     </fileSet>
     <fileSet>
         <directory>${basedir}/../lib</directory>