You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brian E. Fox" <br...@reply.infinity.nu> on 2006/02/28 22:07:40 UTC

some major issues with reactors and dependency handling

I've seen some major issues with the way maven handles dependencies in a
multi project setting. Consider the following project:
 
parent
      Project A 1.0 - Jar
      Project B 1.0 - War
 
 If I build the parent, when project A is included in the war, it's
included as project-a.jar. If I build Project B, then the jar is
included as project-a-1.0.jar 
 
This is just one example of some weird issues, I know that people have
mentioned problems similar to this with compiling. Maven is all about
reproducibility, but this one clearly breaks that because the produced
artifact is completely dependant on if it was build standalong or part
of a reactor. Can any of the maven developers explain what was attempted
to be solved by this and if/when we might see it get fixed. 
 
Some jiras I can see that are related to this:
http://jira.codehaus.org/browse/MWAR-7
http://jira.codehaus.org/browse/MOJO-286
 
I don't yet see an actual issue related to this, just the side effects
of it on the WAR and Dependency plugin. Should I create a separate one
in the MNG group?
 

Re: some major issues with reactors and dependency handling

Posted by Brett Porter <br...@apache.org>.
I believe this is solely a reactor issue (it should be naming the files
at the target, as the source filename could be anything). So MWAR-7 is
the issue and should be easily fixed.

- Brett

Brian E. Fox wrote:
> I've seen some major issues with the way maven handles dependencies in a
> multi project setting. Consider the following project:
>  
> parent
>       Project A 1.0 - Jar
>       Project B 1.0 - War
>  
>  If I build the parent, when project A is included in the war, it's
> included as project-a.jar. If I build Project B, then the jar is
> included as project-a-1.0.jar 
>  
> This is just one example of some weird issues, I know that people have
> mentioned problems similar to this with compiling. Maven is all about
> reproducibility, but this one clearly breaks that because the produced
> artifact is completely dependant on if it was build standalong or part
> of a reactor. Can any of the maven developers explain what was attempted
> to be solved by this and if/when we might see it get fixed. 
>  
> Some jiras I can see that are related to this:
> http://jira.codehaus.org/browse/MWAR-7
> http://jira.codehaus.org/browse/MOJO-286
>  
> I don't yet see an actual issue related to this, just the side effects
> of it on the WAR and Dependency plugin. Should I create a separate one
> in the MNG group?
>  
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org