update sdc version
[sdc.git] / services / activity-spec / activity-spec-web / activity-spec-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
5     <modelVersion>4.0.0</modelVersion>
6
7     <artifactId>activity-spec-war</artifactId>
8     <packaging>war</packaging>
9
10     <parent>
11         <groupId>org.onap.sdc.activityspec</groupId>
12         <artifactId>activity-spec</artifactId>
13         <version>1.3.0-SNAPSHOT</version>
14         <relativePath>../..</relativePath>
15     </parent>
16
17     <dependencies>
18         <dependency>
19             <groupId>org.onap.sdc.activityspec</groupId>
20             <artifactId>activity-spec-service</artifactId>
21             <version>${project.version}</version>
22         </dependency>
23     </dependencies>
24
25     <build>
26         <plugins>
27             <plugin>
28                 <artifactId>maven-compiler-plugin</artifactId>
29                 <executions>
30                     <execution>
31                         <phase>none</phase>
32                     </execution>
33                 </executions>
34             </plugin>
35             <plugin>
36                 <artifactId>maven-war-plugin</artifactId>
37                 <version>${mvn.war.version}</version>
38                 <configuration>
39                     <attachClasses>false</attachClasses>
40                     <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
41                     <webResources>
42                         <resource>
43                             <directory>${project.build.directory}/generated/swagger-ui</directory>
44                         </resource>
45                     </webResources>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>com.github.kongchen</groupId>
50                 <artifactId>swagger-maven-plugin</artifactId>
51                 <version>${mvn.swagger.version}</version>
52                 <configuration>
53                     <apiSources>
54                         <apiSource>
55                             <springmvc>false</springmvc>
56                             <locations>org.onap.sdc.activityspec</locations>
57                             <schemes>http</schemes>
58                             <basePath>/activity-spec-api</basePath>
59                             <info>
60                                 <title>Activity Spec REST API Documentation</title>
61                                 <version>${project.version}</version>
62                                 <description>Activity Spec REST API Documentation</description>
63                                 <termsOfService>
64                                     http://www.github.com/kongchen/swagger-maven-plugin
65                                 </termsOfService>
66                             </info>
67                             <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath>
68                             <outputPath>${project.build.directory}/generated/api.html</outputPath>
69                             <swaggerDirectory>${project.build.directory}/generated/swagger-ui</swaggerDirectory>
70                         </apiSource>
71                     </apiSources>
72                 </configuration>
73                 <executions>
74                     <execution>
75                         <phase>compile</phase>
76                         <goals>
77                             <goal>generate</goal>
78                         </goals>
79                     </execution>
80                 </executions>
81             </plugin>
82         </plugins>
83     </build>
84
85 </project>