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> |
| 4 | <groupId>org.openecomp.sdc</groupId> |
| 5 | <artifactId>sdc-distribution-client</artifactId> |
| 6 | <version>1.0.0-SNAPSHOT</version> |
| 7 | <name>SDC Distribution Client</name> |
| 8 | <description>An SDC Client to be used by its consumers</description> |
| 9 | <properties> |
| 10 | <httpclient.version>4.5</httpclient.version> |
| 11 | <httpcore.version>4.4.1</httpcore.version> |
| 12 | <snakeyaml.version>1.14</snakeyaml.version> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 13 | <sonar.skipDesign>true</sonar.skipDesign> |
| 14 | <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir> |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame^] | 15 | <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath> |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 16 | <nexus.proxy>https://nexus.openecomp.org</nexus.proxy> |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame^] | 17 | <staging.profile.id>176c31dfe190a</staging.profile.id> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 18 | </properties> |
| 19 | |
| 20 | <reporting> |
| 21 | <plugins> |
| 22 | <plugin> |
| 23 | <groupId>org.apache.maven.plugins</groupId> |
| 24 | <artifactId>maven-javadoc-plugin</artifactId> |
| 25 | <version>2.10.4</version> |
| 26 | <configuration> |
| 27 | <failOnError>false</failOnError> |
| 28 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> |
| 29 | <docletArtifact> |
| 30 | <groupId>org.umlgraph</groupId> |
| 31 | <artifactId>umlgraph</artifactId> |
| 32 | <version>5.6</version> |
| 33 | </docletArtifact> |
| 34 | <additionalparam>-views</additionalparam> |
| 35 | <useStandardDocletOptions>true</useStandardDocletOptions> |
| 36 | </configuration> |
| 37 | </plugin> |
| 38 | </plugins> |
| 39 | </reporting> |
| 40 | |
| 41 | |
| 42 | <dependencies> |
| 43 | <dependency> |
| 44 | <groupId>com.att.nsa</groupId> |
| 45 | <artifactId>saClientLibrary</artifactId> |
| 46 | <version>0.0.1</version> |
| 47 | <scope>compile</scope> |
| 48 | <exclusions> |
| 49 | <exclusion> <!-- declare the exclusion here --> |
| 50 | <groupId>org.slf4j</groupId> |
| 51 | <artifactId>slf4j-log4j12</artifactId> |
| 52 | </exclusion> |
| 53 | </exclusions> |
| 54 | </dependency> |
| 55 | <dependency> |
| 56 | <groupId>org.slf4j</groupId> |
| 57 | <artifactId>slf4j-api</artifactId> |
| 58 | <version>1.7.10</version> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>com.att.nsa</groupId> |
| 62 | <artifactId>cambriaClient</artifactId> |
| 63 | <version>0.0.1</version> |
| 64 | <scope>compile</scope> |
| 65 | </dependency> |
| 66 | |
| 67 | <dependency> |
| 68 | <groupId>com.google.code.gson</groupId> |
| 69 | <artifactId>gson</artifactId> |
| 70 | <version>2.3.1</version> |
| 71 | <scope>compile</scope> |
| 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.functionaljava</groupId> |
| 75 | <artifactId>functionaljava</artifactId> |
| 76 | <version>4.2</version> |
| 77 | <scope>compile</scope> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>commons-io</groupId> |
| 81 | <artifactId>commons-io</artifactId> |
| 82 | <version>2.5</version> |
| 83 | </dependency> |
| 84 | <dependency> |
| 85 | <groupId>commons-codec</groupId> |
| 86 | <artifactId>commons-codec</artifactId> |
| 87 | <version>1.9</version> |
| 88 | <scope>compile</scope> |
| 89 | </dependency> |
| 90 | <!-- http client --> |
| 91 | <dependency> |
| 92 | <groupId>org.apache.httpcomponents</groupId> |
| 93 | <artifactId>httpclient</artifactId> |
| 94 | <version>${httpclient.version}</version> |
| 95 | <scope>compile</scope> |
| 96 | </dependency> |
| 97 | |
| 98 | <dependency> |
| 99 | <groupId>org.apache.httpcomponents</groupId> |
| 100 | <artifactId>httpmime</artifactId> |
| 101 | <version>${httpclient.version}</version> |
| 102 | <scope>compile</scope> |
| 103 | </dependency> |
| 104 | |
| 105 | <!-- YAML parser --> |
| 106 | <dependency> |
| 107 | <groupId>org.yaml</groupId> |
| 108 | <artifactId>snakeyaml</artifactId> |
| 109 | <version>${snakeyaml.version}</version> |
| 110 | <scope>compile</scope> |
| 111 | </dependency> |
| 112 | |
| 113 | <!-- http core --> |
| 114 | <dependency> |
| 115 | <groupId>org.apache.httpcomponents</groupId> |
| 116 | <artifactId>httpcore</artifactId> |
| 117 | <version>${httpcore.version}</version> |
| 118 | <scope>compile</scope> |
| 119 | </dependency> |
| 120 | |
| 121 | <!-- TEST --> |
| 122 | <dependency> |
| 123 | <groupId>org.eclipse.jetty</groupId> |
| 124 | <artifactId>jetty-servlet</artifactId> |
| 125 | <scope>test</scope> |
| 126 | <version>9.2.10.v20150310</version> |
| 127 | </dependency> |
| 128 | <dependency> |
| 129 | <groupId>org.eclipse.jetty</groupId> |
| 130 | <artifactId>jetty-webapp</artifactId> |
| 131 | <version>9.2.10.v20150310</version> |
| 132 | <scope>test</scope> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>junit</groupId> |
| 136 | <artifactId>junit</artifactId> |
| 137 | <version>4.12</version> |
| 138 | <scope>test</scope> |
| 139 | </dependency> |
| 140 | <dependency> |
| 141 | <groupId>org.mockito</groupId> |
| 142 | <artifactId>mockito-all</artifactId> |
| 143 | <version>1.10.19</version> |
| 144 | <scope>test</scope> |
| 145 | </dependency> |
| 146 | <dependency> |
| 147 | <groupId>com.google.guava</groupId> |
| 148 | <artifactId>guava</artifactId> |
| 149 | <version>15.0</version> |
| 150 | <scope>test</scope> |
| 151 | </dependency> |
| 152 | </dependencies> |
| 153 | |
| 154 | <!-- ================================================== --> |
| 155 | <!-- Set the JDK compiler version. --> |
| 156 | <!-- ================================================== --> |
| 157 | <build> |
| 158 | <plugins> |
| 159 | <plugin> |
| 160 | <groupId>org.apache.maven.plugins</groupId> |
| 161 | <artifactId>maven-site-plugin</artifactId> |
| 162 | <version>3.4</version> |
| 163 | <dependencies> |
| 164 | <dependency> |
| 165 | <groupId>org.apache.maven.wagon</groupId> |
| 166 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 167 | <version>2.10</version> |
| 168 | </dependency> |
| 169 | </dependencies> |
| 170 | </plugin> |
| 171 | |
| 172 | <plugin> |
| 173 | <groupId>org.jacoco</groupId> |
| 174 | <artifactId>jacoco-maven-plugin</artifactId> |
| 175 | <version>0.7.8</version> |
| 176 | <executions> |
| 177 | <!-- Unit-Tests --> |
| 178 | <execution> |
| 179 | <id>prepare-agent</id> |
| 180 | <goals> |
| 181 | <goal>prepare-agent</goal> |
| 182 | </goals> |
| 183 | <configuration> |
| 184 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 185 | </configuration> |
| 186 | </execution> |
| 187 | </executions> |
| 188 | </plugin> |
| 189 | |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame^] | 190 | <!-- Staging Plugin --> |
| 191 | <plugin> |
| 192 | <groupId>org.sonatype.plugins</groupId> |
| 193 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 194 | <version>1.6.7</version> |
| 195 | <extensions>true</extensions> |
| 196 | <configuration> |
| 197 | <nexusUrl>${nexus.proxy}</nexusUrl> |
| 198 | <stagingProfileId>${staging.profile.id}</stagingProfileId> |
| 199 | <serverId>ecomp-staging</serverId> |
| 200 | </configuration> |
| 201 | </plugin> |
| 202 | |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 203 | <plugin> |
| 204 | <groupId>org.apache.maven.plugins</groupId> |
| 205 | <artifactId>maven-compiler-plugin</artifactId> |
| 206 | <version>2.5.1</version> |
| 207 | <inherited>true</inherited> |
| 208 | <configuration> |
| 209 | <source>1.7</source> |
| 210 | <target>1.7</target> |
| 211 | </configuration> |
| 212 | </plugin> |
| 213 | <plugin> |
| 214 | <groupId>org.apache.maven.plugins</groupId> |
| 215 | <artifactId>maven-javadoc-plugin</artifactId> |
| 216 | <version>2.10.3</version> |
| 217 | <configuration/> |
| 218 | </plugin> |
| 219 | <plugin> |
| 220 | <groupId>org.codehaus.mojo</groupId> |
| 221 | <artifactId>license-maven-plugin</artifactId> |
| 222 | <version>1.10</version> |
| 223 | <configuration> |
| 224 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 225 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 226 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 227 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 228 | <licenseName>apache_v2</licenseName> |
| 229 | <inceptionYear>2017</inceptionYear> |
| 230 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 231 | <projectName>sdc-distribution-client</projectName> |
| 232 | <canUpdateCopyright>true</canUpdateCopyright> |
| 233 | <canUpdateDescription>true</canUpdateDescription> |
| 234 | <canUpdateLicense>true</canUpdateLicense> |
| 235 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 236 | </configuration> |
| 237 | <executions> |
| 238 | <execution> |
| 239 | <id>first</id> |
| 240 | <goals> |
| 241 | <goal>update-file-header</goal> |
| 242 | </goals> |
| 243 | <!--phase>process-sources</phase--> |
| 244 | </execution> |
| 245 | </executions> |
| 246 | </plugin> |
| 247 | </plugins> |
| 248 | </build> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 249 | |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 250 | <repositories> |
| 251 | <repository> |
| 252 | <id>central</id> |
| 253 | <name>Official Maven repository</name> |
| 254 | <url>http://repo2.maven.org/maven2/</url> |
| 255 | </repository> |
| 256 | <repository> |
| 257 | <id>ecomp-releases</id> |
| 258 | <name>Release Repository</name> |
| 259 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 260 | </repository> |
| 261 | <repository> |
| 262 | <id>ecomp-staging</id> |
| 263 | <name>Staging Repository</name> |
| 264 | <url>${nexus.proxy}/content/repositories/staging/</url> |
| 265 | </repository> |
| 266 | </repositories> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 267 | |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 268 | <distributionManagement> |
| 269 | <repository> |
| 270 | <id>ecomp-releases</id> |
| 271 | <name>Release Repository</name> |
| 272 | <url>${nexus.proxy}/content/repositories/releases/</url> |
| 273 | </repository> |
| 274 | <snapshotRepository> |
| 275 | <id>ecomp-snapshots</id> |
| 276 | <name>Snapshot Repository</name> |
| 277 | <url>${nexus.proxy}/content/repositories/snapshots/</url> |
| 278 | </snapshotRepository> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 279 | |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 280 | <!-- <site> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 281 | <id>rackspace-public</id> |
| 282 | <url>dav:https://ecomp-nexus:8443/repository/sdc-javadoc-repo/${project.version}</url> |
ml636r | 054e567 | 2017-02-15 18:36:14 +0200 | [diff] [blame] | 283 | </site> --> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 284 | |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 285 | </distributionManagement> |
Michael Lando | 4e33d89 | 2017-02-15 16:02:49 +0200 | [diff] [blame] | 286 | </project> |
ml636r | e585518 | 2017-02-23 14:46:45 +0200 | [diff] [blame^] | 287 | |