aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be
diff options
context:
space:
mode:
authorAvi Ziv <avi.ziv@amdocs.com>2017-12-11 11:56:18 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-12-11 11:38:21 +0000
commite6313a29c633d86e0f158df11ef1d95b3e18bcaf (patch)
tree13a934e68f68f7c712b6b175a264df4653ceee20 /openecomp-be
parent0016b1037a49606e7eae2304a02662eac535b4a8 (diff)
Error in Jetty logs - add docs folder
Issue-ID: SDC-581 Change-Id: Ibe634463eb780491ce4000996ef6613418c5ecd9 Signed-off-by: Avi Ziv<avi.ziv@amdocs.com>
Diffstat (limited to 'openecomp-be')
-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>