You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ra...@jpmchase.com on 2006/03/30 17:42:10 UTC

Maven 2.0.3 - ${project.build.outputDirectory} value changed

Lets say i have directory structure has

Project
        Module-A
                SubModule-A
                        -pom.xml
        -pom.xml
        Module-B
                SubModule-B
                -pom.xml
        -pom.xml
-pom.xml


If run mvn compile from SubModule-A directory, the value of 
${project.build.outputDirectory} 

In Maven 2.0.2

Project/Module-A/SubModule-A/target/classes

But in Maven 2.0.3 its changed as

target/classes

This causing problems coz if run mvn compile from Module-A directory in 
maven-2 still the
 ${project.build.outputDirectory} = 
Project/Module-A/SubModule-A/target/classes

But its not same case with maven 2.0.3
 ${project.build.outputDirectory}  = target/classes (so that will be 
Module-A/target/classes)

Which is breaking build, and i don't see this change coming in release 
info





Thanks,
Raghu 

Re: Maven 2.0.3 - ${project.build.outputDirectory} value changed

Posted by John Casey <jd...@yahoo.com>.
yeah, we found this regression yesterday. Brett has fixed it, and we'll 
be calling for a 2.0.4 release soon as a result. :-\

See: http://jira.codehaus.org/browse/MNG-2186 for more information.

-john

raghurajan.x.gurunathan@jpmchase.com wrote:
> Lets say i have directory structure has
> 
> Project
>         Module-A
>                 SubModule-A
>                         -pom.xml
>         -pom.xml
>         Module-B
>                 SubModule-B
>                 -pom.xml
>         -pom.xml
> -pom.xml
> 
> 
> If run mvn compile from SubModule-A directory, the value of 
> ${project.build.outputDirectory} 
> 
> In Maven 2.0.2
> 
> Project/Module-A/SubModule-A/target/classes
> 
> But in Maven 2.0.3 its changed as
> 
> target/classes
> 
> This causing problems coz if run mvn compile from Module-A directory in 
> maven-2 still the
>  ${project.build.outputDirectory} = 
> Project/Module-A/SubModule-A/target/classes
> 
> But its not same case with maven 2.0.3
>  ${project.build.outputDirectory}  = target/classes (so that will be 
> Module-A/target/classes)
> 
> Which is breaking build, and i don't see this change coming in release 
> info
> 
> 
> 
> 
> 
> Thanks,
> Raghu 
> 

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