[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / api / openecomp-sdc-rest-webapp / onboarding-rest-war / pom.xml
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>
5
6     <groupId>org.openecomp.sdc.onboarding</groupId>
7     <artifactId>onboarding-be</artifactId>
8     <name>onboarding-rest-war</name>
9     <packaging>war</packaging>
10
11     <parent>
12         <groupId>org.openecomp.sdc</groupId>
13         <artifactId>openecomp-sdc-rest-webapp</artifactId>
14         <version>1.1.0-SNAPSHOT</version>
15     </parent>
16
17     <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>
38         <dependency>
39             <groupId>org.openecomp.sdc</groupId>
40             <artifactId>healthcheck-rest-services</artifactId>
41             <version>${project.version}</version>
42         </dependency>
43         <!--dependency>
44             <groupId>org.openecomp.sdc.onboarding</groupId>
45             <artifactId>application-config-rest-services</artifactId>
46             <version>${project.version}</version>
47         </dependency-->
48         <dependency>
49             <groupId>org.openecomp.sdc</groupId>
50             <artifactId>application-config-rest-services</artifactId>
51             <version>${project.version}</version>
52         </dependency>
53         <dependency>
54             <groupId>org.openecomp.sdc.onboarding</groupId>
55             <artifactId>action-library-rest-services</artifactId>
56             <version>${project.version}</version>
57         </dependency>
58         <dependency>
59             <groupId>javax.servlet</groupId>
60             <artifactId>servlet-api</artifactId>
61             <version>${javax.servlet.version}</version>
62         </dependency>
63         <!-- JSON -->
64         <dependency>
65             <groupId>org.codehaus.jackson</groupId>
66             <artifactId>jackson-jaxrs</artifactId>
67             <version>${org.codehaus.jackson.version}</version>
68         </dependency>
69         <dependency>
70             <groupId>org.codehaus.jackson</groupId>
71             <artifactId>jackson-core-asl</artifactId>
72             <version>${org.codehaus.jackson.version}</version>
73         </dependency>
74         <dependency>
75             <groupId>javax.inject</groupId>
76             <artifactId>javax.inject</artifactId>
77             <version>${javax.inject.version}</version>
78         </dependency>
79         <dependency>
80             <groupId>org.openecomp.sdc</groupId>
81             <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
82             <version>${project.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>org.eclipse.jetty</groupId>
86             <artifactId>jetty-servlets</artifactId>
87             <version>${jetty.servlets.version}</version>
88         </dependency>
89         <dependency>
90             <groupId>org.openecomp.sdc</groupId>
91             <artifactId>openecomp-sdc-application-config-manager</artifactId>
92             <version>${project.version}</version>
93         </dependency>
94         <dependency>
95             <groupId>org.codehaus.groovy</groupId>
96             <artifactId>groovy</artifactId>
97             <version>${groovy.version}</version>
98         </dependency>
99         <dependency>
100             <groupId>ch.qos.logback</groupId>
101             <artifactId>logback-classic</artifactId>
102             <version>${logback.version}</version>
103         </dependency>
104         <dependency>
105             <groupId>ch.qos.logback</groupId>
106             <artifactId>logback-core</artifactId>
107             <version>${logback.version}</version>
108         </dependency>
109         <dependency>
110             <groupId>org.codehaus.janino</groupId>
111             <artifactId>janino</artifactId>
112             <scope>compile</scope>
113         </dependency>
114         <dependency>
115             <groupId>org.springframework</groupId>
116             <artifactId>spring-core</artifactId>
117             <version>${spring.framework.version}</version>
118         </dependency>
119         <dependency>
120             <groupId>org.springframework</groupId>
121             <artifactId>spring-web</artifactId>
122             <version>${spring.framework.version}</version>
123         </dependency>
124         <dependency>
125             <groupId>org.springframework</groupId>
126             <artifactId>spring-aop</artifactId>
127             <version>${spring.framework.version}</version>
128         </dependency>
129         <dependency>
130             <groupId>org.springframework</groupId>
131             <artifactId>spring-webmvc</artifactId>
132             <version>${spring.framework.version}</version>
133         </dependency>
134         <dependency>
135             <groupId>org.aspectj</groupId>
136             <artifactId>aspectjweaver</artifactId>
137             <version>${aspectj.version}</version>
138         </dependency>
139         <dependency>
140             <groupId>org.aspectj</groupId>
141             <artifactId>aspectjrt</artifactId>
142             <version>${aspectj.version}</version>
143         </dependency>
144         <dependency>
145             <groupId>org.aspectj</groupId>
146             <artifactId>aspectjtools</artifactId>
147             <version>${aspectj.version}</version>
148         </dependency>
149     </dependencies>
150
151
152     <build>
153         <plugins>
154             <plugin>
155                 <groupId>org.apache.maven.plugins</groupId>
156                 <artifactId>maven-compiler-plugin</artifactId>
157             </plugin>
158
159             <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>
166                     <skipTests>true</skipTests>
167                     <systemProperties>
168                         <property>
169                             <name>buildNumber</name>
170                             <value>${buildNumber}</value>
171                         </property>
172                     </systemProperties>
173                 </configuration>
174             </plugin>
175             <plugin>
176                 <artifactId>maven-war-plugin</artifactId>
177                 <version>${mvn.war.version}</version>
178                 <configuration>
179                     <attachClasses>true</attachClasses>
180                     <webResources>
181                         <resource>
182                             <!-- this is relative to the pom.xml directory -->
183                             <directory>${basedir}/target/generated/swagger-ui</directory>
184                         </resource>
185                     </webResources>
186                 </configuration>
187             </plugin>
188             <plugin>
189                 <groupId>com.github.kongchen</groupId>
190                 <artifactId>swagger-maven-plugin</artifactId>
191                 <version>${mvn.swagger.version}</version>
192                 <configuration>
193                     <apiSources>
194                         <apiSource>
195                             <springmvc>false</springmvc>
196                             <locations>org.openecomp.sdcrests</locations>
197                             <schemes>http</schemes>
198                             <basePath>/onboarding-api</basePath>
199                             <info>
200                                 <title>Rest API</title>
201                                 <version>v1.0, build #${buildNumber}</version>
202                                 <description>Rest API Documentation</description>
203                                 <termsOfService>
204                                     http://www.github.com/kongchen/swagger-maven-plugin
205                                 </termsOfService>
206                             </info>
207                             <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
208                             <outputPath>${basedir}/target/generated/api.html</outputPath>
209                             <swaggerDirectory>${basedir}/target/generated/swagger-ui
210                             </swaggerDirectory>
211                         </apiSource>
212                     </apiSources>
213                 </configuration>
214                 <executions>
215                     <execution>
216                         <phase>compile</phase>
217                         <goals>
218                             <goal>generate</goal>
219                         </goals>
220                     </execution>
221                 </executions>
222             </plugin>
223         </plugins>
224
225         <!--finalName>onboarding-api</finalName-->
226     </build>
227
228 </project>