summaryrefslogtreecommitdiffstats
path: root/esr-mgr/dependency-reduced-pom.xml
diff options
context:
space:
mode:
authorlizi <li.zi30@zte.com.cn>2017-10-13 12:52:13 +0800
committerlizi <li.zi30@zte.com.cn>2017-10-13 12:52:13 +0800
commitcb12c129a25a3aac6a3896f3c0c8f6d34df7c082 (patch)
treee4d7b893fddf6501148917b655643162f9c584a5 /esr-mgr/dependency-reduced-pom.xml
parent17767843a7874a4d2748ad1c097369432b5524c2 (diff)
Add staging version.
Change-Id: I0e600737789de31e4d7743cad2577f6a757a0ca3 Issue-ID: AAI-432 Signed-off-by: lizi <li.zi30@zte.com.cn>
Diffstat (limited to 'esr-mgr/dependency-reduced-pom.xml')
-rw-r--r--esr-mgr/dependency-reduced-pom.xml61
1 files changed, 61 insertions, 0 deletions
diff --git a/esr-mgr/dependency-reduced-pom.xml b/esr-mgr/dependency-reduced-pom.xml
index 4407846..481d79b 100644
--- a/esr-mgr/dependency-reduced-pom.xml
+++ b/esr-mgr/dependency-reduced-pom.xml
@@ -100,6 +100,67 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>swagger</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.kongchen</groupId>
+ <artifactId>swagger-maven-plugin</artifactId>
+ <version>3.1.1</version>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-hibernate-validations</artifactId>
+ <version>1.5.6</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <apiSources>
+ <apiSource>
+ <springmvc>false</springmvc>
+ <locations>org.onap.aai.esr.resource</locations>
+ <basePath>/api/aai-esr-server/v1/</basePath>
+ <info>
+ <title>API Descriptions for External System Management</title>
+ <version>v1</version>
+ <description>This page shows all the APIs available in the ESR server module.</description>
+ <termsOfService>http://www.github.com/kongchen/swagger-maven-plugin</termsOfService>
+ <contact>
+ <email>li.zi30@zte.com.cn</email>
+ <name>Zi Li</name>
+ </contact>
+ <license>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
+ <name>Apache 2.0</name>
+ </license>
+ </info>
+ <securityDefinitions />
+ <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
+ </apiSource>
+ </apiSources>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-jersey2-jaxrs</artifactId>
+ <version>1.5.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
<groupId>junit</groupId>