summaryrefslogtreecommitdiffstats
path: root/plugins
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
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')
-rw-r--r--plugins/msb/pom.xml (renamed from plugins/common-service/pom.xml)12
-rw-r--r--plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceCreateCommand.java (renamed from plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceCreateCommand.java)0
-rw-r--r--plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceDeleteCommand.java (renamed from plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceDeleteCommand.java)0
-rw-r--r--plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceListCommand.java (renamed from plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceListCommand.java)0
-rw-r--r--plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceShowCommand.java (renamed from plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceShowCommand.java)0
-rw-r--r--plugins/msb/src/main/resources/META-INF/services/org.onap.cli.fw.OnapCommand (renamed from plugins/common-service/src/main/resources/META-INF/services/org.onap.cli.fw.OnapCommand)0
-rw-r--r--plugins/msb/src/main/resources/microservice-create-schema.yaml (renamed from plugins/common-service/src/main/resources/microservice-create-schema.yaml)0
-rw-r--r--plugins/msb/src/main/resources/microservice-delete-schema.yaml (renamed from plugins/common-service/src/main/resources/microservice-delete-schema.yaml)0
-rw-r--r--plugins/msb/src/main/resources/microservice-list-schema.yaml (renamed from plugins/common-service/src/main/resources/microservice-list-schema.yaml)0
-rw-r--r--plugins/msb/src/main/resources/microservice-show-schema.yaml (renamed from plugins/common-service/src/main/resources/microservice-show-schema.yaml)0
-rw-r--r--plugins/msb/src/test/resources/service-list-schema.yaml (renamed from plugins/common-service/src/test/resources/service-list-schema.yaml)0
-rw-r--r--plugins/msb/src/test/resources/user-create-schema.yaml (renamed from plugins/common-service/src/test/resources/user-create-schema.yaml)0
-rw-r--r--plugins/pom.xml35
13 files changed, 43 insertions, 4 deletions
diff --git a/plugins/common-service/pom.xml b/plugins/msb/pom.xml
index 0ca644ed..18a76f87 100644
--- a/plugins/common-service/pom.xml
+++ b/plugins/msb/pom.xml
@@ -27,7 +27,15 @@
<version>1.0.0-SNAPSHOT</version>
</parent>
- <artifactId>cli-plugin-common-service</artifactId>
- <name>cli/plugins/common-service</name>
+ <artifactId>cli-plugins-msb</artifactId>
+ <name>cli/plugins/msb</name>
<packaging>jar</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceCreateCommand.java b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceCreateCommand.java
index 8b46e6b8..8b46e6b8 100644
--- a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceCreateCommand.java
+++ b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceCreateCommand.java
diff --git a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceDeleteCommand.java b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceDeleteCommand.java
index 595934d9..595934d9 100644
--- a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceDeleteCommand.java
+++ b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceDeleteCommand.java
diff --git a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceListCommand.java b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceListCommand.java
index 436d187b..436d187b 100644
--- a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceListCommand.java
+++ b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceListCommand.java
diff --git a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceShowCommand.java b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceShowCommand.java
index 2256cc61..2256cc61 100644
--- a/plugins/common-service/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceShowCommand.java
+++ b/plugins/msb/src/main/java/org/onap/cli/cmd/cs/msb/OnapServiceShowCommand.java
diff --git a/plugins/common-service/src/main/resources/META-INF/services/org.onap.cli.fw.OnapCommand b/plugins/msb/src/main/resources/META-INF/services/org.onap.cli.fw.OnapCommand
index 527abe0c..527abe0c 100644
--- a/plugins/common-service/src/main/resources/META-INF/services/org.onap.cli.fw.OnapCommand
+++ b/plugins/msb/src/main/resources/META-INF/services/org.onap.cli.fw.OnapCommand
diff --git a/plugins/common-service/src/main/resources/microservice-create-schema.yaml b/plugins/msb/src/main/resources/microservice-create-schema.yaml
index 13bd53b1..13bd53b1 100644
--- a/plugins/common-service/src/main/resources/microservice-create-schema.yaml
+++ b/plugins/msb/src/main/resources/microservice-create-schema.yaml
diff --git a/plugins/common-service/src/main/resources/microservice-delete-schema.yaml b/plugins/msb/src/main/resources/microservice-delete-schema.yaml
index 695efe1e..695efe1e 100644
--- a/plugins/common-service/src/main/resources/microservice-delete-schema.yaml
+++ b/plugins/msb/src/main/resources/microservice-delete-schema.yaml
diff --git a/plugins/common-service/src/main/resources/microservice-list-schema.yaml b/plugins/msb/src/main/resources/microservice-list-schema.yaml
index 79dca5b1..79dca5b1 100644
--- a/plugins/common-service/src/main/resources/microservice-list-schema.yaml
+++ b/plugins/msb/src/main/resources/microservice-list-schema.yaml
diff --git a/plugins/common-service/src/main/resources/microservice-show-schema.yaml b/plugins/msb/src/main/resources/microservice-show-schema.yaml
index 47e33c6a..47e33c6a 100644
--- a/plugins/common-service/src/main/resources/microservice-show-schema.yaml
+++ b/plugins/msb/src/main/resources/microservice-show-schema.yaml
diff --git a/plugins/common-service/src/test/resources/service-list-schema.yaml b/plugins/msb/src/test/resources/service-list-schema.yaml
index 72e774b8..72e774b8 100644
--- a/plugins/common-service/src/test/resources/service-list-schema.yaml
+++ b/plugins/msb/src/test/resources/service-list-schema.yaml
diff --git a/plugins/common-service/src/test/resources/user-create-schema.yaml b/plugins/msb/src/test/resources/user-create-schema.yaml
index 3f1e8866..3f1e8866 100644
--- a/plugins/common-service/src/test/resources/user-create-schema.yaml
+++ b/plugins/msb/src/test/resources/user-create-schema.yaml
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>