diff options
author | shentao <shentao@chinamobile.com> | 2017-08-31 23:40:50 +0800 |
---|---|---|
committer | shentao <shentao@chinamobile.com> | 2017-08-31 23:40:58 +0800 |
commit | 4ff32341a0af1972b44a7410e76e9b231131e7ab (patch) | |
tree | e12d231d9204183e288cd2c39100b796d0c3365c /usecaseui-common/pom.xml | |
parent | 47b0a0f5957fab266d8c02d0fb09ac6bba343cbd (diff) |
Upload Usecase-UI project structure code
Change-Id: Iac0da235df9fdf075d6ea6e368cebf58695fc796
Issue-Id: USECASEUI-6
Signed-off-by: shentao <shentao@chinamobile.com>
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> |