Sandeep Shah | 8ee521e | 2019-11-02 05:05:25 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <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"> |
| 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | |
| 5 | <parent> |
| 6 | <groupId>org.onap.ccsdk.parent</groupId> |
| 7 | <artifactId>odlparent-lite</artifactId> |
Timoney, Dan (dt5972) | b511df0 | 2019-11-13 10:49:18 -0500 | [diff] [blame^] | 8 | <version>1.5.0</version> |
Sandeep Shah | 8ee521e | 2019-11-02 05:05:25 -0500 | [diff] [blame] | 9 | <relativePath/> |
| 10 | </parent> |
| 11 | |
| 12 | <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId> |
| 13 | <artifactId>a1Adapter-installer</artifactId> |
| 14 | <version>0.7.0-SNAPSHOT</version> |
| 15 | <packaging>pom</packaging> |
| 16 | |
| 17 | <name>ccsdk-features-sdnr-northbound :: a1Adapter :: ${project.artifactId}</name> |
| 18 | |
| 19 | <properties> |
| 20 | <application.name>sdnr-a1Adapter</application.name> |
| 21 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 22 | </properties> |
| 23 | |
| 24 | <dependencies> |
| 25 | |
| 26 | <dependency> |
| 27 | <groupId>org.onap.ccsdk.features.sdnr.northbound</groupId> |
| 28 | <artifactId>${application.name}</artifactId> |
| 29 | <version>${project.version}</version> |
| 30 | <type>xml</type> |
| 31 | <classifier>features</classifier> |
| 32 | <exclusions> |
| 33 | <exclusion> |
| 34 | <groupId>*</groupId> |
| 35 | <artifactId>*</artifactId> |
| 36 | </exclusion> |
| 37 | </exclusions> |
| 38 | </dependency> |
| 39 | |
| 40 | <dependency> |
| 41 | <groupId>${project.groupId}</groupId> |
| 42 | <artifactId>a1Adapter-provider</artifactId> |
| 43 | <version>${project.version}</version> |
| 44 | </dependency> |
| 45 | |
| 46 | </dependencies> |
| 47 | |
| 48 | <build> |
| 49 | <plugins> |
| 50 | <plugin> |
| 51 | <artifactId>maven-assembly-plugin</artifactId> |
| 52 | <executions> |
| 53 | <execution> |
| 54 | <id>maven-repo-zip</id> |
| 55 | <goals> |
| 56 | <goal>single</goal> |
| 57 | </goals> |
| 58 | <phase>package</phase> |
| 59 | <configuration> |
| 60 | <attach>true</attach> |
| 61 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 62 | <descriptors> |
| 63 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 64 | </descriptors> |
| 65 | <appendAssemblyId>true</appendAssemblyId> |
| 66 | </configuration> |
| 67 | </execution> |
| 68 | </executions> |
| 69 | </plugin> |
| 70 | <plugin> |
| 71 | <groupId>org.apache.maven.plugins</groupId> |
| 72 | <artifactId>maven-dependency-plugin</artifactId> |
| 73 | <executions> |
| 74 | <execution> |
| 75 | <id>copy-dependencies</id> |
| 76 | <goals> |
| 77 | <goal>copy-dependencies</goal> |
| 78 | </goals> |
| 79 | <phase>prepare-package</phase> |
| 80 | <configuration> |
| 81 | <transitive>false</transitive> |
| 82 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 83 | <overWriteReleases>false</overWriteReleases> |
| 84 | <overWriteSnapshots>true</overWriteSnapshots> |
| 85 | <overWriteIfNewer>true</overWriteIfNewer> |
| 86 | <useRepositoryLayout>true</useRepositoryLayout> |
| 87 | <addParentPoms>false</addParentPoms> |
| 88 | <copyPom>false</copyPom> |
| 89 | <includeArtifactIds>a1Adapter-model,a1Adapter-provider,sdnr-a1Adapter</includeArtifactIds> |
| 90 | <scope>provided</scope> |
| 91 | </configuration> |
| 92 | </execution> |
| 93 | </executions> |
| 94 | </plugin> |
| 95 | </plugins> |
| 96 | </build> |
| 97 | </project> |