blob: 00a18831ae543dcbbd72f2c5feec03ede66cf69d [file] [log] [blame]
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -04001<?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">
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -05003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -04004
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -05005 <parent>
Dan Timoney5de81962021-01-26 13:15:47 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Dan Timoney21625332023-11-08 09:29:37 -05008 <version>2.6.1</version>
Dan Timoney5de81962021-01-26 13:15:47 -05009 <relativePath/>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050010 </parent>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040011
12 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050013 <artifactId>lcm-installer</artifactId>
Dan Timoney79cddca2024-04-18 09:40:56 -040014 <version>1.7.3-SNAPSHOT</version>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050015 <packaging>pom</packaging>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040016
Singal, Kapil (ks220y)94f4b9b2021-03-02 20:00:49 -050017 <name>ccsdk-sli-northbound :: ${project.artifactId}</name>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040018
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050019 <properties>
20 <application.name>ccsdk-lcm</application.name>
21 <features.boot>${application.name}</features.boot>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040022 <features.repositories>mvn:org.onap.ccsdk.sli.northbound/${features.boot}/${project.version}/xml/features</features.repositories>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050023 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040025
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050026 <dependencies>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040027
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050028 <dependency>
29 <groupId>org.onap.ccsdk.sli.northbound</groupId>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040030 <artifactId>lcm-model</artifactId>
31 <version>${project.version}</version>
32 </dependency>
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050033 <dependency>
34 <groupId>org.onap.ccsdk.sli.northbound</groupId>
35 <artifactId>lcm-provider</artifactId>
36 <version>${project.version}</version>
37 </dependency>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040038
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -050039 </dependencies>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -040040
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -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>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -0400127
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -0500128 </executions>
129 </plugin>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -0400130
Timoney, Dan (dt5972)feb63252019-01-08 12:29:46 -0500131 </plugins>
132 </build>
Timoney, Dan (dt5972)b0396822018-04-12 19:13:59 -0400133</project>