blob: 03adb49500509490e00a7ec1abcfe4ed782227d2 [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>
ash742688b066922021-06-24 09:15:07 -05007 <version>1.4.4-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
Edyta Krukowska26c62382020-12-15 13:45:37 +010018 <modules>
19 <module>sdc-distribution-client</module>
20 <module>sdc-distribution-ci</module>
21 </modules>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030022
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>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010037 <functionaljava.version>4.8</functionaljava.version>
38 <httpclient.version>4.5.13</httpclient.version>
39 <httpcore.version>4.4.14</httpcore.version>
40 <logback.version>1.2.3</logback.version>
Bogumil Zebek64079b22020-12-16 09:35:11 +010041 <junit.version>5.7.0</junit.version>
ChrisC03f068a2021-05-04 10:08:00 +020042 <snakeyaml.version>1.28</snakeyaml.version>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010043 <guava.version>30.0-jre</guava.version>
44 <jetty.version>9.4.35.v20201120</jetty.version>
45 <bean-matchers.version>0.12</bean-matchers.version>
46 <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010047
ig6133fe9130c2017-04-04 14:43:03 +030048 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
Yuli Shlosberge8d8a372018-03-07 16:29:57 +020049 <sitePath>/content/sites/site/org/onap/sdc/sdc-distribution-client/${project.version}</sitePath>
Pavel Aharoni1df0b722017-04-03 10:06:16 +030050 <snapshots.path>snapshots</snapshots.path>
51 <releases.path>releases</releases.path>
Yuli Shlosberg2f956472017-11-07 17:14:33 +020052 <!-- Sonar properties -->
Ofir Sonsino0aae60b2020-02-16 17:54:44 +020053 <sonar.coverage.jacoco.xmlReportPaths>
54 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
55 </sonar.coverage.jacoco.xmlReportPaths>
Yuli Shlosberg2f956472017-11-07 17:14:33 +020056 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
57 <sonar.skipDesign>true</sonar.skipDesign>
58 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
59 <sonar.sources>.</sonar.sources>
60 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
61 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
62 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
63 <sonar.branch>${project.version}</sonar.branch>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010064
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010065 <umlgraph.version>5.6.6</umlgraph.version>
66 <maven-site-plugin.version>3.9.1</maven-site-plugin.version>
67 <wagon-webdav-jackrabbit.version>3.4.2</wagon-webdav-jackrabbit.version>
68 <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
69 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
70 <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
71 <maven-compiler-plugin.source>11</maven-compiler-plugin.source>
72 <maven-compiler-plugin.target>11</maven-compiler-plugin.target>
73 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
Michael Lando4e33d892017-02-15 16:02:49 +020074 </properties>
Edyta Krukowska26c62382020-12-15 13:45:37 +010075
76 <profiles>
77 <profile>
78 <id>default</id>
79 <activation>
80 <activeByDefault>true</activeByDefault>
81 </activation>
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-surefire-plugin</artifactId>
87 <configuration>
88 <excludes>
89 <exclude>org.onap.test.core.service.ClientInitializerTest</exclude>
90 </excludes>
91 </configuration>
92 </plugin>
93 </plugins>
94 </build>
95 </profile>
96 <profile>
97 <id>integration-pairwise</id>
98 <build>
99 <plugins>
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-surefire-plugin</artifactId>
103 <configuration>
104
105 </configuration>
106 </plugin>
107 </plugins>
108 </build>
109 </profile>
110 </profiles>
111
Michael Lando4e33d892017-02-15 16:02:49 +0200112 <reporting>
113 <plugins>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-javadoc-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100117 <version>${maven-javadoc-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200118 <configuration>
119 <failOnError>false</failOnError>
120 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
121 <docletArtifact>
122 <groupId>org.umlgraph</groupId>
123 <artifactId>umlgraph</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100124 <version>${umlgraph.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200125 </docletArtifact>
126 <additionalparam>-views</additionalparam>
127 <useStandardDocletOptions>true</useStandardDocletOptions>
128 </configuration>
129 </plugin>
130 </plugins>
131 </reporting>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100132
Michael Lando4e33d892017-02-15 16:02:49 +0200133 <build>
134 <plugins>
135 <plugin>
Bartosz Gardziejewski19c8bdc2019-07-10 10:37:26 +0200136 <artifactId>maven-checkstyle-plugin</artifactId>
137 <version>2.17</version>
138 <configuration>
139 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
140 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
141 </configuration>
142 </plugin>
143 <plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-site-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100146 <version>${maven-site-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200147 <dependencies>
148 <dependency>
149 <groupId>org.apache.maven.wagon</groupId>
150 <artifactId>wagon-webdav-jackrabbit</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100151 <version>${wagon-webdav-jackrabbit.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200152 </dependency>
153 </dependencies>
154 </plugin>
155
156 <plugin>
157 <groupId>org.jacoco</groupId>
158 <artifactId>jacoco-maven-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100159 <version>${jacoco-maven-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200160 <executions>
161 <!-- Unit-Tests -->
162 <execution>
163 <id>prepare-agent</id>
164 <goals>
165 <goal>prepare-agent</goal>
166 </goals>
167 <configuration>
168 <destFile>${sonar.jacoco.reportPath}</destFile>
169 </configuration>
170 </execution>
171 </executions>
172 </plugin>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100173
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
Michael Lando4e33d892017-02-15 16:02:49 +0200176 <artifactId>maven-compiler-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100177 <version>${maven-compiler-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200178 <inherited>true</inherited>
179 <configuration>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100180 <source>${maven-compiler-plugin.source}</source>
181 <target>${maven-compiler-plugin.target}</target>
Michael Lando4e33d892017-02-15 16:02:49 +0200182 </configuration>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-javadoc-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100187 <version>${maven-javadoc-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200188 <configuration/>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100189 </plugin>
Yuli Shlosberg2f956472017-11-07 17:14:33 +0200190 <plugin>
191 <groupId>org.sonarsource.scanner.maven</groupId>
192 <artifactId>sonar-maven-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100193 <version>${sonar-maven-plugin.version}</version>
Yuli Shlosberg2f956472017-11-07 17:14:33 +0200194 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200195 </plugins>
196 </build>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100197
ml636r054e5672017-02-15 18:36:14 +0200198 <repositories>
199 <repository>
200 <id>central</id>
201 <name>Official Maven repository</name>
202 <url>http://repo2.maven.org/maven2/</url>
203 </repository>
204 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200205 <id>onap-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200206 <name>Release Repository</name>
207 <url>${nexus.proxy}/content/repositories/releases/</url>
208 </repository>
209 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200210 <id>onap-snapshots</id>
Pavel Aharoni4b3a36e2017-11-21 18:09:33 +0200211 <name>Snapshots Repository</name>
212 <url>${nexus.proxy}/content/repositories/snapshots/</url>
213 </repository>
ml636r054e5672017-02-15 18:36:14 +0200214 </repositories>
Michael Lando4e33d892017-02-15 16:02:49 +0200215
ml636r054e5672017-02-15 18:36:14 +0200216 <distributionManagement>
217 <repository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300218 <id>ecomp-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200219 <name>Release Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300220 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200221 </repository>
222 <snapshotRepository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300223 <id>ecomp-snapshots</id>
ml636r054e5672017-02-15 18:36:14 +0200224 <name>Snapshot Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300225 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200226 </snapshotRepository>
ig6133fe9130c2017-04-04 14:43:03 +0300227 <site>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200228 <id>onap-site</id>
ig6133fe9130c2017-04-04 14:43:03 +0300229 <url>dav:${nexus.proxy}${sitePath}</url>
230 </site>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300231 </distributionManagement>
Michael Lando4e33d892017-02-15 16:02:49 +0200232
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300233
Michael Lando4e33d892017-02-15 16:02:49 +0200234</project>
ml636re5855182017-02-23 14:46:45 +0200235