blob: 6ecf11c36336175d6b37cd57901a7fc999811091 [file] [log] [blame]
Lvbo1638b2a52f2017-09-22 15:36:49 +08001<?xml version="1.0"?>
2<!--
YuanHude5748d2018-03-21 11:02:54 +08003 Copyright (c) 2017-2018 ZTE Corporation.
Lvbo163df0f9f22017-09-22 17:15:50 +08004 All rights reserved. This program and the accompanying materials
5 are made available under the terms of the Eclipse Public License v1.0
6 and the Apache License 2.0 which both accompany this distribution,
7 and are available at http://www.eclipse.org/legal/epl-v10.html
8 and http://www.apache.org/licenses/LICENSE-2.0
Lvbo1638b2a52f2017-09-22 15:36:49 +08009
Lvbo163df0f9f22017-09-22 17:15:50 +080010 Contributors:
11 ZTE - initial API and implementation and/or initial documentation
Lvbo1638b2a52f2017-09-22 15:36:49 +080012-->
Lvbo16337c67372017-09-22 16:34:05 +080013<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Lvbo1638b2a52f2017-09-22 15:36:49 +080015
Lvbo16337c67372017-09-22 16:34:05 +080016 <parent>
Lvbo1638b2a52f2017-09-22 15:36:49 +080017 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
18 <artifactId>sdc-workflow-designer</artifactId>
YuanHucbf2a872018-02-02 16:51:31 +080019 <version>1.1.0-SNAPSHOT</version>
Lvbo1638b2a52f2017-09-22 15:36:49 +080020 </parent>
Lvbo1638b2a52f2017-09-22 15:36:49 +080021
Lvbo16337c67372017-09-22 16:34:05 +080022 <modelVersion>4.0.0</modelVersion>
Lvbo163df0f9f22017-09-22 17:15:50 +080023 <groupId>org.onap.sdc.sdc-workflow-designer</groupId>
Lvbo16337c67372017-09-22 16:34:05 +080024 <artifactId>sdc-workflow-designer-server</artifactId>
25 <name>sdc-workflow-designer-server</name>
Lvbo16337c67372017-09-22 16:34:05 +080026 <packaging>jar</packaging>
YuanHucbf2a872018-02-02 16:51:31 +080027
Lvbo16337c67372017-09-22 16:34:05 +080028 <properties>
YuanHu56612b42018-03-14 14:35:38 +080029 <velocity.version>1.7</velocity.version>
YuanHucbf2a872018-02-02 16:51:31 +080030 <commons-io.version>2.4</commons-io.version>
YuanHude5748d2018-03-21 11:02:54 +080031 <dom4j.version>1.6.1</dom4j.version>
YuanHufaf3aa62018-03-21 17:25:44 +080032 <dropwizard.version>1.2.2</dropwizard.version>
33 <swagger.version>1.5.3</swagger.version>
34 <jersey.version>2.16</jersey.version>
35 <jaxrs.consumer.version>5.0</jaxrs.consumer.version>
36 <gson.version>2.2.4</gson.version>
37 <junit.version>4.10</junit.version>
Lvbo16337c67372017-09-22 16:34:05 +080038 </properties>
YuanHucbf2a872018-02-02 16:51:31 +080039
40 <build>
41 <plugins>
42 <plugin>
43 <groupId>org.apache.maven.plugins</groupId>
44 <artifactId>maven-shade-plugin</artifactId>
45 <configuration>
46 <createDependencyReducedPom>true</createDependencyReducedPom>
47 <filters>
48 <filter>
49 <artifact>*:*</artifact>
50 <excludes>
51 <exclude>META-INF/*.SF</exclude>
52 <exclude>META-INF/*.DSA</exclude>
53 <exclude>META-INF/*.RSA</exclude>
54 </excludes>
55 </filter>
56 </filters>
57 </configuration>
58 <executions>
59 <execution>
60 <phase>package</phase>
61 <goals>
62 <goal>shade</goal>
63 </goals>
64 <configuration>
65 <transformers>
66 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
67 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
68 <mainClass>org.onap.sdc.workflowdesigner.WorkflowDesignerApp</mainClass>
69 </transformer>
70 </transformers>
71 </configuration>
72 </execution>
73 </executions>
74 </plugin>
75
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-dependency-plugin</artifactId>
79 <executions>
80 <execution>
81 <id>copy-dependencies</id>
82 <phase>package</phase>
83 <goals>
84 <goal>copy-dependencies</goal>
85 </goals>
86 <configuration>
87 <artifactItems>
88 <artifactItem>
89 <groupId>io.dropwizard</groupId>
90 <artifactId>dropwizard-core</artifactId>
91 <version>${dropwizard.version}</version>
92 <overWrite>true</overWrite>
93 </artifactItem>
94 </artifactItems>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99
100 </plugins>
101 </build>
102
Lvbo16337c67372017-09-22 16:34:05 +0800103 <dependencies>
YuanHucbf2a872018-02-02 16:51:31 +0800104 <!-- dropwizard -->
Lvbo16337c67372017-09-22 16:34:05 +0800105 <dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800106 <groupId>io.dropwizard</groupId>
107 <artifactId>dropwizard-core</artifactId>
108 <version>${dropwizard.version}</version>
Lvbo16337c67372017-09-22 16:34:05 +0800109 </dependency>
Lvbo163df0f9f22017-09-22 17:15:50 +0800110 <dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800111 <groupId>io.dropwizard</groupId>
112 <artifactId>dropwizard-assets</artifactId>
113 <version>${dropwizard.version}</version>
114 </dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800115
116 <!-- swagger -->
117 <dependency>
118 <groupId>io.swagger</groupId>
119 <artifactId>swagger-jersey2-jaxrs</artifactId>
120 <version>${swagger.version}</version>
121 </dependency>
122
123 <!-- jersey -->
124 <dependency>
125 <groupId>org.glassfish.jersey.core</groupId>
126 <artifactId>jersey-server</artifactId>
127 <version>${jersey.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.glassfish.jersey.media</groupId>
131 <artifactId>jersey-media-multipart</artifactId>
132 <version>${jersey.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.glassfish.jersey.containers</groupId>
136 <artifactId>jersey-container-servlet-core</artifactId>
137 <version>${jersey.version}</version>
138 </dependency>
139
140 <dependency>
141 <groupId>commons-io</groupId>
142 <artifactId>commons-io</artifactId>
143 <version>${commons-io.version}</version>
144 </dependency>
145
YuanHu43bed0e2018-03-19 16:41:15 +0800146 <!-- gson -->
147 <dependency>
148 <groupId>com.google.code.gson</groupId>
149 <artifactId>gson</artifactId>
150 <version>${gson.version}</version>
151 </dependency>
152
153 <!-- consumer -->
154 <dependency>
155 <groupId>com.eclipsesource.jaxrs</groupId>
156 <artifactId>consumer</artifactId>
YuanHu43bed0e2018-03-19 16:41:15 +0800157 <version>${jaxrs.consumer.version}</version>
158 </dependency>
YuanHufaf3aa62018-03-21 17:25:44 +0800159
Lvbo16336942052017-09-26 15:03:13 +0800160 <dependency>
161 <groupId>org.apache.velocity</groupId>
162 <artifactId>velocity</artifactId>
163 <version>${velocity.version}</version>
164 </dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800165
Lvbo16349d669b2017-09-27 09:45:44 +0800166 <dependency>
167 <groupId>junit</groupId>
168 <artifactId>junit</artifactId>
169 <version>${junit.version}</version>
170 </dependency>
YuanHude5748d2018-03-21 11:02:54 +0800171
172 <dependency>
173 <groupId>dom4j</groupId>
174 <artifactId>dom4j</artifactId>
175 <version>${dom4j.version}</version>
176 </dependency>
Lvbo16337c67372017-09-22 16:34:05 +0800177 </dependencies>
YuanHucbf2a872018-02-02 16:51:31 +0800178
Lvbo1638b2a52f2017-09-22 15:36:49 +0800179</project>