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