sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 1 | <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 | |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 6 | <artifactId>activity-spec-web</artifactId> |
| 7 | <packaging>pom</packaging> |
| 8 | |
| 9 | <parent> |
sheetalm | 894285b | 2018-04-12 13:20:36 +0530 | [diff] [blame] | 10 | <groupId>org.onap.sdc.activityspec</groupId> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 11 | <artifactId>activity-spec</artifactId> |
Michael Lando | d8a0dea | 2018-06-02 19:23:27 +0300 | [diff] [blame] | 12 | <version>1.3.0-SNAPSHOT</version> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 13 | </parent> |
| 14 | |
| 15 | <modules> |
| 16 | <module>activity-spec-service</module> |
| 17 | <module>activity-spec-war</module> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 18 | <module>activity-spec-api-docs</module> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 19 | </modules> |
| 20 | |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 21 | <profiles> |
| 22 | <profile> |
| 23 | <id>docker</id> |
| 24 | <activation> |
| 25 | <activeByDefault>false</activeByDefault> |
| 26 | </activation> |
| 27 | <build> |
| 28 | <plugins> |
priyanshu | daf0dfe | 2018-05-28 15:29:26 +0300 | [diff] [blame] | 29 | <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> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 93 | <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> |
priyanshu | daf0dfe | 2018-05-28 15:29:26 +0300 | [diff] [blame] | 104 | <dockerFileDir>${project.basedir}/target/activity-spec-docker-assembly</dockerFileDir> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 105 | <dockerFile>Dockerfile</dockerFile> |
sheetalm | ed12890 | 2018-03-13 19:32:08 +0530 | [diff] [blame] | 106 | </build> |
| 107 | </image> |
| 108 | </images> |
| 109 | </configuration> |
| 110 | </plugin> |
| 111 | </plugins> |
| 112 | </build> |
| 113 | </profile> |
| 114 | </profiles> |
sheetalm | 297209b | 2018-02-20 19:06:27 +0530 | [diff] [blame] | 115 | </project> |