summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-24 19:44:23 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-21 18:07:47 +0530
commit25dcd38d5a35a82cd4c607082273675e12ad9481 (patch)
tree821edaf990252b8a35eb37c2ccd4af926b776d90
parent364e8b53db2825b415acdb512a0094b622373aed (diff)
Enable switch for adding only required plugins
use mvn clean install -P oclip-pluings or onap-plugins Issue-Id: CLI-66 Change-Id: Ic0041fdd76f166a8bcc7ee4234e731d67461d944 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--plugins/pom.xml28
1 files changed, 23 insertions, 5 deletions
diff --git a/plugins/pom.xml b/plugins/pom.xml
index a2972d1d..c74d56b2 100644
--- a/plugins/pom.xml
+++ b/plugins/pom.xml
@@ -43,11 +43,29 @@
<version>${project.parent.version}</version>
</dependency>
</dependencies>
- <modules>
- <module>onap-1.0</module>
- <module>onap-1.1</module>
- <module>sample</module>
- </modules>
+ <profiles>
+ <profile>
+ <id>oclip-plugins</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>sample</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>onap-plugins</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>onap-1.0</module>
+ <module>onap-1.1</module>
+ </modules>
+ </profile>
+
+ </profiles>
+
<build>
<pluginManagement>
<plugins>