aboutsummaryrefslogtreecommitdiffstats
path: root/httpserver-standalone/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'httpserver-standalone/pom.xml')
-rw-r--r--httpserver-standalone/pom.xml111
1 files changed, 111 insertions, 0 deletions
diff --git a/httpserver-standalone/pom.xml b/httpserver-standalone/pom.xml
new file mode 100644
index 00000000..251cf9ff
--- /dev/null
+++ b/httpserver-standalone/pom.xml
@@ -0,0 +1,111 @@
+<!--
+
+ Copyright (C) 2016 ZTE, Inc. and others. All rights reserved. (ZTE)
+
+ 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 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">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>catalog-parent</artifactId>
+ <groupId>org.openo.orchestrator.nfv.catalog</groupId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <artifactId>httpserver-standalone</artifactId>
+ <name>openo/catalog/httpserver-standalone</name>
+ <packaging>pom</packaging>
+ <properties>
+ <tomcat.version>7.0.62</tomcat.version>
+ <packagename>http-server</packagename>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.8</version>
+ <executions>
+ <execution>
+ <id>unpack-tomcat</id>
+ <phase>package</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeGroupIds>org.apache.tomcat</includeGroupIds>
+ <includeArtifactIds>tomcat</includeArtifactIds>
+ <outputDirectory>
+ target/assembly/
+ </outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </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}">
+ <move todir="target/assembly/tomcat">
+ <fileset dir="target/assembly/apache-tomcat-${tomcat.version}"/>
+ </move>
+ <copydir src="src/main/assembly/" dest="target/assembly"/>
+ <zip destfile="target/${packagename}-${project.version}.zip" update="true">
+ <zipfileset dir="target/assembly" 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>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ </dependency>
+ </dependencies>
+</project> \ No newline at end of file