pom.xml 7.72 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2
3
4
5
6
7
8
<!--
  ~ Copyright (C) 2017 7bulls.com
  ~ This Source Code Form is subject to the terms of the
  ~ Mozilla Public License, v. 2.0. If a copy of the MPL
  ~ was not distributed with this file, You can obtain one at
  ~ http://mozilla.org/MPL/2.0/.
-->
9
10
11
<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>
12
  <groupId>eu.melodic</groupId>
13
  <artifactId>adapter</artifactId>
14
  <version>3.1.0-SNAPSHOT</version>
15
  <name>Upperware - Adapter</name>
16
  <description>
17
    The component of PaaSage responsible for generating, validating and applying deployment plan based on CAMEL
18
19
20
    Model received from CDO Server. This component displaces both Adapter Manager and Plan Generator repositories.
  </description>
  <parent>
21
22
    <groupId>org.ow2.paasage</groupId>
    <artifactId>upperware</artifactId>
23
    <version>3.1.0-SNAPSHOT</version>
24
25
  </parent>
  <properties>
26
    <colloseum-client.version>0.2.0-SNAPSHOT</colloseum-client.version>
27
    <jgrapht.version>1.0.1</jgrapht.version>
28
    <gson.version>2.8.1</gson.version>
29
30
    <validation-api.version>2.0.1.Final</validation-api.version>
    <hibernate.validator.version>6.1.0.Final</hibernate.validator.version>
31
32
33
34
    <commons-io.version>2.5</commons-io.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
    <java.version>1.8</java.version>
35
    <!--DOCKER plugin properties-->
mriedl's avatar
release    
mriedl committed
36
    <docker.imageName>adapter</docker.imageName>
37
    <gmaven-plugin.version>1.4</gmaven-plugin.version>
38
39
  </properties>
  <dependencies>
40
41
42
43
44
    <dependency>
      <groupId>org.json</groupId>
      <artifactId>json</artifactId>
      <version>20180813</version>
    </dependency>
45
46
47
48
49
50
51
52
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter</artifactId>
    </dependency>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-configuration-processor</artifactId>
    </dependency>
53
54
55
56
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
57
58
59
60
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-logging</artifactId>
    </dependency>
61
    <dependency>
62
      <groupId>eu.melodic.cdo</groupId>
63
      <artifactId>client</artifactId>
64
65
      <classifier>repackaged</classifier>
    </dependency>
66
67
68
    <dependency>
      <groupId>eu.melodic</groupId>
      <artifactId>interfaces</artifactId>
69
70
71
72
73
74
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.jackson</groupId>
          <artifactId>*</artifactId>
        </exclusion>
      </exclusions>
75
    </dependency>
76
77
78
79
80
81
82
83
    <dependency>
      <groupId>io.github.cloudiator</groupId>
      <artifactId>colosseum-client</artifactId>
      <version>${colloseum-client.version}</version>
    </dependency>
    <dependency>
      <groupId>org.jgrapht</groupId>
      <artifactId>jgrapht-core</artifactId>
84
      <version>${jgrapht.version}</version>
85
    </dependency>
86
87
88
89
90
    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>${gson.version}</version>
    </dependency>
91
92
93
94
95
96
97
98
    <dependency>
      <groupId>javax.validation</groupId>
      <artifactId>validation-api</artifactId>
      <version>${validation-api.version}</version>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-validator</artifactId>
99
      <version>${hibernate.validator.version}</version>
mriedl's avatar
mriedl committed
100
      <!--      <version>6.1.0.Final</version>-->
101
    </dependency>
102
103
104
105
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-collections4</artifactId>
    </dependency>
106
107
108
109
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
    </dependency>
110
111
112
113
114
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>${commons-io.version}</version>
    </dependency>
115
116
117
118
119
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-text</artifactId>
      <version>1.6</version>
    </dependency>
120
121
122
123
124
    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.12</version>
    </dependency>
125
126
127
128
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
    </dependency>
129
130
131
132
133
134
135
136
137
138
139
140
141
142
    <dependency>
      <groupId>org.ow2.paasage</groupId>
      <artifactId>melodic-commons</artifactId>
      <exclusions>
        <exclusion>
          <groupId>org.ow2.paasage</groupId>
          <artifactId>upperware-metamodel</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.ow2.paasage</groupId>
      <artifactId>upperware-metamodel</artifactId>
    </dependency>
pszkup's avatar
pszkup committed
143
144
145
146
    <dependency>
      <groupId>org.ow2.paasage</groupId>
      <artifactId>jwt-commons</artifactId>
    </dependency>
147
148
149
150
    <!-- Authorization-related dependencies -->
    <dependency>
      <groupId>eu.melodic.security.authorization</groupId>
      <artifactId>authorization-service-client</artifactId>
151
      <version>${melodic.version}</version>
152
    </dependency>
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
    <!--dependencies for higher version required by Spring boot 2 for Cloudiator Colosseum-->
    <dependency>
      <groupId>com.fasterxml.jackson.jaxrs</groupId>
      <artifactId>jackson-jaxrs-json-provider</artifactId>
      <version>2.9.6</version>
    </dependency>
    <dependency>
      <groupId>javax.ws.rs</groupId>
      <artifactId>javax.ws.rs-api</artifactId>
      <version>2.1-m07</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jersey.core</groupId>
      <artifactId>jersey-common</artifactId>
      <version>2.22</version>
    </dependency>
    <dependency>
      <groupId>org.glassfish.jersey.core</groupId>
      <artifactId>jersey-client</artifactId>
      <version>2.22</version>
    </dependency>
174
175
176
177
178
179
    <dependency>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-databind</artifactId>
      <version>2.9.7</version>
      <scope>compile</scope>
    </dependency>
pszkup's avatar
pszkup committed
180
181
182
183
184
185
186
187
188
189
190
    <dependency>
      <groupId>org.ow2.paasage</groupId>
      <artifactId>melodic-cache</artifactId>
      <version>${project.version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.apache.commons</groupId>
          <artifactId>commons-collections4</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
mriedl's avatar
mriedl committed
191
192
193
194
195
    <dependency>
      <groupId>io.github.cloudiator.client</groupId>
      <artifactId>java-rest</artifactId>
      <scope>compile</scope>
    </dependency>
196
197
  </dependencies>
  <build>
Michał Przesmycki's avatar
Michał Przesmycki committed
198
    <finalName>${project.artifactId}</finalName>
199
200
201
202
203
    <plugins>
      <plugin>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-maven-plugin</artifactId>
      </plugin>
Michał Przesmycki's avatar
Michał Przesmycki committed
204
205
206
207
      <plugin>
        <groupId>com.spotify</groupId>
        <artifactId>docker-maven-plugin</artifactId>
      </plugin>
208
209
210
211
212
213
214
215
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>buildnumber-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.groovy.maven</groupId>
        <artifactId>gmaven-plugin</artifactId>
      </plugin>
216
217
218
219
220
221
222
223
224
225
226
227
      <plugin>
        <groupId>org.codehaus.gmavenplus</groupId>
        <artifactId>gmavenplus-plugin</artifactId>
        <version>1.5</version>
        <executions>
          <execution>
            <goals>
              <goal>compile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
228
229
    </plugins>
  </build>
mriedl's avatar
mriedl committed
230
</project>