blob: fa2092a8c3559468430ef589c71f61686e58acd2 [file] [log] [blame]
sheetalm297209b2018-02-20 19:06:27 +05301<project xmlns="http://maven.apache.org/POM/4.0.0"
sheetalmed128902018-03-13 19:32:08 +05302 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
sheetalm297209b2018-02-20 19:06:27 +05305 <modelVersion>4.0.0</modelVersion>
sheetalmed128902018-03-13 19:32:08 +05306
7 <artifactId>activity-spec-war</artifactId>
sheetalm297209b2018-02-20 19:06:27 +05308 <packaging>war</packaging>
sheetalmed128902018-03-13 19:32:08 +05309
sheetalm297209b2018-02-20 19:06:27 +053010 <parent>
sheetalm894285b2018-04-12 13:20:36 +053011 <groupId>org.onap.sdc.activityspec</groupId>
sheetalmed128902018-03-13 19:32:08 +053012 <artifactId>activity-spec</artifactId>
sheetalm297209b2018-02-20 19:06:27 +053013 <version>1.2.0-SNAPSHOT</version>
sheetalmed128902018-03-13 19:32:08 +053014 <relativePath>../..</relativePath>
sheetalm297209b2018-02-20 19:06:27 +053015 </parent>
sheetalmed128902018-03-13 19:32:08 +053016
sheetalm297209b2018-02-20 19:06:27 +053017 <dependencies>
18 <dependency>
sheetalm894285b2018-04-12 13:20:36 +053019 <groupId>org.onap.sdc.activityspec</groupId>
sheetalmed128902018-03-13 19:32:08 +053020 <artifactId>activity-spec-service</artifactId>
21 <version>${project.version}</version>
sheetalm297209b2018-02-20 19:06:27 +053022 </dependency>
23 </dependencies>
24
25 <build>
26 <plugins>
sheetalmed128902018-03-13 19:32:08 +053027 <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>
sheetalm894285b2018-04-12 13:20:36 +053056 <locations>org.onap.sdc.activityspec</locations>
sheetalmed128902018-03-13 19:32:08 +053057 <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>
sheetalm297209b2018-02-20 19:06:27 +053083 </build>
sheetalmed128902018-03-13 19:32:08 +053084
sheetalm297209b2018-02-20 19:06:27 +053085</project>