You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2006/01/19 07:38:41 UTC

[jira] Created: (MASSEMBLY-62) Ability to share DependencySets, FileSets, FileItems

Ability to share DependencySets, FileSets, FileItems
----------------------------------------------------

         Key: MASSEMBLY-62
         URL: http://jira.codehaus.org/browse/MASSEMBLY-62
     Project: Maven 2.x Assembly Plugin
        Type: New Feature

    Versions: 2.0    
 Environment: xp, linux
    Reporter: Dan Tran
     Fix For: 2.0


My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
elements



-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

Dan Tran commented on MASSEMBLY-62:
-----------------------------------

Here is my proposal:

  -  Add a list of subassembly descriptor files to The current Assembly
  -  The subassembly consists of a list of DependencySets, list of FileSets, and List of FileItems
  -  The Assembly reader will add the contents of all subassemblies (DependencySets, FileSets, and FileItems)  into the main Assembly

The rest will be handled by Assembly processing.

Sound OK?

> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

Brett Porter updated MASSEMBLY-62:
----------------------------------

    Fix Version:     (was: 2.0)

> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

Dan Tran commented on MASSEMBLY-62:
-----------------------------------

Entry into each subassembly is a filename relative to ${basedir}.  User can specify fullpath.

The DependencySets, FileSets, and FileItems if each subassembly will be appended to the main one, the Assembly itself.

Parsing and processing of subassemblies should not be any different from the main one.


To go into details, the Assembly will have 3 sections

     Assembly

          // Header  
               id
               formats
               includeBaseDirectory
               includeSiteDirectory
      
          // Body
               List of DependencySet
               List of FileItems
               List of FileSets

         List of  SubAssemblyDescriptor
               SubAssemblyDescriptorFileName
                   List of DependencySet                     <--------- This subassembly will be appended to the main Body when we loadup the Assembly
                   List of FileItems
                   List of FileSets
              

In this case, I can have a bunch of fixed sub assemblies that main assembly can pick and ad its own in the body.
This is the same concept of installanywhere where they call Components ( vs subassembly) 


Sorry I am not sure how to visualize the single <parentDescriptor> concept, Are you suggesting inheritent set?


          
          



> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

Dan Tran commented on MASSEMBLY-62:
-----------------------------------

Ok, use "include" and subassembly's descriptor should be relative to ${basedir}

> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

Brett Porter commented on MASSEMBLY-62:
---------------------------------------

yes, I was suggesting inheritence instead of what you are saying is essentially <include />. This more closely matches how the rest of Maven behaves, but either sound fine to me. I don't think full paths should ever be used, however.

> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

      Assign To: Dan Tran
     Resolution: Fixed
    Fix Version: 2.1

new feature added

> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran
>     Assignee: Dan Tran
>      Fix For: 2.1

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

-- 
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-62) Ability to share DependencySets, FileSets, FileItems

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

Brett Porter commented on MASSEMBLY-62:
---------------------------------------

doesn't it make sense to do this as a single <parentDescriptor> instead of subassembly descriptors?

how do you intend to specify the files? relative to the project? How would this work for things built into the plugin?

> Ability to share DependencySets, FileSets, FileItems
> ----------------------------------------------------
>
>          Key: MASSEMBLY-62
>          URL: http://jira.codehaus.org/browse/MASSEMBLY-62
>      Project: Maven 2.x Assembly Plugin
>         Type: New Feature

>     Versions: 2.0
>  Environment: xp, linux
>     Reporter: Dan Tran

>
>
> My assembly project can produce multiple assemblies thru mutliple descriptors.  I need ability to have multiple descriptor to share common
> elements

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