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