update pom version + change version file
[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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4
5         <parent>
6                 <groupId>org.openecomp.sdc</groupId>
7                 <artifactId>openecomp-sdc-rest-webapp</artifactId>
8                 <version>1.1.0-SNAPSHOT</version>
9         </parent>
10         <groupId>org.openecomp.sdc.onboarding</groupId>
11         <artifactId>onboarding-be</artifactId>
12         <name>onboarding-rest-war</name>
13         <packaging>war</packaging>
14
15
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.onboarding</groupId>
25                         <artifactId>vendor-software-products-rest-services</artifactId>
26                         <version>${project.version}</version>
27                 </dependency>
28                 <dependency>
29                         <groupId>org.openecomp.sdc.onboarding</groupId>
30                         <artifactId>validation-rest-services</artifactId>
31                         <version>${project.version}</version>
32                 </dependency>
33                 <!--dependency>
34                         <groupId>org.openecomp.sdc.onboarding</groupId>
35                         <artifactId>application-config-rest-services</artifactId>
36                         <version>${project.version}</version>
37                 </dependency-->
38                 <dependency>
39                         <groupId>org.openecomp.sdc</groupId>
40                         <artifactId>application-config-rest-services</artifactId>
41                         <version>${project.version}</version>
42                 </dependency>
43                 <dependency>
44                         <groupId>org.openecomp.sdc.onboarding</groupId>
45                         <artifactId>action-library-rest-services</artifactId>
46                         <version>${project.version}</version>
47                 </dependency>
48                 <dependency>
49                         <groupId>javax.servlet</groupId>
50                         <artifactId>servlet-api</artifactId>
51                         <version>${javax.servlet.version}</version>
52                 </dependency>
53                 <!-- JSON -->
54                 <dependency>
55                         <groupId>org.codehaus.jackson</groupId>
56                         <artifactId>jackson-jaxrs</artifactId>
57                         <version>${org.codehaus.jackson.version}</version>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.codehaus.jackson</groupId>
61                         <artifactId>jackson-core-asl</artifactId>
62                         <version>${org.codehaus.jackson.version}</version>
63                 </dependency>
64                 <dependency>
65                         <groupId>javax.inject</groupId>
66                         <artifactId>javax.inject</artifactId>
67                         <version>1</version>
68                 </dependency>
69                 <dependency>
70                         <groupId>org.openecomp.sdc</groupId>
71                         <artifactId>openecomp-sdc-vendor-software-product-manager</artifactId>
72                         <version>${project.version}</version>
73                 </dependency>
74                 <dependency>
75                         <groupId>org.eclipse.jetty</groupId>
76                         <artifactId>jetty-servlets</artifactId>
77                         <version>9.0.6.v20130930</version>
78                 </dependency>
79                 <dependency>
80                         <groupId>org.openecomp.sdc</groupId>
81                         <artifactId>openecomp-sdc-application-config-manager</artifactId>
82                         <version>${project.version}</version>
83                 </dependency>
84                 <dependency>
85                         <groupId>org.codehaus.groovy</groupId>
86                         <artifactId>groovy-all</artifactId>
87                         <version>2.4.7</version>
88                 </dependency>
89                 <dependency>
90                         <groupId>org.codehaus.janino</groupId>
91                         <artifactId>janino</artifactId>
92                         <scope>compile</scope>
93                 </dependency>
94                 <dependency>
95                         <groupId>org.codehaus.janino</groupId>
96                         <artifactId>commons-compiler</artifactId>
97                         <version>3.0.6</version>
98                         <scope>compile</scope>
99                 </dependency>
100         <dependency>
101             <groupId>org.springframework</groupId>
102             <artifactId>spring-web</artifactId>
103                         <version>4.1.3.RELEASE</version>
104         </dependency>
105
106     </dependencies>
107
108
109         <build>
110                 <plugins>
111                         <plugin>
112                                 <groupId>org.apache.maven.plugins</groupId>
113                                 <artifactId>maven-compiler-plugin</artifactId>
114                         </plugin>
115
116                         <plugin>
117                                 <groupId>org.apache.maven.plugins</groupId>
118                                 <artifactId>maven-surefire-plugin</artifactId>
119                                 <configuration>
120                                         <includes>
121                                                 <include>test/core/unittest/offline/**</include>
122                                         </includes>
123                                         <skipTests>true</skipTests>
124                                         <systemProperties>
125                                                 <property>
126                                                         <name>buildNumber</name>
127                                                         <value>${buildNumber}</value>
128                                                 </property>
129                                         </systemProperties>
130                                 </configuration>
131                         </plugin>
132                         <plugin>
133                                 <artifactId>maven-war-plugin</artifactId>
134                                 <version>2.1.1</version>
135                                 <configuration>
136                                         <attachClasses>true</attachClasses>
137                                         <webResources>
138                                                 <resource>
139                                                         <!-- this is relative to the pom.xml directory -->
140                                                         <directory>${basedir}/target/generated/swagger-ui</directory>
141                                                 </resource>
142                                         </webResources>
143                                 </configuration>
144                         </plugin>
145                         <plugin>
146                                 <groupId>com.github.kongchen</groupId>
147                                 <artifactId>swagger-maven-plugin</artifactId>
148                                 <version>3.1.0</version>
149                                 <configuration>
150                                         <apiSources>
151                                                 <apiSource>
152                                                         <springmvc>false</springmvc>
153                                                         <locations>org.openecomp.sdcrests</locations>
154                                                         <schemes>http</schemes>
155                                                         <basePath>/onboarding-api</basePath>
156                                                         <info>
157                                                                 <title>Rest API</title>
158                                                                 <version>v1.0, build #${buildNumber}</version>
159                                                                 <description>Rest API Documentation</description>
160                                                                 <termsOfService>
161                                                                         http://www.github.com/kongchen/swagger-maven-plugin
162                                                                 </termsOfService>
163                                                         </info>
164                                                         <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
165                                                         <outputPath>${basedir}/target/generated/api.html</outputPath>
166                                                         <swaggerDirectory>${basedir}/target/generated/swagger-ui</swaggerDirectory>
167                                                 </apiSource>
168                                         </apiSources>
169                                 </configuration>
170                                 <executions>
171                                         <execution>
172                                                 <phase>compile</phase>
173                                                 <goals>
174                                                         <goal>generate</goal>
175                                                 </goals>
176                                         </execution>
177                                 </executions>
178                         </plugin>
179                 </plugins>
180
181                 <!--finalName>onboarding-api</finalName-->
182         </build>
183
184 </project>