AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | 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"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 5 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 6 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 7 | <artifactId>onboarding-be</artifactId> |
| 8 | <name>onboarding-rest-war</name> |
| 9 | <packaging>war</packaging> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 10 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 11 | <parent> |
| 12 | <groupId>org.openecomp.sdc</groupId> |
| 13 | <artifactId>openecomp-sdc-rest-webapp</artifactId> |
Michael Lando | 0ad3c80 | 2017-09-19 16:32:59 +0300 | [diff] [blame] | 14 | <version>1.2.0-SNAPSHOT</version> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 15 | </parent> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 16 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 17 | <dependencies> |
| 18 | <dependency> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 19 | <groupId>org.openecomp.sdc</groupId> |
| 20 | <artifactId>item-rest-services</artifactId> |
| 21 | <version>${project.version}</version> |
| 22 | </dependency> |
| 23 | <dependency> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 24 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 25 | <artifactId>vendor-license-rest-services</artifactId> |
| 26 | <version>${project.version}</version> |
| 27 | </dependency> |
| 28 | <dependency> |
| 29 | <groupId>org.openecomp.sdc</groupId> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 30 | <artifactId>openecomp-sdc-notification-api</artifactId> |
| 31 | <version>${project.version}</version> |
| 32 | </dependency> |
| 33 | <dependency> |
| 34 | <groupId>org.openecomp.sdc</groupId> |
| 35 | <artifactId>openecomp-sdc-notification-core</artifactId> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 36 | <version>${project.version}</version> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 40 | <artifactId>vendor-software-products-rest-services</artifactId> |
| 41 | <version>${project.version}</version> |
| 42 | </dependency> |
| 43 | <dependency> |
| 44 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 45 | <artifactId>validation-rest-services</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 48 | <dependency> |
| 49 | <groupId>org.openecomp.sdc</groupId> |
| 50 | <artifactId>healthcheck-rest-services</artifactId> |
| 51 | <version>${project.version}</version> |
| 52 | </dependency> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 53 | <dependency> |
| 54 | <groupId>org.openecomp.sdc</groupId> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 55 | <artifactId>conflict-rest-services</artifactId> |
| 56 | <version>${project.version}</version> |
| 57 | </dependency> |
| 58 | <dependency> |
| 59 | <groupId>org.openecomp.sdc</groupId> |
| 60 | <artifactId>item-permissions-rest-services</artifactId> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
| 63 | <dependency> |
| 64 | <groupId>org.openecomp.sdc</groupId> |
| 65 | <artifactId>notifications-rest-services</artifactId> |
| 66 | <version>${project.version}</version> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.openecomp.sdc</groupId> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 70 | <artifactId>application-config-rest-services</artifactId> |
| 71 | <version>${project.version}</version> |
| 72 | </dependency> |
| 73 | <dependency> |
vempo | 81ad9aa | 2018-01-09 14:25:08 +0200 | [diff] [blame] | 74 | <groupId>org.openecomp.sdc</groupId> |
| 75 | <artifactId>togglz-rest-services</artifactId> |
| 76 | <version>${project.version}</version> |
| 77 | </dependency> |
| 78 | <dependency> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 79 | <groupId>org.openecomp.sdc.onboarding</groupId> |
| 80 | <artifactId>action-library-rest-services</artifactId> |
| 81 | <version>${project.version}</version> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>javax.servlet</groupId> |
| 85 | <artifactId>servlet-api</artifactId> |
| 86 | <version>${javax.servlet.version}</version> |
| 87 | </dependency> |
| 88 | <!-- JSON --> |
| 89 | <dependency> |
| 90 | <groupId>org.codehaus.jackson</groupId> |
| 91 | <artifactId>jackson-jaxrs</artifactId> |
| 92 | <version>${org.codehaus.jackson.version}</version> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.codehaus.jackson</groupId> |
| 96 | <artifactId>jackson-core-asl</artifactId> |
| 97 | <version>${org.codehaus.jackson.version}</version> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>javax.inject</groupId> |
| 101 | <artifactId>javax.inject</artifactId> |
| 102 | <version>${javax.inject.version}</version> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.openecomp.sdc</groupId> |
| 106 | <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId> |
| 107 | <version>${project.version}</version> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.eclipse.jetty</groupId> |
| 111 | <artifactId>jetty-servlets</artifactId> |
| 112 | <version>${jetty.servlets.version}</version> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>org.openecomp.sdc</groupId> |
| 116 | <artifactId>openecomp-sdc-application-config-manager</artifactId> |
| 117 | <version>${project.version}</version> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.codehaus.groovy</groupId> |
| 121 | <artifactId>groovy</artifactId> |
| 122 | <version>${groovy.version}</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>ch.qos.logback</groupId> |
| 126 | <artifactId>logback-classic</artifactId> |
| 127 | <version>${logback.version}</version> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>ch.qos.logback</groupId> |
| 131 | <artifactId>logback-core</artifactId> |
| 132 | <version>${logback.version}</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.codehaus.janino</groupId> |
| 136 | <artifactId>janino</artifactId> |
| 137 | <scope>compile</scope> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.springframework</groupId> |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 141 | <artifactId>spring-context</artifactId> |
| 142 | <version>${spring.framework.version}</version> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.springframework</groupId> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 146 | <artifactId>spring-core</artifactId> |
| 147 | <version>${spring.framework.version}</version> |
| 148 | </dependency> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 149 | <dependency> |
| 150 | <groupId>org.springframework</groupId> |
| 151 | <artifactId>spring-web</artifactId> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 152 | <version>${spring.framework.version}</version> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 153 | </dependency> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 154 | <dependency> |
| 155 | <groupId>org.springframework</groupId> |
| 156 | <artifactId>spring-aop</artifactId> |
| 157 | <version>${spring.framework.version}</version> |
| 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.springframework</groupId> |
| 161 | <artifactId>spring-webmvc</artifactId> |
| 162 | <version>${spring.framework.version}</version> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>org.aspectj</groupId> |
| 166 | <artifactId>aspectjweaver</artifactId> |
| 167 | <version>${aspectj.version}</version> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.aspectj</groupId> |
| 171 | <artifactId>aspectjrt</artifactId> |
| 172 | <version>${aspectj.version}</version> |
| 173 | </dependency> |
| 174 | <dependency> |
| 175 | <groupId>org.aspectj</groupId> |
| 176 | <artifactId>aspectjtools</artifactId> |
| 177 | <version>${aspectj.version}</version> |
| 178 | </dependency> |
sheetalm | 64ffbe2 | 2017-12-13 15:25:05 +0530 | [diff] [blame] | 179 | <dependency> |
| 180 | <groupId>org.togglz</groupId> |
| 181 | <artifactId>togglz-servlet</artifactId> |
| 182 | <version>${togglz.version}</version> |
| 183 | </dependency> |
ayalaben | ac7c685 | 2017-12-31 17:57:36 +0200 | [diff] [blame] | 184 | <dependency> |
| 185 | <groupId>org.togglz</groupId> |
| 186 | <artifactId>togglz-console</artifactId> |
| 187 | <version>${togglz.version}</version> |
| 188 | </dependency> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 189 | </dependencies> |
| 190 | |
| 191 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 192 | <build> |
| 193 | <plugins> |
| 194 | <plugin> |
| 195 | <groupId>org.apache.maven.plugins</groupId> |
| 196 | <artifactId>maven-compiler-plugin</artifactId> |
| 197 | </plugin> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 198 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 199 | <plugin> |
| 200 | <groupId>org.apache.maven.plugins</groupId> |
| 201 | <artifactId>maven-surefire-plugin</artifactId> |
| 202 | <configuration> |
| 203 | <includes> |
| 204 | <include>test/core/unittest/offline/**</include> |
| 205 | </includes> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 206 | <systemProperties> |
| 207 | <property> |
| 208 | <name>buildNumber</name> |
| 209 | <value>${buildNumber}</value> |
| 210 | </property> |
| 211 | </systemProperties> |
| 212 | </configuration> |
| 213 | </plugin> |
| 214 | <plugin> |
| 215 | <artifactId>maven-war-plugin</artifactId> |
| 216 | <version>${mvn.war.version}</version> |
| 217 | <configuration> |
| 218 | <attachClasses>true</attachClasses> |
| 219 | <webResources> |
| 220 | <resource> |
| 221 | <!-- this is relative to the pom.xml directory --> |
| 222 | <directory>${basedir}/target/generated/swagger-ui</directory> |
Avi Ziv | e6313a2 | 2017-12-11 11:56:18 +0200 | [diff] [blame] | 223 | <directory>${basedir}/target</directory> |
| 224 | <includes> |
| 225 | <include>docs/*.*</include> |
| 226 | </includes> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 227 | </resource> |
| 228 | </webResources> |
| 229 | </configuration> |
| 230 | </plugin> |
| 231 | <plugin> |
Avi Ziv | e6313a2 | 2017-12-11 11:56:18 +0200 | [diff] [blame] | 232 | <artifactId>maven-antrun-plugin</artifactId> |
| 233 | <executions> |
| 234 | <execution> |
| 235 | <id>generate-sources</id> |
| 236 | <phase>generate-sources</phase> |
| 237 | <configuration> |
| 238 | <tasks> |
| 239 | <property name="version" value="${project.version}"/> |
| 240 | <mkdir dir="target/docs"/> |
| 241 | <echo file="target/docs/build-info.json">{"Version": "${version}"}</echo> |
| 242 | </tasks> |
| 243 | </configuration> |
| 244 | <goals> |
| 245 | <goal>run</goal> |
| 246 | </goals> |
| 247 | </execution> |
| 248 | </executions> |
| 249 | </plugin> |
| 250 | <plugin> |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 251 | <groupId>com.github.kongchen</groupId> |
| 252 | <artifactId>swagger-maven-plugin</artifactId> |
| 253 | <version>${mvn.swagger.version}</version> |
| 254 | <configuration> |
| 255 | <apiSources> |
| 256 | <apiSource> |
| 257 | <springmvc>false</springmvc> |
| 258 | <locations>org.openecomp.sdcrests</locations> |
| 259 | <schemes>http</schemes> |
| 260 | <basePath>/onboarding-api</basePath> |
| 261 | <info> |
| 262 | <title>Rest API</title> |
| 263 | <version>v1.0, build #${buildNumber}</version> |
| 264 | <description>Rest API Documentation</description> |
| 265 | <termsOfService> |
| 266 | http://www.github.com/kongchen/swagger-maven-plugin |
| 267 | </termsOfService> |
| 268 | </info> |
| 269 | <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath> |
| 270 | <outputPath>${basedir}/target/generated/api.html</outputPath> |
| 271 | <swaggerDirectory>${basedir}/target/generated/swagger-ui |
| 272 | </swaggerDirectory> |
| 273 | </apiSource> |
| 274 | </apiSources> |
| 275 | </configuration> |
| 276 | <executions> |
| 277 | <execution> |
| 278 | <phase>compile</phase> |
| 279 | <goals> |
| 280 | <goal>generate</goal> |
| 281 | </goals> |
| 282 | </execution> |
| 283 | </executions> |
| 284 | </plugin> |
| 285 | </plugins> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 286 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 287 | </build> |
Michael Lando | f5f13c4 | 2017-02-19 12:35:04 +0200 | [diff] [blame] | 288 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 289 | </project> |