Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
Guo Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 3 | ONAP Policy Engine - Docker files |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 4 | ================================================================================ |
| 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 Ruijing | 0f54805 | 2017-08-03 12:02:57 +0000 | [diff] [blame] | 26 | <parent> |
| 27 | <groupId>org.onap.oparent</groupId> |
| 28 | <artifactId>oparent</artifactId> |
Pamela Dragosh | c5fa307 | 2017-09-21 11:28:44 -0400 | [diff] [blame] | 29 | <version>0.1.1</version> |
Guo Ruijing | 0f54805 | 2017-08-03 12:02:57 +0000 | [diff] [blame] | 30 | <relativePath/> |
| 31 | </parent> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 32 | |
Guo Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 33 | <groupId>org.onap.policy.docker</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 34 | <artifactId>docker</artifactId> |
Pamela Dragosh | 490a370 | 2017-03-10 15:46:34 -0500 | [diff] [blame] | 35 | <version>1.1.0-SNAPSHOT</version> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 36 | <packaging>pom</packaging> |
Pamela Dragosh | 687f2fc | 2017-04-28 10:52:46 -0400 | [diff] [blame] | 37 | <name>Policy Engine - Docker build</name> |
Guo Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 38 | <description>ONAP Policy Docker Build</description> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 39 | |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 40 | <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 Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 58 | <groupId>org.onap.policy.engine</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 59 | <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 Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 79 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 80 | <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 Hernandez | a3d4d74 | 2017-07-13 14:44:49 -0500 | [diff] [blame] | 100 | <groupId>org.onap.policy.drools-applications</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 101 | <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 Dragosh | 3fe4d9c | 2017-03-07 15:39:48 -0500 | [diff] [blame] | 111 | <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 Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 133 | |
| 134 | </plugins> |
| 135 | </build> |
| 136 | |
| 137 | </project> |