Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 1 | <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 Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 4 | |
Pavel Aharoni | b90a141 | 2017-03-29 14:27:51 +0300 | [diff] [blame] | 5 | <groupId>org.openecomp.sdc.sdc-distribution-client</groupId> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 6 | <artifactId>sdc-main-distribution-client</artifactId> |
Michael Lando | 5d5baa6 | 2017-12-06 21:39:05 +0200 | [diff] [blame^] | 7 | <version>1.1.51-SNAPSHOT</version> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 8 | <packaging>pom</packaging> |
Michael Lando | 3a0f5b9 | 2017-09-28 02:52:08 +0300 | [diff] [blame] | 9 | <name>sdc-sdc-distribution-client</name> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 10 | |
| 11 | <modules> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 12 | <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 Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 32 | <httpcore.version>4.4.1</httpcore.version> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 33 | <logback.version>1.1.2</logback.version> |
| 34 | <junit.version>4.12</junit.version> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 35 | <snakeyaml.version>1.14</snakeyaml.version> |
Pavel Aharoni | 7f05e4e | 2017-05-14 17:56:49 +0300 | [diff] [blame] | 36 | <guava.version>21.0</guava.version> |
| 37 | |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 38 | |
Michael Lando | 885ae10 | 2017-12-06 20:10:06 +0200 | [diff] [blame] | 39 | <!--<sonar.skipDesign>true</sonar.skipDesign>--> |
| 40 | <!--<sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>--> |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame] | 41 | <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> |
ig6133 | fe9130c | 2017-04-04 14:43:03 +0300 | [diff] [blame] | 42 | <nexus.proxy>https://nexus.onap.org</nexus.proxy> |
ig6133 | 6e74314 | 2017-04-06 16:46:13 +0300 | [diff] [blame] | 43 | <sitePath>/content/sites/site/org/openecomp/sdc/sdc-distribution-client/${project.version}</sitePath> |
Pavel Aharoni | 1df0b72 | 2017-04-03 10:06:16 +0300 | [diff] [blame] | 44 | <snapshots.path>snapshots</snapshots.path> |
| 45 | <releases.path>releases</releases.path> |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame] | 46 | <staging.profile.id>176c31dfe190a</staging.profile.id> |
Michael Lando | 885ae10 | 2017-12-06 20:10:06 +0200 | [diff] [blame] | 47 | <!-- 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 Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 56 | |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 57 | </properties> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 58 | <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 Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 78 | |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 79 | <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 | |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame] | 112 | <!-- 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 Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 125 | <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 Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 131 | <source>1.8</source> |
| 132 | <target>1.8</target> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 133 | </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&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 Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 158 | <verbose>false</verbose> |
| 159 | <includes> |
| 160 | <include>**/*.java</include> |
| 161 | </includes> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 162 | </configuration> |
| 163 | <executions> |
| 164 | <execution> |
| 165 | <id>first</id> |
| 166 | <goals> |
| 167 | <goal>update-file-header</goal> |
| 168 | </goals> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 169 | <!--phase>process-sources</phase --> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 170 | </execution> |
| 171 | </executions> |
| 172 | </plugin> |
Michael Lando | 885ae10 | 2017-12-06 20:10:06 +0200 | [diff] [blame] | 173 | <plugin> |
| 174 | <groupId>org.sonarsource.scanner.maven</groupId> |
| 175 | <artifactId>sonar-maven-plugin</artifactId> |
| 176 | <version>3.0.2</version> |
| 177 | </plugin> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 178 | </plugins> |
| 179 | </build> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 180 | |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 181 | <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 Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 198 | |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 199 | <distributionManagement> |
| 200 | <repository> |
| 201 | <id>ecomp-releases</id> |
| 202 | <name>Release Repository</name> |
Pavel Aharoni | 1df0b72 | 2017-04-03 10:06:16 +0300 | [diff] [blame] | 203 | <url>${nexus.proxy}/content/repositories/${releases.path}/</url> |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 204 | </repository> |
| 205 | <snapshotRepository> |
| 206 | <id>ecomp-snapshots</id> |
| 207 | <name>Snapshot Repository</name> |
Pavel Aharoni | 1df0b72 | 2017-04-03 10:06:16 +0300 | [diff] [blame] | 208 | <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url> |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 209 | </snapshotRepository> |
ig6133 | fe9130c | 2017-04-04 14:43:03 +0300 | [diff] [blame] | 210 | <site> |
| 211 | <id>ecomp-site</id> |
| 212 | <url>dav:${nexus.proxy}${sitePath}</url> |
| 213 | </site> |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 214 | </distributionManagement> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 215 | |
Pavel Aharoni | e2cc253 | 2017-03-29 13:35:45 +0300 | [diff] [blame] | 216 | |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 217 | </project> |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame] | 218 | |