blob: 1c9029b19fada93855d15668fb83543c983d3f15 [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 Landod8a0dea2018-06-02 19:23:27 +030014 <version>1.3.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>
Murali-P72d62fb2018-03-29 17:46:39 +053038 <dependency>
39 <groupId>org.openecomp.sdc.onboarding</groupId>
40 <artifactId>vnf-repository-rest-services</artifactId>
41 <version>${project.version}</version>
42 </dependency>
AviZi280f8012017-06-09 02:39:56 +030043 <dependency>
44 <groupId>org.openecomp.sdc.onboarding</groupId>
45 <artifactId>vendor-software-products-rest-services</artifactId>
46 <version>${project.version}</version>
47 </dependency>
48 <dependency>
49 <groupId>org.openecomp.sdc.onboarding</groupId>
50 <artifactId>validation-rest-services</artifactId>
51 <version>${project.version}</version>
52 </dependency>
Avi Zivb8e2faf2017-07-18 19:45:38 +030053 <dependency>
54 <groupId>org.openecomp.sdc</groupId>
55 <artifactId>healthcheck-rest-services</artifactId>
56 <version>${project.version}</version>
57 </dependency>
AviZi280f8012017-06-09 02:39:56 +030058 <dependency>
59 <groupId>org.openecomp.sdc</groupId>
talig8e9c0652017-12-20 14:30:43 +020060 <artifactId>conflict-rest-services</artifactId>
61 <version>${project.version}</version>
62 </dependency>
63 <dependency>
64 <groupId>org.openecomp.sdc</groupId>
65 <artifactId>item-permissions-rest-services</artifactId>
66 <version>${project.version}</version>
67 </dependency>
68 <dependency>
69 <groupId>org.openecomp.sdc</groupId>
70 <artifactId>notifications-rest-services</artifactId>
71 <version>${project.version}</version>
72 </dependency>
73 <dependency>
74 <groupId>org.openecomp.sdc</groupId>
AviZi280f8012017-06-09 02:39:56 +030075 <artifactId>application-config-rest-services</artifactId>
76 <version>${project.version}</version>
77 </dependency>
78 <dependency>
vempo81ad9aa2018-01-09 14:25:08 +020079 <groupId>org.openecomp.sdc</groupId>
80 <artifactId>togglz-rest-services</artifactId>
81 <version>${project.version}</version>
82 </dependency>
83 <dependency>
AviZi280f8012017-06-09 02:39:56 +030084 <groupId>org.openecomp.sdc.onboarding</groupId>
85 <artifactId>action-library-rest-services</artifactId>
86 <version>${project.version}</version>
87 </dependency>
88 <dependency>
talig26855ad2018-04-12 10:45:02 +030089 <groupId>org.openecomp.sdc</groupId>
90 <artifactId>unique-type-rest-services</artifactId>
91 <version>${project.version}</version>
92 </dependency>
93 <dependency>
AviZi280f8012017-06-09 02:39:56 +030094 <groupId>javax.servlet</groupId>
95 <artifactId>servlet-api</artifactId>
96 <version>${javax.servlet.version}</version>
97 </dependency>
98 <!-- JSON -->
99 <dependency>
100 <groupId>org.codehaus.jackson</groupId>
101 <artifactId>jackson-jaxrs</artifactId>
102 <version>${org.codehaus.jackson.version}</version>
103 </dependency>
104 <dependency>
105 <groupId>org.codehaus.jackson</groupId>
106 <artifactId>jackson-core-asl</artifactId>
107 <version>${org.codehaus.jackson.version}</version>
108 </dependency>
109 <dependency>
110 <groupId>javax.inject</groupId>
111 <artifactId>javax.inject</artifactId>
112 <version>${javax.inject.version}</version>
113 </dependency>
114 <dependency>
115 <groupId>org.openecomp.sdc</groupId>
116 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
117 <version>${project.version}</version>
118 </dependency>
119 <dependency>
120 <groupId>org.eclipse.jetty</groupId>
121 <artifactId>jetty-servlets</artifactId>
122 <version>${jetty.servlets.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.openecomp.sdc</groupId>
126 <artifactId>openecomp-sdc-application-config-manager</artifactId>
127 <version>${project.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.codehaus.groovy</groupId>
131 <artifactId>groovy</artifactId>
132 <version>${groovy.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>ch.qos.logback</groupId>
136 <artifactId>logback-classic</artifactId>
137 <version>${logback.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-core</artifactId>
142 <version>${logback.version}</version>
143 </dependency>
144 <dependency>
145 <groupId>org.codehaus.janino</groupId>
146 <artifactId>janino</artifactId>
147 <scope>compile</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.springframework</groupId>
talig8e9c0652017-12-20 14:30:43 +0200151 <artifactId>spring-context</artifactId>
152 <version>${spring.framework.version}</version>
153 </dependency>
154 <dependency>
155 <groupId>org.springframework</groupId>
AviZi280f8012017-06-09 02:39:56 +0300156 <artifactId>spring-core</artifactId>
157 <version>${spring.framework.version}</version>
158 </dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200159 <dependency>
160 <groupId>org.springframework</groupId>
161 <artifactId>spring-web</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300162 <version>${spring.framework.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200163 </dependency>
AviZi280f8012017-06-09 02:39:56 +0300164 <dependency>
165 <groupId>org.springframework</groupId>
166 <artifactId>spring-aop</artifactId>
167 <version>${spring.framework.version}</version>
168 </dependency>
169 <dependency>
170 <groupId>org.springframework</groupId>
171 <artifactId>spring-webmvc</artifactId>
172 <version>${spring.framework.version}</version>
173 </dependency>
174 <dependency>
175 <groupId>org.aspectj</groupId>
176 <artifactId>aspectjweaver</artifactId>
177 <version>${aspectj.version}</version>
178 </dependency>
179 <dependency>
180 <groupId>org.aspectj</groupId>
181 <artifactId>aspectjrt</artifactId>
182 <version>${aspectj.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>org.aspectj</groupId>
186 <artifactId>aspectjtools</artifactId>
187 <version>${aspectj.version}</version>
188 </dependency>
sheetalm64ffbe22017-12-13 15:25:05 +0530189 <dependency>
190 <groupId>org.togglz</groupId>
191 <artifactId>togglz-servlet</artifactId>
192 <version>${togglz.version}</version>
193 </dependency>
ayalabenac7c6852017-12-31 17:57:36 +0200194 <dependency>
195 <groupId>org.togglz</groupId>
196 <artifactId>togglz-console</artifactId>
197 <version>${togglz.version}</version>
198 </dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200199 </dependencies>
200
201
AviZi280f8012017-06-09 02:39:56 +0300202 <build>
203 <plugins>
204 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300205 <artifactId>maven-war-plugin</artifactId>
206 <version>${mvn.war.version}</version>
207 <configuration>
AviZi280f8012017-06-09 02:39:56 +0300208 <webResources>
209 <resource>
210 <!-- this is relative to the pom.xml directory -->
211 <directory>${basedir}/target/generated/swagger-ui</directory>
Avi Zive6313a22017-12-11 11:56:18 +0200212 <directory>${basedir}/target</directory>
213 <includes>
214 <include>docs/*.*</include>
215 </includes>
AviZi280f8012017-06-09 02:39:56 +0300216 </resource>
217 </webResources>
218 </configuration>
219 </plugin>
220 <plugin>
Avi Zive6313a22017-12-11 11:56:18 +0200221 <artifactId>maven-antrun-plugin</artifactId>
222 <executions>
223 <execution>
224 <id>generate-sources</id>
225 <phase>generate-sources</phase>
226 <configuration>
227 <tasks>
228 <property name="version" value="${project.version}"/>
229 <mkdir dir="target/docs"/>
Avi Zivc175a0d2018-03-15 13:21:44 +0200230 <echo file="target/docs/build-info.json">{"Version": "${project.version}"}</echo>
Avi Zive6313a22017-12-11 11:56:18 +0200231 </tasks>
232 </configuration>
233 <goals>
234 <goal>run</goal>
235 </goals>
236 </execution>
237 </executions>
238 </plugin>
239 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300240 <groupId>com.github.kongchen</groupId>
241 <artifactId>swagger-maven-plugin</artifactId>
242 <version>${mvn.swagger.version}</version>
243 <configuration>
244 <apiSources>
245 <apiSource>
246 <springmvc>false</springmvc>
247 <locations>org.openecomp.sdcrests</locations>
248 <schemes>http</schemes>
249 <basePath>/onboarding-api</basePath>
250 <info>
251 <title>Rest API</title>
252 <version>v1.0, build #${buildNumber}</version>
253 <description>Rest API Documentation</description>
254 <termsOfService>
255 http://www.github.com/kongchen/swagger-maven-plugin
256 </termsOfService>
257 </info>
AviZi280f8012017-06-09 02:39:56 +0300258 <swaggerDirectory>${basedir}/target/generated/swagger-ui
259 </swaggerDirectory>
260 </apiSource>
261 </apiSources>
262 </configuration>
263 <executions>
264 <execution>
265 <phase>compile</phase>
266 <goals>
267 <goal>generate</goal>
268 </goals>
269 </execution>
270 </executions>
271 </plugin>
272 </plugins>
Michael Landof5f13c42017-02-19 12:35:04 +0200273
AviZi280f8012017-06-09 02:39:56 +0300274 </build>
Michael Landof5f13c42017-02-19 12:35:04 +0200275
AviZi280f8012017-06-09 02:39:56 +0300276</project>