diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2019-12-12 15:24:53 -0500 |
---|---|---|
committer | Singal, Kapil (ks220y) <ks220y@att.com> | 2019-12-16 15:42:48 -0500 |
commit | df195945d03dec122666e8d48e4c7ba94630468a (patch) | |
tree | b82f3f19c720cc47789bd158d7c1e4b730109014 /sdnr/wt/common | |
parent | 6da38e9544f5eadc39ba3cf9f28183a6dac79f9c (diff) |
Refactoring multiple plugins
Refactoring below plugins in sdnr/wt/common/pom.xml :
1) org.codehaus.mojo : exec-maven-plugin -> changing executable to bash so that it can run on windows too
2) com.github.alexcojocaru : elasticsearch-maven-plugin -> skip if tests are skipped during maven build
Adding create dir step in es-intit.sh :
sdnr/wt/data-provider/database/src/main/resources/es-init.sh -> cmd_initfile() -> mkdir -p $( dirname $INITFILENAME )
Change-Id: I78516406101659f802dad2fb68ca349f63a4dd2e
Issue-ID: CCSDK-1994
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'sdnr/wt/common')
-rw-r--r-- | sdnr/wt/common/pom.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdnr/wt/common/pom.xml b/sdnr/wt/common/pom.xml index dfefe1834..adce977c3 100644 --- a/sdnr/wt/common/pom.xml +++ b/sdnr/wt/common/pom.xml @@ -30,7 +30,7 @@ <version>0.7.0-SNAPSHOT</version> <packaging>jar</packaging> - <name>ccsdk-features-sdnr-wt :: ${project.artifactId}</name> + <name>ccsdk-features :: ${project.artifactId}</name> <licenses> <license> <name>Apache License, Version 2.0</name> @@ -107,9 +107,9 @@ <goal>exec</goal> </goals> <configuration> - <executable>bash</executable> + <executable>bash</executable> <arguments> - <argument>${basedir}/../data-provider/database/src/main/resources/es-init.sh</argument> + <argument>${basedir}/../data-provider/database/src/main/resources/es-init.sh</argument> <argument>initfile</argument> <argument>-f</argument> <argument>${project.build.directory}/EsInit.script</argument> @@ -123,13 +123,13 @@ <artifactId>elasticsearch-maven-plugin</artifactId> <version>6.16</version> <configuration> - <skip>${skipTests}</skip> <clusterName>testCluster</clusterName> <transportPort>9500</transportPort> <httpPort>${databaseport}</httpPort> <version>6.5.0</version> <timeout>120</timeout> <pathInitScript>${project.build.directory}/EsInit.script</pathInitScript> + <skip>${skipTests}</skip> </configuration> <executions> <execution> |