blob: 06e97c7491a04af621a30c62b30491414635b619 [file] [log] [blame]
mmis824a75e2018-03-02 18:04:48 +00001<!--
2 ============LICENSE_START=======================================================
3 ONAP Policy Engine - Docker files
4 ================================================================================
Pamela Dragoshb8f32362019-01-09 12:14:44 +01005 Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
mmis824a75e2018-03-02 18:04:48 +00006 ================================================================================
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
liamfallon45f8e422018-10-31 15:37:59 +000021<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">
mmis824a75e2018-03-02 18:04:48 +000022
Pamela Dragoshfd307be2018-08-28 18:10:51 -040023 <modelVersion>4.0.0</modelVersion>
mmis824a75e2018-03-02 18:04:48 +000024
Pamela Dragoshfd307be2018-08-28 18:10:51 -040025 <parent>
26 <groupId>org.onap.policy.drools-pdp</groupId>
27 <artifactId>packages</artifactId>
Pamela Dragosh62bf48f2019-02-26 14:35:13 -050028 <version>1.3.6-SNAPSHOT</version>
Pamela Dragoshfd307be2018-08-28 18:10:51 -040029 </parent>
mmis824a75e2018-03-02 18:04:48 +000030
Pamela Dragoshfd307be2018-08-28 18:10:51 -040031 <artifactId>docker</artifactId>
32 <packaging>pom</packaging>
33 <name>Policy Drools PDP - Docker build</name>
34 <description>ONAP Policy Drools PDP Docker Build</description>
mmis824a75e2018-03-02 18:04:48 +000035
Pamela Dragoshfd307be2018-08-28 18:10:51 -040036 <properties>
37 <nexusproxy>https://nexus.onap.org</nexusproxy>
38 </properties>
mmis824a75e2018-03-02 18:04:48 +000039
Pamela Dragoshfd307be2018-08-28 18:10:51 -040040 <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-drools-zip</id>
48 <phase>prepare-package</phase>
49 <goals>
50 <goal>copy</goal>
51 </goals>
52 <configuration>
53 <outputDirectory>${project.build.directory}/policy-drools</outputDirectory>
54 <overWriteReleases>false</overWriteReleases>
55 <overWriteSnapshots>true</overWriteSnapshots>
56 <artifactItems>
57 <artifactItem>
58 <groupId>org.onap.policy.drools-pdp</groupId>
59 <artifactId>install-drools</artifactId>
60 <version>${project.version}</version>
61 <type>zip</type>
62 <destFileName>install-drools.zip</destFileName>
63 </artifactItem>
64 </artifactItems>
65 </configuration>
66 </execution>
67 </executions>
68 </plugin>
69 <plugin>
70 <artifactId>maven-resources-plugin</artifactId>
71 <executions>
72 <execution>
73 <id>copy-resources</id>
74 <phase>prepare-package</phase>
75 <goals>
76 <goal>copy-resources</goal>
77 </goals>
78 <configuration>
79 <outputDirectory>${project.build.directory}/policy-drools</outputDirectory>
80 <resources>
81 <resource>
82 <directory>src/main/docker</directory>
83 </resource>
84 </resources>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
mmis19b10482018-03-06 17:48:31 +000089
Pamela Dragoshfd307be2018-08-28 18:10:51 -040090 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>exec-maven-plugin</artifactId>
93 <executions>
94 <execution>
95 <id>get-target-version</id>
96 <phase>prepare-package</phase>
97 <goals>
98 <goal>exec</goal>
99 </goals>
100 </execution>
101 </executions>
102 <configuration>
103 <executable>echo</executable>
104 <workingDirectory>${project.build.directory}</workingDirectory>
105 <arguments>
106 <argument>${project.version}</argument>
107 </arguments>
108 <outputFile>${project.build.directory}/version</outputFile>
109 </configuration>
110 </plugin>
mmis824a75e2018-03-02 18:04:48 +0000111
Pamela Dragoshfd307be2018-08-28 18:10:51 -0400112 </plugins>
113 </build>
mmis824a75e2018-03-02 18:04:48 +0000114
115</project>