[ 
https://issues.apache.org/jira/browse/MNG-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786038#comment-16786038
 ] 

Robert Scholte commented on MNG-1388:
-------------------------------------

[~divStar] download attached pom-file (optionally rename it)
{{mvn -f mng1388.pom verify}} succeeds building only A
{{mvn -f mng1388.pom verify -Psome-profile}} fails due to missing directories B 
and C (which makes sense).
Profiled modules are recognized, so I don't the issue.

> Transitive Dependencies in a profile are not used
> -------------------------------------------------
>
>                 Key: MNG-1388
>                 URL: https://issues.apache.org/jira/browse/MNG-1388
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 2.0
>         Environment: Windows XP using Maven 2.0.
>            Reporter: dbradicich
>            Priority: Major
>         Attachments: mng1388.pom
>
>
> I have a jar project file that defines a dependency inside a certain profile. 
>  If I then include that project inside of another war project, the 
> dependencies defined in the jar project's profile isn't getting transferred 
> over to the war.
> Ie we have this:
> A depends on SQL or Oracle depending on profile
> B depends on A.
> If sql profile is active, I would expect that when I build B, it pulls
> the transitive dependancy on sql from A.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to