blob: 69b6dce9fc2b286bc7a6e7488f596b4da199bc4f [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>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030020 </modules>
21
22 <properties>
23
24 <!-- ==================== -->
25 <!-- Generic properties -->
26 <!-- ==================== -->
27 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28
29 <!-- ==================== -->
30 <!-- Versions -->
31 <!-- ==================== -->
32 <!-- Global project version -->
33
34 <!-- Dependencies projects version -->
35 <org.glassfish.jersey.version>2.24</org.glassfish.jersey.version>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010036 <functionaljava.version>4.8</functionaljava.version>
37 <httpclient.version>4.5.13</httpclient.version>
38 <httpcore.version>4.4.14</httpcore.version>
39 <logback.version>1.2.3</logback.version>
Bogumil Zebek64079b22020-12-16 09:35:11 +010040 <junit.version>5.7.0</junit.version>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010041 <snakeyaml.version>1.27</snakeyaml.version>
42 <guava.version>30.0-jre</guava.version>
43 <jetty.version>9.4.35.v20201120</jetty.version>
44 <bean-matchers.version>0.12</bean-matchers.version>
45 <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010046
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>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010063
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010064 <umlgraph.version>5.6.6</umlgraph.version>
65 <maven-site-plugin.version>3.9.1</maven-site-plugin.version>
66 <wagon-webdav-jackrabbit.version>3.4.2</wagon-webdav-jackrabbit.version>
67 <jacoco-maven-plugin.version>0.8.6</jacoco-maven-plugin.version>
68 <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
69 <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
70 <maven-compiler-plugin.source>11</maven-compiler-plugin.source>
71 <maven-compiler-plugin.target>11</maven-compiler-plugin.target>
72 <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
Michael Lando4e33d892017-02-15 16:02:49 +020073 </properties>
Michael Lando4e33d892017-02-15 16:02:49 +020074 <reporting>
75 <plugins>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-javadoc-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010079 <version>${maven-javadoc-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +020080 <configuration>
81 <failOnError>false</failOnError>
82 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
83 <docletArtifact>
84 <groupId>org.umlgraph</groupId>
85 <artifactId>umlgraph</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +010086 <version>${umlgraph.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +020087 </docletArtifact>
88 <additionalparam>-views</additionalparam>
89 <useStandardDocletOptions>true</useStandardDocletOptions>
90 </configuration>
91 </plugin>
92 </plugins>
93 </reporting>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010094
Michael Lando4e33d892017-02-15 16:02:49 +020095 <build>
96 <plugins>
97 <plugin>
Bartosz Gardziejewski19c8bdc2019-07-10 10:37:26 +020098 <artifactId>maven-checkstyle-plugin</artifactId>
99 <version>2.17</version>
100 <configuration>
101 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
102 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
103 </configuration>
104 </plugin>
105 <plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-site-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100108 <version>${maven-site-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200109 <dependencies>
110 <dependency>
111 <groupId>org.apache.maven.wagon</groupId>
112 <artifactId>wagon-webdav-jackrabbit</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100113 <version>${wagon-webdav-jackrabbit.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200114 </dependency>
115 </dependencies>
116 </plugin>
117
118 <plugin>
119 <groupId>org.jacoco</groupId>
120 <artifactId>jacoco-maven-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100121 <version>${jacoco-maven-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200122 <executions>
123 <!-- Unit-Tests -->
124 <execution>
125 <id>prepare-agent</id>
126 <goals>
127 <goal>prepare-agent</goal>
128 </goals>
129 <configuration>
130 <destFile>${sonar.jacoco.reportPath}</destFile>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100135
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-surefire-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100139 <version>${maven-surefire-plugin.version}</version>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300140 <configuration>
141 <argLine>${argLine} -Xmx2048m</argLine>
142 </configuration>
143 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200144
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-compiler-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100148 <version>${maven-compiler-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200149 <inherited>true</inherited>
150 <configuration>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100151 <source>${maven-compiler-plugin.source}</source>
152 <target>${maven-compiler-plugin.target}</target>
Michael Lando4e33d892017-02-15 16:02:49 +0200153 </configuration>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-javadoc-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100158 <version>${maven-javadoc-plugin.version}</version>
Michael Lando4e33d892017-02-15 16:02:49 +0200159 <configuration/>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100160 </plugin>
Yuli Shlosberg2f956472017-11-07 17:14:33 +0200161 <plugin>
162 <groupId>org.sonarsource.scanner.maven</groupId>
163 <artifactId>sonar-maven-plugin</artifactId>
Edyta Krukowska92dd0f72020-12-08 13:06:50 +0100164 <version>${sonar-maven-plugin.version}</version>
Yuli Shlosberg2f956472017-11-07 17:14:33 +0200165 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200166 </plugins>
167 </build>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100168
ml636r054e5672017-02-15 18:36:14 +0200169 <repositories>
170 <repository>
171 <id>central</id>
172 <name>Official Maven repository</name>
173 <url>http://repo2.maven.org/maven2/</url>
174 </repository>
175 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200176 <id>onap-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200177 <name>Release Repository</name>
178 <url>${nexus.proxy}/content/repositories/releases/</url>
179 </repository>
180 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200181 <id>onap-snapshots</id>
Pavel Aharoni4b3a36e2017-11-21 18:09:33 +0200182 <name>Snapshots Repository</name>
183 <url>${nexus.proxy}/content/repositories/snapshots/</url>
184 </repository>
ml636r054e5672017-02-15 18:36:14 +0200185 </repositories>
Michael Lando4e33d892017-02-15 16:02:49 +0200186
ml636r054e5672017-02-15 18:36:14 +0200187 <distributionManagement>
188 <repository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300189 <id>ecomp-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200190 <name>Release Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300191 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200192 </repository>
193 <snapshotRepository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300194 <id>ecomp-snapshots</id>
ml636r054e5672017-02-15 18:36:14 +0200195 <name>Snapshot Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300196 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200197 </snapshotRepository>
ig6133fe9130c2017-04-04 14:43:03 +0300198 <site>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200199 <id>onap-site</id>
ig6133fe9130c2017-04-04 14:43:03 +0300200 <url>dav:${nexus.proxy}${sitePath}</url>
201 </site>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300202 </distributionManagement>
Michael Lando4e33d892017-02-15 16:02:49 +0200203
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300204
Michael Lando4e33d892017-02-15 16:02:49 +0200205</project>
ml636re5855182017-02-23 14:46:45 +0200206