Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 1 | <?xml version="1.0"?> |
Kalpesh Chaniyara | a51cfa5 | 2017-08-29 04:38:52 -0400 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
Patrick Brady | bb0e488 | 2019-01-29 10:41:18 -0800 | [diff] [blame] | 6 | Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. |
Kalpesh Chaniyara | a51cfa5 | 2017-08-29 04:38:52 -0400 | [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 | |
Kalpesh Chaniyara | a51cfa5 | 2017-08-29 04:38:52 -0400 | [diff] [blame] | 22 | ============LICENSE_END========================================================= |
| 23 | --> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 24 | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" |
| 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 27 | <parent> |
| 28 | <groupId>org.onap.appc.parent</groupId> |
| 29 | <artifactId>odlparent-lite</artifactId> |
Patrick Brady | 19ae780 | 2019-01-08 12:25:10 -0800 | [diff] [blame] | 30 | <version>1.5.0-SNAPSHOT</version> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 31 | <relativePath /> |
| 32 | </parent> |
| 33 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 34 | <artifactId>appc-sequence-generator-installer</artifactId> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame] | 35 | <version>1.5.0-SNAPSHOT</version> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 36 | <name>Appc Sequence Generator : Karaf Installer</name> |
| 37 | <packaging>pom</packaging> |
| 38 | |
| 39 | <properties> |
| 40 | <application.name>appc-sequence-generator</application.name> |
| 41 | <features.boot>appc-sequence-generator</features.boot> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 42 | <features.repositories>mvn:org.onap.appc/onap-appc-sequence-generator/${project.version}/xml/features</features.repositories> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 43 | <include.transitive.dependencies>false</include.transitive.dependencies> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 44 | <feature-name>appc-sequence-generator</feature-name> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 45 | </properties> |
| 46 | |
| 47 | <dependencies> |
| 48 | |
| 49 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 50 | <groupId>org.onap.appc</groupId> |
Patrick Brady | d3ef547 | 2018-08-10 15:14:38 -0700 | [diff] [blame] | 51 | <artifactId>onap-appc-sequence-generator</artifactId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 52 | <version>${project.version}</version> |
| 53 | <classifier>features</classifier> |
| 54 | <type>xml</type> |
| 55 | <exclusions> |
| 56 | <exclusion> |
| 57 | <groupId>*</groupId> |
| 58 | <artifactId>*</artifactId> |
| 59 | </exclusion> |
| 60 | </exclusions> |
| 61 | </dependency> |
| 62 | |
| 63 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 64 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 65 | <artifactId>appc-sequence-generator-bundle</artifactId> |
| 66 | <version>${project.version}</version> |
| 67 | </dependency> |
| 68 | |
| 69 | <dependency> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 70 | <groupId>org.onap.appc</groupId> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 71 | <artifactId>appc-sequence-generator-model</artifactId> |
| 72 | <version>${project.version}</version> |
| 73 | <!--<type>properties</type>--> |
Taka Cho | aca1c23 | 2019-03-14 15:08:38 -0400 | [diff] [blame^] | 74 | <exclusions> |
| 75 | <exclusion> |
| 76 | <groupId>com.fasterxml.jackson.core</groupId> |
| 77 | <artifactId>jackson-databind</artifactId> |
| 78 | </exclusion> |
| 79 | </exclusions> |
| 80 | </dependency> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 81 | |
Taka Cho | aca1c23 | 2019-03-14 15:08:38 -0400 | [diff] [blame^] | 82 | <dependency> |
| 83 | <groupId>com.fasterxml.jackson.core</groupId> |
| 84 | <artifactId>jackson-databind</artifactId> |
| 85 | <version>2.8.11.3</version> |
| 86 | </dependency> |
Kalpesh Chaniyara | 5b75909 | 2017-08-15 23:40:34 +0530 | [diff] [blame] | 87 | </dependencies> |
| 88 | |
| 89 | <build> |
| 90 | <plugins> |
| 91 | <plugin> |
| 92 | <artifactId>maven-assembly-plugin</artifactId> |
| 93 | <executions> |
| 94 | <execution> |
| 95 | <id>maven-repo-zip</id> |
| 96 | <goals> |
| 97 | <goal>single</goal> |
| 98 | </goals> |
| 99 | <phase>package</phase> |
| 100 | <configuration> |
| 101 | <appendAssemblyId>false</appendAssemblyId> |
| 102 | <attach>false</attach> |
| 103 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 104 | <descriptors> |
| 105 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 106 | </descriptors> |
| 107 | </configuration> |
| 108 | </execution> |
| 109 | <execution> |
| 110 | <id>installer-zip</id> |
| 111 | <goals> |
| 112 | <goal>single</goal> |
| 113 | </goals> |
| 114 | <phase>package</phase> |
| 115 | <configuration> |
| 116 | <appendAssemblyId>false</appendAssemblyId> |
| 117 | <attach>true</attach> |
| 118 | <finalName>${application.name}-${project.version}</finalName> |
| 119 | <descriptors> |
| 120 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 121 | </descriptors> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.maven.plugins</groupId> |
| 128 | <artifactId>maven-dependency-plugin</artifactId> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <id>copy-dependencies</id> |
| 132 | <goals> |
| 133 | <goal>copy-dependencies</goal> |
| 134 | </goals> |
| 135 | <phase>prepare-package</phase> |
| 136 | <configuration> |
| 137 | <transitive>false</transitive> |
| 138 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 139 | <overWriteReleases>false</overWriteReleases> |
| 140 | <overWriteSnapshots>true</overWriteSnapshots> |
| 141 | <overWriteIfNewer>true</overWriteIfNewer> |
| 142 | <useRepositoryLayout>true</useRepositoryLayout> |
| 143 | <addParentPoms>false</addParentPoms> |
| 144 | <copyPom>false</copyPom> |
| 145 | <excludeGroupIds>org.opendaylight</excludeGroupIds> |
| 146 | <scope>provided</scope> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | </executions> |
| 150 | </plugin> |
| 151 | <plugin> |
| 152 | <artifactId>maven-resources-plugin</artifactId> |
| 153 | <executions> |
| 154 | <execution> |
| 155 | <id>copy-version</id> |
| 156 | <goals> |
| 157 | <goal>copy-resources</goal> |
| 158 | </goals> |
| 159 | <!-- here the phase you need --> |
| 160 | <phase>validate</phase> |
| 161 | <configuration> |
| 162 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 163 | <resources> |
| 164 | <resource> |
| 165 | <directory>src/main/resources/scripts</directory> |
| 166 | <includes> |
| 167 | <include>install-feature.sh</include> |
| 168 | </includes> |
| 169 | <filtering>true</filtering> |
| 170 | </resource> |
| 171 | </resources> |
| 172 | </configuration> |
| 173 | </execution> |
| 174 | </executions> |
| 175 | </plugin> |
| 176 | </plugins> |
| 177 | </build> |
Kalpesh Chaniyara | a51cfa5 | 2017-08-29 04:38:52 -0400 | [diff] [blame] | 178 | </project> |