summaryrefslogtreecommitdiffstats
path: root/rulemgt-standalone/pom.xml
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-07-21 14:49:06 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-07-21 14:49:06 +0800
commita966da9a6108017711152fc69725397c8779fd08 (patch)
tree383256962b913c1670c9fd7d04468300ba657975 /rulemgt-standalone/pom.xml
parentfb0bf963239aaacf19280843f825174e68d41eab (diff)
Add the frontend into the final package
Change-Id: I8d88997ede40e3527ae4d1aa4f9c48bc8f920770 Issue-ID: HOLMES-111 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone/pom.xml')
-rw-r--r--rulemgt-standalone/pom.xml42
1 files changed, 32 insertions, 10 deletions
diff --git a/rulemgt-standalone/pom.xml b/rulemgt-standalone/pom.xml
index ef8b295..6fc8a98 100644
--- a/rulemgt-standalone/pom.xml
+++ b/rulemgt-standalone/pom.xml
@@ -17,8 +17,8 @@
-->
<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">
+ 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.onap.holmes.rule-management</groupId>
<artifactId>holmes-rulemgt-parent</artifactId>
@@ -31,8 +31,8 @@
<packaging>pom</packaging>
<properties>
- <holmes.rule.project.version>${project.version}</holmes.rule.project.version>
- <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
+ <holmes.rule.project.version>${project.version}</holmes.rule.project.version>
+ <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
<build.number>${maven.build.timestamp}</build.number>
</properties>
@@ -124,7 +124,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>copy-jar-${linux64id}</id>
+ <id>copy-artifacts-${linux64id}</id>
<goals>
<goal>copy</goal>
</goals>
@@ -139,11 +139,19 @@
<outputDirectory>${linux64outputdir}</outputDirectory>
<destFileName>holmes-rulemgt.jar</destFileName>
</artifactItem>
+ <artifactItem>
+ <groupId>org.onap.holmes.rule-management</groupId>
+ <artifactId>holmes-rulemgt-frontend</artifactId>
+ <type>tar.gz</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>target/version</outputDirectory>
+ <destFileName>holmes-rulemgt-frontend-${project.version}.tar.gz</destFileName>
+ </artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
- <id>copy-jar-${win64id}</id>
+ <id>copy-artifacts-${win64id}</id>
<goals>
<goal>copy</goal>
</goals>
@@ -158,6 +166,14 @@
<outputDirectory>${win64outputdir}</outputDirectory>
<destFileName>holmes-rulemgt.jar</destFileName>
</artifactItem>
+ <artifactItem>
+ <groupId>org.onap.holmes.rule-management</groupId>
+ <artifactId>holmes-rulemgt-frontend</artifactId>
+ <type>tar.gz</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>target/version</outputDirectory>
+ <destFileName>holmes-rulemgt-frontend-${project.version}.tar.gz</destFileName>
+ </artifactItem>
</artifactItems>
</configuration>
</execution>
@@ -210,14 +226,14 @@
<source>
println project.properties['holmes.rule.project.version'];
def versionArray;
- if ( project.properties['holmes.rule.project.version'] != null ) {
+ if (project.properties['holmes.rule.project.version'] != null) {
versionArray = project.properties['holmes.rule.project.version'].split('-');
}
- project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest";
+ project.properties['project.docker.latesttag.version'] = versionArray[0] + "-STAGING-latest";
println 'New Tag for docker:' +
- project.properties['project.docker.latesttag.version'];
+ project.properties['project.docker.latesttag.version'];
</source>
</configuration>
</execution>
@@ -245,7 +261,7 @@
<dockerFileDir>${basedir}/target/version/</dockerFileDir>
<dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
<tags>
- <tag>${project.version}</tag>
+ <tag>${project.version}</tag>
<tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
<tag>${project.docker.latesttag.version}</tag>
</tags>
@@ -283,5 +299,11 @@
<artifactId>holmes-rulemgt</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.onap.holmes.rule-management</groupId>
+ <artifactId>holmes-rulemgt-frontend</artifactId>
+ <version>${project.version}</version>
+ <type>tar.gz</type>
+ </dependency>
</dependencies>
</project>