11:12:36,910 WARN [Sisu] (http-/127.0.0.1:8080-1) Error injecting: org.apache.maven.DefaultMaven: java.lang.NoClassDefFoundError: org/apache/maven/plugin/MojoNotFoundException
at java.lang.Class.getDeclaredConstructors0(Native Method) [rt.jar:1.7.0_79]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) [rt.jar:1.7.0_79]
at java.lang.Class.getDeclaredConstructors(Class.java:1906) [rt.jar:1.7.0_79]
The above code works standalone, but I have to include (in addition kie-ci)
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.3.9</version>
</dependency>
Therefore I tried including it in the WAR, but still no luck.
Any help in overcoming the above is much appreciated.
Regards,
Rajith