Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
Singal, Kapil (ks220y) | 6ff6ed9 | 2020-02-03 09:31:39 -0500 | [diff] [blame^] | 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ ONAP : ccsdk features |
| 5 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2018 Bell Canada Intellectual Property. All rights reserved. |
| 7 | ~ ================================================================================ |
| 8 | ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. |
| 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 | ~ ============LICENSE_END======================================================= |
| 22 | ~ |
| 23 | --> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 24 | |
Timoney, Dan (dt5972) | 9560e60 | 2019-04-24 16:04:56 -0400 | [diff] [blame] | 25 | <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"> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 26 | <modelVersion>4.0.0</modelVersion> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 27 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 28 | <parent> |
| 29 | <groupId>org.onap.ccsdk.parent</groupId> |
| 30 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | 4903545 | 2020-01-30 09:53:35 -0500 | [diff] [blame] | 31 | <version>1.5.2-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 32 | <relativePath/> |
| 33 | </parent> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 34 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 35 | <groupId>org.onap.ccsdk.features</groupId> |
| 36 | <artifactId>aafshiro-installer</artifactId> |
Dan Timoney | 4903545 | 2020-01-30 09:53:35 -0500 | [diff] [blame] | 37 | <version>0.7.1-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 38 | <packaging>pom</packaging> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 39 | |
Singal, Kapil (ks220y) | df19594 | 2019-12-12 15:24:53 -0500 | [diff] [blame] | 40 | <name>ccsdk-features :: ${project.artifactId}</name> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 41 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 42 | <properties> |
| 43 | <application.name>ccsdk-aafshiro</application.name> |
| 44 | <features.boot>${application.name}</features.boot> |
| 45 | <features.repositories>mvn:org.onap.ccsdk.features/${features.boot}/${project.version}/xml/features</features.repositories> |
| 46 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 47 | <aaf-shiro-bundle.version>2.1.13</aaf-shiro-bundle.version> |
| 48 | </properties> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 49 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 50 | <dependencies> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 51 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 52 | <dependency> |
| 53 | <groupId>org.onap.ccsdk.features</groupId> |
| 54 | <artifactId>${application.name}</artifactId> |
| 55 | <version>${project.version}</version> |
| 56 | <type>xml</type> |
| 57 | <classifier>features</classifier> |
| 58 | <exclusions> |
| 59 | <exclusion> |
| 60 | <groupId>*</groupId> |
| 61 | <artifactId>*</artifactId> |
| 62 | </exclusion> |
| 63 | </exclusions> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.onap.aaf.cadi</groupId> |
| 67 | <artifactId>aaf-shiro-aafrealm-osgi-bundle</artifactId> |
| 68 | <version>${aaf-shiro-bundle.version}</version> |
| 69 | </dependency> |
| 70 | </dependencies> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 71 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 72 | <build> |
| 73 | <plugins> |
| 74 | <plugin> |
| 75 | <artifactId>maven-assembly-plugin</artifactId> |
| 76 | <executions> |
| 77 | <execution> |
| 78 | <id>maven-repo-zip</id> |
| 79 | <goals> |
| 80 | <goal>single</goal> |
| 81 | </goals> |
| 82 | <phase>package</phase> |
| 83 | <configuration> |
| 84 | <attach>true</attach> |
| 85 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 86 | <descriptors> |
| 87 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 88 | </descriptors> |
| 89 | <appendAssemblyId>true</appendAssemblyId> |
| 90 | </configuration> |
| 91 | </execution> |
| 92 | <execution> |
| 93 | <id>installer-zip</id> |
| 94 | <goals> |
| 95 | <goal>single</goal> |
| 96 | </goals> |
| 97 | <phase>package</phase> |
| 98 | <configuration> |
| 99 | <attach>true</attach> |
| 100 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 101 | <descriptors> |
| 102 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 103 | </descriptors> |
| 104 | <appendAssemblyId>false</appendAssemblyId> |
| 105 | </configuration> |
| 106 | </execution> |
| 107 | </executions> |
| 108 | </plugin> |
| 109 | <plugin> |
| 110 | <groupId>org.apache.maven.plugins</groupId> |
| 111 | <artifactId>maven-dependency-plugin</artifactId> |
| 112 | <executions> |
| 113 | <execution> |
| 114 | <id>copy-dependencies</id> |
| 115 | <goals> |
| 116 | <goal>copy-dependencies</goal> |
| 117 | </goals> |
| 118 | <phase>prepare-package</phase> |
| 119 | <configuration> |
| 120 | <transitive>false</transitive> |
| 121 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 122 | <overWriteReleases>false</overWriteReleases> |
| 123 | <overWriteSnapshots>true</overWriteSnapshots> |
| 124 | <overWriteIfNewer>true</overWriteIfNewer> |
| 125 | <useRepositoryLayout>true</useRepositoryLayout> |
| 126 | <addParentPoms>false</addParentPoms> |
| 127 | <copyPom>false</copyPom> |
| 128 | <scope>provided</scope> |
| 129 | <!-- <includeGroupIds>org.onap.aaf,org.onap.ccsdk.features</includeGroupIds> --> |
| 130 | </configuration> |
| 131 | </execution> |
| 132 | </executions> |
| 133 | </plugin> |
| 134 | <plugin> |
| 135 | <artifactId>maven-resources-plugin</artifactId> |
| 136 | <version>2.6</version> |
| 137 | <executions> |
| 138 | <execution> |
| 139 | <id>copy-version</id> |
| 140 | <goals> |
| 141 | <goal>copy-resources</goal> |
| 142 | </goals><!-- here the phase you need --> |
| 143 | <phase>validate</phase> |
| 144 | <configuration> |
| 145 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 146 | <resources> |
| 147 | <resource> |
| 148 | <directory>src/main/resources/scripts</directory> |
| 149 | <includes> |
| 150 | <include>install-feature.sh</include> |
| 151 | </includes> |
| 152 | <filtering>true</filtering> |
| 153 | </resource> |
| 154 | </resources> |
| 155 | </configuration> |
| 156 | </execution> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 157 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 158 | </executions> |
| 159 | </plugin> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 160 | |
Singal, Kapil (ks220y) | 05e4277 | 2019-12-12 11:20:58 -0500 | [diff] [blame] | 161 | </plugins> |
| 162 | </build> |
Ubuntu | f2bb490 | 2019-02-20 19:24:25 +0000 | [diff] [blame] | 163 | </project> |