Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
elinuxhenrik | dc000df | 2020-05-25 11:21:18 +0200 | [diff] [blame^] | 2 | <!--<![CDATA[ |
| 3 | ========================LICENSE_START================================= |
| 4 | O-RAN-SC |
| 5 | %% |
| 6 | Modifications Copyright (C) 2020 Nordix Foundation |
| 7 | %% |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ========================LICENSE_END=================================== |
| 20 | ]]>--> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 21 | <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"> |
| 22 | <modelVersion>4.0.0</modelVersion> |
| 23 | |
| 24 | <parent> |
| 25 | <groupId>org.onap.ccsdk.parent</groupId> |
| 26 | <artifactId>odlparent-lite</artifactId> |
RehanRaza | 9d400d1 | 2020-05-06 12:23:27 +0200 | [diff] [blame] | 27 | <version>1.5.1</version> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 28 | <relativePath/> |
| 29 | </parent> |
| 30 | |
RehanRaza | 348cb85 | 2020-04-27 16:20:26 +0200 | [diff] [blame] | 31 | <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId> |
| 32 | <artifactId>sdnc-a1-northbound-features-installer</artifactId> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 33 | <version>1.7.3-SNAPSHOT</version> |
| 34 | <packaging>pom</packaging> |
| 35 | |
RehanRaza | 348cb85 | 2020-04-27 16:20:26 +0200 | [diff] [blame] | 36 | <name>sdnc-a1-northbound :: features :: ${project.artifactId}</name> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 37 | |
| 38 | <properties> |
RehanRaza | 348cb85 | 2020-04-27 16:20:26 +0200 | [diff] [blame] | 39 | <application.name>sdnc-a1-northbound-all</application.name> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 40 | <features.boot>${application.name}</features.boot> |
RehanRaza | 348cb85 | 2020-04-27 16:20:26 +0200 | [diff] [blame] | 41 | <features.repositories>mvn:org.o-ran-sc.nonrtric.sdnc-a1.northbound/${features.boot}/${project.version}/xml/features</features.repositories> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 42 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 43 | </properties> |
| 44 | |
| 45 | <dependencies> |
| 46 | |
| 47 | <dependency> |
RehanRaza | 348cb85 | 2020-04-27 16:20:26 +0200 | [diff] [blame] | 48 | <groupId>org.o-ran-sc.nonrtric.sdnc-a1.northbound</groupId> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 49 | <artifactId>${application.name}</artifactId> |
| 50 | <version>${project.version}</version> |
| 51 | <type>xml</type> |
| 52 | <classifier>features</classifier> |
| 53 | <exclusions> |
| 54 | <exclusion> |
| 55 | <groupId>*</groupId> |
| 56 | <artifactId>*</artifactId> |
| 57 | </exclusion> |
| 58 | </exclusions> |
| 59 | </dependency> |
| 60 | |
| 61 | |
| 62 | </dependencies> |
| 63 | |
| 64 | <build> |
| 65 | <plugins> |
| 66 | <plugin> |
| 67 | <artifactId>maven-assembly-plugin</artifactId> |
| 68 | <executions> |
| 69 | <execution> |
| 70 | <id>maven-repo-zip</id> |
| 71 | <goals> |
| 72 | <goal>single</goal> |
| 73 | </goals> |
| 74 | <phase>package</phase> |
| 75 | <configuration> |
| 76 | <attach>true</attach> |
| 77 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 78 | <descriptors> |
| 79 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 80 | </descriptors> |
| 81 | <appendAssemblyId>true</appendAssemblyId> |
| 82 | </configuration> |
| 83 | </execution> |
| 84 | <execution> |
| 85 | <id>installer-zip</id> |
| 86 | <goals> |
| 87 | <goal>single</goal> |
| 88 | </goals> |
| 89 | <phase>package</phase> |
| 90 | <configuration> |
| 91 | <attach>true</attach> |
| 92 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 93 | <descriptors> |
| 94 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 95 | </descriptors> |
| 96 | <appendAssemblyId>false</appendAssemblyId> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <groupId>org.apache.maven.plugins</groupId> |
| 103 | <artifactId>maven-dependency-plugin</artifactId> |
| 104 | <executions> |
| 105 | <execution> |
| 106 | <id>copy-dependencies</id> |
| 107 | <goals> |
| 108 | <goal>copy-dependencies</goal> |
| 109 | </goals> |
| 110 | <phase>prepare-package</phase> |
| 111 | <configuration> |
| 112 | <transitive>false</transitive> |
| 113 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 114 | <overWriteReleases>false</overWriteReleases> |
| 115 | <overWriteSnapshots>true</overWriteSnapshots> |
| 116 | <overWriteIfNewer>true</overWriteIfNewer> |
| 117 | <useRepositoryLayout>true</useRepositoryLayout> |
| 118 | <addParentPoms>false</addParentPoms> |
| 119 | <copyPom>false</copyPom> |
RehanRaza | 348cb85 | 2020-04-27 16:20:26 +0200 | [diff] [blame] | 120 | <includeGroupIds>org.o-ran-sc.nonrtric.sdnc-a1.northbound</includeGroupIds> |
Lathish | b6fe5a1 | 2019-10-09 10:32:09 +0100 | [diff] [blame] | 121 | <scope>provided</scope> |
| 122 | </configuration> |
| 123 | </execution> |
| 124 | </executions> |
| 125 | </plugin> |
| 126 | <plugin> |
| 127 | <artifactId>maven-resources-plugin</artifactId> |
| 128 | <version>2.6</version> |
| 129 | <executions> |
| 130 | <execution> |
| 131 | <id>copy-version</id> |
| 132 | <goals> |
| 133 | <goal>copy-resources</goal> |
| 134 | </goals><!-- here the phase you need --> |
| 135 | <phase>validate</phase> |
| 136 | <configuration> |
| 137 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 138 | <resources> |
| 139 | <resource> |
| 140 | <directory>src/main/resources/scripts</directory> |
| 141 | <includes> |
| 142 | <include>install-feature.sh</include> |
| 143 | </includes> |
| 144 | <filtering>true</filtering> |
| 145 | </resource> |
| 146 | </resources> |
| 147 | </configuration> |
| 148 | </execution> |
| 149 | |
| 150 | </executions> |
| 151 | </plugin> |
| 152 | |
| 153 | </plugins> |
| 154 | </build> |
| 155 | </project> |