Repository: systemml
Updated Branches:
  refs/heads/master 114200724 -> 830e6589f


[SYSTEMML-1844] Attach python artifact for install and deploy

Attach the python artifact to project using build-helper-maven-plugin's
attach-artifact goal. This allows the python artifact to be installed
into the local maven repository and deployed to the snapshot repository
using the distribution profile.

CLoses #619.


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

Branch: refs/heads/master
Commit: 830e6589fef25ff4e1f751c03609298755fcc170
Parents: 1142007
Author: Deron Eriksson <[email protected]>
Authored: Thu Aug 17 12:02:54 2017 -0700
Committer: Deron Eriksson <[email protected]>
Committed: Thu Aug 17 12:02:54 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/systemml/blob/830e6589/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2460f9c..2ed9374 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1130,6 +1130,30 @@
                                                        </execution>
                                                </executions>
                                        </plugin>
+                                       <!-- Attach python artifact so it can 
be installed and deployed. -->
+                                       <plugin>
+                                               
<groupId>org.codehaus.mojo</groupId>
+                                               
<artifactId>build-helper-maven-plugin</artifactId>
+                                               <version>1.8</version>
+                                               <executions>
+                                                       <execution>
+                                                               
<id>attach-python-artifact</id>
+                                                               
<phase>pre-integration-test</phase>
+                                                               <goals>
+                                                                       
<goal>attach-artifact</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       
<artifacts>
+                                                                               
<artifact>
+                                                                               
        
<file>${basedir}/target/${project.artifactId}-${project.version}-python.tgz</file>
+                                                                               
        <type>tgz</type>
+                                                                               
        <classifier>python</classifier>
+                                                                               
</artifact>
+                                                                       
</artifacts>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
                                </plugins>
                        </build>
                </profile>

Reply via email to