Ah, the dangers of cut and paste programming. :(

I wish the Maven reactor had been nice enough to state that "Element 
<include> does not support the 'name' attribute", instead of just ignoring 
it.

Anyway, chalk this one up to "user error", and consider beefing up the -X 
capabilities of the <resource> element.


Robert Egan

[EMAIL PROTECTED] wrote on 01/25/2008 02:59:05 PM:

> Is there any way for -X to expand my <resource> elements in 
> resources:resources? They look right, but for some reason they're not 
> working, and the debug information (as shown) is somewhat less than 
> optimal.
> 
> [DEBUG] Configuring mojo 
> 'org.apache.maven.plugins:maven-resources-plugin:2.2:resources' -->
> [DEBUG]   (f) filters = []
> [DEBUG]   (f) outputDirectory = [...]
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG]   (f) resources = [EMAIL PROTECTED], 
> [EMAIL PROTECTED]
> [DEBUG] -- end configuration --
> 
>       <resource>
> 
> <directory>framework/apps/wcmSuiteAdministration-
> ear/modules/wcmSuiteAdministration-war/src/web</directory>
>         <includes>
>           <include name="**/*.jsp"/>
>           <include name="**/*.jsf"/>
>         </includes>
>         <excludes>
>           <exclude name="**/test/"/>
>           <exclude name="WEB-INF/"/>
>         </excludes>
>       </resource>
> 
>  Directory of 
> framework\apps\wcmSuiteAdministration-
> ear\modules\wcmSuiteAdministration-war\src\web
> 
> 12/28/2007  10:52 AM    <DIR>          .
> 12/28/2007  10:52 AM    <DIR>          ..
> 03/17/2006  11:02 AM               905 error.jsp
> 12/12/2007  08:37 AM    <DIR>          jsp
> 01/24/2008  11:40 AM    <DIR>          WEB-INF
>                1 File(s)            905 bytes
> 
>  Directory of 
> framework\apps\wcmSuiteAdministration-
> ear\modules\wcmSuiteAdministration-war\src\web\jsp
> 
> 12/12/2007  08:37 AM    <DIR>          .
> 12/12/2007  08:37 AM    <DIR>          ..
> 10/22/2007  07:35 AM             3,662 mainWeb.jsp
>                1 File(s)          3,662 bytes
> 
>  Directory of 
> framework\apps\wcmSuiteAdministration-
> ear\modules\wcmSuiteAdministration-war\src\web\WEB-INF
> 
> 01/24/2008  11:40 AM    <DIR>          .
> 01/24/2008  11:40 AM    <DIR>          ..
> 01/17/2007  10:48 AM            11,482 ibm-web-bnd.xmi
> 06/05/2006  01:32 PM             1,741 ibm-web-ext.xmi
> 02/27/2007  11:38 PM            38,631 web.xml
> 08/22/2003  05:51 AM               405 weblogic.xml
>                4 File(s)         52,259 bytes
> 
> Yet,  mainWeb.jsp is just not getting copied.
> 
--
This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Reply via email to