You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emerson Farrugia (JIRA)" <ji...@codehaus.org> on 2009/12/29 16:02:55 UTC

[jira] Created: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Assembly descriptors should be loaded from standard location.
-------------------------------------------------------------

                 Key: MASSEMBLY-459
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-459
             Project: Maven 2.x Assembly Plugin
          Issue Type: Improvement
    Affects Versions: 2.2-beta-5
            Reporter: Emerson Farrugia
            Priority: Minor


The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)

The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

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

        

[jira] Issue Comment Edited: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Posted by "Geert Schuring (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271096#comment-271096 ] 

Geert Schuring edited comment on MASSEMBLY-459 at 6/22/11 7:25 AM:
-------------------------------------------------------------------

I completely agree with the reporter that assembly descriptors should be picked up automatically if they are found in the src/main/assembly directory. In my opinion assembly descriptors found there should not even have to be listed in the plugin configuration.

I found it to be very strange that this is not default behavior.

      was (Author: cathodion):
    I completely agree with the reporter that assembly descriptors should be picked up automatically if they are found in the src/main/assembly directory. In my opinion assembly descriptors found there should not even have to be listed in the plugin configuration.

I found it very strange that this is not default behavior.
  
> Assembly descriptors should be loaded from standard location.
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-459
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-459
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-5
>            Reporter: Emerson Farrugia
>            Assignee: John Casey
>            Priority: Minor
>
> The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
> The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MASSEMBLY-459.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.2-beta-6
         Assignee: John Casey

it is possible to configure the <descriptorSourceDirectory> configuration. Unfortunately, since this directory may contain both the assembly descriptors _and_ component descriptors that are shared between assemblies, it's not feasible to scan and load the whole directory's worth of files.

> Assembly descriptors should be loaded from standard location.
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-459
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-459
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-5
>            Reporter: Emerson Farrugia
>            Assignee: John Casey
>            Priority: Minor
>             Fix For: 2.2-beta-6
>
>
> The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
> The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

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

        

[jira] Commented: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Posted by "Emerson Farrugia (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237096#action_237096 ] 

Emerson Farrugia commented on MASSEMBLY-459:
--------------------------------------------

I'm not sure I follow. If the "src/main/assembly" directory is the advertised location of assembly descriptors, it should probably also be the default location for component descriptors. I fail to see why 

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
    <descriptors>
      <descriptor>file.xml</descriptor>
    </descriptors>
  </configuration>
</plugin>

would look for file.xml in ${basedir} instead of in ${basedir}/src/main/assembly. 

> Assembly descriptors should be loaded from standard location.
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-459
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-459
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-5
>            Reporter: Emerson Farrugia
>            Assignee: John Casey
>            Priority: Minor
>
> The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
> The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

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

        

[jira] Commented: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Posted by "Geert Schuring (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271096#comment-271096 ] 

Geert Schuring commented on MASSEMBLY-459:
------------------------------------------

I completely agree with the reporter that assembly descriptors should be picked up automatically if they are found in the src/main/assembly directory. In my opinion assembly descriptors found there should not even have to be listed in the plugin configuration.

> Assembly descriptors should be loaded from standard location.
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-459
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-459
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-5
>            Reporter: Emerson Farrugia
>            Assignee: John Casey
>            Priority: Minor
>
> The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
> The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MASSEMBLY-459:
--------------------------------------

    Fix Version/s:     (was: 2.2)

> Assembly descriptors should be loaded from standard location.
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-459
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-459
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-5
>            Reporter: Emerson Farrugia
>            Assignee: John Casey
>            Priority: Minor
>
> The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
> The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

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

        

[jira] Issue Comment Edited: (MASSEMBLY-459) Assembly descriptors should be loaded from standard location.

Posted by "Geert Schuring (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271096#comment-271096 ] 

Geert Schuring edited comment on MASSEMBLY-459 at 6/22/11 7:25 AM:
-------------------------------------------------------------------

I completely agree with the reporter that assembly descriptors should be picked up automatically if they are found in the src/main/assembly directory. In my opinion assembly descriptors found there should not even have to be listed in the plugin configuration.

I found it very strange that this is not default behavior.

      was (Author: cathodion):
    I completely agree with the reporter that assembly descriptors should be picked up automatically if they are found in the src/main/assembly directory. In my opinion assembly descriptors found there should not even have to be listed in the plugin configuration.
  
> Assembly descriptors should be loaded from standard location.
> -------------------------------------------------------------
>
>                 Key: MASSEMBLY-459
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-459
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2-beta-5
>            Reporter: Emerson Farrugia
>            Assignee: John Casey
>            Priority: Minor
>
> The Maven standard directory layout uses "src/main/assembly" as the location for assembly descriptors. (http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html)
> The maven-assembly-plugin does not search this directory at all (let alone first) for descriptor files. Should we be able to put file.xml in that location, specify file.xml in the plugin configuration, and trust in conventions that the plugin will find it?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira