Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
Skip Wonnell | 8c4b89b | 2018-01-12 09:24:03 -0600 | [diff] [blame] | 4 | ONAP : APPC |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 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 | db75c0a | 2017-08-15 12:43:03 -0500 | [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 | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 21 | --> |
| 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 | 19ae780 | 2019-01-08 12:25:10 -0800 | [diff] [blame] | 27 | <version>1.5.0-SNAPSHOT</version> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 28 | <relativePath /> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 29 | </parent> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 30 | <groupId>org.onap.appc</groupId> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 31 | |
| 32 | <artifactId>appc-config-encryption-tool-installer</artifactId> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame] | 33 | <version>1.5.0-SNAPSHOT</version> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 34 | <name>Config Component Encryption Tool - Installer</name> |
| 35 | <packaging>pom</packaging> |
| 36 | <properties> |
| 37 | <application.name>appc-config-encryption-tool</application.name> |
| 38 | <features.boot>appc-config-encryption-tool</features.boot> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 39 | <features.repositories>mvn:org.onap.appc/onap-appc-config-encryption-tool/${project.version}/xml/features</features.repositories> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [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-encryption-tool</artifactId> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 46 | <classifier>features</classifier> |
Patrick Brady | b49dd12 | 2018-08-10 15:30:58 -0700 | [diff] [blame] | 47 | <version>${project.version}</version> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [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> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 58 | <artifactId>appc-config-encryption-tool-provider</artifactId> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame] | 59 | <version>1.5.0-SNAPSHOT</version> |
Taka Cho | 52cf1a8 | 2019-03-13 14:40:15 -0400 | [diff] [blame^] | 60 | <exclusions> |
| 61 | <exclusion> |
| 62 | <groupId>com.fasterxml.jackson.core</groupId> |
| 63 | <artifactId>jackson-databind</artifactId> |
| 64 | </exclusion> |
| 65 | </exclusions> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>com.fasterxml.jackson.core</groupId> |
| 69 | <artifactId>jackson-databind</artifactId> |
| 70 | <version>2.8.11.3</version> |
Skip Wonnell | db75c0a | 2017-08-15 12:43:03 -0500 | [diff] [blame] | 71 | </dependency> |
| 72 | </dependencies> |
| 73 | <build> |
| 74 | <plugins> |
| 75 | <plugin> |
| 76 | <artifactId>maven-assembly-plugin</artifactId> |
| 77 | <executions> |
| 78 | <execution> |
| 79 | <id>maven-repo-zip</id> |
| 80 | <goals> |
| 81 | <goal>single</goal> |
| 82 | </goals> |
| 83 | <phase>package</phase> |
| 84 | <configuration> |
| 85 | <appendAssemblyId>false</appendAssemblyId> |
| 86 | <attach>false</attach> |
| 87 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 88 | <descriptors> |
| 89 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 90 | </descriptors> |
| 91 | </configuration> |
| 92 | </execution> |
| 93 | <execution> |
| 94 | <id>installer-zip</id> |
| 95 | <goals> |
| 96 | <goal>single</goal> |
| 97 | </goals> |
| 98 | <phase>package</phase> |
| 99 | <configuration> |
| 100 | <appendAssemblyId>false</appendAssemblyId> |
| 101 | <attach>true</attach> |
| 102 | <finalName>${application.name}-${project.version}</finalName> |
| 103 | <descriptors> |
| 104 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 105 | </descriptors> |
| 106 | </configuration> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.maven.plugins</groupId> |
| 112 | <artifactId>maven-dependency-plugin</artifactId> |
| 113 | <executions> |
| 114 | <execution> |
| 115 | <id>copy-dependencies</id> |
| 116 | <goals> |
| 117 | <goal>copy-dependencies</goal> |
| 118 | </goals> |
| 119 | <phase>prepare-package</phase> |
| 120 | <configuration> |
| 121 | <transitive>false</transitive> |
| 122 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 123 | <overWriteReleases>false</overWriteReleases> |
| 124 | <overWriteSnapshots>true</overWriteSnapshots> |
| 125 | <overWriteIfNewer>true</overWriteIfNewer> |
| 126 | <useRepositoryLayout>true</useRepositoryLayout> |
| 127 | <addParentPoms>false</addParentPoms> |
| 128 | <copyPom>false</copyPom> |
| 129 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 130 | <scope>provided</scope> |
| 131 | </configuration> |
| 132 | </execution> |
| 133 | </executions> |
| 134 | </plugin> |
| 135 | <plugin> |
| 136 | <artifactId>maven-resources-plugin</artifactId> |
| 137 | <executions> |
| 138 | <execution> |
| 139 | <id>copy-version</id> |
| 140 | <goals> |
| 141 | <goal>copy-resources</goal> |
| 142 | </goals> |
| 143 | <!-- here the phase you need --> |
| 144 | <phase>validate</phase> |
| 145 | <configuration> |
| 146 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 147 | <resources> |
| 148 | <resource> |
| 149 | <directory>src/main/resources/scripts</directory> |
| 150 | <includes> |
| 151 | <include>install-feature.sh</include> |
| 152 | </includes> |
| 153 | <filtering>true</filtering> |
| 154 | </resource> |
| 155 | </resources> |
| 156 | </configuration> |
| 157 | </execution> |
| 158 | </executions> |
| 159 | </plugin> |
| 160 | </plugins> |
| 161 | </build> |
| 162 | </project> |