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