blob: f6122e0389ae8c78dc1ea8bd4ba0f9069a9c18b6 [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)3beadc22019-01-08 10:55:33 -05002<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 Timoney131cb462018-02-01 16:57:00 -05003 <modelVersion>4.0.0</modelVersion>
Dan Timoney2a93b9d2017-07-18 19:40:01 -04004
Dan Timoney131cb462018-02-01 16:57:00 -05005 <parent>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)e38215f2019-04-30 09:57:41 -04008 <version>1.3.0-SNAPSHOT</version>
Timoney, Dan (dt5972)3beadc22019-01-08 10:55:33 -05009 <relativePath/>
Dan Timoney131cb462018-02-01 16:57:00 -050010 </parent>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040011
Dan Timoney131cb462018-02-01 16:57:00 -050012 <groupId>org.onap.ccsdk.sli.core</groupId>
13 <artifactId>dblib-installer</artifactId>
Timoney, Dan (dt5972)e38215f2019-04-30 09:57:41 -040014 <version>0.5.0-SNAPSHOT</version>
Dan Timoney131cb462018-02-01 16:57:00 -050015 <packaging>pom</packaging>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040016
Dan Timoney131cb462018-02-01 16:57:00 -050017 <name>ccsdk-sli-core :: dblib :: ${project.artifactId}</name>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040018
Dan Timoney131cb462018-02-01 16:57:00 -050019 <properties>
20 <application.name>ccsdk-dblib</application.name>
21 <features.boot>${application.name}</features.boot>
22 <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories>
23 <include.transitive.dependencies>false</include.transitive.dependencies>
24 </properties>
25
26 <dependencies>
27
28 <dependency>
29 <groupId>org.onap.ccsdk.sli.core</groupId>
30 <artifactId>${application.name}</artifactId>
31 <version>${project.version}</version>
32 <type>xml</type>
33 <classifier>features</classifier>
34 <exclusions>
35 <exclusion>
36 <groupId>*</groupId>
37 <artifactId>*</artifactId>
38 </exclusion>
39 </exclusions>
40 </dependency>
41
42 <dependency>
43 <groupId>org.onap.ccsdk.sli.core</groupId>
44 <artifactId>dblib-provider</artifactId>
45 <version>${project.version}</version>
46 </dependency>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040047
Dan Timoneyd873c222018-02-14 14:28:47 -050048 <dependency>
49 <groupId>org.slf4j</groupId>
50 <artifactId>jcl-over-slf4j</artifactId>
51 <version>${slf4j.version}</version>
52 </dependency>
Dan Timoney131cb462018-02-01 16:57:00 -050053 <dependency>
54 <groupId>org.apache.tomcat</groupId>
55 <artifactId>tomcat-jdbc</artifactId>
56 <version>${tomcat-jdbc.version}</version>
57 </dependency>
58 </dependencies>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040059
Dan Timoney131cb462018-02-01 16:57:00 -050060 <build>
61 <plugins>
62 <plugin>
63 <artifactId>maven-assembly-plugin</artifactId>
64 <executions>
65 <execution>
66 <id>maven-repo-zip</id>
67 <goals>
68 <goal>single</goal>
69 </goals>
70 <phase>package</phase>
71 <configuration>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040072 <attach>true</attach>
Dan Timoney131cb462018-02-01 16:57:00 -050073 <finalName>stage/${application.name}-${project.version}</finalName>
74 <descriptors>
75 <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor>
76 </descriptors>
Timoney, Dan (dt5972)84eab502018-06-22 15:48:39 -040077 <appendAssemblyId>true</appendAssemblyId>
Dan Timoney131cb462018-02-01 16:57:00 -050078 </configuration>
79 </execution>
80 <execution>
81 <id>installer-zip</id>
82 <goals>
83 <goal>single</goal>
84 </goals>
85 <phase>package</phase>
86 <configuration>
87 <attach>true</attach>
88 <finalName>${application.name}-${project.version}-installer</finalName>
89 <descriptors>
90 <descriptor>src/assembly/assemble_installer_zip.xml</descriptor>
91 </descriptors>
92 <appendAssemblyId>false</appendAssemblyId>
93 </configuration>
94 </execution>
95 </executions>
96 </plugin>
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-dependency-plugin</artifactId>
100 <executions>
101 <execution>
102 <id>copy-dependencies</id>
103 <goals>
104 <goal>copy-dependencies</goal>
105 </goals>
106 <phase>prepare-package</phase>
107 <configuration>
108 <transitive>false</transitive>
109 <outputDirectory>${project.build.directory}/assembly/system</outputDirectory>
110 <overWriteReleases>false</overWriteReleases>
111 <overWriteSnapshots>true</overWriteSnapshots>
112 <overWriteIfNewer>true</overWriteIfNewer>
113 <useRepositoryLayout>true</useRepositoryLayout>
114 <addParentPoms>false</addParentPoms>
115 <copyPom>false</copyPom>
Dan Timoneyd873c222018-02-14 14:28:47 -0500116 <includeGroupIds>org.onap.ccsdk.sli.core,org.apache.tomcat,org.slf4j</includeGroupIds>
117 <excludeArtifactIds>utils-provider,slf4j-api</excludeArtifactIds>
Dan Timoney131cb462018-02-01 16:57:00 -0500118 <scope>provided</scope>
119 </configuration>
120 </execution>
121 </executions>
122 </plugin>
123 <plugin>
124 <artifactId>maven-resources-plugin</artifactId>
125 <version>2.6</version>
126 <executions>
127 <execution>
128 <id>copy-version</id>
129 <goals>
130 <goal>copy-resources</goal>
131 </goals><!-- here the phase you need -->
132 <phase>validate</phase>
133 <configuration>
134 <outputDirectory>${basedir}/target/stage</outputDirectory>
135 <resources>
136 <resource>
137 <directory>src/main/resources/scripts</directory>
138 <includes>
139 <include>install-feature.sh</include>
140 </includes>
141 <filtering>true</filtering>
142 </resource>
143 </resources>
144 </configuration>
145 </execution>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400146
Dan Timoney131cb462018-02-01 16:57:00 -0500147 </executions>
148 </plugin>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400149
Dan Timoney131cb462018-02-01 16:57:00 -0500150 </plugins>
151 </build>
Dan Timoney2a93b9d2017-07-18 19:40:01 -0400152</project>