summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/pom.xml')
-rw-r--r--openecomp-ui/pom.xml50
1 files changed, 48 insertions, 2 deletions
diff --git a/openecomp-ui/pom.xml b/openecomp-ui/pom.xml
index ee6d32dd9a..400ad9a533 100644
--- a/openecomp-ui/pom.xml
+++ b/openecomp-ui/pom.xml
@@ -11,8 +11,12 @@
<groupId>org.openecomp.sdc.onboarding</groupId>
<artifactId>onboarding-fe</artifactId>
<name>onboarding-ui-war</name>
+ <packaging>pom</packaging>
+
+ <properties>
+ <sonar.skip>true</sonar.skip>
+ </properties>
- <packaging>war</packaging>
<build>
<plugins>
@@ -52,11 +56,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>