blob: 256e4fb2202412672bf0fcd9f18c92f345ce2748 [file] [log] [blame]
sheetalm297209b2018-02-20 19:06:27 +05301<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xmlns="http://maven.apache.org/POM/4.0.0"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5
sheetalm297209b2018-02-20 19:06:27 +05306 <artifactId>activity-spec-web</artifactId>
7 <packaging>pom</packaging>
8
9 <parent>
sheetalm894285b2018-04-12 13:20:36 +053010 <groupId>org.onap.sdc.activityspec</groupId>
sheetalm297209b2018-02-20 19:06:27 +053011 <artifactId>activity-spec</artifactId>
Michael Landod8a0dea2018-06-02 19:23:27 +030012 <version>1.3.0-SNAPSHOT</version>
sheetalm297209b2018-02-20 19:06:27 +053013 </parent>
14
15 <modules>
16 <module>activity-spec-service</module>
17 <module>activity-spec-war</module>
sheetalmed128902018-03-13 19:32:08 +053018 <module>activity-spec-api-docs</module>
sheetalm297209b2018-02-20 19:06:27 +053019 </modules>
20
sheetalmed128902018-03-13 19:32:08 +053021 <profiles>
22 <profile>
23 <id>docker</id>
24 <activation>
25 <activeByDefault>false</activeByDefault>
26 </activation>
27 <build>
28 <plugins>
priyanshudaf0dfe2018-05-28 15:29:26 +030029 <plugin>
30 <artifactId>maven-resources-plugin</artifactId>
31 <version>3.0.2</version>
32 <executions>
33 <execution>
34 <id>copy-activity-spec-docker-assembly</id>
35 <phase>verify</phase>
36 <goals>
37 <goal>copy-resources</goal>
38 </goals>
39 <configuration>
40 <outputDirectory>target/activity-spec-docker-assembly</outputDirectory>
41 <resources>
42 <resource>
43 <directory>${project.basedir}/activity-spec-docker-assembly</directory>
44 </resource>
45 </resources>
46 </configuration>
47 </execution>
48 <execution>
49 <id>copy-static-configuration-files</id>
50 <phase>verify</phase>
51 <goals>
52 <goal>copy-resources</goal>
53 </goals>
54 <configuration>
55 <outputDirectory>target/activity-spec-docker-assembly</outputDirectory>
56 <resources>
57 <resource>
58 <directory>${project.basedir}/activity-spec-service/src/main/resources/config</directory>
59 <includes>
60 <include>logback.xml</include>
61 </includes>
62 </resource>
63 </resources>
64 </configuration>
65 </execution>
66 <execution>
67 <id>copy-resources</id>
68 <phase>verify</phase>
69 <goals>
70 <goal>copy-resources</goal>
71 </goals>
72 <configuration>
73 <outputDirectory>target/activity-spec-docker-assembly</outputDirectory>
74 <resources>
75 <resource>
76 <directory>${project.basedir}/activity-spec-war/target</directory>
77 <includes>
78 <include>activity-spec-war-${project.version}.war</include>
79 </includes>
80 </resource>
81 <resource>
82 <directory>${project.basedir}/activity-spec-api-docs/target
83 </directory>
84 <includes>
85 <include>activity-spec-api-docs-${project.version}.war</include>
86 </includes>
87 </resource>
88 </resources>
89 </configuration>
90 </execution>
91 </executions>
92 </plugin>
sheetalmed128902018-03-13 19:32:08 +053093 <plugin>
94 <groupId>io.fabric8</groupId>
95 <artifactId>docker-maven-plugin</artifactId>
96 <configuration>
97 <images>
98 <image>
99 <name>onap/activity-spec</name>
100 <build>
101 <tags>
102 <tag>${project.version}</tag>
103 </tags>
priyanshudaf0dfe2018-05-28 15:29:26 +0300104 <dockerFileDir>${project.basedir}/target/activity-spec-docker-assembly</dockerFileDir>
sheetalmed128902018-03-13 19:32:08 +0530105 <dockerFile>Dockerfile</dockerFile>
sheetalmed128902018-03-13 19:32:08 +0530106 </build>
107 </image>
108 </images>
109 </configuration>
110 </plugin>
111 </plugins>
112 </build>
113 </profile>
114 </profiles>
sheetalm297209b2018-02-20 19:06:27 +0530115</project>