blob: b24309629f0cc353feef21c4f39ad8104307caba [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
Pavel Aharonib90a1412017-03-29 14:27:51 +03005 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03006 <artifactId>sdc-main-distribution-client</artifactId>
Pavel Aharoni5e126dc2017-06-19 18:51:16 +03007 <version>1.1.32-SNAPSHOT</version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03008 <packaging>pom</packaging>
Michael Lando3a0f5b92017-09-28 02:52:08 +03009 <name>sdc-sdc-distribution-client</name>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030010
11 <modules>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030012 <module>sdc-distribution-client</module>
13 <module>sdc-distribution-ci</module>
14 </modules>
15
16 <properties>
17
18 <!-- ==================== -->
19 <!-- Generic properties -->
20 <!-- ==================== -->
21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
22
23 <!-- ==================== -->
24 <!-- Versions -->
25 <!-- ==================== -->
26 <!-- Global project version -->
27
28 <!-- Dependencies projects version -->
29 <org.glassfish.jersey.version>2.24</org.glassfish.jersey.version>
30 <functionaljava.version>4.2</functionaljava.version>
31 <httpclient.version>4.4.1</httpclient.version>
Michael Lando4e33d892017-02-15 16:02:49 +020032 <httpcore.version>4.4.1</httpcore.version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030033 <logback.version>1.1.2</logback.version>
34 <junit.version>4.12</junit.version>
Michael Lando4e33d892017-02-15 16:02:49 +020035 <snakeyaml.version>1.14</snakeyaml.version>
Pavel Aharoni7f05e4e2017-05-14 17:56:49 +030036 <guava.version>21.0</guava.version>
37
Pavel Aharonie2cc2532017-03-29 13:35:45 +030038
Michael Lando885ae102017-12-06 20:10:06 +020039 <!--<sonar.skipDesign>true</sonar.skipDesign>-->
40 <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>-->
ml636re5855182017-02-23 14:46:45 +020041 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
ig6133fe9130c2017-04-04 14:43:03 +030042 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
ig61336e743142017-04-06 16:46:13 +030043 <sitePath>/content/sites/site/org/openecomp/sdc/sdc-distribution-client/${project.version}</sitePath>
Pavel Aharoni1df0b722017-04-03 10:06:16 +030044 <snapshots.path>snapshots</snapshots.path>
45 <releases.path>releases</releases.path>
ml636re5855182017-02-23 14:46:45 +020046 <staging.profile.id>176c31dfe190a</staging.profile.id>
Michael Lando885ae102017-12-06 20:10:06 +020047 <!-- Sonar properties -->
48 <sonar.sourceEncoding>${project.build.sourceEncoding}</sonar.sourceEncoding>
49 <sonar.skipDesign>true</sonar.skipDesign>
50 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
51 <sonar.sources>.</sonar.sources>
52 <sonar.exclusions>**/scripts/**/*</sonar.exclusions>
53 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
54 <sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
55 <sonar.branch>${project.version}</sonar.branch>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030056
Michael Lando4e33d892017-02-15 16:02:49 +020057 </properties>
Michael Lando4e33d892017-02-15 16:02:49 +020058 <reporting>
59 <plugins>
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-javadoc-plugin</artifactId>
63 <version>2.10.4</version>
64 <configuration>
65 <failOnError>false</failOnError>
66 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
67 <docletArtifact>
68 <groupId>org.umlgraph</groupId>
69 <artifactId>umlgraph</artifactId>
70 <version>5.6</version>
71 </docletArtifact>
72 <additionalparam>-views</additionalparam>
73 <useStandardDocletOptions>true</useStandardDocletOptions>
74 </configuration>
75 </plugin>
76 </plugins>
77 </reporting>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030078
Michael Lando4e33d892017-02-15 16:02:49 +020079 <build>
80 <plugins>
81 <plugin>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-site-plugin</artifactId>
84 <version>3.4</version>
85 <dependencies>
86 <dependency>
87 <groupId>org.apache.maven.wagon</groupId>
88 <artifactId>wagon-webdav-jackrabbit</artifactId>
89 <version>2.10</version>
90 </dependency>
91 </dependencies>
92 </plugin>
93
94 <plugin>
95 <groupId>org.jacoco</groupId>
96 <artifactId>jacoco-maven-plugin</artifactId>
97 <version>0.7.8</version>
98 <executions>
99 <!-- Unit-Tests -->
100 <execution>
101 <id>prepare-agent</id>
102 <goals>
103 <goal>prepare-agent</goal>
104 </goals>
105 <configuration>
106 <destFile>${sonar.jacoco.reportPath}</destFile>
107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
111
ml636re5855182017-02-23 14:46:45 +0200112 <!-- Staging Plugin -->
113 <plugin>
114 <groupId>org.sonatype.plugins</groupId>
115 <artifactId>nexus-staging-maven-plugin</artifactId>
116 <version>1.6.7</version>
117 <extensions>true</extensions>
118 <configuration>
119 <nexusUrl>${nexus.proxy}</nexusUrl>
120 <stagingProfileId>${staging.profile.id}</stagingProfileId>
121 <serverId>ecomp-staging</serverId>
122 </configuration>
123 </plugin>
124
Michael Lando4e33d892017-02-15 16:02:49 +0200125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-compiler-plugin</artifactId>
128 <version>2.5.1</version>
129 <inherited>true</inherited>
130 <configuration>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300131 <source>1.8</source>
132 <target>1.8</target>
Michael Lando4e33d892017-02-15 16:02:49 +0200133 </configuration>
134 </plugin>
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-javadoc-plugin</artifactId>
138 <version>2.10.3</version>
139 <configuration/>
140 </plugin>
141 <plugin>
142 <groupId>org.codehaus.mojo</groupId>
143 <artifactId>license-maven-plugin</artifactId>
144 <version>1.10</version>
145 <configuration>
146 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
147 <processStartTag>============LICENSE_START=======================================================</processStartTag>
148 <processEndTag>============LICENSE_END=========================================================</processEndTag>
149 <sectionDelimiter>================================================================================</sectionDelimiter>
150 <licenseName>apache_v2</licenseName>
151 <inceptionYear>2017</inceptionYear>
152 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
153 <projectName>sdc-distribution-client</projectName>
154 <canUpdateCopyright>true</canUpdateCopyright>
155 <canUpdateDescription>true</canUpdateDescription>
156 <canUpdateLicense>true</canUpdateLicense>
157 <emptyLineAfterHeader>true</emptyLineAfterHeader>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300158 <verbose>false</verbose>
159 <includes>
160 <include>**/*.java</include>
161 </includes>
Michael Lando4e33d892017-02-15 16:02:49 +0200162 </configuration>
163 <executions>
164 <execution>
165 <id>first</id>
166 <goals>
167 <goal>update-file-header</goal>
168 </goals>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300169 <!--phase>process-sources</phase -->
Michael Lando4e33d892017-02-15 16:02:49 +0200170 </execution>
171 </executions>
172 </plugin>
Michael Lando885ae102017-12-06 20:10:06 +0200173 <plugin>
174 <groupId>org.sonarsource.scanner.maven</groupId>
175 <artifactId>sonar-maven-plugin</artifactId>
176 <version>3.0.2</version>
177 </plugin>
Michael Lando4e33d892017-02-15 16:02:49 +0200178 </plugins>
179 </build>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300180
ml636r054e5672017-02-15 18:36:14 +0200181 <repositories>
182 <repository>
183 <id>central</id>
184 <name>Official Maven repository</name>
185 <url>http://repo2.maven.org/maven2/</url>
186 </repository>
187 <repository>
188 <id>ecomp-releases</id>
189 <name>Release Repository</name>
190 <url>${nexus.proxy}/content/repositories/releases/</url>
191 </repository>
192 <repository>
193 <id>ecomp-staging</id>
194 <name>Staging Repository</name>
195 <url>${nexus.proxy}/content/repositories/staging/</url>
196 </repository>
197 </repositories>
Michael Lando4e33d892017-02-15 16:02:49 +0200198
ml636r054e5672017-02-15 18:36:14 +0200199 <distributionManagement>
200 <repository>
201 <id>ecomp-releases</id>
202 <name>Release Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300203 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200204 </repository>
205 <snapshotRepository>
206 <id>ecomp-snapshots</id>
207 <name>Snapshot Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300208 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200209 </snapshotRepository>
ig6133fe9130c2017-04-04 14:43:03 +0300210 <site>
211 <id>ecomp-site</id>
212 <url>dav:${nexus.proxy}${sitePath}</url>
213 </site>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300214 </distributionManagement>
Michael Lando4e33d892017-02-15 16:02:49 +0200215
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300216
Michael Lando4e33d892017-02-15 16:02:49 +0200217</project>
ml636re5855182017-02-23 14:46:45 +0200218