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> |
talasila | 0ff0e9f | 2017-02-15 17:36:47 -0500 | [diff] [blame] | 25 | </modules> |
Andrew Grimberg | e7a418d | 2017-03-29 10:26:41 -0700 | [diff] [blame] | 26 | |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 27 | <properties> |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 28 | <!-- Jenkins should invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 29 | <build.number>0</build.number> |
Kotta, Shireesha (sk434m) | b75f35b | 2019-06-13 14:41:15 -0400 | [diff] [blame] | 30 | <epsdk.version>2.6.0-SNAPSHOT</epsdk.version> |
Kishore Reddy, Gujja (kg811t) | 8886b47 | 2018-03-23 18:16:50 -0400 | [diff] [blame] | 31 | <springframework.version>4.2.3.RELEASE</springframework.version> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 32 | <hibernate.version>4.3.11.Final</hibernate.version> |
Kishore Reddy, Gujja (kg811t) | 4ee8967 | 2018-03-20 17:15:25 -0400 | [diff] [blame] | 33 | <fasterxml.version>2.8.10</fasterxml.version> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 34 | <eelf.version>1.0.0</eelf.version> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 35 | <!-- NOT provided by OParent, unfortunately --> |
| 36 | <jacocoVersion>0.7.6.201602180812</jacocoVersion> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 38 | <encoding>UTF-8</encoding> |
Manoop Talasila | f648b5e | 2019-07-31 16:50:20 -0400 | [diff] [blame] | 39 | <!-- <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions> --> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 40 | <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions> |
st782s | 2e89d1f | 2018-05-03 16:15:58 -0400 | [diff] [blame] | 41 | <enforcer.skip>false</enforcer.skip> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 42 | </properties> |
| 43 | |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 44 | <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 45 | 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] | 46 | <repositories> |
| 47 | <repository> |
| 48 | <id>onap-releases</id> |
| 49 | <name>ONAP - Release Repository</name> |
| 50 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 51 | </repository> |
| 52 | <repository> |
| 53 | <id>onap-staging</id> |
| 54 | <name>ONAP - Staging Repository</name> |
| 55 | <url>https://nexus.onap.org/content/repositories/staging</url> |
| 56 | </repository> |
| 57 | <repository> |
| 58 | <id>onap-snapshots</id> |
| 59 | <name>ONAP - Snapshot Repository</name> |
| 60 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 61 | </repository> |
| 62 | <repository> |
| 63 | <id>onap-public</id> |
| 64 | <url>https://nexus.onap.org/content/groups/public</url> |
| 65 | </repository> |
| 66 | </repositories> |
| 67 | |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 68 | <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml |
| 69 | files among all developers. --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 70 | <pluginRepositories> |
| 71 | <pluginRepository> |
| 72 | <id>onap-plugin-release</id> |
| 73 | <url>https://nexus.onap.org/content/repositories/releases/</url> |
| 74 | </pluginRepository> |
| 75 | <pluginRepository> |
| 76 | <id>onap-plugin-staging</id> |
| 77 | <url>https://nexus.onap.org/content/repositories/staging/</url> |
| 78 | </pluginRepository> |
| 79 | <pluginRepository> |
| 80 | <id>onap-plugin-snapshots</id> |
| 81 | <url>https://nexus.onap.org/content/repositories/snapshots/</url> |
| 82 | </pluginRepository> |
| 83 | </pluginRepositories> |
| 84 | |
| 85 | <profiles> |
| 86 | <!-- disable doclint, a new feature in Java 8, when generating javadoc --> |
| 87 | <profile> |
| 88 | <id>doclint-java8-disable</id> |
| 89 | <activation> |
| 90 | <jdk>[1.8,)</jdk> |
| 91 | </activation> |
| 92 | <build> |
| 93 | <plugins> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-javadoc-plugin</artifactId> |
| 97 | <version>3.0.0-M1</version> |
| 98 | <configuration> |
| 99 | <additionalparam>-Xdoclint:none</additionalparam> |
| 100 | </configuration> |
| 101 | </plugin> |
| 102 | </plugins> |
| 103 | </build> |
| 104 | </profile> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 105 | </profiles> |
| 106 | |
Christopher Lott (cl778h) | d332e89 | 2017-07-12 16:26:42 -0400 | [diff] [blame] | 107 | <build> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 108 | <pluginManagement> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 109 | <plugins> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 110 | <!-- Silence Eclipse m2e warnings --> |
| 111 | <plugin> |
| 112 | <groupId>org.eclipse.m2e</groupId> |
| 113 | <artifactId>lifecycle-mapping</artifactId> |
| 114 | <version>1.0.0</version> |
| 115 | <configuration> |
| 116 | <lifecycleMappingMetadata> |
| 117 | <pluginExecutions> |
| 118 | <pluginExecution> |
| 119 | <pluginExecutionFilter> |
| 120 | <groupId>org.apache.maven.plugins</groupId> |
| 121 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 122 | <versionRange>2.17,)</versionRange> |
| 123 | <goals> |
| 124 | <goal>check</goal> |
| 125 | </goals> |
| 126 | </pluginExecutionFilter> |
| 127 | <action> |
Kishore Reddy, Gujja (kg811t) | a59bc3e | 2018-09-25 13:59:56 -0400 | [diff] [blame] | 128 | <ignore /> |
Christopher Lott (cl778h) | de8b8df | 2017-09-28 16:59:17 -0400 | [diff] [blame] | 129 | </action> |
| 130 | </pluginExecution> |
| 131 | </pluginExecutions> |
| 132 | </lifecycleMappingMetadata> |
| 133 | </configuration> |
| 134 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 135 | <plugin> |
| 136 | <artifactId>maven-compiler-plugin</artifactId> |
| 137 | <version>3.1</version> |
| 138 | <configuration> |
| 139 | <source>1.8</source> |
| 140 | <target>1.8</target> |
| 141 | </configuration> |
| 142 | </plugin> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 143 | <!-- maven-site-plugin config is provided by OParent --> |
| 144 | <plugin> |
| 145 | <groupId>org.apache.maven.plugins</groupId> |
| 146 | <artifactId>maven-site-plugin</artifactId> |
| 147 | <version>3.6</version> |
| 148 | <dependencies> |
| 149 | <dependency> |
| 150 | <groupId>org.apache.maven.wagon</groupId> |
| 151 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 152 | <version>2.10</version> |
| 153 | </dependency> |
| 154 | </dependencies> |
| 155 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 156 | </plugins> |
Christopher Lott (cl778h) | 23634db | 2017-09-25 16:07:54 -0400 | [diff] [blame] | 157 | </pluginManagement> |
Christopher Lott (cl778h) | d332e89 | 2017-07-12 16:26:42 -0400 | [diff] [blame] | 158 | <plugins> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 159 | <!-- Jacoco --> |
| 160 | <plugin> |
| 161 | <groupId>org.jacoco</groupId> |
| 162 | <artifactId>jacoco-maven-plugin</artifactId> |
| 163 | <!-- Override OParent version --> |
| 164 | <version>${jacocoVersion}</version> |
| 165 | <executions> |
| 166 | <!-- disable jacoco executions from oparent --> |
| 167 | <execution> |
| 168 | <id>pre-unit-test</id> |
| 169 | <phase>none</phase> |
| 170 | </execution> |
| 171 | <execution> |
| 172 | <id>post-unit-test</id> |
| 173 | <phase>none</phase> |
| 174 | </execution> |
| 175 | <execution> |
| 176 | <id>pre-integration-test</id> |
| 177 | <phase>none</phase> |
| 178 | </execution> |
| 179 | <execution> |
| 180 | <id>post-integration-test</id> |
| 181 | <phase>none</phase> |
| 182 | </execution> |
| 183 | <!-- Order matters --> |
| 184 | <execution> |
| 185 | <id>portal-prepare-agent</id> |
| 186 | <goals> |
| 187 | <goal>prepare-agent</goal> |
| 188 | </goals> |
| 189 | <configuration> |
| 190 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 191 | </configuration> |
| 192 | </execution> |
| 193 | <!-- offline instrumentation for PowerMock --> |
| 194 | <execution> |
| 195 | <id>portal-offline-instrument</id> |
| 196 | <goals> |
| 197 | <goal>instrument</goal> |
| 198 | </goals> |
| 199 | </execution> |
| 200 | <execution> |
| 201 | <id>portal-restore-instrumented-classes</id> |
| 202 | <phase>test</phase> |
| 203 | <goals> |
| 204 | <goal>restore-instrumented-classes</goal> |
| 205 | </goals> |
| 206 | </execution> |
| 207 | <execution> |
| 208 | <id>portal-post-unit-test</id> |
| 209 | <phase>test</phase> |
| 210 | <goals> |
| 211 | <goal>report</goal> |
| 212 | </goals> |
| 213 | <configuration> |
| 214 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 215 | <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory> |
| 216 | </configuration> |
| 217 | </execution> |
| 218 | </executions> |
| 219 | </plugin> |
| 220 | |
| 221 | <plugin> |
| 222 | <groupId>org.apache.maven.plugins</groupId> |
| 223 | <artifactId>maven-surefire-plugin</artifactId> |
| 224 | <configuration> |
| 225 | <systemPropertyVariables> |
| 226 | <jacoco-agent.destfile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco-agent.destfile> |
| 227 | </systemPropertyVariables> |
| 228 | </configuration> |
| 229 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 230 | <!-- No deployment step for this project --> |
| 231 | <plugin> |
| 232 | <groupId>org.apache.maven.plugins</groupId> |
| 233 | <artifactId>maven-deploy-plugin</artifactId> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 234 | <!-- version managed by oparent <version>2.8</version> --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 235 | <configuration> |
| 236 | <skip>true</skip> |
| 237 | </configuration> |
| 238 | </plugin> |
kg811t | 3aa28e9 | 2018-02-08 13:25:08 -0500 | [diff] [blame] | 239 | <plugin> |
| 240 | <groupId>org.codehaus.mojo</groupId> |
| 241 | <artifactId>sonar-maven-plugin</artifactId> |
| 242 | <version>3.0.2</version> |
| 243 | </plugin> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 244 | </plugins> |
| 245 | </build> |
| 246 | |
| 247 | <distributionManagement> |
Christopher Lott (cl778h) | 0bb15c1 | 2017-09-29 14:51:47 -0400 | [diff] [blame] | 248 | <!-- oparent.version defines snapshot and release repositories --> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 249 | <site> |
| 250 | <id>ecomp-site</id> |
Christopher Lott (cl778h) | 0bb15c1 | 2017-09-29 14:51:47 -0400 | [diff] [blame] | 251 | <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] | 252 | </site> |
| 253 | </distributionManagement> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 254 | </project> |