blob: 550b4e610fbb52e778c23cbb0bd9527c52e3ced2 [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001<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 Landof5f13c42017-02-19 12:35:04 +02005
AviZi280f8012017-06-09 02:39:56 +03006 <groupId>org.openecomp.sdc.onboarding</groupId>
7 <artifactId>onboarding-be</artifactId>
8 <name>onboarding-rest-war</name>
9 <packaging>war</packaging>
Michael Landof5f13c42017-02-19 12:35:04 +020010
AviZi280f8012017-06-09 02:39:56 +030011 <parent>
12 <groupId>org.openecomp.sdc</groupId>
13 <artifactId>openecomp-sdc-rest-webapp</artifactId>
Michael Lando0ad3c802017-09-19 16:32:59 +030014 <version>1.2.0-SNAPSHOT</version>
AviZi280f8012017-06-09 02:39:56 +030015 </parent>
Michael Landof5f13c42017-02-19 12:35:04 +020016
AviZi280f8012017-06-09 02:39:56 +030017 <dependencies>
18 <dependency>
talig8e9c0652017-12-20 14:30:43 +020019 <groupId>org.openecomp.sdc</groupId>
20 <artifactId>item-rest-services</artifactId>
21 <version>${project.version}</version>
22 </dependency>
23 <dependency>
AviZi280f8012017-06-09 02:39:56 +030024 <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>
talig8e9c0652017-12-20 14:30:43 +020030 <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>
AviZi280f8012017-06-09 02:39:56 +030036 <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 Zivb8e2faf2017-07-18 19:45:38 +030048 <dependency>
49 <groupId>org.openecomp.sdc</groupId>
50 <artifactId>healthcheck-rest-services</artifactId>
51 <version>${project.version}</version>
52 </dependency>
AviZi280f8012017-06-09 02:39:56 +030053 <dependency>
54 <groupId>org.openecomp.sdc</groupId>
talig8e9c0652017-12-20 14:30:43 +020055 <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>
AviZi280f8012017-06-09 02:39:56 +030070 <artifactId>application-config-rest-services</artifactId>
71 <version>${project.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.openecomp.sdc.onboarding</groupId>
75 <artifactId>action-library-rest-services</artifactId>
76 <version>${project.version}</version>
77 </dependency>
78 <dependency>
79 <groupId>javax.servlet</groupId>
80 <artifactId>servlet-api</artifactId>
81 <version>${javax.servlet.version}</version>
82 </dependency>
83 <!-- JSON -->
84 <dependency>
85 <groupId>org.codehaus.jackson</groupId>
86 <artifactId>jackson-jaxrs</artifactId>
87 <version>${org.codehaus.jackson.version}</version>
88 </dependency>
89 <dependency>
90 <groupId>org.codehaus.jackson</groupId>
91 <artifactId>jackson-core-asl</artifactId>
92 <version>${org.codehaus.jackson.version}</version>
93 </dependency>
94 <dependency>
95 <groupId>javax.inject</groupId>
96 <artifactId>javax.inject</artifactId>
97 <version>${javax.inject.version}</version>
98 </dependency>
99 <dependency>
100 <groupId>org.openecomp.sdc</groupId>
101 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
102 <version>${project.version}</version>
103 </dependency>
104 <dependency>
105 <groupId>org.eclipse.jetty</groupId>
106 <artifactId>jetty-servlets</artifactId>
107 <version>${jetty.servlets.version}</version>
108 </dependency>
109 <dependency>
110 <groupId>org.openecomp.sdc</groupId>
111 <artifactId>openecomp-sdc-application-config-manager</artifactId>
112 <version>${project.version}</version>
113 </dependency>
114 <dependency>
115 <groupId>org.codehaus.groovy</groupId>
116 <artifactId>groovy</artifactId>
117 <version>${groovy.version}</version>
118 </dependency>
119 <dependency>
120 <groupId>ch.qos.logback</groupId>
121 <artifactId>logback-classic</artifactId>
122 <version>${logback.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>ch.qos.logback</groupId>
126 <artifactId>logback-core</artifactId>
127 <version>${logback.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.codehaus.janino</groupId>
131 <artifactId>janino</artifactId>
132 <scope>compile</scope>
133 </dependency>
134 <dependency>
135 <groupId>org.springframework</groupId>
talig8e9c0652017-12-20 14:30:43 +0200136 <artifactId>spring-context</artifactId>
137 <version>${spring.framework.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.springframework</groupId>
AviZi280f8012017-06-09 02:39:56 +0300141 <artifactId>spring-core</artifactId>
142 <version>${spring.framework.version}</version>
143 </dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200144 <dependency>
145 <groupId>org.springframework</groupId>
146 <artifactId>spring-web</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300147 <version>${spring.framework.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200148 </dependency>
AviZi280f8012017-06-09 02:39:56 +0300149 <dependency>
150 <groupId>org.springframework</groupId>
151 <artifactId>spring-aop</artifactId>
152 <version>${spring.framework.version}</version>
153 </dependency>
154 <dependency>
155 <groupId>org.springframework</groupId>
156 <artifactId>spring-webmvc</artifactId>
157 <version>${spring.framework.version}</version>
158 </dependency>
159 <dependency>
160 <groupId>org.aspectj</groupId>
161 <artifactId>aspectjweaver</artifactId>
162 <version>${aspectj.version}</version>
163 </dependency>
164 <dependency>
165 <groupId>org.aspectj</groupId>
166 <artifactId>aspectjrt</artifactId>
167 <version>${aspectj.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>org.aspectj</groupId>
171 <artifactId>aspectjtools</artifactId>
172 <version>${aspectj.version}</version>
173 </dependency>
sheetalm64ffbe22017-12-13 15:25:05 +0530174 <dependency>
175 <groupId>org.togglz</groupId>
176 <artifactId>togglz-servlet</artifactId>
177 <version>${togglz.version}</version>
178 </dependency>
ayalabenac7c6852017-12-31 17:57:36 +0200179 <dependency>
180 <groupId>org.togglz</groupId>
181 <artifactId>togglz-console</artifactId>
182 <version>${togglz.version}</version>
183 </dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200184 </dependencies>
185
186
AviZi280f8012017-06-09 02:39:56 +0300187 <build>
188 <plugins>
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-compiler-plugin</artifactId>
192 </plugin>
Michael Landof5f13c42017-02-19 12:35:04 +0200193
AviZi280f8012017-06-09 02:39:56 +0300194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-surefire-plugin</artifactId>
197 <configuration>
198 <includes>
199 <include>test/core/unittest/offline/**</include>
200 </includes>
AviZi280f8012017-06-09 02:39:56 +0300201 <systemProperties>
202 <property>
203 <name>buildNumber</name>
204 <value>${buildNumber}</value>
205 </property>
206 </systemProperties>
207 </configuration>
208 </plugin>
209 <plugin>
210 <artifactId>maven-war-plugin</artifactId>
211 <version>${mvn.war.version}</version>
212 <configuration>
213 <attachClasses>true</attachClasses>
214 <webResources>
215 <resource>
216 <!-- this is relative to the pom.xml directory -->
217 <directory>${basedir}/target/generated/swagger-ui</directory>
Avi Zive6313a22017-12-11 11:56:18 +0200218 <directory>${basedir}/target</directory>
219 <includes>
220 <include>docs/*.*</include>
221 </includes>
AviZi280f8012017-06-09 02:39:56 +0300222 </resource>
223 </webResources>
224 </configuration>
225 </plugin>
226 <plugin>
Avi Zive6313a22017-12-11 11:56:18 +0200227 <artifactId>maven-antrun-plugin</artifactId>
228 <executions>
229 <execution>
230 <id>generate-sources</id>
231 <phase>generate-sources</phase>
232 <configuration>
233 <tasks>
234 <property name="version" value="${project.version}"/>
235 <mkdir dir="target/docs"/>
236 <echo file="target/docs/build-info.json">{"Version": "${version}"}</echo>
237 </tasks>
238 </configuration>
239 <goals>
240 <goal>run</goal>
241 </goals>
242 </execution>
243 </executions>
244 </plugin>
245 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300246 <groupId>com.github.kongchen</groupId>
247 <artifactId>swagger-maven-plugin</artifactId>
248 <version>${mvn.swagger.version}</version>
249 <configuration>
250 <apiSources>
251 <apiSource>
252 <springmvc>false</springmvc>
253 <locations>org.openecomp.sdcrests</locations>
254 <schemes>http</schemes>
255 <basePath>/onboarding-api</basePath>
256 <info>
257 <title>Rest API</title>
258 <version>v1.0, build #${buildNumber}</version>
259 <description>Rest API Documentation</description>
260 <termsOfService>
261 http://www.github.com/kongchen/swagger-maven-plugin
262 </termsOfService>
263 </info>
264 <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
265 <outputPath>${basedir}/target/generated/api.html</outputPath>
266 <swaggerDirectory>${basedir}/target/generated/swagger-ui
267 </swaggerDirectory>
268 </apiSource>
269 </apiSources>
270 </configuration>
271 <executions>
272 <execution>
273 <phase>compile</phase>
274 <goals>
275 <goal>generate</goal>
276 </goals>
277 </execution>
278 </executions>
279 </plugin>
280 </plugins>
Michael Landof5f13c42017-02-19 12:35:04 +0200281
AviZi280f8012017-06-09 02:39:56 +0300282 </build>
Michael Landof5f13c42017-02-19 12:35:04 +0200283
AviZi280f8012017-06-09 02:39:56 +0300284</project>