You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/19 12:28:00 UTC

incubator-ignite git commit: #ignite-965: add npm-profile to maven build.

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-965 cd063b611 -> 988016dce


#ignite-965: add npm-profile to maven build.


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

Branch: refs/heads/ignite-965
Commit: 988016dce332c2ee844fe0bbd4d9df4ec8b82932
Parents: cd063b6
Author: ivasilinets <iv...@gridgain.com>
Authored: Fri Jun 19 13:28:00 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Fri Jun 19 13:28:00 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/988016dc/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5f0adda..b12d3ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -734,6 +734,33 @@
                 </plugins>
             </build>
         </profile>
+
+        <profile>
+            <id>ignite-npm</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>compile</phase>
+                                <goals>
+                                    <goal>exec</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <executable>npm</executable>
+                            <arguments>
+                                <argument>publish</argument>
+                                <argument>modules/nodejs/src/main/js</argument>
+                            </arguments>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
     <build>