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