On Sat, Sep 18, 2004 at 04:27:33PM +1000, Brett Porter wrote:
> I'm working on replacing the POM parser in Maven 1.1, and POMS that
> previously parsed with things like this:
>     <resources>
>         <resource>
>             <directory>../../../../src/messages</directory>
>             <includes>**/*.properties</includes>
>         </resource>
>     </resources>
> Now fail because the includes format is not legal. It should be:
>       <includes>
>         <include>**/*.properties</include>
>       </includes>
> 
> Anyone have a strong objection to these POMs no longer parsing? As this
> is probably a common error (it's in the m1 test cases :), that silently
> failed before, we can address it in an FAQ.

+1 for the change. It should be pretty easy to make a better POM
validator/fixer. There is quite a few issues with the existing poms that
should be adressed and tried fixed with a better validator. This will also
help pom version migration.

--
Trygve

> 
> - Brett
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Attachment: signature.asc
Description: Digital signature

Reply via email to