blob: 5158b677312d7d295680f28e3f695ef4202bded2 [file] [log] [blame]
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +03001<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
Stone, Avi (as206k)a403bf32018-05-22 13:06:41 +03004 <groupId>org.onap.sdc.dcae-d.ci</groupId>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +03005 <artifactId>dcae-ci-tests</artifactId>
Stone, Avi (as206k)ca206252018-05-10 17:53:15 +03006 <version>1.2.0-SNAPSHOT</version>
Stone, Avi (as206k)aed76932018-05-24 14:28:23 +03007 <name>dcae-d ci tests</name>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +03008 <packaging>jar</packaging>
9 <description>Tests for DCAE Designer </description>
10
11 <properties>
12 <maven.compiler.source>1.8</maven.compiler.source>
13 <maven.compiler.target>1.8</maven.compiler.target>
Areli, Fuss (af732p)f8b08ea2018-08-26 15:26:50 +030014 <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
Stone, Avi (as206k)ca206252018-05-10 17:53:15 +030015 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Stone, Avi (as206k)7db40ac2018-05-21 14:57:57 +030017 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
Stone, Avi (as206k)ca206252018-05-10 17:53:15 +030018 <staging.profile.id>176c31dfe190a</staging.profile.id>
Areli, Fuss (af732p)f8b08ea2018-08-26 15:26:50 +030019 <httpclient.version>4.5.5</httpclient.version>
20 <snakeyaml.version>1.21</snakeyaml.version>
21 <slf4j.version>1.7.25</slf4j.version>
Stone, Avi (as206k)aed76932018-05-24 14:28:23 +030022 <sonar.branch>${project.version}</sonar.branch>
Stone, Avi (as206k)aa17bf42018-06-07 16:38:16 +030023 <sonar.coverage.exclusions>**</sonar.coverage.exclusions>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +030024 </properties>
25
26 <dependencies>
27
28 <dependency>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +030029 <groupId>org.assertj</groupId>
30 <artifactId>assertj-core</artifactId>
31 <version>3.8.0</version>
32 <scope>compile</scope>
33 </dependency>
34
35 <dependency>
Stone, Avi (as206k)ca206252018-05-10 17:53:15 +030036 <groupId>org.onap.sdc.dcae-d.dt-be-property</groupId>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +030037 <artifactId>DCAE-DT-PROPERTY</artifactId>
Stone, Avi (as206k)a403bf32018-05-22 13:06:41 +030038 <version>1.2.0-SNAPSHOT</version>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +030039 </dependency>
Stone, Avi (as206k)7db40ac2018-05-21 14:57:57 +030040
41 <!-- Snake Yaml -->
42 <dependency>
43 <groupId>org.yaml</groupId>
44 <artifactId>snakeyaml</artifactId>
45 <version>${snakeyaml.version}</version>
46 <scope>compile</scope>
47 </dependency>
48
49 <!-- http client -->
50 <dependency>
51 <groupId>org.apache.httpcomponents</groupId>
52 <artifactId>httpclient</artifactId>
53 <version>${httpclient.version}</version>
54 <scope>compile</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.apache.httpcomponents</groupId>
59 <artifactId>httpmime</artifactId>
60 <version>${httpclient.version}</version>
61 <scope>compile</scope>
62 </dependency>
63
64 <dependency>
65 <groupId>commons-io</groupId>
66 <artifactId>commons-io</artifactId>
67 <version>2.5</version>
68 <scope>compile</scope>
69 </dependency>
70
71 <dependency>
72 <groupId>org.apache.commons</groupId>
73 <artifactId>commons-collections4</artifactId>
74 <version>4.1</version>
75 </dependency>
76
77 <dependency>
78 <groupId>com.google.code.gson</groupId>
79 <artifactId>gson</artifactId>
80 <version>2.8.4</version>
81 </dependency>
82
83 <dependency>
84 <groupId>com.googlecode.json-simple</groupId>
85 <artifactId>json-simple</artifactId>
86 <version>1.1.1</version>
87 </dependency>
88
89 <dependency>
90 <groupId>org.slf4j</groupId>
91 <artifactId>slf4j-api</artifactId>
92 <version>${slf4j.version}</version>
93 <scope>compile</scope>
94 </dependency>
95
96 <dependency>
97 <groupId>org.slf4j</groupId>
98 <artifactId>slf4j-simple</artifactId>
99 <version>${slf4j.version}</version>
100 </dependency>
101 <dependency>
102 <groupId>org.testng</groupId>
103 <artifactId>testng</artifactId>
104 <version>6.14.3</version>
105 <scope>compile</scope>
106 </dependency>
107
108 <dependency>
109 <groupId>com.aventstack</groupId>
110 <artifactId>extentreports</artifactId>
111 <version>3.1.5</version>
112 <scope>compile</scope>
113 </dependency>
114
115 </dependencies>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +0300116
117 <build>
118 <plugins>
Areli, Fuss (af732p)f8b08ea2018-08-26 15:26:50 +0300119 <plugin>
120 <groupId>org.codehaus.mojo</groupId>
121 <artifactId>build-helper-maven-plugin</artifactId>
122 <version>1.8</version>
123 <executions>
124 <execution>
125 <id>parse-version</id>
126 <goals>
127 <goal>parse-version</goal>
128 </goals>
129 </execution>
130 </executions>
131 </plugin>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +0300132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-assembly-plugin</artifactId>
135 <version>2.5.5</version>
136 <executions>
137 <execution>
138 <id>create.jar.with.dependencies</id>
139 <phase>package</phase>
140 <goals>
141 <goal>single</goal>
142 </goals>
143 <configuration>
144 <archive>
145 <manifest>
Stone, Avi (as206k)7db40ac2018-05-21 14:57:57 +0300146 <mainClass>org.onap.dcae.ci.run.RunTestSuite</mainClass>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +0300147 </manifest>
148 </archive>
149 <descriptorRefs>
150 <descriptorRef>jar-with-dependencies</descriptorRef>
151 </descriptorRefs>
152 </configuration>
153 </execution>
154 </executions>
155 </plugin>
Stone, Avi (as206k)aed76932018-05-24 14:28:23 +0300156 <!-- Site Plugin -->
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-site-plugin</artifactId>
160 <version>3.4</version>
161 <dependencies>
162 <dependency>
163 <groupId>org.apache.maven.wagon</groupId>
164 <artifactId>wagon-webdav-jackrabbit</artifactId>
165 <version>2.10</version>
166 </dependency>
167 </dependencies>
168 </plugin>
169 <!-- Staging Plugin -->
170 <plugin>
171 <groupId>org.sonatype.plugins</groupId>
172 <artifactId>nexus-staging-maven-plugin</artifactId>
173 <version>1.6.7</version>
174 <extensions>true</extensions>
175 <configuration>
176 <nexusUrl>${nexus.proxy}</nexusUrl>
177 <stagingProfileId>${staging.profile.id}</stagingProfileId>
178 <serverId>ecomp-staging</serverId>
179 </configuration>
180 </plugin>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +0300181 </plugins>
182 </build>
Stone, Avi (as206k)7db40ac2018-05-21 14:57:57 +0300183
Stone, Avi (as206k)a403bf32018-05-22 13:06:41 +0300184 <repositories>
185 <!-- LF repositories -->
186 <repository>
187 <id>ecomp-releases</id>
188 <name>Release Repository</name>
189 <url>${nexus.proxy}/content/repositories/releases/</url>
190 </repository>
191 <repository>
192 <id>ecomp-snapshots</id>
193 <name>Snapshots Repository</name>
194 <url>${nexus.proxy}/content/repositories/snapshots/</url>
195 </repository>
196 <repository>
197 <id>ecomp-public</id>
198 <name>Public Repository</name>
199 <url>${nexus.proxy}/content/repositories/public/</url>
200 </repository>
201 <!-- LF repositories END-->
202 </repositories>
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +0300203
Areli, Fuss (af732p)f8b08ea2018-08-26 15:26:50 +0300204 <profiles>
205 <profile>
206 <id>docker</id>
207 <activation>
208 <activeByDefault>false</activeByDefault>
209 </activation>
210 <properties>
211 <fabric8.version>0.23.0</fabric8.version>
212 <docker.registry>nexus3.onap.org:10001</docker.registry>
213 <docker.username>docker</docker.username>
214 <docker.password>docker</docker.password>
215 <docker.namespace>onap</docker.namespace>
216 <docker.tag>${project.version}-${maven.build.timestamp}</docker.tag>
217 <docker.latest.tag>${project.version}-latest</docker.latest.tag>
218 <docker.staging.tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest</docker.staging.tag>
219 </properties>
220 <build>
221 <plugins>
222 <plugin>
223 <groupId>io.fabric8</groupId>
224 <artifactId>docker-maven-plugin</artifactId>
225 <version>${fabric8.version}</version>
226
227 <configuration>
228 <verbose>true</verbose>
229 <apiVersion>1.23</apiVersion>
230 <registry>${docker.registry}</registry>
231 <authConfig>
Areli, Fuss (af732p)160b6162018-08-26 16:47:06 +0300232 <pull>
233 <username>${docker.username}</username>
234 <password>${docker.password}</password>
235 </pull>
Areli, Fuss (af732p)f8b08ea2018-08-26 15:26:50 +0300236 </authConfig>
237 <images>
238 <!-- Build backend image -->
239 <image>
240 <name>${docker.namespace}/${project.artifactId}</name>
241 <alias>${project.artifactId}</alias>
242 <build>
243 <cleanup>try</cleanup>
244 <dockerFileDir>${project.basedir}</dockerFileDir>
245 <tags>
246 <tag>${docker.tag}</tag>
247 <tag>${docker.latest.tag}</tag>
248 <tag>${docker.staging.tag}</tag>
249 </tags>
250 </build>
251 </image>
252 </images>
253 </configuration>
254 <executions>
255 <execution>
256 <id>clean-images</id>
257 <phase>pre-clean</phase>
258 <goals>
259 <goal>remove</goal>
260 </goals>
261 <configuration>
262 <removeAll>true</removeAll>
263 </configuration>
264 </execution>
265 <execution>
266 <id>generate-images</id>
267 <phase>install</phase>
268 <goals>
269 <goal>build</goal>
270 </goals>
271 </execution>
272 <execution>
273 <id>push-images</id>
274 <phase>deploy</phase>
275 <goals>
276 <goal>push</goal>
277 </goals>
278 </execution>
279 </executions>
280 </plugin>
281 </plugins>
282 </build>
283 </profile>
284 </profiles>
285
Stone, Avi (as206k)a403bf32018-05-22 13:06:41 +0300286 <distributionManagement>
Areli, Fuss (af732p)f8b08ea2018-08-26 15:26:50 +0300287 <repository>
288 <id>ecomp-releases</id>
289 <name>Release Repository</name>
290 <url>${nexus.proxy}/content/repositories/releases/</url>
291 </repository>
292 <snapshotRepository>
293 <id>ecomp-snapshots</id>
294 <name>Snapshot Repository</name>
295 <url>${nexus.proxy}/content/repositories/snapshots/</url>
296 </snapshotRepository>
297 <site>
298 <id>ecomp-site</id>
299 <url>dav:${nexus.proxy}${sitePath}</url>
300 </site>
Stone, Avi (as206k)a403bf32018-05-22 13:06:41 +0300301 </distributionManagement>
Stone, Avi (as206k)7db40ac2018-05-21 14:57:57 +0300302
Stone, Avi (as206k)eaf57062018-04-12 15:57:26 +0300303</project>