You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by jx...@apache.org on 2017/12/20 17:54:29 UTC
[26/50] [abbrv] helix git commit: [helix-front] Added Maven build
support
http://git-wip-us.apache.org/repos/asf/helix/blob/b65f6ec9/helix-front/pom.xml
----------------------------------------------------------------------
diff --git a/helix-front/pom.xml b/helix-front/pom.xml
index a3ce38d..2c04331 100644
--- a/helix-front/pom.xml
+++ b/helix-front/pom.xml
@@ -19,9 +19,9 @@ 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">
<parent>
- <groupId>org.apache.helix</groupId>
- <artifactId>helix</artifactId>
- <version>0.6.9-SNAPSHOT</version>
+ <groupId>org.apache.helix</groupId>
+ <artifactId>helix</artifactId>
+ <version>0.6.9-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@@ -39,12 +39,6 @@ under the License.
<build>
- <resources>
- <resource>
- <directory>dist</directory>
- </resource>
- </resources>
-
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
@@ -108,6 +102,43 @@ under the License.
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>assemble/assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>exec-maven-plugin</artifactId>
+ <groupId>org.codehaus.mojo</groupId>
+ <version>1.6.0</version>
+ <executions>
+ <execution>
+ <id>Unpack assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>assemble/package.sh</executable>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
</project>
http://git-wip-us.apache.org/repos/asf/helix/blob/b65f6ec9/helix-rest/pom.xml
----------------------------------------------------------------------
diff --git a/helix-rest/pom.xml b/helix-rest/pom.xml
index 5461300..0fe5b0f 100644
--- a/helix-rest/pom.xml
+++ b/helix-rest/pom.xml
@@ -126,10 +126,6 @@ under the License.
<include>DISCLAIMER</include>
</includes>
</resource>
- <resource>
- <targetPath>ui</targetPath>
- <directory>../helix-front/dist</directory>
- </resource>
</resources>
<plugins>
<plugin>