blob: 0871c5a980ee0cbd8db91984e60075900c3a63cd [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>
Lvbo163df0f9f22017-09-22 17:15:50 +080029 <jackson.version>2.9.1</jackson.version>
YuanHu43bed0e2018-03-19 16:41:15 +080030 <gson.version>2.2.4</gson.version>
31 <jaxrs.consumer.version>5.0</jaxrs.consumer.version>
YuanHu56612b42018-03-14 14:35:38 +080032 <velocity.version>1.7</velocity.version>
Lvbo16349d669b2017-09-27 09:45:44 +080033 <junit.version>4.10</junit.version>
YuanHu56612b42018-03-14 14:35:38 +080034 <dropwizard.version>1.2.4</dropwizard.version>
35 <swagger.version>1.5.18</swagger.version>
YuanHucbf2a872018-02-02 16:51:31 +080036 <jersey.version>2.16</jersey.version>
37 <commons-io.version>2.4</commons-io.version>
YuanHude5748d2018-03-21 11:02:54 +080038 <dom4j.version>1.6.1</dom4j.version>
Lvbo16337c67372017-09-22 16:34:05 +080039 </properties>
YuanHucbf2a872018-02-02 16:51:31 +080040
41 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-shade-plugin</artifactId>
46 <configuration>
47 <createDependencyReducedPom>true</createDependencyReducedPom>
48 <filters>
49 <filter>
50 <artifact>*:*</artifact>
51 <excludes>
52 <exclude>META-INF/*.SF</exclude>
53 <exclude>META-INF/*.DSA</exclude>
54 <exclude>META-INF/*.RSA</exclude>
55 </excludes>
56 </filter>
57 </filters>
58 </configuration>
59 <executions>
60 <execution>
61 <phase>package</phase>
62 <goals>
63 <goal>shade</goal>
64 </goals>
65 <configuration>
66 <transformers>
67 <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
68 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
69 <mainClass>org.onap.sdc.workflowdesigner.WorkflowDesignerApp</mainClass>
70 </transformer>
71 </transformers>
72 </configuration>
73 </execution>
74 </executions>
75 </plugin>
76
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-dependency-plugin</artifactId>
80 <executions>
81 <execution>
82 <id>copy-dependencies</id>
83 <phase>package</phase>
84 <goals>
85 <goal>copy-dependencies</goal>
86 </goals>
87 <configuration>
88 <artifactItems>
89 <artifactItem>
90 <groupId>io.dropwizard</groupId>
91 <artifactId>dropwizard-core</artifactId>
92 <version>${dropwizard.version}</version>
93 <overWrite>true</overWrite>
94 </artifactItem>
95 </artifactItems>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100
101 </plugins>
102 </build>
103
Lvbo16337c67372017-09-22 16:34:05 +0800104 <dependencies>
YuanHucbf2a872018-02-02 16:51:31 +0800105 <!-- dropwizard -->
Lvbo16337c67372017-09-22 16:34:05 +0800106 <dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800107 <groupId>io.dropwizard</groupId>
108 <artifactId>dropwizard-core</artifactId>
109 <version>${dropwizard.version}</version>
Lvbo16337c67372017-09-22 16:34:05 +0800110 </dependency>
Lvbo163df0f9f22017-09-22 17:15:50 +0800111 <dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800112 <groupId>io.dropwizard</groupId>
113 <artifactId>dropwizard-assets</artifactId>
114 <version>${dropwizard.version}</version>
115 </dependency>
116 <dependency>
117 <groupId>io.dropwizard</groupId>
118 <artifactId>dropwizard-migrations</artifactId>
119 <version>${dropwizard.version}</version>
120 </dependency>
121
122 <!-- swagger -->
123 <dependency>
124 <groupId>io.swagger</groupId>
125 <artifactId>swagger-jersey2-jaxrs</artifactId>
126 <version>${swagger.version}</version>
127 </dependency>
128
129 <!-- jersey -->
130 <dependency>
131 <groupId>org.glassfish.jersey.core</groupId>
132 <artifactId>jersey-server</artifactId>
133 <version>${jersey.version}</version>
134 </dependency>
135 <dependency>
136 <groupId>org.glassfish.jersey.media</groupId>
137 <artifactId>jersey-media-multipart</artifactId>
138 <version>${jersey.version}</version>
139 </dependency>
140 <dependency>
141 <groupId>org.glassfish.jersey.containers</groupId>
142 <artifactId>jersey-container-servlet-core</artifactId>
143 <version>${jersey.version}</version>
144 </dependency>
145
146 <dependency>
147 <groupId>commons-io</groupId>
148 <artifactId>commons-io</artifactId>
149 <version>${commons-io.version}</version>
150 </dependency>
151
YuanHucbf2a872018-02-02 16:51:31 +0800152 <dependency>
Lvbo163df0f9f22017-09-22 17:15:50 +0800153 <groupId>com.fasterxml.jackson.core</groupId>
154 <artifactId>jackson-core</artifactId>
155 <version>${jackson.version}</version>
156 </dependency>
157 <dependency>
158 <groupId>com.fasterxml.jackson.core</groupId>
159 <artifactId>jackson-databind</artifactId>
160 <version>${jackson.version}</version>
161 </dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800162
YuanHu43bed0e2018-03-19 16:41:15 +0800163 <!-- gson -->
164 <dependency>
165 <groupId>com.google.code.gson</groupId>
166 <artifactId>gson</artifactId>
167 <version>${gson.version}</version>
168 </dependency>
169
170 <!-- consumer -->
171 <dependency>
172 <groupId>com.eclipsesource.jaxrs</groupId>
173 <artifactId>consumer</artifactId>
174 <exclusions>
175 <exclusion>
176 <groupId>com.eclipsesource.jaxrs</groupId>
177 <artifactId>jersey-all</artifactId>
178 </exclusion>
179 </exclusions>
180 <version>${jaxrs.consumer.version}</version>
181 </dependency>
182
Lvbo16336942052017-09-26 15:03:13 +0800183 <dependency>
184 <groupId>org.apache.velocity</groupId>
185 <artifactId>velocity</artifactId>
186 <version>${velocity.version}</version>
187 </dependency>
YuanHucbf2a872018-02-02 16:51:31 +0800188
Lvbo16349d669b2017-09-27 09:45:44 +0800189 <dependency>
190 <groupId>junit</groupId>
191 <artifactId>junit</artifactId>
192 <version>${junit.version}</version>
193 </dependency>
YuanHude5748d2018-03-21 11:02:54 +0800194
195 <dependency>
196 <groupId>dom4j</groupId>
197 <artifactId>dom4j</artifactId>
198 <version>${dom4j.version}</version>
199 </dependency>
Lvbo16337c67372017-09-22 16:34:05 +0800200 </dependencies>
YuanHucbf2a872018-02-02 16:51:31 +0800201
Lvbo1638b2a52f2017-09-22 15:36:49 +0800202</project>