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