<parent>\r
<artifactId>aai-esr-server</artifactId>\r
<groupId>org.onap.aai.esr-server</groupId>\r
- <version>1.0.0-SNAPSHOT</version>\r
+ <version>1.5.0-SNAPSHOT</version>\r
</parent>\r
<modelVersion>4.0.0</modelVersion>\r
<artifactId>esr-mgr</artifactId>\r
<name>esr-server/esr-mgr</name>\r
- <version>1.0.0-SNAPSHOT</version>\r
<build>\r
<plugins>\r
<plugin>\r
</plugin>\r
</plugins>\r
</build>\r
+ <profiles>\r
+ <profile>\r
+ <id>swagger</id>\r
+ <build>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>com.github.kongchen</groupId>\r
+ <artifactId>swagger-maven-plugin</artifactId>\r
+ <version>3.1.1</version>\r
+ <executions>\r
+ <execution>\r
+ <phase>compile</phase>\r
+ <goals>\r
+ <goal>generate</goal>\r
+ </goals>\r
+ </execution>\r
+ </executions>\r
+ <configuration>\r
+ <apiSources>\r
+ <apiSource>\r
+ <springmvc>false</springmvc>\r
+ <locations>org.onap.aai.esr.resource</locations>\r
+ <basePath>/api/aai-esr-server/v1/</basePath>\r
+ <info>\r
+ <title>API Descriptions for External System Management</title>\r
+ <version>v1</version>\r
+ <description>This page shows all the APIs available in the ESR server module.</description>\r
+ <termsOfService>http://www.github.com/kongchen/swagger-maven-plugin</termsOfService>\r
+ <contact>\r
+ <email>li.zi30@zte.com.cn</email>\r
+ <name>Zi Li</name>\r
+ </contact>\r
+ <license>\r
+ <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>\r
+ <name>Apache 2.0</name>\r
+ </license>\r
+ </info>\r
+ <securityDefinitions />\r
+ <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>\r
+ </apiSource>\r
+ </apiSources>\r
+ </configuration>\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
+ <dependencies>\r
+ <dependency>\r
+ <groupId>io.swagger</groupId>\r
+ <artifactId>swagger-jersey2-jaxrs</artifactId>\r
+ <version>1.5.0</version>\r
+ </dependency>\r
+ </dependencies>\r
+ </profile>\r
+ </profiles>\r
<dependencies>\r
<dependency>\r
<groupId>junit</groupId>\r
</exclusion>\r
</exclusions>\r
</dependency>\r
+ <dependency>\r
+ <groupId>org.apache.ant</groupId>\r
+ <artifactId>ant</artifactId>\r
+ <version>1.10.5</version>\r
+ <scope>test</scope>\r
+ <exclusions>\r
+ <exclusion>\r
+ <artifactId>ant-launcher</artifactId>\r
+ <groupId>org.apache.ant</groupId>\r
+ </exclusion>\r
+ </exclusions>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.powermock</groupId>\r
+ <artifactId>powermock-api-easymock</artifactId>\r
+ <version>1.6.5</version>\r
+ <scope>test</scope>\r
+ <exclusions>\r
+ <exclusion>\r
+ <artifactId>cglib-nodep</artifactId>\r
+ <groupId>cglib</groupId>\r
+ </exclusion>\r
+ <exclusion>\r
+ <artifactId>powermock-api-support</artifactId>\r
+ <groupId>org.powermock</groupId>\r
+ </exclusion>\r
+ </exclusions>\r
+ </dependency>\r
<dependency>\r
<groupId>org.powermock</groupId>\r
<artifactId>powermock-module-junit4</artifactId>\r
- <version>1.4.10</version>\r
+ <version>1.5.5</version>\r
<scope>test</scope>\r
<exclusions>\r
<exclusion>\r
<dependency>\r
<groupId>org.powermock</groupId>\r
<artifactId>powermock-api-mockito</artifactId>\r
- <version>1.4.10</version>\r
+ <version>1.5.5</version>\r
<scope>test</scope>\r
<exclusions>\r
<exclusion>\r
</exclusions>\r
</dependency>\r
<dependency>\r
- <groupId>org.apache.ant</groupId>\r
- <artifactId>ant</artifactId>\r
- <version>1.8.2</version>\r
+ <groupId>org.hamcrest</groupId>\r
+ <artifactId>hamcrest-library</artifactId>\r
+ <version>1.3</version>\r
<scope>test</scope>\r
<exclusions>\r
<exclusion>\r
- <artifactId>ant-launcher</artifactId>\r
- <groupId>org.apache.ant</groupId>\r
+ <artifactId>hamcrest-core</artifactId>\r
+ <groupId>org.hamcrest</groupId>\r
+ </exclusion>\r
+ </exclusions>\r
+ </dependency>\r
+ <dependency>\r
+ <groupId>org.easymock</groupId>\r
+ <artifactId>easymock</artifactId>\r
+ <version>3.0</version>\r
+ <scope>test</scope>\r
+ <exclusions>\r
+ <exclusion>\r
+ <artifactId>objenesis</artifactId>\r
+ <groupId>org.objenesis</groupId>\r
+ </exclusion>\r
+ <exclusion>\r
+ <artifactId>cglib-nodep</artifactId>\r
+ <groupId>cglib</groupId>\r
</exclusion>\r
</exclusions>\r
</dependency>\r