[jboss-jira] [JBoss JIRA] (DROOLS-373) Kie Maven plugin don't use the project classpath
Stefan Jansen (JIRA)
issues at jboss.org
Tue Jan 14 10:51:33 EST 2014
[ https://issues.jboss.org/browse/DROOLS-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935660#comment-12935660 ]
Stefan Jansen commented on DROOLS-373:
--------------------------------------
I got the same problem and bypass it adding the project dependency as a dependency to the kie-maven-plugin:
{code:xml}
<plugin>
<groupId>org.kie</groupId>
<artifactId>kie-maven-plugin</artifactId>
<version>6.0.1.Final</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
</dependencies>
</plugin>
{code}
Don't think this is the supposed solution. If it is, I think it should be documented.
> Kie Maven plugin don't use the project classpath
> ------------------------------------------------
>
> Key: DROOLS-373
> URL: https://issues.jboss.org/browse/DROOLS-373
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Mario Fusco
> Assignee: Mario Fusco
> Fix For: 6.0.1.Final
>
> Attachments: drools6scratch-kiemavenclasspath.zip
>
>
> When compiling drls the kie maven plugin uses the plugin classpath instead of the project one. This imply that it is necessary to duplicate the dependencies used by the kie project also inside the plugin declaration, as reported by this email: http://drools.46999.n3.nabble.com/rules-users-Drool-6-0-0-Final-2-question-re-kie-maven-plugin-please-td4027117.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list