<parent>
<artifactId>apiroute-parent</artifactId>
<groupId>org.onap.msb.apigateway.apiroute</groupId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.2.5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.onap.msb.apigateway.apiroute</groupId>
<artifactId>apiroute-service</artifactId>
<name>onap/msb/apigateway/apiroute/apiroute-service</name>
- <version>1.0.0-SNAPSHOT</version>
+ <version>1.2.5</version>
<build>
<resources>
<resource>
</configuration>
</plugin>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>properties-maven-plugin</artifactId>
- <version>1.0.0</version>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>3.0.0</version>
<executions>
<execution>
- <phase>initialize</phase>
+ <id>clean-generated-files</id>
+ <phase>generate-sources</phase>
<goals>
- <goal>read-project-properties</goal>
+ <goal>clean</goal>
</goals>
<configuration>
- <files>
- <file>${basedir}/src/main/resources/swagger.properties</file>
- </files>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>com.github.kongchen</groupId>
- <artifactId>swagger-maven-plugin</artifactId>
- <version>3.1.4</version>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <apiSources>
- <apiSource>
- <locations>${api-rest-package}</locations>
- <schemes>http,https</schemes>
- <host>${api-host-ip}:${api-host-port}</host>
- <basePath>${api-base-path}</basePath>
- <info>
- <title>${api-title}</title>
- <version>${api-version}</version>
- <description>${api-description}</description>
- <license>
- <name>${api-license}</name>
- </license>
- </info>
- <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
- </apiSource>
- </apiSources>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.3.1</version>
- <executions>
- <execution>
- <id>install-file-id</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <file>${basedir}/src/main/resources/swagger.json</file>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}-swagger-schema</artifactId>
- <version>${project.version}</version>
- <packaging>json</packaging>
+ <filesets>
+ <fileset>
+ <directory>${project.build.directory}/generated-sources</directory>
+ </fileset>
+ </filesets>
</configuration>
</execution>
</executions>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>4.12</version>
<scope>test</scope>
<exclusions>
<exclusion>
</exclusion>
</exclusions>
</dependency>
- <dependency>
- <groupId>com.fiftyonred</groupId>
- <artifactId>mock-jedis</artifactId>
- <version>0.4.0</version>
- <scope>test</scope>
- </dependency>
</dependencies>
</project>