aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml29
1 files changed, 23 insertions, 6 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
index eda197c18b..af604f30ce 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
@@ -40,11 +40,6 @@
<artifactId>healthcheck-rest-services</artifactId>
<version>${project.version}</version>
</dependency>
- <!--dependency>
- <groupId>org.openecomp.sdc.onboarding</groupId>
- <artifactId>application-config-rest-services</artifactId>
- <version>${project.version}</version>
- </dependency-->
<dependency>
<groupId>org.openecomp.sdc</groupId>
<artifactId>application-config-rest-services</artifactId>
@@ -180,11 +175,34 @@
<resource>
<!-- this is relative to the pom.xml directory -->
<directory>${basedir}/target/generated/swagger-ui</directory>
+ <directory>${basedir}/target</directory>
+ <includes>
+ <include>docs/*.*</include>
+ </includes>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <property name="version" value="${project.version}"/>
+ <mkdir dir="target/docs"/>
+ <echo file="target/docs/build-info.json">{"Version": "${version}"}</echo>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>${mvn.swagger.version}</version>
@@ -221,7 +239,6 @@
</plugin>
</plugins>
- <!--finalName>onboarding-api</finalName-->
</build>
</project>