Lathish | a682c32 | 2020-07-30 15:52:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ ONAP : ccsdk oran |
| 5 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2020 Nordix Foundation. All rights reserved. |
| 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 | ~ |
| 21 | --> |
Lathish | a682c32 | 2020-07-30 15:52:12 +0100 | [diff] [blame] | 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 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.ccsdk.parent</groupId> |
| 27 | <artifactId>odlparent-lite</artifactId> |
Dan Timoney | 8bb90c0 | 2023-11-08 10:17:19 -0500 | [diff] [blame] | 28 | <version>2.6.1</version> |
Lathish | a682c32 | 2020-07-30 15:52:12 +0100 | [diff] [blame] | 29 | <relativePath/> |
| 30 | </parent> |
| 31 | |
| 32 | <groupId>org.onap.ccsdk.oran</groupId> |
| 33 | <artifactId>a1-adapter-installer</artifactId> |
Dan Timoney | 4dd60c9 | 2023-11-09 13:14:59 -0500 | [diff] [blame^] | 34 | <version>1.6.1-SNAPSHOT</version> |
Lathish | a682c32 | 2020-07-30 15:52:12 +0100 | [diff] [blame] | 35 | <packaging>pom</packaging> |
| 36 | |
| 37 | <name>ccsdk-oran :: ${project.artifactId}</name> |
| 38 | |
| 39 | <properties> |
| 40 | <application.name>a1-adapter</application.name> |
| 41 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 42 | </properties> |
| 43 | |
Lathish | 5d0ad5f | 2020-08-06 10:19:33 +0100 | [diff] [blame] | 44 | <dependencies> |
Lathish | 5d0ad5f | 2020-08-06 10:19:33 +0100 | [diff] [blame] | 45 | <dependency> |
| 46 | <groupId>org.onap.ccsdk.oran</groupId> |
| 47 | <artifactId>${application.name}-feature</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | <type>xml</type> |
| 50 | <classifier>features</classifier> |
| 51 | <exclusions> |
| 52 | <exclusion> |
| 53 | <groupId>*</groupId> |
| 54 | <artifactId>*</artifactId> |
| 55 | </exclusion> |
| 56 | </exclusions> |
| 57 | </dependency> |
Lathish | 5d0ad5f | 2020-08-06 10:19:33 +0100 | [diff] [blame] | 58 | <dependency> |
| 59 | <groupId>${project.groupId}</groupId> |
| 60 | <artifactId>a1-adapter-provider</artifactId> |
| 61 | <version>${project.version}</version> |
| 62 | </dependency> |
Lathish | 5d0ad5f | 2020-08-06 10:19:33 +0100 | [diff] [blame] | 63 | </dependencies> |
| 64 | |
| 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <artifactId>maven-assembly-plugin</artifactId> |
| 69 | <executions> |
| 70 | <execution> |
| 71 | <id>maven-repo-zip</id> |
| 72 | <goals> |
| 73 | <goal>single</goal> |
| 74 | </goals> |
| 75 | <phase>package</phase> |
| 76 | <configuration> |
| 77 | <attach>true</attach> |
| 78 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 79 | <descriptors> |
| 80 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 81 | </descriptors> |
| 82 | <appendAssemblyId>true</appendAssemblyId> |
| 83 | </configuration> |
| 84 | </execution> |
| 85 | </executions> |
| 86 | </plugin> |
| 87 | <plugin> |
| 88 | <groupId>org.apache.maven.plugins</groupId> |
| 89 | <artifactId>maven-dependency-plugin</artifactId> |
| 90 | <executions> |
| 91 | <execution> |
| 92 | <id>copy-dependencies</id> |
| 93 | <goals> |
| 94 | <goal>copy-dependencies</goal> |
| 95 | </goals> |
| 96 | <phase>prepare-package</phase> |
| 97 | <configuration> |
| 98 | <transitive>false</transitive> |
| 99 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 100 | <overWriteReleases>false</overWriteReleases> |
| 101 | <overWriteSnapshots>true</overWriteSnapshots> |
| 102 | <overWriteIfNewer>true</overWriteIfNewer> |
| 103 | <useRepositoryLayout>true</useRepositoryLayout> |
| 104 | <addParentPoms>false</addParentPoms> |
| 105 | <copyPom>false</copyPom> |
| 106 | <includeArtifactIds>a1-adapter-model,a1-adapter-provider,a1-adapter-feature</includeArtifactIds> |
| 107 | <scope>provided</scope> |
| 108 | </configuration> |
| 109 | </execution> |
| 110 | </executions> |
| 111 | </plugin> |
| 112 | </plugins> |
| 113 | </build> |
Dan Timoney | c90cbbd | 2020-09-10 08:27:56 -0400 | [diff] [blame] | 114 | </project> |