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 2010/10/01 13:10:32 UTC

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

    [ 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