You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2005/10/31 17:43:45 UTC

[jira] Commented: (CONTINUUM-321) Maven 2 properties are ignored

    [ http://jira.codehaus.org/browse/CONTINUUM-321?page=comments#action_49669 ] 

Emmanuel Venisse commented on CONTINUUM-321:
--------------------------------------------

Is it works with 1.0?

> Maven 2 properties are ignored
> ------------------------------
>
>          Key: CONTINUUM-321
>          URL: http://jira.codehaus.org/browse/CONTINUUM-321
>      Project: Continuum
>         Type: Bug
>     Versions: 1.0-alpha-4
>  Environment: Running release 1.0-alpha-4 on Linux, using Maven 2.0-beta-1 release
>     Reporter: Bob Allison

>
>
> My Maven 2 project tree consists of a parent directory with a pom.xml and a set of child projects in subdirectories of the parent directory.  In the parent project, I am using a pair of properties to define the build version as follows:
> <project>
>   <properties>
>     <revision>3.0</revision>
>     <snapshot>-SNAPSHOT</snapshot>
>   </properties>
> ...
>   <version>${revision}${snapshot}</version>
> ...
> </project>
> I have tried placing the properties in the parent project and in the child project, but I get the same results.
> When I run the build with m2 from the command line, everything builds, installs, and deploys correctly.  When the child project is built with Continuum, the output from Maven looks like:
> jvm 1    | 2005-09-26 13:08:13,244 [Thread-0] WARN  MavenProjectBuilder            -
> jvm 1    |   ***** Using defaults for missing POM qaccess:3rd-party:pom:${revision}${snapshot} *****

-- 
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