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