You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2009/04/06 03:33:03 UTC

[RESOLVED] Maven Archetype Plugin is Hosed --- and nobody cares

Thanks to Raphaël Piéroni the error was found: there was an extra
<directory> element in my archetype-metadata.xml.  This was not
reported at all by Maven.

You should convert:

        <fileSet filtered="true" packaged="false">
            <directory>src/test/resources</directory>
            <directory>src/test/conf</directory>
        </fileSet>

to:

        <fileSet filtered="true" packaged="false">
            <directory>src/test/resources</directory>
        </fileSet>

        <fileSet filtered="true" packaged="false">
            <directory>src/test/conf</directory>
        </fileSet>

Future versions of the archetype plugin will report the first error,
rather than ignore it leading to the second incomprhensible error (I
received).


On Sat, Apr 4, 2009 at 6:22 PM, Barrie Treloar <ba...@gmail.com> wrote:
> On Sat, Apr 4, 2009 at 10:09 PM, Brian E. Fox <br...@reply.infinity.nu> wrote:
>> Howard, You have an interesting way of motivation and over generalization:
>> "Once again, Maven is screwed up beyond belief and the developer community response is pitifully absent" "http://twitter.com/hlship"
>>
>> First of all, one plugin does not represent the entire Maven project. Second, the assumption that we are all here to jump at your beck and call is offensive. Perhaps your approach is what earns you "pitifully absent" response.
>>
>> Third, it's open source and patches are welcome.
>
> I agree with Brian.
>
> If you are having problems then invest some time into making them better.
> And write up the your learnings so others dont face the same problems
> are you are complaining of.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [RESOLVED] Maven Archetype Plugin is Hosed --- and nobody cares

Posted by Raphaël Piéroni <ra...@gmail.com>.
One could have found the specification :
http://maven.apache.org/plugins/maven-archetype-plugin/specification/archetype-metadata.html

Please consider the error raised by the archetype plugin will be ugly
as it will be the exception of the XPP3Parser.

Regards,

Raphaël

2009/4/6 Howard Lewis Ship <hl...@gmail.com>:
> Thanks to Raphaël Piéroni the error was found: there was an extra
> <directory> element in my archetype-metadata.xml.  This was not
> reported at all by Maven.
>
> You should convert:
>
>        <fileSet filtered="true" packaged="false">
>            <directory>src/test/resources</directory>
>            <directory>src/test/conf</directory>
>        </fileSet>
>
> to:
>
>        <fileSet filtered="true" packaged="false">
>            <directory>src/test/resources</directory>
>        </fileSet>
>
>        <fileSet filtered="true" packaged="false">
>            <directory>src/test/conf</directory>
>        </fileSet>
>
> Future versions of the archetype plugin will report the first error,
> rather than ignore it leading to the second incomprhensible error (I
> received).
>
>
> On Sat, Apr 4, 2009 at 6:22 PM, Barrie Treloar <ba...@gmail.com> wrote:
>> On Sat, Apr 4, 2009 at 10:09 PM, Brian E. Fox <br...@reply.infinity.nu> wrote:
>>> Howard, You have an interesting way of motivation and over generalization:
>>> "Once again, Maven is screwed up beyond belief and the developer community response is pitifully absent" "http://twitter.com/hlship"
>>>
>>> First of all, one plugin does not represent the entire Maven project. Second, the assumption that we are all here to jump at your beck and call is offensive. Perhaps your approach is what earns you "pitifully absent" response.
>>>
>>> Third, it's open source and patches are welcome.
>>
>> I agree with Brian.
>>
>> If you are having problems then invest some time into making them better.
>> And write up the your learnings so others dont face the same problems
>> are you are complaining of.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org