Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [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"> |
st782s | 21a8761 | 2018-01-30 17:29:36 -0500 | [diff] [blame] | 4 | <modelVersion>4.0.0</modelVersion> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 5 | |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 6 | <!-- This project must name Spring as parent; cannot name Portal --> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 7 | <parent> |
| 8 | <groupId>org.springframework.boot</groupId> |
| 9 | <artifactId>spring-boot-starter-parent</artifactId> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 10 | <version>2.2.5.RELEASE</version> |
Kishore Reddy, Gujja (kg811t) | a59bc3e | 2018-09-25 13:59:56 -0400 | [diff] [blame] | 11 | <relativePath /> <!-- lookup parent from repository --> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 12 | </parent> |
| 13 | |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 14 | <groupId>org.onap.portal</groupId> |
| 15 | <artifactId>widget-ms</artifactId> |
Muni Mohan Kunchi | fca38e1 | 2020-07-01 09:38:08 -0400 | [diff] [blame] | 16 | <version>3.4.0</version> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 17 | <packaging>jar</packaging> |
| 18 | <name>widget-microservice</name> |
| 19 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 20 | <properties> |
| 21 | <docker.imagename>widget-ms</docker.imagename> |
| 22 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 23 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 24 | <java.version>1.8</java.version> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 25 | <hibernate.version>5.4.14.Final</hibernate.version> |
sa282w | aa9b320 | 2018-07-25 13:25:43 -0400 | [diff] [blame] | 26 | <skipTests>false</skipTests> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 27 | <!-- Replicate this from OParent --> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 28 | <jacocoVersion>0.8.2</jacocoVersion> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 29 | </properties> |
| 30 | |
| 31 | <dependencies> |
Christopher Lott (cl778h) | 52ef947 | 2017-08-30 16:09:59 -0400 | [diff] [blame] | 32 | <!-- This pom pulls in artifacts --> |
| 33 | <dependency> |
Christopher Lott (cl778h) | 51d8315 | 2017-09-28 11:18:14 -0400 | [diff] [blame] | 34 | <groupId>org.onap.portal</groupId> |
Christopher Lott (cl778h) | 52ef947 | 2017-08-30 16:09:59 -0400 | [diff] [blame] | 35 | <artifactId>common-widgets</artifactId> |
| 36 | <version>${project.version}</version> |
| 37 | <type>pom</type> |
| 38 | </dependency> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 39 | <dependency> |
| 40 | <!-- Setup Spring Data JPA Repository support --> |
| 41 | <groupId>org.springframework.boot</groupId> |
| 42 | <artifactId>spring-boot-starter-data-jpa</artifactId> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.springframework.boot</groupId> |
| 46 | <artifactId>spring-boot-starter-security</artifactId> |
sa282w | 78224cb | 2018-03-30 14:09:40 -0400 | [diff] [blame] | 47 | <exclusions> |
| 48 | <exclusion> |
| 49 | <groupId>org.springframework.security</groupId> |
| 50 | <artifactId>spring-security-web</artifactId> |
| 51 | </exclusion> |
| 52 | </exclusions> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.springframework.boot</groupId> |
| 56 | <artifactId>spring-boot-starter-thymeleaf</artifactId> |
| 57 | </dependency> |
hb123f | a70761c | 2019-03-20 12:20:44 -0400 | [diff] [blame] | 58 | <!-- <dependency> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 59 | <groupId>org.springframework.boot</groupId> |
| 60 | <artifactId>spring-boot-devtools</artifactId> |
| 61 | <optional>true</optional> |
hb123f | a70761c | 2019-03-20 12:20:44 -0400 | [diff] [blame] | 62 | </dependency> --> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 63 | <dependency> |
| 64 | <groupId>org.springframework.boot</groupId> |
| 65 | <artifactId>spring-boot-configuration-processor</artifactId> |
| 66 | <optional>true</optional> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.hibernate</groupId> |
| 70 | <artifactId>hibernate-core</artifactId> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 71 | <version>${hibernate.version}</version> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 72 | </dependency> |
| 73 | <dependency> |
| 74 | <groupId>org.springframework.boot</groupId> |
| 75 | <artifactId>spring-boot-starter</artifactId> |
| 76 | </dependency> |
| 77 | <dependency> |
| 78 | <groupId>org.springframework.boot</groupId> |
| 79 | <artifactId>spring-boot-starter-test</artifactId> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
| 83 | <groupId>org.springframework.boot</groupId> |
| 84 | <artifactId>spring-boot-starter-web</artifactId> |
| 85 | </dependency> |
| 86 | <dependency> |
| 87 | <groupId>commons-codec</groupId> |
| 88 | <artifactId>commons-codec</artifactId> |
| 89 | <!-- <version>1.10</version> --> |
| 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.mariadb.jdbc</groupId> |
| 93 | <artifactId>mariadb-java-client</artifactId> |
jz385p | 78c73d1 | 2020-07-30 22:16:02 +0530 | [diff] [blame] | 94 | <version>1.5.8</version> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 95 | </dependency> |
| 96 | <dependency> |
| 97 | <groupId>com.github.ulisesbocchio</groupId> |
| 98 | <artifactId>jasypt-spring-boot-starter</artifactId> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 99 | <version>2.1.0</version> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 100 | </dependency> |
statta | a3a04c5 | 2019-08-23 16:49:45 -0400 | [diff] [blame] | 101 | <dependency> |
| 102 | <groupId>org.jsoup</groupId> |
| 103 | <artifactId>jsoup</artifactId> |
| 104 | <version>1.12.1</version> |
| 105 | </dependency> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 106 | <!-- hibernate-core depends on dom4j, which has optional dependencies. |
| 107 | On jenkins, contrary to doc, mvn 3.0.5 packages the optional dependencies |
| 108 | in the war. Workaround: exclude them explicitly. --> |
| 109 | <dependency> |
| 110 | <groupId>dom4j</groupId> |
| 111 | <artifactId>dom4j</artifactId> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 112 | <version>1.6.1</version> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 113 | <exclusions> |
| 114 | <exclusion> |
| 115 | <groupId>jaxme</groupId> |
| 116 | <artifactId>jaxme-api</artifactId> |
| 117 | </exclusion> |
| 118 | <exclusion> |
| 119 | <groupId>jaxen</groupId> |
| 120 | <artifactId>jaxen</artifactId> |
| 121 | </exclusion> |
| 122 | <exclusion> |
| 123 | <groupId>msv</groupId> |
| 124 | <artifactId>xsdlib</artifactId> |
| 125 | </exclusion> |
| 126 | <exclusion> |
| 127 | <groupId>msv</groupId> |
| 128 | <artifactId>relaxngDatatype</artifactId> |
| 129 | </exclusion> |
| 130 | <exclusion> |
| 131 | <groupId>pull-parser</groupId> |
| 132 | <artifactId>pull-parser</artifactId> |
| 133 | </exclusion> |
| 134 | <exclusion> |
| 135 | <groupId>xpp3</groupId> |
| 136 | <artifactId>xpp3</artifactId> |
| 137 | </exclusion> |
| 138 | <exclusion> |
| 139 | <groupId>stax</groupId> |
| 140 | <artifactId>stax-api</artifactId> |
| 141 | </exclusion> |
| 142 | </exclusions> |
| 143 | </dependency> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 144 | <!-- Jacoco offline instrumentation agent --> |
| 145 | <dependency> |
| 146 | <groupId>org.jacoco</groupId> |
| 147 | <artifactId>org.jacoco.agent</artifactId> |
| 148 | <version>${jacocoVersion}</version> |
| 149 | <classifier>runtime</classifier> |
| 150 | </dependency> |
Gujja | fadf84a | 2018-03-01 15:57:55 -0500 | [diff] [blame] | 151 | <dependency> |
| 152 | <groupId>org.apache.tomcat.embed</groupId> |
| 153 | <artifactId>tomcat-embed-core</artifactId> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 154 | <version>9.0.33</version> |
Gujja | fadf84a | 2018-03-01 15:57:55 -0500 | [diff] [blame] | 155 | </dependency> |
Kishore Reddy, Gujja (kg811t) | 4ee8967 | 2018-03-20 17:15:25 -0400 | [diff] [blame] | 156 | <dependency> |
| 157 | <groupId>ch.qos.logback</groupId> |
| 158 | <artifactId>logback-core</artifactId> |
| 159 | <version>1.2.3</version> |
| 160 | </dependency> |
| 161 | <dependency> |
| 162 | <groupId>ch.qos.logback</groupId> |
| 163 | <artifactId>logback-classic</artifactId> |
| 164 | <version>1.2.3</version> |
| 165 | </dependency> |
Kishore Reddy, Gujja (kg811t) | 8886b47 | 2018-03-23 18:16:50 -0400 | [diff] [blame] | 166 | <dependency> |
| 167 | <groupId>com.fasterxml.jackson.core</groupId> |
| 168 | <artifactId>jackson-annotations</artifactId> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 169 | <version>2.9.8</version> |
Kishore Reddy, Gujja (kg811t) | 8886b47 | 2018-03-23 18:16:50 -0400 | [diff] [blame] | 170 | </dependency> |
| 171 | <dependency> |
| 172 | <groupId>com.fasterxml.jackson.core</groupId> |
| 173 | <artifactId>jackson-core</artifactId> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 174 | <version>2.9.8</version> |
Kishore Reddy, Gujja (kg811t) | 8886b47 | 2018-03-23 18:16:50 -0400 | [diff] [blame] | 175 | </dependency> |
| 176 | <dependency> |
| 177 | <groupId>com.fasterxml.jackson.core</groupId> |
| 178 | <artifactId>jackson-databind</artifactId> |
Sudarshan Kumar | 8e83c25 | 2020-02-18 16:16:26 +0530 | [diff] [blame] | 179 | <version>2.9.8</version> |
Kishore Reddy, Gujja (kg811t) | 8886b47 | 2018-03-23 18:16:50 -0400 | [diff] [blame] | 180 | </dependency> |
sa282w | 78224cb | 2018-03-30 14:09:40 -0400 | [diff] [blame] | 181 | <dependency> |
| 182 | <groupId>org.springframework.security</groupId> |
| 183 | <artifactId>spring-security-web</artifactId> |
PATTANAYAK, SAUMYA SWARUP (sp931a) | cb4ff59 | 2020-04-27 12:40:47 -0400 | [diff] [blame] | 184 | <version>5.2.3.RELEASE</version> |
sa282w | 78224cb | 2018-03-30 14:09:40 -0400 | [diff] [blame] | 185 | </dependency> |
Dominik Mizyn | 4750a19 | 2019-06-13 17:03:08 +0200 | [diff] [blame] | 186 | <dependency> |
| 187 | <groupId>org.projectlombok</groupId> |
| 188 | <artifactId>lombok</artifactId> |
| 189 | <version>1.18.4</version> |
| 190 | </dependency> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 191 | </dependencies> |
| 192 | |
| 193 | <build> |
| 194 | |
| 195 | <finalName>${project.artifactId}</finalName> |
| 196 | |
| 197 | <!-- To add resources, must name all including usual src/main/resources --> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 198 | <resources> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 199 | <resource> |
| 200 | <directory>src/main/resources</directory> |
| 201 | <filtering>true</filtering> |
| 202 | </resource> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 203 | <resource> |
| 204 | <directory>../common-widgets/target</directory> |
| 205 | <includes> |
| 206 | <include>**/*.zip</include> |
| 207 | </includes> |
| 208 | </resource> |
| 209 | </resources> |
| 210 | |
| 211 | <pluginManagement> |
| 212 | <plugins> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 213 | <!-- replicated from OParent --> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 214 | <plugin> |
| 215 | <groupId>org.apache.maven.plugins</groupId> |
| 216 | <artifactId>maven-site-plugin</artifactId> |
| 217 | <version>3.6</version> |
| 218 | <dependencies> |
| 219 | <dependency> |
| 220 | <groupId>org.apache.maven.wagon</groupId> |
| 221 | <artifactId>wagon-webdav-jackrabbit</artifactId> |
| 222 | <version>2.10</version> |
| 223 | </dependency> |
| 224 | </dependencies> |
| 225 | </plugin> |
| 226 | </plugins> |
| 227 | </pluginManagement> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 228 | |
| 229 | <plugins> |
| 230 | |
| 231 | <plugin> |
| 232 | <groupId>org.springframework.boot</groupId> |
| 233 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 234 | </plugin> |
| 235 | |
Christopher Lott (cl778h) | 19f3f4a | 2017-08-26 06:45:20 -0400 | [diff] [blame] | 236 | <!-- No deployment step for this project --> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 237 | <plugin> |
Christopher Lott (cl778h) | 19f3f4a | 2017-08-26 06:45:20 -0400 | [diff] [blame] | 238 | <groupId>org.apache.maven.plugins</groupId> |
| 239 | <artifactId>maven-deploy-plugin</artifactId> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 240 | <!-- version set by spring <version>2.8</version> --> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 241 | <configuration> |
Christopher Lott (cl778h) | 19f3f4a | 2017-08-26 06:45:20 -0400 | [diff] [blame] | 242 | <skip>true</skip> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 243 | </configuration> |
| 244 | </plugin> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 245 | <plugin> |
| 246 | <groupId>org.jacoco</groupId> |
| 247 | <artifactId>jacoco-maven-plugin</artifactId> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 248 | <version>${jacocoVersion}</version> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 249 | <executions> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 250 | <!-- disable jacoco executions from oparent --> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 251 | <execution> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 252 | <id>pre-unit-test</id> |
| 253 | <phase>none</phase> |
| 254 | </execution> |
| 255 | <execution> |
| 256 | <id>post-unit-test</id> |
| 257 | <phase>none</phase> |
| 258 | </execution> |
| 259 | <execution> |
| 260 | <id>pre-integration-test</id> |
| 261 | <phase>none</phase> |
| 262 | </execution> |
| 263 | <execution> |
| 264 | <id>post-integration-test</id> |
| 265 | <phase>none</phase> |
| 266 | </execution> |
| 267 | <!-- Order matters --> |
| 268 | <execution> |
| 269 | <id>portal-prepare-agent</id> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 270 | <goals> |
| 271 | <goal>prepare-agent</goal> |
| 272 | </goals> |
| 273 | <configuration> |
| 274 | <destFile>${sonar.jacoco.reportPath}</destFile> |
| 275 | </configuration> |
| 276 | </execution> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 277 | <!-- offline instrumentation for PowerMock --> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 278 | <execution> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 279 | <id>portal-offline-instrument</id> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 280 | <goals> |
| 281 | <goal>instrument</goal> |
| 282 | </goals> |
| 283 | </execution> |
| 284 | <execution> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 285 | <id>portal-restore-instrumented-classes</id> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 286 | <phase>test</phase> |
| 287 | <goals> |
| 288 | <goal>restore-instrumented-classes</goal> |
| 289 | </goals> |
| 290 | </execution> |
| 291 | <execution> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 292 | <id>portal-post-unit-test</id> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 293 | <phase>test</phase> |
| 294 | <goals> |
| 295 | <goal>report</goal> |
| 296 | </goals> |
| 297 | <configuration> |
| 298 | <dataFile>${sonar.jacoco.reportPath}</dataFile> |
| 299 | <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory> |
| 300 | </configuration> |
| 301 | </execution> |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 302 | </executions> |
| 303 | </plugin> |
Christopher Lott (cl778h) | b6079b3 | 2017-10-04 14:14:36 -0400 | [diff] [blame] | 304 | |
| 305 | <plugin> |
| 306 | <groupId>org.apache.maven.plugins</groupId> |
| 307 | <artifactId>maven-surefire-plugin</artifactId> |
| 308 | <configuration> |
| 309 | <systemPropertyVariables> |
| 310 | <jacoco-agent.destfile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco-agent.destfile> |
| 311 | </systemPropertyVariables> |
| 312 | </configuration> |
| 313 | </plugin> |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 314 | </plugins> |
| 315 | |
| 316 | </build> |
| 317 | |
Christopher Lott (cl778h) | 88c674e | 2017-10-04 08:32:30 -0400 | [diff] [blame] | 318 | <!-- This POM cannot inherit from OParent --> |
| 319 | <distributionManagement> |
| 320 | <site> |
| 321 | <id>ecomp-site</id> |
| 322 | <url>dav:https://nexus.onap.org/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</url> |
| 323 | </site> |
| 324 | </distributionManagement> |
| 325 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 326 | </project> |