Repository: incubator-systemml
Updated Branches:
  refs/heads/master 5d4e9a4a8 -> f612ea58d


Cleaning up JAR artifacts in prep for 0.9 release.

Removing the 'original-system-ml*.jar' that was created after shading, as it 
was simply causing confusion.  Also, added a task to copy the final jar to 
SystemML.jar, since most of the documentation deals with the later name.

Closes #41.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/f612ea58
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/f612ea58
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/f612ea58

Branch: refs/heads/master
Commit: f612ea58d4b492af596f0213615c12ef6020b37f
Parents: 5d4e9a4
Author: Mike Dusenberry <[email protected]>
Authored: Fri Jan 15 17:32:27 2016 -0800
Committer: Mike Dusenberry <[email protected]>
Committed: Fri Jan 15 17:32:27 2016 -0800

----------------------------------------------------------------------
 pom.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/f612ea58/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f02157c..7a26e01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -368,6 +368,51 @@
                                </configuration>
                        </plugin>
 
+                       <plugin>
+                               <artifactId>maven-clean-plugin</artifactId>
+                               <version>3.0.0</version>
+                               <executions>
+                                       <execution>
+                                               <id>clean-original-jar</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>clean</goal>
+                                               </goals>
+                                               <configuration>
+                                                       
<excludeDefaultDirectories>true</excludeDefaultDirectories>
+                                                       <filesets>
+                                                               <fileset>
+                                                                       
<directory>${project.build.directory}</directory>
+                                                                       
<includes>
+                                                                               
<include>original-*.jar</include>
+                                                                       
</includes>
+                                                               </fileset>
+                                                       </filesets>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-antrun-plugin</artifactId>
+                               <version>1.8</version>
+                               <executions>
+                                       <execution>
+                                               <id>copy</id>
+                                               <phase>package</phase>
+                                               <configuration>
+                                                       <target name="copy and 
rename JAR">
+                                                               <copy 
file="${project.build.directory}/${project.artifactId}-${project.version}.jar" 
tofile="${project.build.directory}/SystemML.jar" />
+                                                       </target>
+                                               </configuration>
+                                               <goals>
+                                                       <goal>run</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+
                </plugins>
 
        </build>

Reply via email to