Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <!-- |
YuanHu | de5748d | 2018-03-21 11:02:54 +0800 | [diff] [blame] | 3 | Copyright (c) 2017-2018 ZTE Corporation. |
Lvbo163 | df0f9f2 | 2017-09-22 17:15:50 +0800 | [diff] [blame] | 4 | 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 |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 9 | |
Lvbo163 | df0f9f2 | 2017-09-22 17:15:50 +0800 | [diff] [blame] | 10 | Contributors: |
| 11 | ZTE - initial API and implementation and/or initial documentation |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 12 | --> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 13 | <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"> |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 15 | |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 16 | <parent> |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 17 | <groupId>org.onap.sdc.sdc-workflow-designer</groupId> |
| 18 | <artifactId>sdc-workflow-designer</artifactId> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 19 | <version>1.1.0-SNAPSHOT</version> |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 20 | </parent> |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 21 | |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
Lvbo163 | df0f9f2 | 2017-09-22 17:15:50 +0800 | [diff] [blame] | 23 | <groupId>org.onap.sdc.sdc-workflow-designer</groupId> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 24 | <artifactId>sdc-workflow-designer-server</artifactId> |
| 25 | <name>sdc-workflow-designer-server</name> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 26 | <packaging>jar</packaging> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 27 | |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 28 | <properties> |
YuanHu | 56612b4 | 2018-03-14 14:35:38 +0800 | [diff] [blame] | 29 | <velocity.version>1.7</velocity.version> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 30 | <commons-io.version>2.4</commons-io.version> |
YuanHu | de5748d | 2018-03-21 11:02:54 +0800 | [diff] [blame] | 31 | <dom4j.version>1.6.1</dom4j.version> |
YuanHu | faf3aa6 | 2018-03-21 17:25:44 +0800 | [diff] [blame] | 32 | <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> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 38 | </properties> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 39 | |
| 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 | |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 103 | <dependencies> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 104 | <!-- dropwizard --> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 105 | <dependency> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 106 | <groupId>io.dropwizard</groupId> |
| 107 | <artifactId>dropwizard-core</artifactId> |
| 108 | <version>${dropwizard.version}</version> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 109 | </dependency> |
Lvbo163 | df0f9f2 | 2017-09-22 17:15:50 +0800 | [diff] [blame] | 110 | <dependency> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 111 | <groupId>io.dropwizard</groupId> |
| 112 | <artifactId>dropwizard-assets</artifactId> |
| 113 | <version>${dropwizard.version}</version> |
| 114 | </dependency> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 115 | |
| 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 | |
YuanHu | 43bed0e | 2018-03-19 16:41:15 +0800 | [diff] [blame] | 146 | <!-- 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> |
YuanHu | 43bed0e | 2018-03-19 16:41:15 +0800 | [diff] [blame] | 157 | <version>${jaxrs.consumer.version}</version> |
| 158 | </dependency> |
YuanHu | faf3aa6 | 2018-03-21 17:25:44 +0800 | [diff] [blame] | 159 | |
Lvbo163 | 3694205 | 2017-09-26 15:03:13 +0800 | [diff] [blame] | 160 | <dependency> |
| 161 | <groupId>org.apache.velocity</groupId> |
| 162 | <artifactId>velocity</artifactId> |
| 163 | <version>${velocity.version}</version> |
| 164 | </dependency> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 165 | |
Lvbo163 | 49d669b | 2017-09-27 09:45:44 +0800 | [diff] [blame] | 166 | <dependency> |
| 167 | <groupId>junit</groupId> |
| 168 | <artifactId>junit</artifactId> |
| 169 | <version>${junit.version}</version> |
| 170 | </dependency> |
YuanHu | de5748d | 2018-03-21 11:02:54 +0800 | [diff] [blame] | 171 | |
| 172 | <dependency> |
| 173 | <groupId>dom4j</groupId> |
| 174 | <artifactId>dom4j</artifactId> |
| 175 | <version>${dom4j.version}</version> |
| 176 | </dependency> |
Lvbo163 | 37c6737 | 2017-09-22 16:34:05 +0800 | [diff] [blame] | 177 | </dependencies> |
YuanHu | cbf2a87 | 2018-02-02 16:51:31 +0800 | [diff] [blame] | 178 | |
Lvbo163 | 8b2a52f | 2017-09-22 15:36:49 +0800 | [diff] [blame] | 179 | </project> |