blob: f4d1552d4387aa800f39d8eb923ce44530af3111 [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>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -05008 <version>1.2.0</version>
Dan Timoney10b6a722018-02-22 17:22:31 -06009 <relativePath/>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040010 </parent>
Dan Timoney10b6a722018-02-22 17:22:31 -060011
12 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040013 <artifactId>asdcApi-installer</artifactId>
Timoney, Dan (dt5972)9004b362018-10-23 08:36:33 -040014 <version>0.4.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
28 <dependency>
29 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Dan Timoney10b6a722018-02-22 17:22:31 -060030 <artifactId>${application.name}</artifactId>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040031 <version>${project.version}</version>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040032 <type>xml</type>
Dan Timoney10b6a722018-02-22 17:22:31 -060033 <classifier>features</classifier>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040034 <exclusions>
35 <exclusion>
36 <groupId>*</groupId>
37 <artifactId>*</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
Dan Timoney10b6a722018-02-22 17:22:31 -060041 <dependency>
42 <groupId>org.onap.ccsdk.sli.northbound</groupId>
43 <artifactId>asdcApi-model</artifactId>
44 <version>${project.version}</version>
45 </dependency>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040046 <dependency>
47 <groupId>org.onap.ccsdk.sli.northbound</groupId>
48 <artifactId>asdcApi-provider</artifactId>
49 <version>${project.version}</version>
50 </dependency>
51
52
53 </dependencies>
54
55 <build>
56 <plugins>
57 <plugin>
58 <artifactId>maven-assembly-plugin</artifactId>
59 <version>2.6</version>
60 <executions>
61 <execution>
62 <id>maven-repo-zip</id>
63 <goals>
64 <goal>single</goal>
65 </goals>
66 <phase>package</phase>
67 <configuration>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040068 <attach>true</attach>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040069 <finalName>stage/${application.name}-${project.version}</finalName>
70 <descriptors>
71 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
72 </descriptors>
Timoney, Dan (dt5972)cd11ecb2018-06-22 15:51:57 -040073 <appendAssemblyId>true</appendAssemblyId>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -040074 </configuration>
75 </execution>
76 <execution>
77 <id>installer-zip</id>
78 <goals>
79 <goal>single</goal>
80 </goals>
81 <phase>package</phase>
82 <configuration>
83 <attach>true</attach>
84 <finalName>${application.name}-${project.version}-installer</finalName>
85 <descriptors>
86 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
87 </descriptors>
88 <appendAssemblyId>false</appendAssemblyId>
89 </configuration>
90 </execution>
91 </executions>
92 </plugin>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-dependency-plugin</artifactId>
96 <executions>
97 <execution>
98 <id>copy-dependencies</id>
99 <goals>
100 <goal>copy-dependencies</goal>
101 </goals>
102 <phase>prepare-package</phase>
103 <configuration>
104 <transitive>false</transitive>
105 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
106 <overWriteReleases>false</overWriteReleases>
107 <overWriteSnapshots>true</overWriteSnapshots>
108 <overWriteIfNewer>true</overWriteIfNewer>
109 <useRepositoryLayout>true</useRepositoryLayout>
110 <addParentPoms>false</addParentPoms>
111 <copyPom>false</copyPom>
Dan Timoneybfaacc82017-08-14 16:06:52 -0400112 <includeGroupIds>org.onap.ccsdk.sli.northbound</includeGroupIds>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400113 <scope>provided</scope>
114 </configuration>
115 </execution>
116 </executions>
117 </plugin>
118 <plugin>
119 <artifactId>maven-resources-plugin</artifactId>
120 <version>2.6</version>
121 <executions>
122 <execution>
123 <id>copy-version</id>
124 <goals>
125 <goal>copy-resources</goal>
126 </goals><!-- here the phase you need -->
127 <phase>validate</phase>
128 <configuration>
129 <outputDirectory>${basedir}/target/stage</outputDirectory>
130 <resources>
131 <resource>
132 <directory>src/main/resources/scripts</directory>
133 <includes>
134 <include>install-feature.sh</include>
135 </includes>
136 <filtering>true</filtering>
137 </resource>
138 </resources>
139 </configuration>
140 </execution>
141
142 </executions>
143 </plugin>
144
145 </plugins>
146 </build>
Dan Timoneyea5bf0a2017-07-18 20:32:15 -0400147</project>