blob: 41150f0445be703384ae76b3f3ab969649cf8025 [file] [log] [blame]
Dan Timoneyea5bf0a2017-07-18 20:32:15 -04001<?xml version="1.0" encoding="UTF-8"?>
Dan Timoney1027b0c2017-08-15 15:18:54 -04002<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">
Dan Timoneyea5bf0a2017-07-18 20:32:15 -04003 <modelVersion>4.0.0</modelVersion>
Dan Timoney10b6a722018-02-22 17:22:31 -06004
Dan Timoneyea5bf0a2017-07-18 20:32:15 -04005 <parent>
Dan Timoney10b6a722018-02-22 17:22:31 -06006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoneyf80e7972020-09-09 17:38:04 -04008 <version>2.1.0-SNAPSHOT</version>
Dan Timoney8a620f72020-03-05 15:09:19 -05009 <relativePath/>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040010 </parent>
Dan Timoney10b6a722018-02-22 17:22:31 -060011
Dan Timoney8a620f72020-03-05 15:09:19 -050012 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040013 <artifactId>asdcApi-installer</artifactId>
Dan Timoneyf80e7972020-09-09 17:38:04 -040014 <version>1.1.0-SNAPSHOT</version>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040015 <packaging>pom</packaging>
16
Dan Timoney10b6a722018-02-22 17:22:31 -060017 <name>ccsdk-sli-northbound :: asdcApi :: ${project.artifactId}</name>
18
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040019 <properties>
Dan Timoney10b6a722018-02-22 17:22:31 -060020 <application.name>ccsdk-asdcApi</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040023 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
25
26 <dependencies>
27
Dan Timoney10b6a722018-02-22 17:22:31 -060028 <dependency>
29 <groupId>org.onap.ccsdk.sli.northbound</groupId>
30 <artifactId>asdcApi-model</artifactId>
31 <version>${project.version}</version>
32 </dependency>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040033 <dependency>
34 <groupId>org.onap.ccsdk.sli.northbound</groupId>
35 <artifactId>asdcApi-provider</artifactId>
36 <version>${project.version}</version>
37 </dependency>
38
39
40 </dependencies>
41
42 <build>
43 <plugins>
44 <plugin>
45 <artifactId>maven-assembly-plugin</artifactId>
46 <version>2.6</version>
47 <executions>
48 <execution>
49 <id>maven-repo-zip</id>
50 <goals>
51 <goal>single</goal>
52 </goals>
53 <phase>package</phase>
54 <configuration>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040055 <attach>true</attach>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040056 <finalName>stage/${application.name}-${project.version}</finalName>
57 <descriptors>
58 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
59 </descriptors>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040060 <appendAssemblyId>true</appendAssemblyId>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040061 </configuration>
62 </execution>
63 <execution>
64 <id>installer-zip</id>
65 <goals>
66 <goal>single</goal>
67 </goals>
68 <phase>package</phase>
69 <configuration>
70 <attach>true</attach>
71 <finalName>${application.name}-${project.version}-installer</finalName>
72 <descriptors>
73 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
74 </descriptors>
75 <appendAssemblyId>false</appendAssemblyId>
76 </configuration>
77 </execution>
78 </executions>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-dependency-plugin</artifactId>
83 <executions>
84 <execution>
85 <id>copy-dependencies</id>
86 <goals>
87 <goal>copy-dependencies</goal>
88 </goals>
89 <phase>prepare-package</phase>
90 <configuration>
91 <transitive>false</transitive>
92 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
93 <overWriteReleases>false</overWriteReleases>
94 <overWriteSnapshots>true</overWriteSnapshots>
95 <overWriteIfNewer>true</overWriteIfNewer>
96 <useRepositoryLayout>true</useRepositoryLayout>
97 <addParentPoms>false</addParentPoms>
98 <copyPom>false</copyPom>
Dan Timoneybfaacc82017-08-14 16:06:52 -040099 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400100 <scope>provided</scope>
101 </configuration>
102 </execution>
103 </executions>
104 </plugin>
105 <plugin>
106 <artifactId>maven-resources-plugin</artifactId>
107 <version>2.6</version>
108 <executions>
109 <execution>
110 <id>copy-version</id>
111 <goals>
112 <goal>copy-resources</goal>
113 </goals><!-- here the phase you need -->
114 <phase>validate</phase>
115 <configuration>
116 <outputDirectory>${basedir}/target/stage</outputDirectory>
117 <resources>
118 <resource>
119 <directory>src/main/resources/scripts</directory>
120 <includes>
121 <include>install-feature.sh</include>
122 </includes>
123 <filtering>true</filtering>
124 </resource>
125 </resources>
126 </configuration>
127 </execution>
128
129 </executions>
130 </plugin>
131
132 </plugins>
133 </build>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400134</project>