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