[jboss-jira] [JBoss JIRA] (DROOLS-266) KIE resolving dependend artifacts issue

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Nov 22 08:49:06 EST 2013


    [ https://issues.jboss.org/browse/DROOLS-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926109#comment-12926109 ] 

RH Bugzilla Integration commented on DROOLS-266:
------------------------------------------------

Ryan Zhang <rzhang at redhat.com> changed the Status of [bug 1014157|https://bugzilla.redhat.com/show_bug.cgi?id=1014157] from MODIFIED to ON_QA
                
> KIE resolving dependend artifacts issue
> ---------------------------------------
>
>                 Key: DROOLS-266
>                 URL: https://issues.jboss.org/browse/DROOLS-266
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions:  6.0.0.CR3
>            Reporter: Kurt Stam
>            Assignee: Mario Fusco
>             Fix For: 6.0.0.CR5
>
>         Attachments: kie-load-from-maven-issue.tgz, kie-load-from-maven-issue.tgz
>
>
> This happens when for a dependency the scope is
> - set to 'provided' and
> - a parameter (in the case ${jbpm.version}) is used in the version field.
> So the relevant entry in the pom is:
> <dependency>
>       <groupId>org.drools</groupId>
>       <artifactId>drools-core</artifactId>
>       <version>${drools.version}</version>
>       <scope>provided</scope>
>     </dependency>
> which leads to
> 11:15:02,584  WARN Dependency artifact not found for: org.jbpm:jbpm-bpmn2:${jbpm.version}
> and then the NPE. I'm guessing the parameter is not being resolved.
> 1. it probably should resolve parameters
> 2. if a dependency is scoped as 'provided' I think it is supposed to locate it on the classpath and NOT from maven. However I'm not sure this is the way that works in testing anyway.
> 3. if the dependency  cannot be found it should probably stop and not even proceed rather then warn?
> 4. it should be interesting to see why it gets the NPE.
> If you change the dependency from 'provided' to 'test' things work fine.

--
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