blob: 52add6d4b8b2878aeb3b8a76b58a10b08844f417 [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>
36 <functionaljava.version>4.2</functionaljava.version>
Tal Gitelman0de45de2018-01-16 17:33:43 +020037 <httpclient.version>4.5.4</httpclient.version>
Michael Lando4e33d892017-02-15 16:02:49 +020038 <httpcore.version>4.4.1</httpcore.version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030039 <logback.version>1.1.2</logback.version>
40 <junit.version>4.12</junit.version>
Michael Lando4e33d892017-02-15 16:02:49 +020041 <snakeyaml.version>1.14</snakeyaml.version>
Pavel Aharoni7f05e4e2017-05-14 17:56:49 +030042 <guava.version>21.0</guava.version>
Piotr Daroszeb472362019-06-12 07:38:19 +020043 <jetty.version>9.4.18.v20190429</jetty.version>
Tomasz Golabek59d971d2019-09-05 10:35:58 +020044 <bean-matchers.version>0.11</bean-matchers.version>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010045
ig6133fe9130c2017-04-04 14:43:03 +030046 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
Yuli Shlosberge8d8a372018-03-07 16:29:57 +020047 <sitePath>/content/sites/site/org/onap/sdc/sdc-distribution-client/${project.version}</sitePath>
Pavel Aharoni1df0b722017-04-03 10:06:16 +030048 <snapshots.path>snapshots</snapshots.path>
49 <releases.path>releases</releases.path>
Yuli Shlosberg2f956472017-11-07 17:14:33 +020050 <!-- Sonar properties -->
Ofir Sonsino0aae60b2020-02-16 17:54:44 +020051 <sonar.coverage.jacoco.xmlReportPaths>
52 ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
53 </sonar.coverage.jacoco.xmlReportPaths>
Yuli Shlosberg2f956472017-11-07 17:14:33 +020054 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
55 <sonar.skipDesign>true</sonar.skipDesign>
56 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
57 <sonar.sources>.</sonar.sources>
58 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
59 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
60 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
61 <sonar.branch>${project.version}</sonar.branch>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010062
Michael Lando4e33d892017-02-15 16:02:49 +020063 </properties>
Michael Lando4e33d892017-02-15 16:02:49 +020064 <reporting>
65 <plugins>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-javadoc-plugin</artifactId>
69 <version>2.10.4</version>
70 <configuration>
71 <failOnError>false</failOnError>
72 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
73 <docletArtifact>
74 <groupId>org.umlgraph</groupId>
75 <artifactId>umlgraph</artifactId>
76 <version>5.6</version>
77 </docletArtifact>
78 <additionalparam>-views</additionalparam>
79 <useStandardDocletOptions>true</useStandardDocletOptions>
80 </configuration>
81 </plugin>
82 </plugins>
83 </reporting>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +010084
Michael Lando4e33d892017-02-15 16:02:49 +020085 <build>
86 <plugins>
87 <plugin>
Bartosz Gardziejewski19c8bdc2019-07-10 10:37:26 +020088 <artifactId>maven-checkstyle-plugin</artifactId>
89 <version>2.17</version>
90 <configuration>
91 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
92 <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
93 </configuration>
94 </plugin>
95 <plugin>
Michael Lando4e33d892017-02-15 16:02:49 +020096 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-site-plugin</artifactId>
98 <version>3.4</version>
99 <dependencies>
100 <dependency>
101 <groupId>org.apache.maven.wagon</groupId>
102 <artifactId>wagon-webdav-jackrabbit</artifactId>
103 <version>2.10</version>
104 </dependency>
105 </dependencies>
106 </plugin>
107
108 <plugin>
109 <groupId>org.jacoco</groupId>
110 <artifactId>jacoco-maven-plugin</artifactId>
111 <version>0.7.8</version>
112 <executions>
113 <!-- Unit-Tests -->
114 <execution>
115 <id>prepare-agent</id>
116 <goals>
117 <goal>prepare-agent</goal>
118 </goals>
119 <configuration>
120 <destFile>${sonar.jacoco.reportPath}</destFile>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100125
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-surefire-plugin</artifactId>
129 <version>2.19.1</version>
130 <configuration>
131 <argLine>${argLine} -Xmx2048m</argLine>
132 </configuration>
133 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200134
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-compiler-plugin</artifactId>
138 <version>2.5.1</version>
139 <inherited>true</inherited>
140 <configuration>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300141 <source>1.8</source>
142 <target>1.8</target>
Michael Lando4e33d892017-02-15 16:02:49 +0200143 </configuration>
144 </plugin>
145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-javadoc-plugin</artifactId>
148 <version>2.10.3</version>
149 <configuration/>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100150 </plugin>
Yuli Shlosberg2f956472017-11-07 17:14:33 +0200151 <plugin>
152 <groupId>org.sonarsource.scanner.maven</groupId>
153 <artifactId>sonar-maven-plugin</artifactId>
154 <version>3.0.2</version>
155 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200156 </plugins>
157 </build>
Bogumil Zebekf9ff1602020-11-24 12:56:32 +0100158
ml636r054e5672017-02-15 18:36:14 +0200159 <repositories>
160 <repository>
161 <id>central</id>
162 <name>Official Maven repository</name>
163 <url>http://repo2.maven.org/maven2/</url>
164 </repository>
165 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200166 <id>onap-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200167 <name>Release Repository</name>
168 <url>${nexus.proxy}/content/repositories/releases/</url>
169 </repository>
170 <repository>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200171 <id>onap-snapshots</id>
Pavel Aharoni4b3a36e2017-11-21 18:09:33 +0200172 <name>Snapshots Repository</name>
173 <url>${nexus.proxy}/content/repositories/snapshots/</url>
174 </repository>
ml636r054e5672017-02-15 18:36:14 +0200175 </repositories>
Michael Lando4e33d892017-02-15 16:02:49 +0200176
ml636r054e5672017-02-15 18:36:14 +0200177 <distributionManagement>
178 <repository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300179 <id>ecomp-releases</id>
ml636r054e5672017-02-15 18:36:14 +0200180 <name>Release Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300181 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200182 </repository>
183 <snapshotRepository>
Ofir Sonsino89d3a6c2019-09-01 15:06:16 +0300184 <id>ecomp-snapshots</id>
ml636r054e5672017-02-15 18:36:14 +0200185 <name>Snapshot Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300186 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200187 </snapshotRepository>
ig6133fe9130c2017-04-04 14:43:03 +0300188 <site>
Yuli Shlosberg6ef26b42017-12-31 16:57:31 +0200189 <id>onap-site</id>
ig6133fe9130c2017-04-04 14:43:03 +0300190 <url>dav:${nexus.proxy}${sitePath}</url>
191 </site>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300192 </distributionManagement>
Michael Lando4e33d892017-02-15 16:02:49 +0200193
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300194
Michael Lando4e33d892017-02-15 16:02:49 +0200195</project>
ml636re5855182017-02-23 14:46:45 +0200196