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