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