Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | <modelVersion>4.0.0</modelVersion> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 5 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 6 | <parent> |
| 7 | <groupId>org.onap.ccsdk.parent</groupId> |
| 8 | <artifactId>odlparent-lite</artifactId> |
Timoney, Dan (dt5972) | bafe8e8 | 2018-04-29 18:45:28 -0400 | [diff] [blame] | 9 | <version>1.0.2-SNAPSHOT</version> |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 10 | <relativePath /> |
| 11 | </parent> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 12 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 13 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 14 | <artifactId>dblib-installer</artifactId> |
Timoney, Dan (dt5972) | bafe8e8 | 2018-04-29 18:45:28 -0400 | [diff] [blame] | 15 | <version>0.2.2-SNAPSHOT</version> |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 16 | <packaging>pom</packaging> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 17 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 18 | <name>ccsdk-sli-core :: dblib :: ${project.artifactId}</name> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 19 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 20 | <properties> |
| 21 | <application.name>ccsdk-dblib</application.name> |
| 22 | <features.boot>${application.name}</features.boot> |
| 23 | <features.repositories>mvn:org.onap.ccsdk.sli.core/${features.boot}/${project.version}/xml/features</features.repositories> |
| 24 | <include.transitive.dependencies>false</include.transitive.dependencies> |
| 25 | </properties> |
| 26 | |
| 27 | <dependencies> |
| 28 | |
| 29 | <dependency> |
| 30 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 31 | <artifactId>${application.name}</artifactId> |
| 32 | <version>${project.version}</version> |
| 33 | <type>xml</type> |
| 34 | <classifier>features</classifier> |
| 35 | <exclusions> |
| 36 | <exclusion> |
| 37 | <groupId>*</groupId> |
| 38 | <artifactId>*</artifactId> |
| 39 | </exclusion> |
| 40 | </exclusions> |
| 41 | </dependency> |
| 42 | |
| 43 | <dependency> |
| 44 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 45 | <artifactId>dblib-provider</artifactId> |
| 46 | <version>${project.version}</version> |
| 47 | </dependency> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 48 | |
Dan Timoney | d873c22 | 2018-02-14 14:28:47 -0500 | [diff] [blame] | 49 | <dependency> |
| 50 | <groupId>org.slf4j</groupId> |
| 51 | <artifactId>jcl-over-slf4j</artifactId> |
| 52 | <version>${slf4j.version}</version> |
| 53 | </dependency> |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 54 | <dependency> |
| 55 | <groupId>org.apache.tomcat</groupId> |
| 56 | <artifactId>tomcat-jdbc</artifactId> |
| 57 | <version>${tomcat-jdbc.version}</version> |
| 58 | </dependency> |
| 59 | </dependencies> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 60 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 61 | <build> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <artifactId>maven-assembly-plugin</artifactId> |
| 65 | <executions> |
| 66 | <execution> |
| 67 | <id>maven-repo-zip</id> |
| 68 | <goals> |
| 69 | <goal>single</goal> |
| 70 | </goals> |
| 71 | <phase>package</phase> |
| 72 | <configuration> |
| 73 | <attach>false</attach> |
| 74 | <finalName>stage/${application.name}-${project.version}</finalName> |
| 75 | <descriptors> |
| 76 | <descriptor>src/assembly/assemble_mvnrepo_zip.xml</descriptor> |
| 77 | </descriptors> |
| 78 | <appendAssemblyId>false</appendAssemblyId> |
| 79 | </configuration> |
| 80 | </execution> |
| 81 | <execution> |
| 82 | <id>installer-zip</id> |
| 83 | <goals> |
| 84 | <goal>single</goal> |
| 85 | </goals> |
| 86 | <phase>package</phase> |
| 87 | <configuration> |
| 88 | <attach>true</attach> |
| 89 | <finalName>${application.name}-${project.version}-installer</finalName> |
| 90 | <descriptors> |
| 91 | <descriptor>src/assembly/assemble_installer_zip.xml</descriptor> |
| 92 | </descriptors> |
| 93 | <appendAssemblyId>false</appendAssemblyId> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-dependency-plugin</artifactId> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>copy-dependencies</id> |
| 104 | <goals> |
| 105 | <goal>copy-dependencies</goal> |
| 106 | </goals> |
| 107 | <phase>prepare-package</phase> |
| 108 | <configuration> |
| 109 | <transitive>false</transitive> |
| 110 | <outputDirectory>${project.build.directory}/assembly/system</outputDirectory> |
| 111 | <overWriteReleases>false</overWriteReleases> |
| 112 | <overWriteSnapshots>true</overWriteSnapshots> |
| 113 | <overWriteIfNewer>true</overWriteIfNewer> |
| 114 | <useRepositoryLayout>true</useRepositoryLayout> |
| 115 | <addParentPoms>false</addParentPoms> |
| 116 | <copyPom>false</copyPom> |
Dan Timoney | d873c22 | 2018-02-14 14:28:47 -0500 | [diff] [blame] | 117 | <includeGroupIds>org.onap.ccsdk.sli.core,org.apache.tomcat,org.slf4j</includeGroupIds> |
| 118 | <excludeArtifactIds>utils-provider,slf4j-api</excludeArtifactIds> |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 119 | <scope>provided</scope> |
| 120 | </configuration> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
| 124 | <plugin> |
| 125 | <artifactId>maven-resources-plugin</artifactId> |
| 126 | <version>2.6</version> |
| 127 | <executions> |
| 128 | <execution> |
| 129 | <id>copy-version</id> |
| 130 | <goals> |
| 131 | <goal>copy-resources</goal> |
| 132 | </goals><!-- here the phase you need --> |
| 133 | <phase>validate</phase> |
| 134 | <configuration> |
| 135 | <outputDirectory>${basedir}/target/stage</outputDirectory> |
| 136 | <resources> |
| 137 | <resource> |
| 138 | <directory>src/main/resources/scripts</directory> |
| 139 | <includes> |
| 140 | <include>install-feature.sh</include> |
| 141 | </includes> |
| 142 | <filtering>true</filtering> |
| 143 | </resource> |
| 144 | </resources> |
| 145 | </configuration> |
| 146 | </execution> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 147 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 148 | </executions> |
| 149 | </plugin> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 150 | |
Dan Timoney | 131cb46 | 2018-02-01 16:57:00 -0500 | [diff] [blame] | 151 | </plugins> |
| 152 | </build> |
Dan Timoney | 2a93b9d | 2017-07-18 19:40:01 -0400 | [diff] [blame] | 153 | </project> |