maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Simon (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MASSEMBLY-376) baseDirectory tag unrecognised for assembly
Date Fri, 12 Mar 2010 14:30:23 GMT

    [ http://jira.codehaus.org/browse/MASSEMBLY-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213664#action_213664
] 

Julien Simon commented on MASSEMBLY-376:
----------------------------------------

The tag baseDirectory cannot be used in versions 2.1 and lower of the  maven assembly plugin
because it's not available in the assembly descriptor schema (xsd). In the change history
of this issue, the affected version of the plugin is set to 2.0.4. Therefore I think this
issue can be closed.

> baseDirectory tag unrecognised for assembly
> -------------------------------------------
>
>                 Key: MASSEMBLY-376
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-376
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>         Environment: Windows XP
>            Reporter: Richard King
>
> When I add the <baseDirectory>dir</baseDirectory> tags I get the following
error:
> The XML provided is part of a profile that is selected voa the command line.
> Embedded error: Unrecognised tag: 'baseDirectory' (position: START_TAG seen ...</includeBaseDirectory>\n
 <baseDirectory>... @7:18)
> The xml is as follows:
> <assembly>
>   <id>all</id>
>   <formats>
>     <format>dir</format>
>   </formats>
>   <includeBaseDirectory>true</includeBaseDirectory>
>   <baseDirectory>${FATTOUSH_HOME}</baseDirectory>
>   <moduleSets>
>   <moduleSet>
>       <includes>
>         <include>com.cellectivity:account</include>
>         <include>com.cellectivity:administration</include>
>         <include>com.cellectivity:bet</include>
>         <include>com.cellectivity:casino</include>
>         <include>com.cellectivity:dating</include>
>         <include>com.cellectivity:image</include>
>         <include>com.cellectivity:portal</include>
>         <include>com.cellectivity:provisioning</include>
>         <include>com.cellectivity:registration</include>
>         <include>com.cellectivity:router</include>
>         <include>com.cellectivity:vendor</include>        
>       </includes>
>       <binaries>
>         <outputDirectory>webapps/${artifactId}</outputDirectory>
>         <includeDependencies>true</includeDependencies>
>         <unpack>false</unpack>
>       </binaries>
>     </moduleSet>
>     <moduleSet>
>       <includes>
>         <include>com.cellectivity:fattoush-app-administration</include>
>         <include>com.cellectivity:fattoush-agent-bet</include>
>         <include>com.cellectivity:fattoush-app-bet</include>
>         <include>com.cellectivity:fattoush-agent-spark</include>
>         <include>com.cellectivity:fattoush-app-dating</include>
>         <include>com.cellectivity:fattoush-app-provisioning</include>
>         <include>com.cellectivity:fattoush-app-registration</include>
>         <include>com.cellectivity:fattoush-app-account</include>
>         <include>com.cellectivity:fattoush-app-image</include>
>         <include>com.cellectivity:fattoush-product</include>
>         <include>com.cellectivity:fattoush-app-vendor</include>
>         <include>com.cellectivity:fattoush-app-portal</include>
>         <include>com.cellectivity:fattoush-app-casino</include>
>         <include>com.cellectivity:fattoush-app-partygaming</include>
>       </includes>
>       <binaries>
>         <outputDirectory>lib</outputDirectory>
>         <includeDependencies>true</includeDependencies>
>         <unpack>false</unpack>
>       </binaries>
>     </moduleSet>
>   </moduleSets>
> </assembly> 

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

        

Mime
View raw message