blob: 0dea1b3ff9fde2cae0b551b954fe9541e802444e [file] [log] [blame]
Michael Landof5f13c42017-02-19 12:35:04 +02001<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.0.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 </dependency>
104
105 </dependencies>
106
107
108 <build>
109 <plugins>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-compiler-plugin</artifactId>
113 </plugin>
114
115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-surefire-plugin</artifactId>
118 <configuration>
119 <includes>
120 <include>test/core/unittest/offline/**</include>
121 </includes>
122 <skipTests>true</skipTests>
123 <systemProperties>
124 <property>
125 <name>buildNumber</name>
126 <value>${buildNumber}</value>
127 </property>
128 </systemProperties>
129 </configuration>
130 </plugin>
131 <plugin>
132 <artifactId>maven-war-plugin</artifactId>
133 <version>2.1.1</version>
134 <configuration>
135 <attachClasses>true</attachClasses>
136 <webResources>
137 <resource>
138 <!-- this is relative to the pom.xml directory -->
139 <directory>${basedir}/target/generated/swagger-ui</directory>
140 </resource>
141 </webResources>
142 </configuration>
143 </plugin>
144 <plugin>
145 <groupId>com.github.kongchen</groupId>
146 <artifactId>swagger-maven-plugin</artifactId>
147 <version>3.1.0</version>
148 <configuration>
149 <apiSources>
150 <apiSource>
151 <springmvc>false</springmvc>
152 <locations>org.openecomp.sdcrests</locations>
153 <schemes>http</schemes>
154 <basePath>/onboarding-api</basePath>
155 <info>
156 <title>Rest API</title>
157 <version>v1.0, build #${buildNumber}</version>
158 <description>Rest API Documentation</description>
159 <termsOfService>
160 http://www.github.com/kongchen/swagger-maven-plugin
161 </termsOfService>
162 </info>
163 <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
164 <outputPath>${basedir}/target/generated/api.html</outputPath>
165 <swaggerDirectory>${basedir}/target/generated/swagger-ui</swaggerDirectory>
166 </apiSource>
167 </apiSources>
168 </configuration>
169 <executions>
170 <execution>
171 <phase>compile</phase>
172 <goals>
173 <goal>generate</goal>
174 </goals>
175 </execution>
176 </executions>
177 </plugin>
178 </plugins>
179
180 <!--finalName>onboarding-api</finalName-->
181 </build>
182
183</project>