aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pom.xml
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-07-31 12:38:40 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-07-31 12:42:47 +0530
commit31439b63b92b8124588a6262e1d9d0a89cdd46e9 (patch)
tree79063aa8cf8be509dabe2dc6994bb7522c1ae4c7 /plugins/pom.xml
parentbe28eae2c74d34e43ca2b36b3762c4ad6bad8b4e (diff)
Make cli plugins target lib
Helps to copy all cli plugins jar into plugins/target/lib, from here deployment project will take them. CLI-21 Change-Id: I52f0a37878f5cd1267f9cf5a1f326a71fb704e79 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/pom.xml')
-rw-r--r--plugins/pom.xml35
1 files changed, 33 insertions, 2 deletions
diff --git a/plugins/pom.xml b/plugins/pom.xml
index ecccc79e..93ac3b0f 100644
--- a/plugins/pom.xml
+++ b/plugins/pom.xml
@@ -40,10 +40,41 @@
<dependency>
<groupId>org.onap.cli</groupId>
<artifactId>cli-framework</artifactId>
- <version>1.0.0-SNAPSHOT</version>
+ <version>${project.parent.version}</version>
</dependency>
</dependencies>
<modules>
- <module>common-service</module>
+ <module>msb</module>
</modules>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-artifact</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
+ <version>${project.version}</version>
+ <type>${project.packaging}</type>
+ </artifactItem>
+ </artifactItems>
+ <!-- copy to plugin dependencies -->
+ <outputDirectory>../../plugins/target/lib</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>