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> |
Manoop Talasila | f648b5e | 2019-07-31 16:50:20 -0400 | [diff] [blame] | 9 | <version>1.2.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> |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 15 | <version>2.6.0-SNAPSHOT</version> |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 16 | <packaging>pom</packaging> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 17 | <name>portal</name> |
st782s | b54df0d | 2017-05-04 07:48:42 -0400 | [diff] [blame] | 18 | |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 19 | <modules> |
| 20 | <!-- This parent POM names only ONAP projects --> |
st782s | b54df0d | 2017-05-04 07:48:42 -0400 | [diff] [blame] | 21 | <module>ecomp-portal-BE-common</module> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 22 | <module>ecomp-portal-BE-os</module> |
st782s | b54df0d | 2017-05-04 07:48:42 -0400 | [diff] [blame] | 23 | <module>ecomp-portal-FE-os</module> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 24 | <module>ecomp-portal-widget-ms</module> |
Dominik Mizyn | be46832 | 2019-08-20 13:29:19 +0200 | [diff] [blame] | 25 | <module>portal-BE</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> |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 31 | <epsdk.version>2.6.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> |
Kishore Reddy, Gujja (kg811t) | 4ee8967 | 2018-03-20 17:15:25 -0400 | [diff] [blame] | 35 | <fasterxml.version>2.8.10</fasterxml.version> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 36 | <eelf.version>1.0.0</eelf.version> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 37 | <!-- NOT provided by OParent, unfortunately --> |
| 38 | <jacocoVersion>0.7.6.201602180812</jacocoVersion> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 40 | <encoding>UTF-8</encoding> |
Manoop Talasila | f648b5e | 2019-07-31 16:50:20 -0400 | [diff] [blame] | 41 | <!-- <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions> --> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 42 | <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> |
st782s | 2e89d1f | 2018-05-03 16:15:58 -0400 | [diff] [blame] | 43 | <enforcer.skip>false</enforcer.skip> |
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> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 246 | </plugins> |
| 247 | </build> |
| 248 | |
| 249 | <distributionManagement> |
Christopher Lott (cl778h) | 0bb15c1 | 2017-09-29 14:51:47 -0400 | [diff] [blame] | 250 | <!-- oparent.version defines snapshot and release repositories --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 251 | <site> |
| 252 | <id>ecomp-site</id> |
Christopher Lott (cl778h) | 0bb15c1 | 2017-09-29 14:51:47 -0400 | [diff] [blame] | 253 | <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] | 254 | </site> |
| 255 | </distributionManagement> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 256 | </project> |