summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/pom.xml
diff options
context:
space:
mode:
authorml636r <ml636r@att.com>2017-02-26 16:56:52 +0200
committerml636r <ml636r@att.com>2017-02-26 17:35:50 +0200
commit452cb5bf03ee058c4e728dc3538a05dcfab64202 (patch)
treee5453c7cb786c97605c0bc8cd8034ffd202ab06d /openecomp-ui/pom.xml
parent3cac1991249c9e1aed7a7bb3843653fb10dcf666 (diff)
Fix release process
Exclude some .js files for Sonar Fix openecomp-UI (was empty) Change ecompFW to version 1.0.0 Change-Id: I91b252cc942c0c7402dc65c99e6fd807f7936846 Signed-off-by: ml636r <ml636r@att.com>
Diffstat (limited to 'openecomp-ui/pom.xml')
-rw-r--r--openecomp-ui/pom.xml46
1 files changed, 44 insertions, 2 deletions
diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml
index ee6d32dd9a..579e1f79eb 100644
--- a/openecomp-ui/pom.xml
+++ b/openecomp-ui/pom.xml
@@ -11,8 +11,8 @@
<groupId>org.openecomp.sdc.onboarding</groupId>
<artifactId>onboarding-fe</artifactId>
<name>onboarding-ui-war</name>
+ <packaging>pom</packaging>
- <packaging>war</packaging>
<build>
<plugins>
@@ -52,11 +52,53 @@
</plugin>
<plugin>
+ <groupId>com.coderplus.maven.plugins</groupId>
+ <artifactId>copy-rename-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>copy-file</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <sourceFile>${project.basedir}/dist/onboarding.war</sourceFile>
+ <destinationFile>${project.basedir}/target/onboarding-fe-${project.version}.war</destinationFile>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${project.basedir}/target/onboarding-fe-${project.version}.war</file>
+ <type>war</type>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+<!-- <plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webXml>webapp-onboarding\WEB-INF\web.xml</webXml>
</configuration>
- </plugin>
+ </plugin> -->
</plugins>
</build>