blob: 82ea5f5d98089e8105033fead917ddca27d387ab [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -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">
3 <modelVersion>4.0.0</modelVersion>
Dan Timoney131cb462018-02-01 16:57:00 -05004
Dan Timoney2a93b9d2017-07-18 19:40:01 -04005 <parent>
Dan Timoney131cb462018-02-01 16:57:00 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Stilwell, David (stilwelld)78a7af62018-05-23 12:34:18 -04008 <version>1.0.3-SNAPSHOT</version>
Dan Timoney131cb462018-02-01 16:57:00 -05009 <relativePath/>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040010 </parent>
Dan Timoney131cb462018-02-01 16:57:00 -050011
Dan Timoneyd873c222018-02-14 14:28:47 -050012 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040013 <artifactId>sliPluginUtils-installer</artifactId>
Stilwell, David (stilwelld)78a7af62018-05-23 12:34:18 -040014 <version>0.2.3-SNAPSHOT</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040015 <packaging>pom</packaging>
16
Dan Timoney131cb462018-02-01 16:57:00 -050017 <name>ccsdk-sli-core :: sliPluginUtils :: ${project.artifactId}</name>
18
Dan Timoney2a93b9d2017-07-18 19:40:01 -040019 <properties>
Dan Timoney131cb462018-02-01 16:57:00 -050020 <application.name>ccsdk-sliPluginUtils</application.name>
21 <features.boot>${application.name}</features.boot>
Dan Timoneyd873c222018-02-14 14:28:47 -050022 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040023 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
25
26 <dependencies>
27
28 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040029 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney131cb462018-02-01 16:57:00 -050030 <artifactId>${application.name}</artifactId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040031 <version>${project.version}</version>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040032 <type>xml</type>
Dan Timoney131cb462018-02-01 16:57:00 -050033 <classifier>features</classifier>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040034 <exclusions>
35 <exclusion>
36 <groupId>*</groupId>
37 <artifactId>*</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
41
42 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040043 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040044 <artifactId>sliPluginUtils-provider</artifactId>
45 <version>${project.version}</version>
46 </dependency>
47
Dan Timoneyd873c222018-02-14 14:28:47 -050048 <dependency>
49 <groupId>org.apache.commons</groupId>
50 <artifactId>commons-text</artifactId>
51 <version>1.1</version>
52 </dependency>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040053 </dependencies>
54
55 <build>
56 <plugins>
57 <plugin>
58 <artifactId>maven-assembly-plugin</artifactId>
59 <executions>
60 <execution>
61 <id>maven-repo-zip</id>
62 <goals>
63 <goal>single</goal>
64 </goals>
65 <phase>package</phase>
66 <configuration>
67 <attach>false</attach>
68 <finalName>stage/${application.name}-${project.version}</finalName>
69 <descriptors>
70 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
71 </descriptors>
72 <appendAssemblyId>false</appendAssemblyId>
73 </configuration>
74 </execution>
75 <execution>
76 <id>installer-zip</id>
77 <goals>
78 <goal>single</goal>
79 </goals>
80 <phase>package</phase>
81 <configuration>
82 <attach>true</attach>
83 <finalName>${application.name}-${project.version}-installer</finalName>
84 <descriptors>
85 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
86 </descriptors>
87 <appendAssemblyId>false</appendAssemblyId>
88 </configuration>
89 </execution>
90 </executions>
91 </plugin>
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-dependency-plugin</artifactId>
95 <executions>
96 <execution>
97 <id>copy-dependencies</id>
98 <goals>
99 <goal>copy-dependencies</goal>
100 </goals>
101 <phase>prepare-package</phase>
102 <configuration>
103 <transitive>false</transitive>
104 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
105 <overWriteReleases>false</overWriteReleases>
106 <overWriteSnapshots>true</overWriteSnapshots>
107 <overWriteIfNewer>true</overWriteIfNewer>
108 <useRepositoryLayout>true</useRepositoryLayout>
109 <addParentPoms>false</addParentPoms>
110 <copyPom>false</copyPom>
Dan Timoneyd873c222018-02-14 14:28:47 -0500111 <includeArtifactIds>sliPluginUtils-provider,ccsdk-sliPluginUtils,features-sliPluginUtils,commons-text</includeArtifactIds>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400112 <scope>provided</scope>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
117 <plugin>
118 <artifactId>maven-resources-plugin</artifactId>
119 <version>2.6</version>
120 <executions>
121 <execution>
122 <id>copy-version</id>
123 <goals>
124 <goal>copy-resources</goal>
125 </goals><!-- here the phase you need -->
126 <phase>validate</phase>
127 <configuration>
128 <outputDirectory>${basedir}/target/stage</outputDirectory>
129 <resources>
130 <resource>
131 <directory>src/main/resources/scripts</directory>
132 <includes>
133 <include>install-feature.sh</include>
134 </includes>
135 <filtering>true</filtering>
136 </resource>
137 </resources>
138 </configuration>
139 </execution>
140
141 </executions>
142 </plugin>
143
144 </plugins>
145 </build>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400146</project>