[rules-users] kie-wb 6.0.0 tomcat7: Error uploading maven jar that is part of a multi-module maven project

Michael Anstis michael.anstis at gmail.com
Wed Dec 18 11:32:25 EST 2013


The problem is that the OP is uploading the JAR to kie-wb.

This is where the error is thrown:
https://github.com/droolsjbpm/guvnor/blob/master/guvnor-m2repo-editor/guvnor-m2repo-editor-backend/src/main/java/org/guvnor/m2repo/backend/server/FileServlet.java#L154

Would this use the Maven Native Parser if on the classpath? We have kie-ci
as a dependency of guvnor-m2repo-editor-backend already.

With kind regards,

Mike



On 18 December 2013 15:51, Mario Fusco <mario.fusco at gmail.com> wrote:

> Hi,
>
> the MinimalPomParser is an xml parser we developed internally to cover the
> most common and straightforward cases, but very likely it is unable to
> parse
> the multi-module pom you're using.
>
> However adding the kie-ci module to your dependencies (
> https://github.com/droolsjbpm/drools/tree/master/kie-ci ) automatically
> allows drools to use the native maven pom parser that should support your
> use case.
>
> To cut it short adding this to your dependencies should resolve your
> problem.
>
>   <groupId>org.kie</groupId>
>   <artifactId>kie-ci</artifactId>
>
> I hope this helps,
> Mario
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/kie-wb-6-0-0-tomcat7-Error-uploading-maven-jar-that-is-part-of-a-multi-module-maven-project-tp4027338p4027353.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131218/19a11faf/attachment.html 


More information about the rules-users mailing list