blob: 796cb2784110b14d4b7e00b67647fc2f233f8778 [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">
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05003 <modelVersion>4.0.0</modelVersion>
Dan Timoney10b6a722018-02-22 17:22:31 -06004
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
8 <version>2.1.1</version>
9 <relativePath/>
10 </parent>
Dan Timoney10b6a722018-02-22 17:22:31 -060011
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050012 <groupId>org.onap.ccsdk.sli.northbound</groupId>
13 <artifactId>asdcApi-installer</artifactId>
14 <version>1.2.1-SNAPSHOT</version>
15 <packaging>pom</packaging>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040016
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050017 <name>ccsdk-sli-northbound :: ${project.artifactId}</name>
Dan Timoney10b6a722018-02-22 17:22:31 -060018
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050019 <properties>
20 <application.name>ccsdk-asdcApi</application.name>
21 <features.boot>${application.name}</features.boot>
Dan Timoney10b6a722018-02-22 17:22:31 -060022 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050023 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040025
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050026 <dependencies>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040027
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>
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050033 <dependency>
34 <groupId>org.onap.ccsdk.sli.northbound</groupId>
35 <artifactId>asdcApi-provider</artifactId>
36 <version>${project.version}</version>
37 </dependency>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040038
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050039 </dependencies>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040040
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050041 <build>
42 <plugins>
43 <plugin>
44 <artifactId>maven-assembly-plugin</artifactId>
45 <version>2.6</version>
46 <executions>
47 <execution>
48 <id>maven-repo-zip</id>
49 <goals>
50 <goal>single</goal>
51 </goals>
52 <phase>package</phase>
53 <configuration>
54 <attach>true</attach>
55 <finalName>stage/${application.name}-${project.version}</finalName>
56 <descriptors>
57 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
58 </descriptors>
59 <appendAssemblyId>true</appendAssemblyId>
60 </configuration>
61 </execution>
62 <execution>
63 <id>installer-zip</id>
64 <goals>
65 <goal>single</goal>
66 </goals>
67 <phase>package</phase>
68 <configuration>
69 <attach>true</attach>
70 <finalName>${application.name}-${project.version}-installer</finalName>
71 <descriptors>
72 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
73 </descriptors>
74 <appendAssemblyId>false</appendAssemblyId>
75 </configuration>
76 </execution>
77 </executions>
78 </plugin>
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-dependency-plugin</artifactId>
82 <executions>
83 <execution>
84 <id>copy-dependencies</id>
85 <goals>
86 <goal>copy-dependencies</goal>
87 </goals>
88 <phase>prepare-package</phase>
89 <configuration>
90 <transitive>false</transitive>
91 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
92 <overWriteReleases>false</overWriteReleases>
93 <overWriteSnapshots>true</overWriteSnapshots>
94 <overWriteIfNewer>true</overWriteIfNewer>
95 <useRepositoryLayout>true</useRepositoryLayout>
96 <addParentPoms>false</addParentPoms>
97 <copyPom>false</copyPom>
98 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
99 <scope>provided</scope>
100 </configuration>
101 </execution>
102 </executions>
103 </plugin>
104 <plugin>
105 <artifactId>maven-resources-plugin</artifactId>
106 <version>2.6</version>
107 <executions>
108 <execution>
109 <id>copy-version</id>
110 <goals>
111 <goal>copy-resources</goal>
112 </goals><!-- here the phase you need -->
113 <phase>validate</phase>
114 <configuration>
115 <outputDirectory>${basedir}/target/stage</outputDirectory>
116 <resources>
117 <resource>
118 <directory>src/main/resources/scripts</directory>
119 <includes>
120 <include>install-feature.sh</include>
121 </includes>
122 <filtering>true</filtering>
123 </resource>
124 </resources>
125 </configuration>
126 </execution>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400127
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500128 </executions>
129 </plugin>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400130
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -0500131 </plugins>
132 </build>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400133</project>