aboutsummaryrefslogtreecommitdiffstats
path: root/services/activity-spec/activity-spec-web/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'services/activity-spec/activity-spec-web/pom.xml')
-rw-r--r--services/activity-spec/activity-spec-web/pom.xml35
1 files changed, 34 insertions, 1 deletions
diff --git a/services/activity-spec/activity-spec-web/pom.xml b/services/activity-spec/activity-spec-web/pom.xml
index c67a9c54f0..799c9d2b9e 100644
--- a/services/activity-spec/activity-spec-web/pom.xml
+++ b/services/activity-spec/activity-spec-web/pom.xml
@@ -3,7 +3,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.openecomp.activityspec</groupId>
<artifactId>activity-spec-web</artifactId>
<packaging>pom</packaging>
@@ -16,6 +15,40 @@
<modules>
<module>activity-spec-service</module>
<module>activity-spec-war</module>
+ <module>activity-spec-api-docs</module>
</modules>
+ <profiles>
+ <profile>
+ <id>docker</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>io.fabric8</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <configuration>
+ <images>
+ <image>
+ <name>onap/activity-spec</name>
+ <build>
+ <tags>
+ <tag>${project.version}</tag>
+ </tags>
+ <dockerFileDir>${project.basedir}</dockerFileDir>
+ <dockerFile>Dockerfile</dockerFile>
+ <args>
+ <ARTIFACT_VERSION>${project.version}</ARTIFACT_VERSION>
+ </args>
+ </build>
+ </image>
+ </images>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project> \ No newline at end of file