Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
vempo | decd2df | 2018-07-23 19:07:37 +0300 | [diff] [blame] | 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 4 | |
vempo | decd2df | 2018-07-23 19:07:37 +0300 | [diff] [blame] | 5 | <modelVersion>4.0.0</modelVersion> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 6 | |
vempo | decd2df | 2018-07-23 19:07:37 +0300 | [diff] [blame] | 7 | <groupId>org.onap.sdc.common</groupId> |
| 8 | <name>onap-common-lib</name> |
| 9 | <artifactId>onap-common-lib</artifactId> |
| 10 | <packaging>pom</packaging> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 11 | |
vempo | decd2df | 2018-07-23 19:07:37 +0300 | [diff] [blame] | 12 | <parent> |
| 13 | <groupId>org.openecomp.sdc</groupId> |
| 14 | <artifactId>sdc-onboarding</artifactId> |
| 15 | <version>1.3.0-SNAPSHOT</version> |
| 16 | <relativePath>../onboarding/pom.xml</relativePath> |
| 17 | </parent> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 18 | |
vempo | decd2df | 2018-07-23 19:07:37 +0300 | [diff] [blame] | 19 | <modules> |
| 20 | <module>onap-sdc-artifact-generator-lib</module> |
| 21 | <module>onap-common-configuration-management</module> |
| 22 | <module>onap-tosca-datatype</module> |
| 23 | </modules> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 24 | |
vempo | decd2df | 2018-07-23 19:07:37 +0300 | [diff] [blame] | 25 | <build> |
| 26 | <plugins> |
| 27 | <plugin> |
| 28 | <groupId>org.apache.maven.plugins</groupId> |
| 29 | <artifactId>maven-compiler-plugin</artifactId> |
| 30 | <version>${mvn.compiler.version}</version> |
| 31 | <inherited>true</inherited> |
| 32 | <executions> |
| 33 | <execution> |
| 34 | <id>default-compile</id> |
| 35 | <configuration> |
| 36 | <skipMain>${skipMainSourceCompile}</skipMain> |
| 37 | </configuration> |
| 38 | </execution> |
| 39 | <execution> |
| 40 | <id>default-testCompile</id> |
| 41 | <configuration> |
| 42 | <skip>${skipTestSourceCompile}</skip> |
| 43 | </configuration> |
| 44 | </execution> |
| 45 | </executions> |
| 46 | <configuration> |
| 47 | <source>${java.source}</source> |
| 48 | <target>${java.target}</target> |
| 49 | </configuration> |
| 50 | </plugin> |
| 51 | <plugin> |
| 52 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 53 | <artifactId>artifact-copy-plugin</artifactId> |
| 54 | <version>${project.version}</version> |
| 55 | <executions> |
| 56 | <execution> |
| 57 | <goals> |
| 58 | <goal>init-artifact-helper</goal> |
| 59 | <goal>calibrate-artifact-helper</goal> |
| 60 | </goals> |
| 61 | </execution> |
| 62 | </executions> |
| 63 | <configuration> |
| 64 | <groupId>org.openecomp.sdc</groupId> |
| 65 | <artifactId>build-data-installer</artifactId> |
| 66 | <version>${project.version}</version> |
| 67 | <artifactHelper> |
| 68 | <project>${project}</project> |
| 69 | <session>${session}</session> |
| 70 | <unicornRoot>org.openecomp.sdc:sdc-onboarding/target/build-data</unicornRoot> |
| 71 | </artifactHelper> |
| 72 | </configuration> |
| 73 | </plugin> |
| 74 | <plugin> |
| 75 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 76 | <artifactId>compile-helper-plugin</artifactId> |
| 77 | <version>${project.version}</version> |
| 78 | <dependencies> |
| 79 | <dependency> |
| 80 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 81 | <artifactId>pmd-helper-plugin</artifactId> |
| 82 | <version>${project.version}</version> |
| 83 | </dependency> |
| 84 | </dependencies> |
| 85 | <executions> |
| 86 | <execution> |
| 87 | <goals> |
| 88 | <goal>init-helper</goal> |
| 89 | <goal>pre-compile-helper</goal> |
| 90 | <goal>post-compile-helper</goal> |
| 91 | <goal>pre-test-compile-helper</goal> |
| 92 | <goal>post-test-run-helper</goal> |
| 93 | </goals> |
| 94 | </execution> |
| 95 | </executions> |
| 96 | <configuration> |
| 97 | <excludePackaging>pom</excludePackaging> |
| 98 | <excludeDependencies>test,runtime</excludeDependencies> |
| 99 | <generatedSourceLocation>${project.build.directory}/generated-sources</generatedSourceLocation> |
| 100 | <buildState> |
| 101 | <project>${project}</project> |
| 102 | <compileStateFilePath> |
| 103 | org.openecomp.sdc:sdc-onboarding/target/build-data/compileState.dat |
| 104 | </compileStateFilePath> |
| 105 | </buildState> |
| 106 | </configuration> |
| 107 | </plugin> |
| 108 | <plugin> |
| 109 | <groupId>org.apache.maven.plugins</groupId> |
| 110 | <artifactId>maven-pmd-plugin</artifactId> |
| 111 | <version>${maven.pmd.plugin.version}</version> |
| 112 | <dependencies> |
| 113 | <dependency> |
| 114 | <groupId>org.openecomp.sdc</groupId> |
| 115 | <artifactId>build-tools</artifactId> |
| 116 | <version>${build.tools.version}</version> |
| 117 | </dependency> |
| 118 | <dependency> |
| 119 | <groupId>net.sourceforge.pmd</groupId> |
| 120 | <artifactId>pmd-core</artifactId> |
| 121 | <version>${pmd.core.version}</version> |
| 122 | </dependency> |
| 123 | <dependency> |
| 124 | <groupId>net.sourceforge.pmd</groupId> |
| 125 | <artifactId>pmd-java</artifactId> |
| 126 | <version>${pmd.java.version}</version> |
| 127 | </dependency> |
| 128 | </dependencies> |
| 129 | <configuration> |
| 130 | <skip>${skipPMD}</skip> |
| 131 | <showPmdLog>false</showPmdLog> |
| 132 | <analysisCache>false</analysisCache> |
| 133 | <analysisCacheLocation>${project.build.directory}/pmd/pmd.cache</analysisCacheLocation> |
| 134 | <failOnViolation>false</failOnViolation> |
| 135 | <printFailingErrors>false</printFailingErrors> |
| 136 | <format>csv</format> |
| 137 | <targetDirectory>${project.build.directory}/pmd</targetDirectory> |
| 138 | <includeTests>true</includeTests> |
| 139 | <linkXRef>false</linkXRef> |
| 140 | <aggregate>false</aggregate> |
| 141 | <rulesets> |
| 142 | <ruleset>/category/java/bestpractices.xml</ruleset> |
| 143 | <ruleset>/category/java/codestyle.xml</ruleset> |
| 144 | <ruleset>/category/java/design.xml</ruleset> |
| 145 | <ruleset>/category/java/errorprone.xml</ruleset> |
| 146 | <ruleset>/category/java/multithreading.xml</ruleset> |
| 147 | <ruleset>/category/java/performance.xml</ruleset> |
| 148 | <ruleset>/category/java/security.xml</ruleset> |
| 149 | </rulesets> |
| 150 | </configuration> |
| 151 | <executions> |
| 152 | <execution> |
| 153 | <goals> |
| 154 | <goal>check</goal> |
| 155 | </goals> |
| 156 | <phase>integration-test</phase> |
| 157 | </execution> |
| 158 | </executions> |
| 159 | </plugin> |
| 160 | <plugin> |
| 161 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 162 | <artifactId>pmd-helper-plugin</artifactId> |
| 163 | <version>${project.version}</version> |
| 164 | <executions> |
| 165 | <execution> |
| 166 | <goals> |
| 167 | <goal>init-pmd-helper</goal> |
| 168 | <goal>post-verify-helper</goal> |
| 169 | </goals> |
| 170 | </execution> |
| 171 | </executions> |
| 172 | <configuration> |
| 173 | <excludePackaging>pom</excludePackaging> |
| 174 | <pmdTargetLocation>${project.build.directory}/pmd/pmd.xml</pmdTargetLocation> |
| 175 | <pmdFailureReportLocation>${project.build.directory}/pmd.txt</pmdFailureReportLocation> |
| 176 | <pmdReportFile>${project.build.directory}/pmd/pmd.csv</pmdReportFile> |
| 177 | <persistingModuleCoordinates>org.openecomp.sdc:build-data-installer</persistingModuleCoordinates> |
| 178 | <pmdCurrentStateFilePath> |
| 179 | org.openecomp.sdc:sdc-onboarding/target/build-data/pmdState.dat |
| 180 | </pmdCurrentStateFilePath> |
| 181 | <pmdStateFile>${project.build.outputDirectory}/pmd.dat</pmdStateFile> |
| 182 | <compiledFilesList> |
| 183 | ${project.build.directory}/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst |
| 184 | </compiledFilesList> |
| 185 | <compiledTestFilesList> |
| 186 | ${project.build.directory}/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst |
| 187 | </compiledTestFilesList> |
| 188 | </configuration> |
| 189 | </plugin> |
| 190 | <plugin> |
| 191 | <groupId>org.apache.maven.plugins</groupId> |
| 192 | <artifactId>maven-jar-plugin</artifactId> |
| 193 | <version>${mvn.jar.version}</version> |
| 194 | <configuration> |
| 195 | <archive> |
| 196 | <addMavenDescriptor>false</addMavenDescriptor> |
| 197 | </archive> |
| 198 | <excludes> |
| 199 | <exclude>${emptyJAR}</exclude> |
| 200 | </excludes> |
| 201 | </configuration> |
| 202 | </plugin> |
| 203 | <plugin> |
| 204 | <groupId>org.codehaus.mojo</groupId> |
| 205 | <artifactId>license-maven-plugin</artifactId> |
| 206 | <version>${mvn.license.version}</version> |
| 207 | <configuration> |
| 208 | <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> |
| 209 | <processStartTag>============LICENSE_START======================================================= |
| 210 | </processStartTag> |
| 211 | <processEndTag>============LICENSE_END========================================================= |
| 212 | </processEndTag> |
| 213 | <sectionDelimiter>================================================================================ |
| 214 | </sectionDelimiter> |
| 215 | <licenseName>apache_v2</licenseName> |
| 216 | <inceptionYear>2017</inceptionYear> |
| 217 | <organizationName>AT&T Intellectual Property. All rights |
| 218 | reserved. |
| 219 | </organizationName> |
| 220 | <projectName>SDC</projectName> |
| 221 | <canUpdateCopyright>true</canUpdateCopyright> |
| 222 | <canUpdateDescription>true</canUpdateDescription> |
| 223 | <canUpdateLicense>true</canUpdateLicense> |
| 224 | <emptyLineAfterHeader>true</emptyLineAfterHeader> |
| 225 | <verbose>false</verbose> |
| 226 | <includes> |
| 227 | <include>**/*.java</include> |
| 228 | <include>**/*.js</include> |
| 229 | <include>**/*.ts</include> |
| 230 | </includes> |
| 231 | <roots> |
| 232 | <root>src</root> |
| 233 | <root>app</root> |
| 234 | <root>server-mock</root> |
| 235 | <root>typings</root> |
| 236 | </roots> |
| 237 | </configuration> |
| 238 | <executions> |
| 239 | <execution> |
| 240 | <id>first</id> |
| 241 | <goals> |
| 242 | <goal>update-file-header</goal> |
| 243 | </goals> |
| 244 | <!--phase>process-sources</phase--> |
| 245 | </execution> |
| 246 | </executions> |
| 247 | </plugin> |
| 248 | </plugins> |
| 249 | </build> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 250 | |
| 251 | </project> |