blob: a10c7ac5cc7d88a6d2b5fd03987a36ec5bf209cf [file] [log] [blame]
Michael Lando4e33d892017-02-15 16:02:49 +02001<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>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03004
Yuli Shlosberge8d8a372018-03-07 16:29:57 +02005 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03006 <artifactId>sdc-main-distribution-client</artifactId>
Tomasz Golabek75b56362019-09-06 13:03:59 +02007 <version>1.4.1-SNAPSHOT</version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03008 <packaging>pom</packaging>
Pavel Aharoni4b3a36e2017-11-21 18:09:33 +02009 <name>sdc-sdc-distribution-client</name>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030010
Bartosz Gardziejewski19c8bdc2019-07-10 10:37:26 +020011 <parent>
12 <groupId>org.onap.oparent</groupId>
13 <artifactId>oparent</artifactId>
14 <version>2.0.0</version>
15 <relativePath/>
16 </parent>
17
Pavel Aharonie2cc2532017-03-29 13:35:45 +030018 <modules>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030019 <module>sdc-distribution-client</module>
Michael Shitrit7712aeb2017-12-12 08:51:19 +020020 <!-- <module>sdc-distribution-ci</module> -->
Pavel Aharonie2cc2532017-03-29 13:35:45 +030021 </modules>
22
23 <properties>
24
25 <!-- ==================== -->
26 <!-- Generic properties -->
27 <!-- ==================== -->
28 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29
30 <!-- ==================== -->
31 <!-- Versions -->
32 <!-- ==================== -->
33 <!-- Global project version -->
34
35 <!-- Dependencies projects version -->
36 <org.glassfish.jersey.version>2.24</org.glassfish.jersey.version>
37 <functionaljava.version>4.2</functionaljava.version>
Tal Gitelman0de45de2018-01-16 17:33:43 +020038 <httpclient.version>4.5.4</httpclient.version>
Michael Lando4e33d892017-02-15 16:02:49 +020039 <httpcore.version>4.4.1</httpcore.version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030040 <logback.version>1.1.2</logback.version>
41 <junit.version>4.12</junit.version>
Michael Lando4e33d892017-02-15 16:02:49 +020042 <snakeyaml.version>1.14</snakeyaml.version>
Pavel Aharoni7f05e4e2017-05-14 17:56:49 +030043 <guava.version>21.0</guava.version>
Piotr Daroszeb472362019-06-12 07:38:19 +020044 <jetty.version>9.4.18.v20190429</jetty.version>
Tomasz Golabek59d971d2019-09-05 10:35:58 +020045 <bean-matchers.version>0.11</bean-matchers.version>
Pavel Aharoni7f05e4e2017-05-14 17:56:49 +030046
ig6133fe9130c2017-04-04 14:43:03 +030047 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
Yuli Shlosberge8d8a372018-03-07 16:29:57 +020048 <sitePath>/content/sites/site/org/onap/sdc/sdc-distribution-client/${project.version}</sitePath>
Pavel Aharoni1df0b722017-04-03 10:06:16 +030049 <snapshots.path>snapshots</snapshots.path>
50 <releases.path>releases</releases.path>
Yuli Shlosberg2f956472017-11-07 17:14:33 +020051 <!-- Sonar properties -->
Ofir Sonsino0aae60b2020-02-16 17:54:44 +020052 <sonar.coverage.jacoco.xmlReportPaths>
53 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
54 </sonar.coverage.jacoco.xmlReportPaths>
Yuli Shlosberg2f956472017-11-07 17:14:33 +020055 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
56 <sonar.skipDesign>true</sonar.skipDesign>
57 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
58 <sonar.sources>.</sonar.sources>
59 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
60 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
61 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
62 <sonar.branch>${project.version}</sonar.branch>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030063
Michael Lando4e33d892017-02-15 16:02:49 +020064 </properties>
Michael Lando4e33d892017-02-15 16:02:49 +020065 <reporting>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-javadoc-plugin</artifactId>
70 <version>2.10.4</version>
71 <configuration>
72 <failOnError>false</failOnError>
73 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
74 <docletArtifact>
75 <groupId>org.umlgraph</groupId>
76 <artifactId>umlgraph</artifactId>
77 <version>5.6</version>
78 </docletArtifact>
79 <additionalparam>-views</additionalparam>
80 <useStandardDocletOptions>true</useStandardDocletOptions>
81 </configuration>
82 </plugin>
83 </plugins>
84 </reporting>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030085
Michael Lando4e33d892017-02-15 16:02:49 +020086 <build>
87 <plugins>
88 <plugin>
Bartosz Gardziejewski19c8bdc2019-07-10 10:37:26 +020089 <artifactId>maven-checkstyle-plugin</artifactId>
90 <version>2.17</version>
91 <configuration>
92 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
93 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
94 </configuration>
95 </plugin>
96 <plugin>
Michael Lando4e33d892017-02-15 16:02:49 +020097 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-site-plugin</artifactId>
99 <version>3.4</version>
100 <dependencies>
101 <dependency>
102 <groupId>org.apache.maven.wagon</groupId>
103 <artifactId>wagon-webdav-jackrabbit</artifactId>
104 <version>2.10</version>
105 </dependency>
106 </dependencies>
107 </plugin>
108
109 <plugin>
110 <groupId>org.jacoco</groupId>
111 <artifactId>jacoco-maven-plugin</artifactId>
112 <version>0.7.8</version>
113 <executions>
114 <!-- Unit-Tests -->
115 <execution>
116 <id>prepare-agent</id>
117 <goals>
118 <goal>prepare-agent</goal>
119 </goals>
120 <configuration>
121 <destFile>${sonar.jacoco.reportPath}</destFile>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300126
127 <plugin>
128 <groupId>org.apache.maven.plugins</groupId>
129 <artifactId>maven-surefire-plugin</artifactId>
130 <version>2.19.1</version>
131 <configuration>
132 <argLine>${argLine} -Xmx2048m</argLine>
133 </configuration>
134 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-compiler-plugin</artifactId>
139 <version>2.5.1</version>
140 <inherited>true</inherited>
141 <configuration>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300142 <source>1.8</source>
143 <target>1.8</target>
Michael Lando4e33d892017-02-15 16:02:49 +0200144 </configuration>
145 </plugin>
146 <plugin>
147 <groupId>org.apache.maven.plugins</groupId>
148 <artifactId>maven-javadoc-plugin</artifactId>
149 <version>2.10.3</version>
150 <configuration/>
Idan Amit3c2636c2017-11-07 18:07:30 +0200151 </plugin>
Yuli Shlosberg2f956472017-11-07 17:14:33 +0200152 <plugin>
153 <groupId>org.sonarsource.scanner.maven</groupId>
154 <artifactId>sonar-maven-plugin</artifactId>
155 <version>3.0.2</version>
156 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200157 </plugins>
158 </build>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300159
ml636r054e5672017-02-15 18:36:14 +0200160 <repositories>
161 <repository>
162 <id>central</id>
163 <name>Official Maven repository</name>
164 <url>http://repo2.maven.org/maven2/</url>
165 </repository>
166 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200167 <id>onap-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200168 <name>Release Repository</name>
169 <url>${nexus.proxy}/content/repositories/releases/</url>
170 </repository>
171 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200172 <id>onap-snapshots</id>
Pavel Aharoni4b3a36e2017-11-21 18:09:33 +0200173 <name>Snapshots Repository</name>
174 <url>${nexus.proxy}/content/repositories/snapshots/</url>
175 </repository>
ml636r054e5672017-02-15 18:36:14 +0200176 </repositories>
Michael Lando4e33d892017-02-15 16:02:49 +0200177
ml636r054e5672017-02-15 18:36:14 +0200178 <distributionManagement>
179 <repository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300180 <id>ecomp-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200181 <name>Release Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300182 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200183 </repository>
184 <snapshotRepository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300185 <id>ecomp-snapshots</id>
ml636r054e5672017-02-15 18:36:14 +0200186 <name>Snapshot Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300187 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200188 </snapshotRepository>
ig6133fe9130c2017-04-04 14:43:03 +0300189 <site>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200190 <id>onap-site</id>
ig6133fe9130c2017-04-04 14:43:03 +0300191 <url>dav:${nexus.proxy}${sitePath}</url>
192 </site>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300193 </distributionManagement>
Michael Lando4e33d892017-02-15 16:02:49 +0200194
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300195
Michael Lando4e33d892017-02-15 16:02:49 +0200196</project>
ml636re5855182017-02-23 14:46:45 +0200197