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