blob: 84c4eb408a121f78629fd96ad2c61e413732073c [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>
19 <groupId>org.openecomp.sdc.onboarding</groupId>
20 <artifactId>vendor-license-rest-services</artifactId>
21 <version>${project.version}</version>
22 </dependency>
23 <dependency>
24 <groupId>org.openecomp.sdc</groupId>
25 <artifactId>activity-log-rest-services</artifactId>
26 <version>${project.version}</version>
27 </dependency>
28 <dependency>
29 <groupId>org.openecomp.sdc.onboarding</groupId>
30 <artifactId>vendor-software-products-rest-services</artifactId>
31 <version>${project.version}</version>
32 </dependency>
33 <dependency>
34 <groupId>org.openecomp.sdc.onboarding</groupId>
35 <artifactId>validation-rest-services</artifactId>
36 <version>${project.version}</version>
37 </dependency>
Avi Zivb8e2faf2017-07-18 19:45:38 +030038 <dependency>
39 <groupId>org.openecomp.sdc</groupId>
40 <artifactId>healthcheck-rest-services</artifactId>
41 <version>${project.version}</version>
42 </dependency>
AviZi280f8012017-06-09 02:39:56 +030043 <dependency>
44 <groupId>org.openecomp.sdc</groupId>
45 <artifactId>application-config-rest-services</artifactId>
46 <version>${project.version}</version>
47 </dependency>
48 <dependency>
49 <groupId>org.openecomp.sdc.onboarding</groupId>
50 <artifactId>action-library-rest-services</artifactId>
51 <version>${project.version}</version>
52 </dependency>
53 <dependency>
54 <groupId>javax.servlet</groupId>
55 <artifactId>servlet-api</artifactId>
56 <version>${javax.servlet.version}</version>
57 </dependency>
58 <!-- JSON -->
59 <dependency>
60 <groupId>org.codehaus.jackson</groupId>
61 <artifactId>jackson-jaxrs</artifactId>
62 <version>${org.codehaus.jackson.version}</version>
63 </dependency>
64 <dependency>
65 <groupId>org.codehaus.jackson</groupId>
66 <artifactId>jackson-core-asl</artifactId>
67 <version>${org.codehaus.jackson.version}</version>
68 </dependency>
69 <dependency>
70 <groupId>javax.inject</groupId>
71 <artifactId>javax.inject</artifactId>
72 <version>${javax.inject.version}</version>
73 </dependency>
74 <dependency>
75 <groupId>org.openecomp.sdc</groupId>
76 <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
77 <version>${project.version}</version>
78 </dependency>
79 <dependency>
80 <groupId>org.eclipse.jetty</groupId>
81 <artifactId>jetty-servlets</artifactId>
82 <version>${jetty.servlets.version}</version>
83 </dependency>
84 <dependency>
85 <groupId>org.openecomp.sdc</groupId>
86 <artifactId>openecomp-sdc-application-config-manager</artifactId>
87 <version>${project.version}</version>
88 </dependency>
89 <dependency>
90 <groupId>org.codehaus.groovy</groupId>
91 <artifactId>groovy</artifactId>
92 <version>${groovy.version}</version>
93 </dependency>
94 <dependency>
95 <groupId>ch.qos.logback</groupId>
96 <artifactId>logback-classic</artifactId>
97 <version>${logback.version}</version>
98 </dependency>
99 <dependency>
100 <groupId>ch.qos.logback</groupId>
101 <artifactId>logback-core</artifactId>
102 <version>${logback.version}</version>
103 </dependency>
104 <dependency>
105 <groupId>org.codehaus.janino</groupId>
106 <artifactId>janino</artifactId>
107 <scope>compile</scope>
108 </dependency>
109 <dependency>
110 <groupId>org.springframework</groupId>
111 <artifactId>spring-core</artifactId>
112 <version>${spring.framework.version}</version>
113 </dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200114 <dependency>
115 <groupId>org.springframework</groupId>
116 <artifactId>spring-web</artifactId>
AviZi280f8012017-06-09 02:39:56 +0300117 <version>${spring.framework.version}</version>
Michael Landof5f13c42017-02-19 12:35:04 +0200118 </dependency>
AviZi280f8012017-06-09 02:39:56 +0300119 <dependency>
120 <groupId>org.springframework</groupId>
121 <artifactId>spring-aop</artifactId>
122 <version>${spring.framework.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>org.springframework</groupId>
126 <artifactId>spring-webmvc</artifactId>
127 <version>${spring.framework.version}</version>
128 </dependency>
129 <dependency>
130 <groupId>org.aspectj</groupId>
131 <artifactId>aspectjweaver</artifactId>
132 <version>${aspectj.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.aspectj</groupId>
136 <artifactId>aspectjrt</artifactId>
137 <version>${aspectj.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>org.aspectj</groupId>
141 <artifactId>aspectjtools</artifactId>
142 <version>${aspectj.version}</version>
143 </dependency>
sheetalm64ffbe22017-12-13 15:25:05 +0530144 <dependency>
145 <groupId>org.togglz</groupId>
146 <artifactId>togglz-servlet</artifactId>
147 <version>${togglz.version}</version>
148 </dependency>
Michael Landof5f13c42017-02-19 12:35:04 +0200149 </dependencies>
150
151
AviZi280f8012017-06-09 02:39:56 +0300152 <build>
153 <plugins>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-compiler-plugin</artifactId>
157 </plugin>
Michael Landof5f13c42017-02-19 12:35:04 +0200158
AviZi280f8012017-06-09 02:39:56 +0300159 <plugin>
160 <groupId>org.apache.maven.plugins</groupId>
161 <artifactId>maven-surefire-plugin</artifactId>
162 <configuration>
163 <includes>
164 <include>test/core/unittest/offline/**</include>
165 </includes>
AviZi280f8012017-06-09 02:39:56 +0300166 <systemProperties>
167 <property>
168 <name>buildNumber</name>
169 <value>${buildNumber}</value>
170 </property>
171 </systemProperties>
172 </configuration>
173 </plugin>
174 <plugin>
175 <artifactId>maven-war-plugin</artifactId>
176 <version>${mvn.war.version}</version>
177 <configuration>
178 <attachClasses>true</attachClasses>
179 <webResources>
180 <resource>
181 <!-- this is relative to the pom.xml directory -->
182 <directory>${basedir}/target/generated/swagger-ui</directory>
Avi Zive6313a22017-12-11 11:56:18 +0200183 <directory>${basedir}/target</directory>
184 <includes>
185 <include>docs/*.*</include>
186 </includes>
AviZi280f8012017-06-09 02:39:56 +0300187 </resource>
188 </webResources>
189 </configuration>
190 </plugin>
191 <plugin>
Avi Zive6313a22017-12-11 11:56:18 +0200192 <artifactId>maven-antrun-plugin</artifactId>
193 <executions>
194 <execution>
195 <id>generate-sources</id>
196 <phase>generate-sources</phase>
197 <configuration>
198 <tasks>
199 <property name="version" value="${project.version}"/>
200 <mkdir dir="target/docs"/>
201 <echo file="target/docs/build-info.json">{"Version": "${version}"}</echo>
202 </tasks>
203 </configuration>
204 <goals>
205 <goal>run</goal>
206 </goals>
207 </execution>
208 </executions>
209 </plugin>
210 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300211 <groupId>com.github.kongchen</groupId>
212 <artifactId>swagger-maven-plugin</artifactId>
213 <version>${mvn.swagger.version}</version>
214 <configuration>
215 <apiSources>
216 <apiSource>
217 <springmvc>false</springmvc>
218 <locations>org.openecomp.sdcrests</locations>
219 <schemes>http</schemes>
220 <basePath>/onboarding-api</basePath>
221 <info>
222 <title>Rest API</title>
223 <version>v1.0, build #${buildNumber}</version>
224 <description>Rest API Documentation</description>
225 <termsOfService>
226 http://www.github.com/kongchen/swagger-maven-plugin
227 </termsOfService>
228 </info>
229 <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
230 <outputPath>${basedir}/target/generated/api.html</outputPath>
231 <swaggerDirectory>${basedir}/target/generated/swagger-ui
232 </swaggerDirectory>
233 </apiSource>
234 </apiSources>
235 </configuration>
236 <executions>
237 <execution>
238 <phase>compile</phase>
239 <goals>
240 <goal>generate</goal>
241 </goals>
242 </execution>
243 </executions>
244 </plugin>
245 </plugins>
Michael Landof5f13c42017-02-19 12:35:04 +0200246
AviZi280f8012017-06-09 02:39:56 +0300247 </build>
Michael Landof5f13c42017-02-19 12:35:04 +0200248
AviZi280f8012017-06-09 02:39:56 +0300249</project>