blob: a89462d2c19eb2d97ef5e289c53696e4472c8a47 [file] [log] [blame]
Pamela Dragoshd1728dc2017-02-14 19:57:17 -05001<!--
2 ============LICENSE_START=======================================================
Guo Ruijingf43a7e62017-07-21 12:13:56 +00003 ONAP Policy Engine - Docker files
Pamela Dragoshd1728dc2017-02-14 19:57:17 -05004 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ============LICENSE_END=========================================================
19 -->
20
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
24 <modelVersion>4.0.0</modelVersion>
25
Guo Ruijing0f548052017-08-03 12:02:57 +000026 <parent>
27 <groupId>org.onap.oparent</groupId>
28 <artifactId>oparent</artifactId>
29 <version>1.0.0-SNAPSHOT</version>
30 <relativePath/>
31 </parent>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050032
Guo Ruijingf43a7e62017-07-21 12:13:56 +000033 <groupId>org.onap.policy.docker</groupId>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050034 <artifactId>docker</artifactId>
Pamela Dragosh490a3702017-03-10 15:46:34 -050035 <version>1.1.0-SNAPSHOT</version>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050036 <packaging>pom</packaging>
Pamela Dragosh687f2fc2017-04-28 10:52:46 -040037 <name>Policy Engine - Docker build</name>
Guo Ruijingf43a7e62017-07-21 12:13:56 +000038 <description>ONAP Policy Docker Build</description>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050039
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050040 <build>
41 <plugins>
42 <plugin>
43 <groupId>org.apache.maven.plugins</groupId>
44 <artifactId>maven-dependency-plugin</artifactId>
45 <executions>
46 <execution>
47 <id>copy-pe-zip</id>
48 <phase>prepare-package</phase>
49 <goals>
50 <goal>copy</goal>
51 </goals>
52 <configuration>
53 <outputDirectory>${project.build.directory}/policy-pe</outputDirectory>
54 <overWriteReleases>false</overWriteReleases>
55 <overWriteSnapshots>true</overWriteSnapshots>
56 <artifactItems>
57 <artifactItem>
Guo Ruijingf43a7e62017-07-21 12:13:56 +000058 <groupId>org.onap.policy.engine</groupId>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050059 <artifactId>install</artifactId>
60 <version>${project.version}</version>
61 <type>zip</type>
62 <destFileName>install.zip</destFileName>
63 </artifactItem>
64 </artifactItems>
65 </configuration>
66 </execution>
67 <execution>
68 <id>copy-drools-zip</id>
69 <phase>prepare-package</phase>
70 <goals>
71 <goal>copy</goal>
72 </goals>
73 <configuration>
74 <outputDirectory>${project.build.directory}/policy-drools</outputDirectory>
75 <overWriteReleases>false</overWriteReleases>
76 <overWriteSnapshots>true</overWriteSnapshots>
77 <artifactItems>
78 <artifactItem>
Guo Ruijingf43a7e62017-07-21 12:13:56 +000079 <groupId>org.onap.policy.drools-pdp</groupId>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -050080 <artifactId>install-drools</artifactId>
81 <version>${project.version}</version>
82 <type>zip</type>
83 <destFileName>install-drools.zip</destFileName>
84 </artifactItem>
85 </artifactItems>
86 </configuration>
87 </execution>
88 <execution>
89 <id>copy-apps-zip</id>
90 <phase>prepare-package</phase>
91 <goals>
92 <goal>copy</goal>
93 </goals>
94 <configuration>
95 <outputDirectory>${project.build.directory}/policy-drools</outputDirectory>
96 <overWriteReleases>false</overWriteReleases>
97 <overWriteSnapshots>true</overWriteSnapshots>
98 <artifactItems>
99 <artifactItem>
Jorge Hernandeza3d4d742017-07-13 14:44:49 -0500100 <groupId>org.onap.policy.drools-applications</groupId>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -0500101 <artifactId>apps</artifactId>
102 <version>${project.version}</version>
103 <type>zip</type>
104 <destFileName>apps.zip</destFileName>
105 </artifactItem>
106 </artifactItems>
107 </configuration>
108 </execution>
109 </executions>
110 </plugin>
Pamela Dragosh3fe4d9c2017-03-07 15:39:48 -0500111 <plugin>
112 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>exec-maven-plugin</artifactId>
114 <version>1.6.0</version>
115 <executions>
116 <execution>
117 <id>get-target-version</id>
118 <phase>prepare-package</phase>
119 <goals>
120 <goal>exec</goal>
121 </goals>
122 </execution>
123 </executions>
124 <configuration>
125 <executable>echo</executable>
126 <workingDirectory>${project.build.directory}</workingDirectory>
127 <arguments>
128 <argument>${project.version}</argument>
129 </arguments>
130 <outputFile>${project.build.directory}/version</outputFile>
131 </configuration>
132 </plugin>
Pamela Dragoshd1728dc2017-02-14 19:57:17 -0500133
134 </plugins>
135 </build>
136
137</project>