You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Filip Vuksanovic (JIRA)" <ji...@codehaus.org> on 2005/11/10 10:10:06 UTC

[jira] Created: (MNG-1486) Can't use pom properties inside resource directory tag

Can't use pom properties inside resource directory  tag
-------------------------------------------------------

         Key: MNG-1486
         URL: http://jira.codehaus.org/browse/MNG-1486
     Project: Maven 2
        Type: Bug
  Components: maven-project  
    Versions: 2.0    
    Reporter: Filip Vuksanovic
    Priority: Minor


I have pom.xml with following snippet:

<build>
   <sourceDirectory>src\JavaSource</sourceDirectory>
   <resources>
       <resource>
      <directory>src\JavaSource</directory>

and it works.
If I use property like this

<build>
   <sourceDirectory>src\JavaSource</sourceDirectory>
   <resources>
       <resource>
      <directory>${project.build.sourceDirectory}</directory>


it doesn't work. 

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


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


[jira] Updated: (MNG-1486) Can't use pom properties inside resource directory tag

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1486?page=all ]

John Casey updated MNG-1486:
----------------------------

    Fix Version:     (was: 2.0.3)
                 2.0.4

> Can't use pom properties inside resource directory  tag
> -------------------------------------------------------
>
>          Key: MNG-1486
>          URL: http://jira.codehaus.org/browse/MNG-1486
>      Project: Maven 2
>         Type: Bug

>   Components: Inheritence and Interpolation
>     Versions: 2.0
>     Reporter: Filip Vuksanovic
>     Priority: Minor
>      Fix For: 2.0.4

>
>
> I have pom.xml with following snippet:
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>src\JavaSource</directory>
> and it works.
> If I use property like this
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>${project.build.sourceDirectory}</directory>
> it doesn't work. 

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


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


[jira] Updated: (MNG-1486) Can't use pom properties inside resource directory tag

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1486?page=all ]

Brett Porter updated MNG-1486:
------------------------------

    Fix Version: 2.0.1

> Can't use pom properties inside resource directory  tag
> -------------------------------------------------------
>
>          Key: MNG-1486
>          URL: http://jira.codehaus.org/browse/MNG-1486
>      Project: Maven 2
>         Type: Bug
>   Components: maven-project
>     Versions: 2.0
>     Reporter: Filip Vuksanovic
>     Priority: Minor
>      Fix For: 2.0.1

>
>
> I have pom.xml with following snippet:
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>src\JavaSource</directory>
> and it works.
> If I use property like this
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>${project.build.sourceDirectory}</directory>
> it doesn't work. 

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


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


[jira] Updated: (MNG-1486) Can't use pom properties inside resource directory tag

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1486?page=all ]

John Casey updated MNG-1486:
----------------------------

    Fix Version:     (was: 2.0.1)
                 2.0.2

> Can't use pom properties inside resource directory  tag
> -------------------------------------------------------
>
>          Key: MNG-1486
>          URL: http://jira.codehaus.org/browse/MNG-1486
>      Project: Maven 2
>         Type: Bug
>   Components: Inheritence and Interpolation
>     Versions: 2.0
>     Reporter: Filip Vuksanovic
>     Priority: Minor
>      Fix For: 2.0.2

>
>
> I have pom.xml with following snippet:
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>src\JavaSource</directory>
> and it works.
> If I use property like this
> <build>
>    <sourceDirectory>src\JavaSource</sourceDirectory>
>    <resources>
>        <resource>
>       <directory>${project.build.sourceDirectory}</directory>
> it doesn't work. 

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


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