9c559c68e471a0adbf8b3961f32723e5572d8e62
[dcaegen2/collectors/ves.git] / pom.xml
1 <!--\r
2 ================================================================================\r
3 Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.\r
4 Copyright (c) 2018 Nokia. All rights reserved.\r
5 ================================================================================\r
6 Licensed under the Apache License, Version 2.0 (the "License");\r
7 you may not use this file except in compliance with the License.\r
8 You may obtain a copy of the License at\r
9 \r
10     http://www.apache.org/licenses/LICENSE-2.0\r
11 \r
12 Unless required by applicable law or agreed to in writing, software\r
13 distributed under the License is distributed on an "AS IS" BASIS,\r
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
15 See the License for the specific language governing permissions and\r
16 limitations under the License.\r
17 ============LICENSE_END=========================================================\r
18 \r
19 -->\r
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
21   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
22     <modelVersion>4.0.0</modelVersion>\r
23 \r
24     <parent>\r
25         <groupId>org.onap.oparent</groupId>\r
26         <artifactId>oparent</artifactId>\r
27         <version>0.1.1</version>\r
28         <relativePath/>\r
29     </parent>\r
30 \r
31     <groupId>org.onap.dcaegen2.collectors.ves</groupId>\r
32     <artifactId>VESCollector</artifactId>\r
33     <version>1.3.0-SNAPSHOT</version>\r
34 \r
35     <name>dcaegen2-collectors-ves</name>\r
36     <description>VESCollector</description>\r
37 \r
38     <properties>\r
39         <main.basedir>${project.basedir}</main.basedir>\r
40 \r
41         <!-- CODE COMPILATION VERSIONS -->\r
42         <compiler.source.version>1.8</compiler.source.version>\r
43         <compiler.target.version>1.8</compiler.target.version>\r
44 \r
45         <!-- PLUGINS VERSIONS -->\r
46         <compiler.plugin.version>3.3</compiler.plugin.version>\r
47         <jar.plugin.version>2.4</jar.plugin.version>\r
48         <deploy.plugin.version>2.8</deploy.plugin.version>\r
49         <source.plugin.version>2.4</source.plugin.version>\r
50         <javadoc.plugin.version>2.10.4</javadoc.plugin.version>\r
51         <project.info.reports.plugin.version>2.6</project.info.reports.plugin.version>\r
52         <assembly.plugin.version>2.4.1</assembly.plugin.version>\r
53         <exec.plugin.version>1.2.1</exec.plugin.version>\r
54 \r
55         <!--TEST SETTINGS -->\r
56         <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>\r
57 \r
58         <!--PLUGIN SETTINGS -->\r
59         <dependency.locations.enabled>false</dependency.locations.enabled>\r
60 \r
61         <!-- NEXUS RELATED SETTINGS -->\r
62         <nexusproxy>https://nexus.onap.org</nexusproxy>\r
63         <snapshots.path>content/repositories/snapshots/</snapshots.path>\r
64         <releases.path>content/repositories/releases/</releases.path>\r
65         <site.path>content/sites/site/org/onap/dcaegen2/collectors/ves/${project.artifactId}/${project.version}\r
66         </site.path>\r
67     </properties>\r
68 \r
69     <build>\r
70         <pluginManagement>\r
71             <plugins>\r
72                 <plugin>\r
73                     <groupId>org.apache.maven.plugins</groupId>\r
74                     <artifactId>maven-compiler-plugin</artifactId>\r
75                     <version>${compiler.plugin.version}</version>\r
76                     <configuration>\r
77                         <source>${compiler.target.version}</source>\r
78                         <target>${compiler.source.version}</target>\r
79                     </configuration>\r
80                 </plugin>\r
81                 <plugin>\r
82                     <groupId>org.apache.maven.plugins</groupId>\r
83                     <artifactId>maven-source-plugin</artifactId>\r
84                     <version>${source.plugin.version}</version>\r
85                     <configuration>\r
86                         <excludeResources>true</excludeResources>\r
87                     </configuration>\r
88                     <executions>\r
89                         <execution>\r
90                             <id>attach-sources</id>\r
91                             <phase>verify</phase>\r
92                             <goals>\r
93                                 <goal>jar-no-fork</goal>\r
94                             </goals>\r
95                         </execution>\r
96                     </executions>\r
97                 </plugin>\r
98                 <plugin>\r
99                     <groupId>org.apache.maven.plugins</groupId>\r
100                     <artifactId>maven-jar-plugin</artifactId>\r
101                     <version>${jar.plugin.version}</version>\r
102                     <configuration>\r
103                         <archive>\r
104                             <manifest>\r
105                                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>\r
106                             </manifest>\r
107                             <manifestEntries>\r
108                                 <Implementation-Build-Version>${project.version}</Implementation-Build-Version>\r
109                             </manifestEntries>\r
110                         </archive>\r
111                     </configuration>\r
112                 </plugin>\r
113                 <plugin>\r
114                     <artifactId>maven-assembly-plugin</artifactId>\r
115                     <version>${assembly.plugin.version}</version>\r
116                     <configuration>\r
117                         <descriptors>\r
118                             <descriptor>src/assembly/dep.xml</descriptor>\r
119                         </descriptors>\r
120                     </configuration>\r
121                     <executions>\r
122                         <execution>\r
123                             <id>make-assembly</id> <!-- this is used for inheritance merges -->\r
124                             <phase>package</phase> <!-- bind to the packaging phase -->\r
125                             <goals>\r
126                                 <goal>single</goal>\r
127                             </goals>\r
128                         </execution>\r
129                     </executions>\r
130                 </plugin>\r
131                 <plugin>\r
132                     <groupId>org.apache.maven.plugins</groupId>\r
133                     <artifactId>maven-javadoc-plugin</artifactId>\r
134                     <version>${javadoc.plugin.version}</version>\r
135                     <configuration>\r
136                         <!-- minimize console output messages -->\r
137                         <quiet>true</quiet>\r
138                         <verbose>false</verbose>\r
139                         <useStandardDocletOptions>false</useStandardDocletOptions>\r
140                     </configuration>\r
141                     <executions>\r
142                         <execution>\r
143                             <id>aggregate</id>\r
144                             <phase>site</phase>\r
145                             <goals>\r
146                                 <goal>aggregate</goal>\r
147                             </goals>\r
148                         </execution>\r
149                         <execution>\r
150                             <id>attach-javadoc</id>\r
151                             <goals>\r
152                                 <goal>jar</goal>\r
153                             </goals>\r
154                         </execution>\r
155                     </executions>\r
156                 </plugin>\r
157                 <plugin>\r
158                     <groupId>org.codehaus.mojo</groupId>\r
159                     <artifactId>exec-maven-plugin</artifactId>\r
160                     <version>${exec.plugin.version}</version>\r
161                     <configuration>\r
162                         <executable>${session.executionRootDirectory}/mvn-phase-script.sh</executable>\r
163                         <environmentVariables>\r
164                             <!-- make mvn properties as env for our script -->\r
165                             <MVN_PROJECT_GROUPID>${project.groupId}</MVN_PROJECT_GROUPID>\r
166                             <MVN_PROJECT_ARTIFACTID>${project.artifactId}</MVN_PROJECT_ARTIFACTID>\r
167                             <MVN_PROJECT_VERSION>${project.version}</MVN_PROJECT_VERSION>\r
168                             <MVN_NEXUSPROXY>${onap.nexus.url}</MVN_NEXUSPROXY>\r
169                             <MVN_RAWREPO_BASEURL_UPLOAD>${onap.nexus.rawrepo.baseurl.upload}\r
170                             </MVN_RAWREPO_BASEURL_UPLOAD>\r
171                             <MVN_RAWREPO_BASEURL_DOWNLOAD>${onap.nexus.rawrepo.baseurl.download}\r
172                             </MVN_RAWREPO_BASEURL_DOWNLOAD>\r
173                             <MVN_RAWREPO_SERVERID>${onap.nexus.rawrepo.serverid}</MVN_RAWREPO_SERVERID>\r
174                             <MVN_DOCKERREGISTRY_DAILY>${onap.nexus.dockerregistry.daily}</MVN_DOCKERREGISTRY_DAILY>\r
175                             <MVN_DOCKERREGISTRY_RELEASE>${onap.nexus.dockerregistry.release}\r
176                             </MVN_DOCKERREGISTRY_RELEASE>\r
177                         </environmentVariables>\r
178                     </configuration>\r
179                 </plugin>\r
180             </plugins>\r
181         </pluginManagement>\r
182         <plugins>\r
183             <plugin>\r
184                 <groupId>org.apache.maven.plugins</groupId>\r
185                 <artifactId>maven-compiler-plugin</artifactId>\r
186             </plugin>\r
187             <plugin>\r
188                 <groupId>org.apache.maven.plugins</groupId>\r
189                 <artifactId>maven-jar-plugin</artifactId>\r
190             </plugin>\r
191             <plugin>\r
192                 <groupId>org.apache.maven.plugins</groupId>\r
193                 <artifactId>maven-source-plugin</artifactId>\r
194             </plugin>\r
195             <plugin>\r
196                 <groupId>org.apache.maven.plugins</groupId>\r
197                 <artifactId>maven-javadoc-plugin</artifactId>\r
198             </plugin>\r
199             <plugin>\r
200                 <artifactId>maven-assembly-plugin</artifactId>\r
201             </plugin>\r
202             <plugin>\r
203                 <groupId>org.codehaus.mojo</groupId>\r
204                 <artifactId>exec-maven-plugin</artifactId>\r
205                 <version>${exec.plugin.version}</version>\r
206                 <executions>\r
207                     <execution>\r
208                         <id>deploy script</id>\r
209                         <phase>deploy</phase>\r
210                         <goals>\r
211                             <goal>exec</goal>\r
212                         </goals>\r
213                         <configuration>\r
214                             <arguments>\r
215                                 <argument>__</argument>\r
216                                 <argument>deploy</argument>\r
217                             </arguments>\r
218                         </configuration>\r
219                     </execution>\r
220                     <execution>\r
221                         <id>install script</id>\r
222                         <phase>install</phase>\r
223                         <goals>\r
224                             <goal>exec</goal>\r
225                         </goals>\r
226                         <configuration>\r
227                             <arguments>\r
228                                 <argument>__</argument>\r
229                                 <argument>install</argument>\r
230                             </arguments>\r
231                         </configuration>\r
232                     </execution>\r
233                 </executions>\r
234             </plugin>\r
235         </plugins>\r
236     </build>\r
237 \r
238     <dependencyManagement>\r
239         <dependencies>\r
240             <dependency>\r
241                 <groupId>com.github.fge</groupId>\r
242                 <artifactId>json-schema-core</artifactId>\r
243                 <version>1.2.5</version>\r
244             </dependency>\r
245             <dependency>\r
246                 <groupId>javax.mail</groupId>\r
247                 <artifactId>mail</artifactId>\r
248                 <version>1.4.7</version>\r
249             </dependency>\r
250             <dependency>\r
251                 <groupId>commons-collections</groupId>\r
252                 <artifactId>commons-collections</artifactId>\r
253                 <version>3.2.2</version>\r
254             </dependency>\r
255             <dependency>\r
256                 <groupId>org.apache.httpcomponents</groupId>\r
257                 <artifactId>httpclient</artifactId>\r
258                 <version>4.5.3</version>\r
259             </dependency>\r
260             <dependency>\r
261                 <groupId>com.fasterxml.jackson.core</groupId>\r
262                 <artifactId>jackson-databind</artifactId>\r
263                 <version>2.8.11</version>\r
264             </dependency>\r
265         </dependencies>\r
266     </dependencyManagement>\r
267 \r
268     <dependencies>\r
269         <!-- JSON RELATED -->\r
270         <dependency>\r
271             <groupId>com.googlecode.json-simple</groupId>\r
272             <artifactId>json-simple</artifactId>\r
273             <version>1.1.1</version>\r
274         </dependency>\r
275         <dependency>\r
276             <groupId>com.github.fge</groupId>\r
277             <artifactId>json-schema-validator</artifactId>\r
278             <version>2.2.6</version>\r
279         </dependency>\r
280         <dependency>\r
281             <groupId>com.google.code.gson</groupId>\r
282             <artifactId>gson</artifactId>\r
283             <version>2.3.1</version>\r
284         </dependency>\r
285         <dependency>\r
286             <groupId>org.json</groupId>\r
287             <artifactId>json</artifactId>\r
288             <version>20160810</version>\r
289         </dependency>\r
290 \r
291         <!-- REST API EXPOSURE RELATED -->\r
292         <dependency>\r
293             <groupId>org.apache.tomcat.embed</groupId>\r
294             <artifactId>tomcat-embed-core</artifactId>\r
295             <version>8.5.23</version>\r
296         </dependency>\r
297         <dependency>\r
298             <groupId>org.apache.tomcat</groupId>\r
299             <artifactId>tomcat-catalina</artifactId>\r
300             <version>8.5.23</version>\r
301         </dependency>\r
302         <dependency>\r
303             <groupId>org.apache.tomcat</groupId>\r
304             <artifactId>tomcat-coyote</artifactId>\r
305             <version>8.5.23</version>\r
306         </dependency>\r
307         <dependency>\r
308             <groupId>com.att.nsa</groupId>\r
309             <artifactId>nsaServerLibrary</artifactId>\r
310             <version>1.0.10</version>\r
311         </dependency>\r
312 \r
313         <!-- LOGGING RELATED -->\r
314         <dependency>\r
315             <groupId>org.slf4j</groupId>\r
316             <artifactId>slf4j-log4j12</artifactId>\r
317             <version>1.7.21</version>\r
318         </dependency>\r
319         <dependency>\r
320             <groupId>log4j</groupId>\r
321             <artifactId>apache-log4j-extras</artifactId>\r
322             <version>1.2.17</version>\r
323         </dependency>\r
324 \r
325         <!-- MISCELLANEOUS -->\r
326         <dependency>\r
327             <groupId>commons-configuration</groupId>\r
328             <artifactId>commons-configuration</artifactId>\r
329             <version>1.10</version>\r
330         </dependency>\r
331         <dependency>\r
332             <groupId>com.google.guava</groupId>\r
333             <artifactId>guava</artifactId>\r
334             <version>18.0</version>\r
335         </dependency>\r
336 \r
337         <!-- TESTING -->\r
338         <dependency>\r
339             <groupId>org.mockito</groupId>\r
340             <artifactId>mockito-core</artifactId>\r
341             <version>2.18.0</version>\r
342             <scope>test</scope>\r
343         </dependency>\r
344         <dependency>\r
345             <groupId>org.assertj</groupId>\r
346             <artifactId>assertj-core</artifactId>\r
347             <version>3.8.0</version>\r
348             <scope>test</scope>\r
349         </dependency>\r
350     </dependencies>\r
351 \r
352     <reporting>\r
353         <plugins>\r
354             <plugin>\r
355                 <groupId>org.apache.maven.plugins</groupId>\r
356                 <artifactId>maven-project-info-reports-plugin</artifactId>\r
357                 <version>${project.info.reports.plugin.version}</version>\r
358                 <reportSets>\r
359                     <reportSet>\r
360                         <reports>\r
361                             <report>dependencies</report>\r
362                             <report>license</report>\r
363                         </reports>\r
364                     </reportSet>\r
365                 </reportSets>\r
366             </plugin>\r
367             <plugin>\r
368                 <groupId>org.apache.maven.plugins</groupId>\r
369                 <artifactId>maven-javadoc-plugin</artifactId>\r
370                 <version>${javadoc.plugin.version}</version>\r
371                 <configuration>\r
372                     <failOnError>false</failOnError>\r
373                     <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>\r
374                     <docletArtifact>\r
375                         <groupId>org.umlgraph</groupId>\r
376                         <artifactId>umlgraph</artifactId>\r
377                         <version>5.6</version>\r
378                     </docletArtifact>\r
379                     <additionalparam>-views</additionalparam>\r
380                     <useStandardDocletOptions>true</useStandardDocletOptions>\r
381                 </configuration>\r
382             </plugin>\r
383         </plugins>\r
384     </reporting>\r
385 \r
386     <repositories>\r
387         <repository>\r
388             <id>external-repository</id>\r
389             <url>https://oss.sonatype.org/content/repositories</url>\r
390         </repository>\r
391     </repositories>\r
392 \r
393     <pluginRepositories>\r
394         <!-- Black Duck plugin dependencies -->\r
395         <pluginRepository>\r
396             <id>JCenter</id>\r
397             <name>JCenter Repository</name>\r
398             <url>http://jcenter.bintray.com</url>\r
399         </pluginRepository>\r
400         <pluginRepository>\r
401             <id>Restlet</id>\r
402             <name>Restlet Repository</name>\r
403             <url>http://maven.restlet.com</url>\r
404         </pluginRepository>\r
405     </pluginRepositories>\r
406 \r
407 </project>\r