blob: af604f30ce56db490236911f8fc8bba002fc0bae [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>
Michael Landof5f13c42017-02-19 12:35:04 +0200144 </dependencies>
145
146
AviZi280f8012017-06-09 02:39:56 +0300147 <build>
148 <plugins>
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-compiler-plugin</artifactId>
152 </plugin>
Michael Landof5f13c42017-02-19 12:35:04 +0200153
AviZi280f8012017-06-09 02:39:56 +0300154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-surefire-plugin</artifactId>
157 <configuration>
158 <includes>
159 <include>test/core/unittest/offline/**</include>
160 </includes>
AviZi280f8012017-06-09 02:39:56 +0300161 <systemProperties>
162 <property>
163 <name>buildNumber</name>
164 <value>${buildNumber}</value>
165 </property>
166 </systemProperties>
167 </configuration>
168 </plugin>
169 <plugin>
170 <artifactId>maven-war-plugin</artifactId>
171 <version>${mvn.war.version}</version>
172 <configuration>
173 <attachClasses>true</attachClasses>
174 <webResources>
175 <resource>
176 <!-- this is relative to the pom.xml directory -->
177 <directory>${basedir}/target/generated/swagger-ui</directory>
Avi Zive6313a22017-12-11 11:56:18 +0200178 <directory>${basedir}/target</directory>
179 <includes>
180 <include>docs/*.*</include>
181 </includes>
AviZi280f8012017-06-09 02:39:56 +0300182 </resource>
183 </webResources>
184 </configuration>
185 </plugin>
186 <plugin>
Avi Zive6313a22017-12-11 11:56:18 +0200187 <artifactId>maven-antrun-plugin</artifactId>
188 <executions>
189 <execution>
190 <id>generate-sources</id>
191 <phase>generate-sources</phase>
192 <configuration>
193 <tasks>
194 <property name="version" value="${project.version}"/>
195 <mkdir dir="target/docs"/>
196 <echo file="target/docs/build-info.json">{"Version": "${version}"}</echo>
197 </tasks>
198 </configuration>
199 <goals>
200 <goal>run</goal>
201 </goals>
202 </execution>
203 </executions>
204 </plugin>
205 <plugin>
AviZi280f8012017-06-09 02:39:56 +0300206 <groupId>com.github.kongchen</groupId>
207 <artifactId>swagger-maven-plugin</artifactId>
208 <version>${mvn.swagger.version}</version>
209 <configuration>
210 <apiSources>
211 <apiSource>
212 <springmvc>false</springmvc>
213 <locations>org.openecomp.sdcrests</locations>
214 <schemes>http</schemes>
215 <basePath>/onboarding-api</basePath>
216 <info>
217 <title>Rest API</title>
218 <version>v1.0, build #${buildNumber}</version>
219 <description>Rest API Documentation</description>
220 <termsOfService>
221 http://www.github.com/kongchen/swagger-maven-plugin
222 </termsOfService>
223 </info>
224 <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
225 <outputPath>${basedir}/target/generated/api.html</outputPath>
226 <swaggerDirectory>${basedir}/target/generated/swagger-ui
227 </swaggerDirectory>
228 </apiSource>
229 </apiSources>
230 </configuration>
231 <executions>
232 <execution>
233 <phase>compile</phase>
234 <goals>
235 <goal>generate</goal>
236 </goals>
237 </execution>
238 </executions>
239 </plugin>
240 </plugins>
Michael Landof5f13c42017-02-19 12:35:04 +0200241
AviZi280f8012017-06-09 02:39:56 +0300242 </build>
Michael Landof5f13c42017-02-19 12:35:04 +0200243
AviZi280f8012017-06-09 02:39:56 +0300244</project>