sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 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 | |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 5 | <modelVersion>4.0.0</modelVersion> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 6 | |
| 7 | <artifactId>activity-spec-war</artifactId> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 8 | <packaging>war</packaging> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 9 | |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 10 | <parent> |
sheetalm | 894285b | 2018-04-12 13:20:36 +0530 | [diff] [blame] | 11 | <groupId>org.onap.sdc.activityspec</groupId> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 12 | <artifactId>activity-spec</artifactId> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 13 | <version>1.2.0-SNAPSHOT</version> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 14 | <relativePath>../..</relativePath> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 15 | </parent> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 16 | |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 17 | <dependencies> |
| 18 | <dependency> |
sheetalm | 894285b | 2018-04-12 13:20:36 +0530 | [diff] [blame] | 19 | <groupId>org.onap.sdc.activityspec</groupId> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 20 | <artifactId>activity-spec-service</artifactId> |
| 21 | <version>${project.version}</version> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 22 | </dependency> |
| 23 | </dependencies> |
| 24 | |
| 25 | <build> |
| 26 | <plugins> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 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> |
sheetalm | 894285b | 2018-04-12 13:20:36 +0530 | [diff] [blame] | 56 | <locations>org.onap.sdc.activityspec</locations> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 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> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 83 | </build> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 84 | |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 85 | </project> |