[
http://jira.codehaus.org/browse/MNG-4637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229035#action_229035
]
Vincent Latombe commented on MNG-4637:
--------------------------------------
I'm having the same problem. This is counter-intuitive.
The non-recursive behaviour should be achieved using -pl -N combination.
> -pl switch negates recursion into sub projects
> ----------------------------------------------
>
> Key: MNG-4637
> URL: http://jira.codehaus.org/browse/MNG-4637
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Bootstrap & Build
> Affects Versions: 2.2.1
> Reporter: Ittay Dror
>
> I have a project with several sub projects, each of which has sub projects.
> If I use:
> mvn -pl sub1
> I expect sub1 to be built as well as all its sub projects and if I use -am,
> all their dependencies. Unfortunately, maven will build only sub1.
> When using just -pl, I can instead cd to sub1 and build from there, but when
> using -am I can't since any dependencies on projects outside of sub1 will not
> be found.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira