That actually reminded me of the impact of scoping a dependency on
transitive dependencies.  That said, I don't thing the issue I
reported is a bug at all.  Maven is behaving as it is designed (http://
maven.apache.org/guides/introduction/introduction-to-dependency-
mechanism.html#Dependency_Scope).  The solution for me was to use a
combination of 'test' & 'runtime' scopes.

Sri

On Mar 4, 10:20 am, Marvin Froeder <[email protected]> wrote:
> Maven doesn't handle test transitive dependencies
>
> http://jira.codehaus.org/browse/MNG-1378
>
> VELO
>
> On Thu, Mar 4, 2010 at 11:55 AM, Sri Sankaran
> <[email protected]>wrote:
>
>
>
> > I was very pleased to see the addition of the test-swf goal to
> > flexmojos.  This allowed me to include the automation libraries that
> > our QA testers would love to see in the WAR.  Things worked great when
> > I had my test dependencies in the SWF module's POM
>
> > swf/pom.xml:
>
> > <dependencies>
> >  <!-- usual dependencies -->
>
> >  <!-- Automation library SWCs that the QA testers want -->
>
> > </dependencies>
>
> > However, when I refactored it to
>
> > <dependencies>
> >  <!-- usual dependencies -->
>
> >  <!-- Automation library SWCs that the QA testers want -->
> >  <dependency>
> >    <groupId>com.sas.mis.flex.automation</group>
> >    <artifactId>automation-libraries</artifactId>
> >    <version>1.0</version>
> >    <type>pom</type>
> >    <scope>test</scope>
>
> > </dependencies>
>
> > where automation-libraries' POM describes all the SWCs, the test-swf
> > that is generated does not have all the libraries.
>
> > It is as if the goal is not looking transitively for dependencies.
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Flex Mojos" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<flex-mojos%2bunsubscr...@googlegrou 
> > ps.com>
> > For more options, visit this group at
> >http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> >http://flexmojos.sonatype.org/

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://flexmojos.sonatype.org/

Reply via email to