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 | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 27 | <version>1.4.0-SNAPSHOT</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> |
| 33 | <name>Config Component Params - Installer</name> |
| 34 | <packaging>pom</packaging> |
| 35 | <properties> |
| 36 | <application.name>appc-config-params</application.name> |
| 37 | <features.boot>appc-config-params</features.boot> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 38 | <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] | 39 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 40 | </properties> |
| 41 | <dependencies> |
| 42 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 43 | <groupId>org.onap.appc</groupId> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 44 | <artifactId>onap-appc-config-params</artifactId> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 45 | <classifier>features</classifier> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 46 | <version>${project.version}</version> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 47 | <type>xml</type> |
| 48 | <exclusions> |
| 49 | <exclusion> |
| 50 | <groupId>*</groupId> |
| 51 | <artifactId>*</artifactId> |
| 52 | </exclusion> |
| 53 | </exclusions> |
| 54 | </dependency> |
| 55 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 56 | <groupId>org.onap.appc</groupId> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 57 | <artifactId>appc-config-params-provider</artifactId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 58 | <version>1.4.0-SNAPSHOT</version> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 59 | </dependency> |
Patrick Brady | e5bdbcf | 2018-02-08 18:14:22 -0500 | [diff] [blame] | 60 | <dependency> |
| 61 | <groupId>org.onap.appc</groupId> |
| 62 | <artifactId>appc-yang-generator</artifactId> |
| 63 | <version>${project.version}</version> |
| 64 | </dependency> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 65 | </dependencies> |
| 66 | <build> |
| 67 | <plugins> |
| 68 | <plugin> |
| 69 | <artifactId>maven-assembly-plugin</artifactId> |
| 70 | <executions> |
| 71 | <execution> |
| 72 | <id>maven-repo-zip</id> |
| 73 | <goals> |
| 74 | <goal>single</goal> |
| 75 | </goals> |
| 76 | <phase>package</phase> |
| 77 | <configuration> |
Patrick Brady | e5bdbcf | 2018-02-08 18:14:22 -0500 | [diff] [blame] | 78 | <appendAssemblyId>false</appendAssemblyId> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 79 | <attach>false</attach> |
| 80 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 81 | <descriptors> |
| 82 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 83 | </descriptors> |
| 84 | </configuration> |
| 85 | </execution> |
| 86 | <execution> |
| 87 | <id>installer-zip</id> |
| 88 | <goals> |
| 89 | <goal>single</goal> |
| 90 | </goals> |
| 91 | <phase>package</phase> |
| 92 | <configuration> |
Patrick Brady | e5bdbcf | 2018-02-08 18:14:22 -0500 | [diff] [blame] | 93 | <appendAssemblyId>false</appendAssemblyId> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 94 | <attach>true</attach> |
| 95 | <finalName>${application.name}-${project.version}</finalName> |
| 96 | <descriptors> |
| 97 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 98 | </descriptors> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | <plugin> |
| 104 | <groupId>org.apache.maven.plugins</groupId> |
| 105 | <artifactId>maven-dependency-plugin</artifactId> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <id>copy-dependencies</id> |
| 109 | <goals> |
| 110 | <goal>copy-dependencies</goal> |
| 111 | </goals> |
| 112 | <phase>prepare-package</phase> |
| 113 | <configuration> |
| 114 | <transitive>false</transitive> |
| 115 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 116 | <overWriteReleases>false</overWriteReleases> |
| 117 | <overWriteSnapshots>true</overWriteSnapshots> |
| 118 | <overWriteIfNewer>true</overWriteIfNewer> |
| 119 | <useRepositoryLayout>true</useRepositoryLayout> |
| 120 | <addParentPoms>false</addParentPoms> |
| 121 | <copyPom>false</copyPom> |
| 122 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 123 | <scope>provided</scope> |
| 124 | </configuration> |
| 125 | </execution> |
| 126 | </executions> |
| 127 | </plugin> |
| 128 | <plugin> |
| 129 | <artifactId>maven-resources-plugin</artifactId> |
| 130 | <executions> |
| 131 | <execution> |
| 132 | <id>copy-version</id> |
| 133 | <goals> |
| 134 | <goal>copy-resources</goal> |
| 135 | </goals> |
| 136 | <!-- here the phase you need --> |
| 137 | <phase>validate</phase> |
| 138 | <configuration> |
| 139 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 140 | <resources> |
| 141 | <resource> |
| 142 | <directory>src/main/resources/scripts</directory> |
| 143 | <includes> |
| 144 | <include>install-feature.sh</include> |
| 145 | </includes> |
| 146 | <filtering>true</filtering> |
| 147 | </resource> |
| 148 | </resources> |
| 149 | </configuration> |
| 150 | </execution> |
| 151 | </executions> |
| 152 | </plugin> |
Patrick Brady | 92566ae | 2018-08-20 10:30:28 -0700 | [diff] [blame] | 153 | |
| 154 | <plugin> |
| 155 | <groupId>org.apache.maven.plugins</groupId> |
| 156 | <artifactId>maven-dependency-plugin</artifactId> |
| 157 | <executions> |
| 158 | <execution> |
| 159 | <id>copy</id> |
| 160 | <goals> |
| 161 | <goal>copy</goal> |
| 162 | </goals> |
| 163 | <phase>prepare-package</phase> |
| 164 | <configuration> |
| 165 | <transitive>false</transitive> |
| 166 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 167 | <overWriteReleases>false</overWriteReleases> |
| 168 | <overWriteSnapshots>true</overWriteSnapshots> |
| 169 | <overWriteIfNewer>true</overWriteIfNewer> |
| 170 | <useRepositoryLayout>true</useRepositoryLayout> |
| 171 | <addParentPoms>false</addParentPoms> |
| 172 | <copyPom>false</copyPom> |
| 173 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 174 | <scope>provided</scope> |
| 175 | <artifactItems> |
| 176 | <artifactItem> |
| 177 | <groupId>org.yaml</groupId> |
| 178 | <artifactId>snakeyaml</artifactId> |
| 179 | <version>${snakeyaml.version}</version> |
| 180 | <type>jar</type> |
| 181 | <outputDirectory>${project.build.directory}/assembly/system/org/yaml/snakeyaml/${snakeyaml.version}</outputDirectory> |
| 182 | </artifactItem> |
| 183 | </artifactItems> |
| 184 | </configuration> |
| 185 | </execution> |
| 186 | </executions> |
| 187 | </plugin> |
Anand Chaturvedi | 0df7ab4 | 2017-08-12 01:31:10 -0400 | [diff] [blame] | 188 | </plugins> |
| 189 | </build> |
| 190 | </project> |