You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Travis Carlson (JIRA)" <ji...@codehaus.org> on 2005/12/16 05:21:05 UTC

[jira] Created: (MNG-1853) Evaluate project variables within assembly descriptors

Evaluate project variables within assembly descriptors
------------------------------------------------------

         Key: MNG-1853
         URL: http://jira.codehaus.org/browse/MNG-1853
     Project: Maven 2
        Type: Improvement

  Components: maven-assembly-plugin  
    Versions: 2.0.1    
    Reporter: Travis Carlson


Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_54840 ] 

Brett Porter commented on MASSEMBLY-40:
---------------------------------------

no, we want ${project.build.directory} to be evaluated inside the assembly descriptor, for example.

This should just be a matter of reusing the expression evaluator from maven-project.

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_56415 ] 

Brett Porter commented on MASSEMBLY-40:
---------------------------------------

we would need to interpolate the contents of the file as a string before passing to modello using an expression evaluator from maven

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_54834 ] 

Brett Porter commented on MASSEMBLY-40:
---------------------------------------

I don't understand what you are trying to do there. We don't want to put the assembly descriptors in the pom, and we already have the capability to use multiple descriptors.

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

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

Brett Porter updated MASSEMBLY-40:
----------------------------------

    Fix Version: 2.1

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_54839 ] 

Dan Tran commented on MASSEMBLY-40:
-----------------------------------

I thought we want in expose the Assembly objects created by mdo to plugin's configuration?

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Closed: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Allan Ramirez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=all ]
     
Allan Ramirez closed MASSEMBLY-40:
----------------------------------

    Resolution: Fixed

Fixed in SVN. 

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>     Assignee: Allan Ramirez
>      Fix For: 2.1

>
>   Time Spent: 10 hours
>    Remaining: 0 minutes
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_54842 ] 

Dan Tran commented on MASSEMBLY-40:
-----------------------------------

OK, that is better.

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_54832 ] 

Dan Tran commented on MASSEMBLY-40:
-----------------------------------

I am going to introduce 

  <assemblies>
     <assembly/>
     <assembly/>
  </assemblies>

to this plugin's configuration, this we can take advantage expression process provided by
the pom

And append assemblies to the list for processing.



> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_56416 ] 

Brett Porter commented on MASSEMBLY-40:
---------------------------------------

I'm not sure what expression evaluator is available - if we only use project references I think there is one in maven-project that is used for the model

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

-- 
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] Commented: (MASSEMBLY-40) Evaluate project variables within assembly descriptors

Posted by "Mike Perham (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-40?page=comments#action_55678 ] 

Mike Perham commented on MASSEMBLY-40:
--------------------------------------

Any pointers on how to do this?  Currently we are creating a FileReader and passing it to the Modello-generated model reader.  Is there an ExpressionAwareReader or something which handles the magic?

> Evaluate project variables within assembly descriptors
> ------------------------------------------------------
>
>          Key: MASSEMBLY-40
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-40
>      Project: Maven 2.x Assembly Plugin
>         Type: Bug

>     Reporter: Travis Carlson
>      Fix For: 2.1

>
>
> Currently any project variables (for example ${basedir}, ${artifact}, etc.) are ignored within the assembly descriptor.

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