AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [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 | |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 5 | <groupId>org.onap.sdc.common</groupId> |
| 6 | <name>onap-common-lib</name> |
| 7 | <artifactId>onap-common-lib</artifactId> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 8 | <packaging>pom</packaging> |
| 9 | |
| 10 | <parent> |
| 11 | <groupId>org.openecomp.sdc</groupId> |
| 12 | <artifactId>sdc-onboarding</artifactId> |
Michael Lando | d8a0dea | 2018-06-02 19:23:27 +0300 | [diff] [blame] | 13 | <version>1.3.0-SNAPSHOT</version> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 14 | <relativePath>../onboarding</relativePath> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 15 | </parent> |
| 16 | |
| 17 | <properties> |
| 18 | <aspectj.version>1.8.7</aspectj.version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 19 | </properties> |
| 20 | |
| 21 | <modules> |
amitjai | 42c920b | 2018-04-27 13:28:57 +0530 | [diff] [blame] | 22 | <module>onap-sdc-artifact-generator-lib</module> |
| 23 | <module>onap-common-configuration-management</module> |
| 24 | <module>onap-tosca-datatype</module> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 25 | </modules> |
| 26 | |
| 27 | <dependencies> |
| 28 | <dependency> |
| 29 | <groupId>org.slf4j</groupId> |
| 30 | <artifactId>slf4j-api</artifactId> |
vempo | 5cd79e4 | 2018-07-08 14:12:36 +0300 | [diff] [blame] | 31 | <version>${slf4j-api.version}</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 32 | </dependency> |
| 33 | <dependency> |
| 34 | <groupId>ch.qos.logback</groupId> |
| 35 | <artifactId>logback-classic</artifactId> |
| 36 | <version>${logback.version}</version> |
| 37 | </dependency> |
| 38 | |
| 39 | <dependency> |
| 40 | <groupId>ch.qos.logback</groupId> |
| 41 | <artifactId>logback-core</artifactId> |
| 42 | <version>${logback.version}</version> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>com.fasterxml.jackson.core</groupId> |
| 46 | <artifactId>jackson-databind</artifactId> |
| 47 | <version>${jackson.version}</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 51 | <artifactId>jackson-dataformat-yaml</artifactId> |
| 52 | <version>${jackson.version}</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>commons-codec</groupId> |
| 56 | <artifactId>commons-codec</artifactId> |
| 57 | <version>${commons.codec.version}</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>com.datastax.cassandra</groupId> |
| 61 | <artifactId>cassandra-driver-core</artifactId> |
talig | 4dc878c | 2018-06-11 12:28:33 +0300 | [diff] [blame] | 62 | <version>${datastax.cassandra.version}</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>com.datastax.cassandra</groupId> |
| 66 | <artifactId>cassandra-driver-mapping</artifactId> |
talig | 4dc878c | 2018-06-11 12:28:33 +0300 | [diff] [blame] | 67 | <version>${datastax.cassandra.version}</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 68 | </dependency> |
| 69 | <dependency> |
| 70 | <groupId>javax.ws.rs</groupId> |
| 71 | <artifactId>javax.ws.rs-api</artifactId> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 72 | <version>${ws.rs.version}</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 73 | </dependency> |
| 74 | <dependency> |
| 75 | <groupId>com.google.code.gson</groupId> |
| 76 | <artifactId>gson</artifactId> |
| 77 | <version>${gson.version}</version> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.testng</groupId> |
| 81 | <artifactId>testng</artifactId> |
avigaffa | aae39fb | 2018-06-18 19:56:59 +0300 | [diff] [blame] | 82 | <version>${testng.version}</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 83 | <scope>test</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>junit</groupId> |
| 87 | <artifactId>junit</artifactId> |
| 88 | <version>${junit.version}</version> |
| 89 | <scope>test</scope> |
| 90 | </dependency> |
| 91 | </dependencies> |
| 92 | |
| 93 | <dependencyManagement> |
| 94 | <dependencies> |
| 95 | <dependency> |
| 96 | <groupId>org.slf4j</groupId> |
| 97 | <artifactId>slf4j-api</artifactId> |
| 98 | <version>${slf4j.version}</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>org.aspectj</groupId> |
| 102 | <artifactId>aspectjrt</artifactId> |
| 103 | <version>${aspectj.version}</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>javax.servlet</groupId> |
| 107 | <artifactId>servlet-api</artifactId> |
| 108 | <version>${servlet.version}</version> |
| 109 | </dependency> |
| 110 | <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils --> |
| 111 | <dependency> |
| 112 | <groupId>commons-beanutils</groupId> |
| 113 | <artifactId>commons-beanutils</artifactId> |
| 114 | <version>${commons.beanutils.version}</version> |
| 115 | </dependency> |
| 116 | <!-- https://mvnrepository.com/artifact/com.beust/jcommander --> |
| 117 | <dependency> |
| 118 | <groupId>com.beust</groupId> |
| 119 | <artifactId>jcommander</artifactId> |
| 120 | <version>${jcommander.version}</version> |
| 121 | </dependency> |
| 122 | <!-- https://mvnrepository.com/artifact/commons-digester/commons-digester --> |
| 123 | <dependency> |
| 124 | <groupId>commons-digester</groupId> |
| 125 | <artifactId>commons-digester</artifactId> |
| 126 | <version>${commons.digester.version}</version> |
| 127 | </dependency> |
| 128 | <!-- https://mvnrepository.com/artifact/org.beanshell/bsh --> |
| 129 | <dependency> |
| 130 | <groupId>org.beanshell</groupId> |
| 131 | <artifactId>bsh</artifactId> |
| 132 | <version>${bsh.version}</version> |
| 133 | </dependency> |
| 134 | <!-- https://mvnrepository.com/artifact/com.google.code.findbugs/annotations --> |
| 135 | <dependency> |
| 136 | <groupId>com.google.code.findbugs</groupId> |
| 137 | <artifactId>annotations</artifactId> |
| 138 | <version>3.0.1u2</version> |
| 139 | </dependency> |
| 140 | <!-- https://mvnrepository.com/artifact/cglib/cglib-nodep --> |
| 141 | <dependency> |
| 142 | <groupId>cglib</groupId> |
| 143 | <artifactId>cglib-nodep</artifactId> |
| 144 | <version>${cglib.nodep.version}</version> |
| 145 | </dependency> |
| 146 | </dependencies> |
| 147 | </dependencyManagement> |
| 148 | |
| 149 | <build> |
| 150 | <plugins> |
| 151 | |
| 152 | <!-- ================================================== --> |
| 153 | <!-- Set the JDK compiler version. --> |
| 154 | <!-- ================================================== --> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.maven.plugins</groupId> |
| 157 | <artifactId>maven-compiler-plugin</artifactId> |
| 158 | <version>${mvn.compiler.version}</version> |
| 159 | <inherited>true</inherited> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 160 | <executions> |
| 161 | <execution> |
| 162 | <id>default-compile</id> |
| 163 | <configuration> |
| 164 | <skipMain>${skipMainSourceCompile}</skipMain> |
| 165 | </configuration> |
| 166 | </execution> |
| 167 | <execution> |
| 168 | <id>default-testCompile</id> |
| 169 | <configuration> |
| 170 | <skip>${skipTestSourceCompile}</skip> |
| 171 | </configuration> |
| 172 | </execution> |
| 173 | </executions> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 174 | <configuration> |
| 175 | <source>${java.source}</source> |
| 176 | <target>${java.target}</target> |
| 177 | </configuration> |
| 178 | </plugin> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 179 | <plugin> |
| 180 | <groupId>org.openecomp.sdc.onboarding</groupId> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 181 | <artifactId>artifact-copy-plugin</artifactId> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 182 | <version>${project.version}</version> |
| 183 | <executions> |
| 184 | <execution> |
| 185 | <goals> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 186 | <goal>init-artifact-helper</goal> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 187 | <goal>calibrate-artifact-helper</goal> |
| 188 | </goals> |
| 189 | </execution> |
| 190 | </executions> |
| 191 | <configuration> |
| 192 | <groupId>org.openecomp.sdc</groupId> |
| 193 | <artifactId>build-data-installer</artifactId> |
| 194 | <version>${project.version}</version> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 195 | <artifactHelper> |
| 196 | <project>${project}</project> |
Gautam Shah | 03205da | 2018-06-01 08:38:32 +0530 | [diff] [blame] | 197 | <session>${session}</session> |
| 198 | <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 199 | </artifactHelper> |
| 200 | </configuration> |
| 201 | </plugin> |
| 202 | <plugin> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 203 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 204 | <artifactId>compile-helper-plugin</artifactId> |
| 205 | <version>${project.version}</version> |
| 206 | <dependencies> |
| 207 | <dependency> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 208 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 209 | <artifactId>pmd-helper-plugin</artifactId> |
| 210 | <version>${project.version}</version> |
| 211 | </dependency> |
| 212 | </dependencies> |
| 213 | <executions> |
| 214 | <execution> |
| 215 | <goals> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 216 | <goal>init-helper</goal> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 217 | <goal>pre-compile-helper</goal> |
| 218 | <goal>post-compile-helper</goal> |
| 219 | <goal>pre-test-compile-helper</goal> |
| 220 | <goal>post-test-run-helper</goal> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 221 | </goals> |
| 222 | </execution> |
| 223 | </executions> |
| 224 | <configuration> |
| 225 | <excludePackaging>pom</excludePackaging> |
| 226 | <excludeDependencies>test,runtime</excludeDependencies> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 227 | <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 228 | <buildState> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 229 | <project>${project}</project> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 230 | <compileStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat</compileStateFilePath> |
Gautam Shah | 3de22e1 | 2018-04-21 16:18:37 +0530 | [diff] [blame] | 231 | </buildState> |
| 232 | </configuration> |
| 233 | </plugin> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 234 | <plugin> |
| 235 | <groupId>org.apache.maven.plugins</groupId> |
| 236 | <artifactId>maven-pmd-plugin</artifactId> |
| 237 | <version>${maven.pmd.plugin.version}</version> |
| 238 | <dependencies> |
| 239 | <dependency> |
| 240 | <groupId>org.openecomp.sdc</groupId> |
| 241 | <artifactId>build-tools</artifactId> |
| 242 | <version>${build.tools.version}</version> |
| 243 | </dependency> |
| 244 | <dependency> |
| 245 | <groupId>net.sourceforge.pmd</groupId> |
| 246 | <artifactId>pmd-core</artifactId> |
| 247 | <version>${pmd.core.version}</version> |
| 248 | </dependency> |
| 249 | <dependency> |
| 250 | <groupId>net.sourceforge.pmd</groupId> |
| 251 | <artifactId>pmd-java</artifactId> |
| 252 | <version>${pmd.java.version}</version> |
| 253 | </dependency> |
| 254 | </dependencies> |
| 255 | <configuration> |
| 256 | <skip>${skipPMD}</skip> |
| 257 | <showPmdLog>false</showPmdLog> |
| 258 | <analysisCache>false</analysisCache> |
| 259 | <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation> |
| 260 | <failOnViolation>false</failOnViolation> |
| 261 | <printFailingErrors>false</printFailingErrors> |
| 262 | <format>csv</format> |
| 263 | <targetDirectory>${project.build.directory}/pmd</targetDirectory> |
| 264 | <includeTests>true</includeTests> |
| 265 | <linkXRef>false</linkXRef> |
| 266 | <aggregate>false</aggregate> |
| 267 | <rulesets> |
| 268 | <ruleset>/category/java/bestpractices.xml</ruleset> |
| 269 | <ruleset>/category/java/codestyle.xml</ruleset> |
| 270 | <ruleset>/category/java/design.xml</ruleset> |
| 271 | <ruleset>/category/java/errorprone.xml</ruleset> |
| 272 | <ruleset>/category/java/multithreading.xml</ruleset> |
| 273 | <ruleset>/category/java/performance.xml</ruleset> |
| 274 | <ruleset>/category/java/security.xml</ruleset> |
| 275 | </rulesets> |
| 276 | </configuration> |
| 277 | <executions> |
| 278 | <execution> |
| 279 | <goals> |
| 280 | <goal>check</goal> |
| 281 | </goals> |
| 282 | <phase>integration-test</phase> |
| 283 | </execution> |
| 284 | </executions> |
| 285 | </plugin> |
| 286 | <plugin> |
| 287 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 288 | <artifactId>pmd-helper-plugin</artifactId> |
| 289 | <version>${project.version}</version> |
Gautam Shah | b145c08 | 2018-05-27 13:32:07 +0530 | [diff] [blame] | 290 | <executions> |
| 291 | <execution> |
| 292 | <goals> |
| 293 | <goal>init-pmd-helper</goal> |
| 294 | <goal>post-verify-helper</goal> |
| 295 | </goals> |
| 296 | </execution> |
| 297 | </executions> |
| 298 | <configuration> |
| 299 | <excludePackaging>pom</excludePackaging> |
| 300 | <pmdTargetLocation>${project.build.directory}/pmd/pmd.xml</pmdTargetLocation> |
| 301 | <pmdFailureReportLocation>${project.build.directory}/pmd.txt</pmdFailureReportLocation> |
| 302 | <pmdReportFile>${project.build.directory}/pmd/pmd.csv</pmdReportFile> |
| 303 | <persistingModuleCoordinates>org.openecomp.sdc:build-data-installer</persistingModuleCoordinates> |
| 304 | <pmdCurrentStateFilePath>org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat</pmdCurrentStateFilePath> |
| 305 | <pmdStateFile>${project.build.outputDirectory}/pmd.dat</pmdStateFile> |
| 306 | <compiledFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst</compiledFilesList> |
| 307 | <compiledTestFilesList>${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst</compiledTestFilesList> |
| 308 | </configuration> |
| 309 | </plugin> |
| 310 | <plugin> |
| 311 | <groupId>org.apache.maven.plugins</groupId> |
| 312 | <artifactId>maven-jar-plugin</artifactId> |
| 313 | <version>${mvn.jar.version}</version> |
| 314 | <configuration> |
| 315 | <archive> |
| 316 | <addMavenDescriptor>false</addMavenDescriptor> |
| 317 | </archive> |
| 318 | <excludes> |
| 319 | <exclude>${emptyJAR}</exclude> |
| 320 | </excludes> |
| 321 | </configuration> |
| 322 | </plugin> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 323 | <!-- blackduck maven plugin --> |
| 324 | |
| 325 | <!--<plugin> |
| 326 | <groupId>com.blackducksoftware.integration</groupId> |
| 327 | <artifactId>hub-maven-plugin</artifactId> |
| 328 | <version>1.0.4</version> |
| 329 | <inherited>false</inherited> |
| 330 | <configuration> |
| 331 | <target>${project.basedir}</target> |
| 332 | </configuration> |
| 333 | <executions> |
| 334 | <execution> |
| 335 | <id>create-bdio-file</id> |
| 336 | <phase>package</phase> |
| 337 | <goals> |
| 338 | <goal>createHubOutput</goal> |
| 339 | </goals> |
| 340 | </execution> |
| 341 | </executions> |
| 342 | </plugin>--> |
| 343 | |
| 344 | <plugin> |
| 345 | <groupId>org.codehaus.mojo</groupId> |
| 346 | <artifactId>license-maven-plugin</artifactId> |
| 347 | <version>${mvn.license.version}</version> |
| 348 | <configuration> |
| 349 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 350 | <processStartTag>============LICENSE_START=======================================================</processStartTag> |
| 351 | <processEndTag>============LICENSE_END=========================================================</processEndTag> |
| 352 | <sectionDelimiter>================================================================================</sectionDelimiter> |
| 353 | <licenseName>apache_v2</licenseName> |
| 354 | <inceptionYear>2017</inceptionYear> |
| 355 | <organizationName>AT&T Intellectual Property. All rights reserved.</organizationName> |
| 356 | <projectName>SDC</projectName> |
| 357 | <canUpdateCopyright>true</canUpdateCopyright> |
| 358 | <canUpdateDescription>true</canUpdateDescription> |
| 359 | <canUpdateLicense>true</canUpdateLicense> |
| 360 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 361 | <verbose>false</verbose> |
| 362 | <includes> |
| 363 | <include>**/*.java</include> |
| 364 | <include>**/*.js</include> |
| 365 | <include>**/*.ts</include> |
| 366 | </includes> |
| 367 | <roots> |
| 368 | <root>src</root> |
| 369 | <root>app</root> |
| 370 | <root>server-mock</root> |
| 371 | <root>typings</root> |
| 372 | </roots> |
| 373 | </configuration> |
| 374 | <executions> |
| 375 | <execution> |
| 376 | <id>first</id> |
| 377 | <goals> |
| 378 | <goal>update-file-header</goal> |
| 379 | </goals> |
| 380 | <!--phase>process-sources</phase--> |
| 381 | </execution> |
| 382 | </executions> |
| 383 | </plugin> |
| 384 | |
| 385 | |
| 386 | </plugins> |
| 387 | |
| 388 | </build> |
| 389 | |
| 390 | </project> |