talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Kishore Reddy, Gujja (kg811t) | a59bc3e | 2018-09-25 13:59:56 -0400 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" 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"> |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 5 | |
Gary Wu | 3c79555 | 2017-10-02 11:20:39 -0700 | [diff] [blame] | 6 | <parent> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 7 | <groupId>org.onap.oparent</groupId> |
| 8 | <artifactId>oparent</artifactId> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 9 | <version>2.0.0</version> |
Kishore Reddy, Gujja (kg811t) | a59bc3e | 2018-09-25 13:59:56 -0400 | [diff] [blame] | 10 | <relativePath /> |
Gary Wu | 3c79555 | 2017-10-02 11:20:39 -0700 | [diff] [blame] | 11 | </parent> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 12 | |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 13 | <groupId>org.onap.portal</groupId> |
| 14 | <artifactId>onap-portal-parent</artifactId> |
Sudarshan Kumar | 25b9773 | 2020-04-14 15:12:40 +0530 | [diff] [blame] | 15 | <version>3.3.0</version> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 16 | |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 17 | <packaging>pom</packaging> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 18 | <name>portal</name> |
st782s | b54df0d | 2017-05-04 07:48:42 -0400 | [diff] [blame] | 19 | |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 20 | <modules> |
| 21 | <!-- This parent POM names only ONAP projects --> |
st782s | b54df0d | 2017-05-04 07:48:42 -0400 | [diff] [blame] | 22 | <module>ecomp-portal-BE-common</module> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 23 | <module>ecomp-portal-BE-os</module> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 24 | <module>portal-FE-os</module> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 25 | <module>ecomp-portal-widget-ms</module> |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 26 | </modules> |
Andrew Grimberg | e7a418d | 2017-03-29 10:26:41 -0700 | [diff] [blame] | 27 | |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 28 | <properties> |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 29 | <!-- Jenkins should invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 30 | <build.number>0</build.number> |
jz385p | b5a15c3 | 2020-04-23 16:35:12 +0530 | [diff] [blame^] | 31 | <epsdk.version>3.3.0-SNAPSHOT</epsdk.version> |
statta | a3a04c5 | 2019-08-23 16:49:45 -0400 | [diff] [blame] | 32 | <springframework.version>4.3.24.RELEASE</springframework.version> |
| 33 | <springframework.security.version>4.2.13.RELEASE</springframework.security.version> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 34 | <hibernate.version>4.3.11.Final</hibernate.version> |
Dominik Mizyn | 224909a | 2019-10-24 15:03:21 +0200 | [diff] [blame] | 35 | <fasterxml.version>2.8.11.4</fasterxml.version> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 36 | <!-- NOT provided by OParent, unfortunately --> |
| 37 | <jacocoVersion>0.7.6.201602180812</jacocoVersion> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 38 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 39 | <encoding>UTF-8</encoding> |
Manoop Talasila | f648b5e | 2019-07-31 16:50:20 -0400 | [diff] [blame] | 40 | <!-- <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions> --> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 41 | <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> |
st782s | 2e89d1f | 2018-05-03 16:15:58 -0400 | [diff] [blame] | 42 | <enforcer.skip>false</enforcer.skip> |
jegadeeshbabu3 | c8e0094 | 2020-03-17 23:05:19 +0530 | [diff] [blame] | 43 | <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 44 | </properties> |
| 45 | |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 46 | <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 47 | files among developers. Use values (not properties) so oparent can be resolved. --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 48 | <repositories> |
| 49 | <repository> |
| 50 | <id>onap-releases</id> |
| 51 | <name>ONAP - Release Repository</name> |
| 52 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 53 | </repository> |
| 54 | <repository> |
| 55 | <id>onap-staging</id> |
| 56 | <name>ONAP - Staging Repository</name> |
| 57 | <url>https://nexus.onap.org/content/repositories/staging</url> |
| 58 | </repository> |
| 59 | <repository> |
| 60 | <id>onap-snapshots</id> |
| 61 | <name>ONAP - Snapshot Repository</name> |
| 62 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 63 | </repository> |
| 64 | <repository> |
| 65 | <id>onap-public</id> |
| 66 | <url>https://nexus.onap.org/content/groups/public</url> |
| 67 | </repository> |
| 68 | </repositories> |
| 69 | |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 70 | <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml |
| 71 | files among all developers. --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 72 | <pluginRepositories> |
| 73 | <pluginRepository> |
| 74 | <id>onap-plugin-release</id> |
| 75 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 76 | </pluginRepository> |
| 77 | <pluginRepository> |
| 78 | <id>onap-plugin-staging</id> |
| 79 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 80 | </pluginRepository> |
| 81 | <pluginRepository> |
| 82 | <id>onap-plugin-snapshots</id> |
| 83 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 84 | </pluginRepository> |
| 85 | </pluginRepositories> |
| 86 | |
| 87 | <profiles> |
| 88 | <!-- disable doclint, a new feature in Java 8, when generating javadoc --> |
| 89 | <profile> |
| 90 | <id>doclint-java8-disable</id> |
| 91 | <activation> |
| 92 | <jdk>[1.8,)</jdk> |
| 93 | </activation> |
| 94 | <build> |
| 95 | <plugins> |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-javadoc-plugin</artifactId> |
| 99 | <version>3.0.0-M1</version> |
| 100 | <configuration> |
| 101 | <additionalparam>-Xdoclint:none</additionalparam> |
| 102 | </configuration> |
| 103 | </plugin> |
| 104 | </plugins> |
| 105 | </build> |
| 106 | </profile> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 107 | </profiles> |
| 108 | |
Christopher Lott (cl778h) | d332e89 | 2017-07-12 16:26:42 -0400 | [diff] [blame] | 109 | <build> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 110 | <pluginManagement> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 111 | <plugins> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 112 | <!-- Silence Eclipse m2e warnings --> |
| 113 | <plugin> |
| 114 | <groupId>org.eclipse.m2e</groupId> |
| 115 | <artifactId>lifecycle-mapping</artifactId> |
| 116 | <version>1.0.0</version> |
| 117 | <configuration> |
| 118 | <lifecycleMappingMetadata> |
| 119 | <pluginExecutions> |
| 120 | <pluginExecution> |
| 121 | <pluginExecutionFilter> |
| 122 | <groupId>org.apache.maven.plugins</groupId> |
| 123 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 124 | <versionRange>2.17,)</versionRange> |
| 125 | <goals> |
| 126 | <goal>check</goal> |
| 127 | </goals> |
| 128 | </pluginExecutionFilter> |
| 129 | <action> |
Kishore Reddy, Gujja (kg811t) | a59bc3e | 2018-09-25 13:59:56 -0400 | [diff] [blame] | 130 | <ignore /> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 131 | </action> |
| 132 | </pluginExecution> |
| 133 | </pluginExecutions> |
| 134 | </lifecycleMappingMetadata> |
| 135 | </configuration> |
| 136 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 137 | <plugin> |
| 138 | <artifactId>maven-compiler-plugin</artifactId> |
| 139 | <version>3.1</version> |
| 140 | <configuration> |
| 141 | <source>1.8</source> |
| 142 | <target>1.8</target> |
| 143 | </configuration> |
| 144 | </plugin> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 145 | <!-- maven-site-plugin config is provided by OParent --> |
| 146 | <plugin> |
| 147 | <groupId>org.apache.maven.plugins</groupId> |
| 148 | <artifactId>maven-site-plugin</artifactId> |
| 149 | <version>3.6</version> |
| 150 | <dependencies> |
| 151 | <dependency> |
| 152 | <groupId>org.apache.maven.wagon</groupId> |
| 153 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 154 | <version>2.10</version> |
| 155 | </dependency> |
| 156 | </dependencies> |
| 157 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 158 | </plugins> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 159 | </pluginManagement> |
Christopher Lott (cl778h) | d332e89 | 2017-07-12 16:26:42 -0400 | [diff] [blame] | 160 | <plugins> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 161 | <!-- Jacoco --> |
| 162 | <plugin> |
| 163 | <groupId>org.jacoco</groupId> |
| 164 | <artifactId>jacoco-maven-plugin</artifactId> |
| 165 | <!-- Override OParent version --> |
| 166 | <version>${jacocoVersion}</version> |
| 167 | <executions> |
| 168 | <!-- disable jacoco executions from oparent --> |
| 169 | <execution> |
| 170 | <id>pre-unit-test</id> |
| 171 | <phase>none</phase> |
| 172 | </execution> |
| 173 | <execution> |
| 174 | <id>post-unit-test</id> |
| 175 | <phase>none</phase> |
| 176 | </execution> |
| 177 | <execution> |
| 178 | <id>pre-integration-test</id> |
| 179 | <phase>none</phase> |
| 180 | </execution> |
| 181 | <execution> |
| 182 | <id>post-integration-test</id> |
| 183 | <phase>none</phase> |
| 184 | </execution> |
| 185 | <!-- Order matters --> |
| 186 | <execution> |
| 187 | <id>portal-prepare-agent</id> |
| 188 | <goals> |
| 189 | <goal>prepare-agent</goal> |
| 190 | </goals> |
| 191 | <configuration> |
| 192 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 193 | </configuration> |
| 194 | </execution> |
| 195 | <!-- offline instrumentation for PowerMock --> |
| 196 | <execution> |
| 197 | <id>portal-offline-instrument</id> |
| 198 | <goals> |
| 199 | <goal>instrument</goal> |
| 200 | </goals> |
| 201 | </execution> |
| 202 | <execution> |
| 203 | <id>portal-restore-instrumented-classes</id> |
| 204 | <phase>test</phase> |
| 205 | <goals> |
| 206 | <goal>restore-instrumented-classes</goal> |
| 207 | </goals> |
| 208 | </execution> |
| 209 | <execution> |
| 210 | <id>portal-post-unit-test</id> |
| 211 | <phase>test</phase> |
| 212 | <goals> |
| 213 | <goal>report</goal> |
| 214 | </goals> |
| 215 | <configuration> |
| 216 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 217 | <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory> |
| 218 | </configuration> |
| 219 | </execution> |
| 220 | </executions> |
| 221 | </plugin> |
| 222 | |
| 223 | <plugin> |
| 224 | <groupId>org.apache.maven.plugins</groupId> |
| 225 | <artifactId>maven-surefire-plugin</artifactId> |
| 226 | <configuration> |
| 227 | <systemPropertyVariables> |
| 228 | <jacoco-agent.destfile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco-agent.destfile> |
| 229 | </systemPropertyVariables> |
| 230 | </configuration> |
| 231 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 232 | <!-- No deployment step for this project --> |
| 233 | <plugin> |
| 234 | <groupId>org.apache.maven.plugins</groupId> |
| 235 | <artifactId>maven-deploy-plugin</artifactId> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 236 | <!-- version managed by oparent <version>2.8</version> --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 237 | <configuration> |
| 238 | <skip>true</skip> |
| 239 | </configuration> |
| 240 | </plugin> |
kg811t | 3aa28e9 | 2018-02-08 13:25:08 -0500 | [diff] [blame] | 241 | <plugin> |
| 242 | <groupId>org.codehaus.mojo</groupId> |
| 243 | <artifactId>sonar-maven-plugin</artifactId> |
| 244 | <version>3.0.2</version> |
| 245 | </plugin> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 246 | |
| 247 | <plugin> |
| 248 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 249 | <version>2.17</version> |
| 250 | <dependencies> |
| 251 | <dependency> |
| 252 | <groupId>org.onap.oparent</groupId> |
| 253 | <artifactId>checkstyle</artifactId> |
| 254 | <version>2.0.0</version> |
| 255 | </dependency> |
| 256 | </dependencies> |
| 257 | <executions> |
| 258 | <execution> |
| 259 | <id>onap-license</id> |
| 260 | <goals> |
| 261 | <goal>check</goal> |
| 262 | </goals> |
| 263 | <phase>process-sources</phase> |
| 264 | <configuration> |
| 265 | <configLocation>onap-checkstyle/check-license.xml</configLocation> |
| 266 | <includeResources>false</includeResources> |
| 267 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 268 | <includeTestResources>false</includeTestResources> |
| 269 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 270 | <excludes> |
| 271 | </excludes> |
| 272 | <consoleOutput>true</consoleOutput> |
| 273 | <failsOnViolation>false</failsOnViolation> |
| 274 | </configuration> |
| 275 | </execution> |
| 276 | <execution> |
| 277 | <id>onap-java-style</id> |
| 278 | <goals> |
| 279 | <goal>check</goal> |
| 280 | </goals> |
| 281 | <phase>none</phase> |
| 282 | <configuration> |
| 283 | <!-- Use Google Java Style Guide: |
| 284 | https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml |
| 285 | with minor changes --> |
| 286 | <configLocation>onap-checkstyle/onap-java-style.xml</configLocation> |
| 287 | <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory --> |
| 288 | <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> |
| 289 | <includeResources>true</includeResources> |
| 290 | <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| 291 | <includeTestResources>true</includeTestResources> |
| 292 | <excludes> |
| 293 | </excludes> |
| 294 | <consoleOutput>true</consoleOutput> |
| 295 | <failsOnViolation>false</failsOnViolation> |
| 296 | </configuration> |
| 297 | </execution> |
| 298 | </executions> |
| 299 | </plugin> |
jz385p | b5a15c3 | 2020-04-23 16:35:12 +0530 | [diff] [blame^] | 300 | <plugin> |
| 301 | <groupId>org.apache.maven.plugins</groupId> |
| 302 | <artifactId>maven-enforcer-plugin</artifactId> |
| 303 | <version>3.0.0-M2</version> |
| 304 | <executions> |
| 305 | <execution> |
| 306 | <id>enforce-no-snapshots</id> |
| 307 | <goals> |
| 308 | <goal>enforce</goal> |
| 309 | </goals> |
| 310 | <configuration> |
| 311 | <rules> |
| 312 | <requireReleaseVersion> |
| 313 | <message>No Snapshots Allowed!</message> |
| 314 | </requireReleaseVersion> |
| 315 | </rules> |
| 316 | <fail>false</fail> |
| 317 | </configuration> |
| 318 | </execution> |
| 319 | </executions> |
| 320 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 321 | </plugins> |
| 322 | </build> |
| 323 | |
| 324 | <distributionManagement> |
Christopher Lott (cl778h) | 0bb15c1 | 2017-09-29 14:51:47 -0400 | [diff] [blame] | 325 | <!-- oparent.version defines snapshot and release repositories --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 326 | <site> |
| 327 | <id>ecomp-site</id> |
Christopher Lott (cl778h) | 0bb15c1 | 2017-09-29 14:51:47 -0400 | [diff] [blame] | 328 | <url>dav:https://nexus.onap.org/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</url> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 329 | </site> |
| 330 | </distributionManagement> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 331 | </project> |