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