diff options
Diffstat (limited to 'usecaseui-common/pom.xml')
-rw-r--r-- | usecaseui-common/pom.xml | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/usecaseui-common/pom.xml b/usecaseui-common/pom.xml new file mode 100644 index 00000000..31286fa7 --- /dev/null +++ b/usecaseui-common/pom.xml @@ -0,0 +1,131 @@ +<?xml version="1.0"?> +<!-- + Copyright (C) 2017 CMCC, Inc. and others. All rights reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onap.usecaseui</groupId> + <artifactId>usecaseui</artifactId> + <version>1.0.0-SNAPSHOT</version> + </parent> + + <groupId>org.onap.usecaseui</groupId> + <artifactId>usecaseui-common</artifactId> + <version>1.0.0-SNAPSHOT</version> + <packaging>war</packaging> + <name>usecaseui/usecaseui-common</name> + + <properties> + <encoding>UTF-8</encoding> + <packagename>usecaseui</packagename> + </properties> + + <dependencies> + <dependency> + <groupId>org.onap.usecaseui</groupId> + <artifactId>usecaseui-monitor</artifactId> + <version>1.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.onap.usecaseui</groupId> + <artifactId>usecaseui-lcm</artifactId> + <version>1.0.0-SNAPSHOT</version> + <type>war</type> + </dependency> + <dependency> + <groupId>org.apache.tiles</groupId> + <artifactId>tiles-jsp</artifactId> + <version>3.0.5</version> + </dependency> + <dependency> + <groupId>org.apache.tiles</groupId> + <artifactId>tiles-extras</artifactId> + <version>3.0.5</version> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>jstl</artifactId> + <version>1.2</version> + </dependency> + </dependencies> + + <build> + <finalName>usecaseui</finalName> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <packagingExcludes>WEB-INF/web.xml</packagingExcludes> + <overlays> + <overlay> + <groupId>org.onap.usecaseui</groupId> + <artifactId>usecaseui-monitor</artifactId> + </overlay> + <overlay> + <groupId>org.onap.usecaseui</groupId> + <artifactId>usecaseui-lcm</artifactId> + </overlay> + </overlays> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>zip</id> + <phase>package</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks name="${project.artifactId}"> + <zip destfile="target/${packagename}-${project.version}.zip" update="true"> + <zipfileset dir="target/usecaseui" includes="**"/> + </zip> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>attach-artifacts</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>target/${packagename}-${project.version}.zip</file> + <type>zip</type> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> |