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> |
Jessica Wagantall | 34d39e9 | 2017-11-18 18:38:53 -0800 | [diff] [blame] | 35 | <version>1.2.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 | 063d848 | 2017-11-10 20:45:15 -0500 | [diff] [blame] | 40 | <properties> |
| 41 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 42 | </properties> |
| 43 | |
| 44 | <repositories> |
| 45 | <!-- LF repositories --> |
| 46 | <repository> |
| 47 | <id>ecomp-releases</id> |
| 48 | <name>Release Repository</name> |
| 49 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 50 | </repository> |
| 51 | <repository> |
| 52 | <id>ecomp-staging</id> |
| 53 | <name>Staging Repository</name> |
| 54 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 55 | </repository> |
| 56 | <repository> |
| 57 | <id>ecomp-snapshots</id> |
| 58 | <name>Snapshots Repository</name> |
| 59 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 60 | </repository> |
| 61 | <repository> |
| 62 | <id>ecomp-public</id> |
| 63 | <name>Public Repository</name> |
| 64 | <url>${nexusproxy}/content/repositories/public/</url> |
| 65 | </repository> |
| 66 | <!-- LF repositories END--> |
| 67 | </repositories> |
| 68 | |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 69 | <build> |
| 70 | <plugins> |
| 71 | <plugin> |
| 72 | <groupId>org.apache.maven.plugins</groupId> |
| 73 | <artifactId>maven-dependency-plugin</artifactId> |
| 74 | <executions> |
| 75 | <execution> |
| 76 | <id>copy-pe-zip</id> |
| 77 | <phase>prepare-package</phase> |
| 78 | <goals> |
| 79 | <goal>copy</goal> |
| 80 | </goals> |
| 81 | <configuration> |
| 82 | <outputDirectory>${project.build.directory}/policy-pe</outputDirectory> |
| 83 | <overWriteReleases>false</overWriteReleases> |
| 84 | <overWriteSnapshots>true</overWriteSnapshots> |
| 85 | <artifactItems> |
| 86 | <artifactItem> |
Guo Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 87 | <groupId>org.onap.policy.engine</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 88 | <artifactId>install</artifactId> |
| 89 | <version>${project.version}</version> |
| 90 | <type>zip</type> |
| 91 | <destFileName>install.zip</destFileName> |
| 92 | </artifactItem> |
| 93 | </artifactItems> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | <execution> |
| 97 | <id>copy-drools-zip</id> |
| 98 | <phase>prepare-package</phase> |
| 99 | <goals> |
| 100 | <goal>copy</goal> |
| 101 | </goals> |
| 102 | <configuration> |
| 103 | <outputDirectory>${project.build.directory}/policy-drools</outputDirectory> |
| 104 | <overWriteReleases>false</overWriteReleases> |
| 105 | <overWriteSnapshots>true</overWriteSnapshots> |
| 106 | <artifactItems> |
| 107 | <artifactItem> |
Guo Ruijing | f43a7e6 | 2017-07-21 12:13:56 +0000 | [diff] [blame] | 108 | <groupId>org.onap.policy.drools-pdp</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 109 | <artifactId>install-drools</artifactId> |
| 110 | <version>${project.version}</version> |
| 111 | <type>zip</type> |
| 112 | <destFileName>install-drools.zip</destFileName> |
| 113 | </artifactItem> |
| 114 | </artifactItems> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | <execution> |
| 118 | <id>copy-apps-zip</id> |
| 119 | <phase>prepare-package</phase> |
| 120 | <goals> |
| 121 | <goal>copy</goal> |
| 122 | </goals> |
| 123 | <configuration> |
| 124 | <outputDirectory>${project.build.directory}/policy-drools</outputDirectory> |
| 125 | <overWriteReleases>false</overWriteReleases> |
| 126 | <overWriteSnapshots>true</overWriteSnapshots> |
| 127 | <artifactItems> |
| 128 | <artifactItem> |
liamfallon | 7228882 | 2018-02-14 12:11:30 +0000 | [diff] [blame^] | 129 | <groupId>org.onap.policy.drools-applications.controlloop.packages</groupId> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 130 | <artifactId>apps</artifactId> |
| 131 | <version>${project.version}</version> |
| 132 | <type>zip</type> |
| 133 | <destFileName>apps.zip</destFileName> |
| 134 | </artifactItem> |
| 135 | </artifactItems> |
| 136 | </configuration> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
Pamela Dragosh | 3fe4d9c | 2017-03-07 15:39:48 -0500 | [diff] [blame] | 140 | <plugin> |
| 141 | <groupId>org.codehaus.mojo</groupId> |
| 142 | <artifactId>exec-maven-plugin</artifactId> |
| 143 | <version>1.6.0</version> |
| 144 | <executions> |
| 145 | <execution> |
| 146 | <id>get-target-version</id> |
| 147 | <phase>prepare-package</phase> |
| 148 | <goals> |
| 149 | <goal>exec</goal> |
| 150 | </goals> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | <configuration> |
| 154 | <executable>echo</executable> |
| 155 | <workingDirectory>${project.build.directory}</workingDirectory> |
| 156 | <arguments> |
| 157 | <argument>${project.version}</argument> |
| 158 | </arguments> |
| 159 | <outputFile>${project.build.directory}/version</outputFile> |
| 160 | </configuration> |
| 161 | </plugin> |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 162 | |
| 163 | </plugins> |
| 164 | </build> |
| 165 | |
| 166 | </project> |