blob: 7a11334df1e615bae3e640abb1ae5616492c01d4 [file] [log] [blame]
Ubuntuf2bb4902019-02-20 19:24:25 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Singal, Kapil (ks220y)6ff6ed92020-02-03 09:31:39 -05003 ~ ============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 -->
Timoney, Dan (dt5972)9560e602019-04-24 16:04:56 -040024<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)05e42772019-12-12 11:20:58 -050025 <modelVersion>4.0.0</modelVersion>
Ubuntuf2bb4902019-02-20 19:24:25 +000026
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050027 <parent>
28 <groupId>org.onap.ccsdk.parent</groupId>
29 <artifactId>odlparent-lite</artifactId>
Dan Timoney122ea412023-03-30 20:34:47 -040030 <version>2.5.4</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050031 <relativePath/>
32 </parent>
Ubuntuf2bb4902019-02-20 19:24:25 +000033
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050034 <groupId>org.onap.ccsdk.features</groupId>
35 <artifactId>aafshiro-installer</artifactId>
Dan Timoneyd944abf2023-03-02 07:29:48 -050036 <version>1.5.1-SNAPSHOT</version>
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050037 <packaging>pom</packaging>
Ubuntuf2bb4902019-02-20 19:24:25 +000038
Singal, Kapil (ks220y)df195942019-12-12 15:24:53 -050039 <name>ccsdk-features :: ${project.artifactId}</name>
Ubuntuf2bb4902019-02-20 19:24:25 +000040
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050041 <properties>
42 <application.name>ccsdk-aafshiro</application.name>
43 <features.boot>${application.name}</features.boot>
44 <features.repositories>mvn:org.onap.ccsdk.features/${features.boot}/${project.version}/xml/features</features.repositories>
45 <include.transitive.dependencies>false</include.transitive.dependencies>
46 <aaf-shiro-bundle.version>2.1.13</aaf-shiro-bundle.version>
47 </properties>
Ubuntuf2bb4902019-02-20 19:24:25 +000048
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050049 <dependencies>
Ubuntuf2bb4902019-02-20 19:24:25 +000050
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050051 <dependency>
52 <groupId>org.onap.ccsdk.features</groupId>
53 <artifactId>${application.name}</artifactId>
54 <version>${project.version}</version>
55 <type>xml</type>
56 <classifier>features</classifier>
57 <exclusions>
58 <exclusion>
59 <groupId>*</groupId>
60 <artifactId>*</artifactId>
61 </exclusion>
62 </exclusions>
63 </dependency>
64 <dependency>
65 <groupId>org.onap.aaf.cadi</groupId>
66 <artifactId>aaf-shiro-aafrealm-osgi-bundle</artifactId>
67 <version>${aaf-shiro-bundle.version}</version>
68 </dependency>
69 </dependencies>
Ubuntuf2bb4902019-02-20 19:24:25 +000070
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -050071 <build>
72 <plugins>
73 <plugin>
74 <artifactId>maven-assembly-plugin</artifactId>
75 <executions>
76 <execution>
77 <id>maven-repo-zip</id>
78 <goals>
79 <goal>single</goal>
80 </goals>
81 <phase>package</phase>
82 <configuration>
83 <attach>true</attach>
84 <finalName>stage/${application.name}-${project.version}</finalName>
85 <descriptors>
86 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
87 </descriptors>
88 <appendAssemblyId>true</appendAssemblyId>
89 </configuration>
90 </execution>
91 <execution>
92 <id>installer-zip</id>
93 <goals>
94 <goal>single</goal>
95 </goals>
96 <phase>package</phase>
97 <configuration>
98 <attach>true</attach>
99 <finalName>${application.name}-${project.version}-installer</finalName>
100 <descriptors>
101 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
102 </descriptors>
103 <appendAssemblyId>false</appendAssemblyId>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-dependency-plugin</artifactId>
111 <executions>
112 <execution>
113 <id>copy-dependencies</id>
114 <goals>
115 <goal>copy-dependencies</goal>
116 </goals>
117 <phase>prepare-package</phase>
118 <configuration>
119 <transitive>false</transitive>
120 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
121 <overWriteReleases>false</overWriteReleases>
122 <overWriteSnapshots>true</overWriteSnapshots>
123 <overWriteIfNewer>true</overWriteIfNewer>
124 <useRepositoryLayout>true</useRepositoryLayout>
125 <addParentPoms>false</addParentPoms>
126 <copyPom>false</copyPom>
127 <scope>provided</scope>
128 <!-- <includeGroupIds>org.onap.aaf,org.onap.ccsdk.features</includeGroupIds> -->
129 </configuration>
130 </execution>
131 </executions>
132 </plugin>
133 <plugin>
134 <artifactId>maven-resources-plugin</artifactId>
135 <version>2.6</version>
136 <executions>
137 <execution>
138 <id>copy-version</id>
139 <goals>
140 <goal>copy-resources</goal>
141 </goals><!-- here the phase you need -->
142 <phase>validate</phase>
143 <configuration>
144 <outputDirectory>${basedir}/target/stage</outputDirectory>
145 <resources>
146 <resource>
147 <directory>src/main/resources/scripts</directory>
148 <includes>
149 <include>install-feature.sh</include>
150 </includes>
151 <filtering>true</filtering>
152 </resource>
153 </resources>
154 </configuration>
155 </execution>
Ubuntuf2bb4902019-02-20 19:24:25 +0000156
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500157 </executions>
158 </plugin>
Ubuntuf2bb4902019-02-20 19:24:25 +0000159
Singal, Kapil (ks220y)05e42772019-12-12 11:20:58 -0500160 </plugins>
161 </build>
Ubuntuf2bb4902019-02-20 19:24:25 +0000162</project>