aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/pom.xml
blob: ec10e4fdd610cd6a159b233f0da00577f1f6bccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	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>

	<artifactId>sdc-os-chef</artifactId>

	<parent>
		<groupId>org.openecomp.sdc</groupId>
		<artifactId>sdc-main</artifactId>
		<version>1.0.0-SNAPSHOT</version>
	</parent>

	<build>
	    <plugins>
		<plugin>
                	<groupId>com.google.code.maven-replacer-plugin</groupId>
                        <artifactId>replacer</artifactId>
                        <version>1.5.3</version>
                        <executions>
                        	<execution>
                                	<phase>package</phase>
                                        <goals>
                                        	<goal>replace</goal>
                                        </goals>
                                </execution>
                        </executions>

                        <configuration>
                        	<basedir>${project.basedir}</basedir>
                        	<includes>
                        		<include>sdc-backend/Dockerfile</include>
								<include>sdc-frontend/Dockerfile</include>
								<include>scripts/docker_run.sh</include>							
                        	</includes>
                        	<replacements>
                        		<replacement>
                                		<token>__SDC-RELEASE__</token>
                                        	<value>${project.version}</value>
                                	</replacement>
                        	</replacements>
                        </configuration>
		</plugin>
	    </plugins>
	</build>
</project>