Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
John McClung | f6332bd | 2018-06-13 13:07:38 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Copyright (C) 2017 Amdocs |
| 9 | ============================================================================= |
| 10 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | you may not use this file except in compliance with the License. |
| 12 | You may obtain a copy of the License at |
| 13 | |
| 14 | http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | |
| 16 | Unless required by applicable law or agreed to in writing, software |
| 17 | distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | See the License for the specific language governing permissions and |
| 20 | limitations under the License. |
| 21 | |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 22 | ============LICENSE_END========================================================= |
| 23 | --> |
| 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <parent> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 29 | <artifactId>odlparent-lite</artifactId> |
| 30 | <groupId>org.onap.appc.parent</groupId> |
Patrick Brady | 9d38008 | 2018-10-09 11:32:38 -0700 | [diff] [blame] | 31 | <version>1.4.0</version> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 32 | <relativePath /> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 33 | </parent> |
| 34 | <artifactId>appc-chef-adapter-installer</artifactId> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 35 | <groupId>org.onap.appc</groupId> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame^] | 36 | <version>1.5.0-SNAPSHOT</version> |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 37 | <name>APPC Chef Adapter - Karaf Installer</name> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 38 | <packaging>pom</packaging> |
| 39 | <properties> |
| 40 | <application.name>appc-chef-adapter</application.name> |
| 41 | <features.boot>appc-chef-adapter</features.boot> |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 42 | <features.repositories> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 43 | mvn:org.onap.appc/onap-appc-chef-adapter/${project.version}/xml/features |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 44 | </features.repositories> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 45 | <include.transitive.dependencies>false</include.transitive.dependencies> |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 46 | <licenseDir>${project.parent.parent.parent.basedir}</licenseDir> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 47 | </properties> |
| 48 | <dependencies> |
| 49 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 50 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 51 | <artifactId>onap-appc-chef-adapter</artifactId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 52 | <classifier>features</classifier> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 53 | <version>${project.version}</version> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 54 | <type>xml</type> |
| 55 | <exclusions> |
| 56 | <exclusion> |
| 57 | <groupId>*</groupId> |
| 58 | <artifactId>*</artifactId> |
| 59 | </exclusion> |
| 60 | </exclusions> |
| 61 | </dependency> |
| 62 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 63 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 64 | <artifactId>appc-chef-adapter-bundle</artifactId> |
| 65 | <version>${project.version}</version> |
| 66 | </dependency> |
| 67 | </dependencies> |
| 68 | <build> |
| 69 | <plugins> |
| 70 | <plugin> |
| 71 | <artifactId>maven-assembly-plugin</artifactId> |
| 72 | <executions> |
| 73 | <execution> |
| 74 | <id>maven-repo-zip</id> |
| 75 | <goals> |
| 76 | <goal>single</goal> |
| 77 | </goals> |
| 78 | <phase>package</phase> |
| 79 | <configuration> |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 80 | <appendAssemblyId>false</appendAssemblyId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 81 | <attach>false</attach> |
| 82 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 83 | <descriptors> |
| 84 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 85 | </descriptors> |
| 86 | </configuration> |
| 87 | </execution> |
| 88 | <execution> |
| 89 | <id>installer-zip</id> |
| 90 | <goals> |
| 91 | <goal>single</goal> |
| 92 | </goals> |
| 93 | <phase>package</phase> |
| 94 | <configuration> |
Skip Wonnell | 8c9631e | 2017-08-29 14:16:20 -0500 | [diff] [blame] | 95 | <appendAssemblyId>false</appendAssemblyId> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 96 | <attach>true</attach> |
| 97 | <finalName>${application.name}-${project.version}</finalName> |
| 98 | <descriptors> |
| 99 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 100 | </descriptors> |
| 101 | </configuration> |
| 102 | </execution> |
| 103 | </executions> |
| 104 | </plugin> |
| 105 | <plugin> |
| 106 | <groupId>org.apache.maven.plugins</groupId> |
| 107 | <artifactId>maven-dependency-plugin</artifactId> |
| 108 | <executions> |
| 109 | <execution> |
| 110 | <id>copy-dependencies</id> |
| 111 | <goals> |
| 112 | <goal>copy-dependencies</goal> |
| 113 | </goals> |
| 114 | <phase>prepare-package</phase> |
| 115 | <configuration> |
| 116 | <transitive>false</transitive> |
| 117 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 118 | <overWriteReleases>false</overWriteReleases> |
| 119 | <overWriteSnapshots>true</overWriteSnapshots> |
| 120 | <overWriteIfNewer>true</overWriteIfNewer> |
| 121 | <useRepositoryLayout>true</useRepositoryLayout> |
| 122 | <addParentPoms>false</addParentPoms> |
| 123 | <copyPom>false</copyPom> |
| 124 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 125 | <scope>provided</scope> |
| 126 | </configuration> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
| 130 | <plugin> |
| 131 | <artifactId>maven-resources-plugin</artifactId> |
| 132 | <executions> |
| 133 | <execution> |
| 134 | <id>copy-version</id> |
| 135 | <goals> |
| 136 | <goal>copy-resources</goal> |
| 137 | </goals> |
| 138 | <!-- here the phase you need --> |
| 139 | <phase>validate</phase> |
| 140 | <configuration> |
| 141 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 142 | <resources> |
| 143 | <resource> |
| 144 | <directory>src/main/resources/scripts</directory> |
| 145 | <includes> |
| 146 | <include>install-feature.sh</include> |
| 147 | </includes> |
| 148 | <filtering>true</filtering> |
| 149 | </resource> |
| 150 | </resources> |
| 151 | </configuration> |
| 152 | </execution> |
| 153 | </executions> |
| 154 | </plugin> |
| 155 | </plugins> |
| 156 | </build> |
Patrick Brady | 7f383f9 | 2018-07-30 14:35:31 -0700 | [diff] [blame] | 157 | </project> |