No, I've been using m2eclipse to do the import. I see now that
the maven-eclipse-plugin doesn't like this legal Maven syntax... darn. The
only way I can think of keeping the correct generated archetype and
supporting the maven-eclipse-plugin is by using the Ant replace stuff we had
in place before. WDYT?

On Tue, Mar 22, 2011 at 10:52 AM, Hadrian Zbarcea <hzbar...@gmail.com>wrote:

> Jon, forgot to mention. Did you run mvn eclipse:eclipse? Are you using
> IDEA?
>
> Hadrian
>
> On Mar 22, 2011, at 8:44 AM, Jon Anstey wrote:
>
> > Ah, I remember now why I added this. With the extra resource element
> removed we only include the archetype-metadata.xml file and no
> archetype-resources. I've put them back in so it should be working now.
> >
> > Cheers,
> > Jon
> >
> > On Mon, Mar 21, 2011 at 11:07 PM, Hadrian Zbarcea <hzbar...@gmail.com>
> wrote:
> > Hi Jon,
> >
> > I tested a couple of artifacts (not all) and it worked fine (with maven
> 2.2.1). I obviously used -DarchetypeCatalog=internal,local to test.
> >
> > Cheers,
> > Hadrian
> >
> >
> > On Mar 21, 2011, at 8:41 PM, Jon Anstey wrote:
> >
> > > Hi Hadrian,
> > >
> > > I believe I had to use this ugly syntax to set up property filtering
> for
> > > ONLY the archetype-metadata.xml file. Can't recall 100% why I only
> wanted
> > > this file to be filtered :) I'm assuming the archetypes still work
> after
> > > this commit? I'll check it tomorrow if you don't have time today.
> > >
> > > Cheers,
> > > Jon
> > >
> > > On Mon, Mar 21, 2011 at 7:04 PM, <hadr...@apache.org> wrote:
> > >
> > >> Author: hadrian
> > >> Date: Mon Mar 21 21:34:59 2011
> > >> New Revision: 1083968
> > >>
> > >> URL: http://svn.apache.org/viewvc?rev=1083968&view=rev
> > >> Log:
> > >> Fix wrong duplicate resource declaration
> > >>
> > >> Modified:
> > >>   camel/trunk/tooling/archetypes/camel-archetype-component/pom.xml
> > >>   camel/trunk/tooling/archetypes/camel-archetype-java/pom.xml
> > >>   camel/trunk/tooling/archetypes/camel-archetype-scala/pom.xml
> > >>   camel/trunk/tooling/archetypes/camel-archetype-spring/pom.xml
> > >>   camel/trunk/tooling/archetypes/camel-archetype-web/pom.xml
> > >>   camel/trunk/tooling/archetypes/camel-archetype-webconsole/pom.xml
> > >>
> > >> Modified:
> camel/trunk/tooling/archetypes/camel-archetype-component/pom.xml
> > >> URL:
> > >>
> http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-component/pom.xml?rev=1083968&r1=1083967&r2=1083968&view=diff
> > >>
> > >>
> ==============================================================================
> > >> --- camel/trunk/tooling/archetypes/camel-archetype-component/pom.xml
> > >> (original)
> > >> +++ camel/trunk/tooling/archetypes/camel-archetype-component/pom.xml
> Mon
> > >> Mar 21 21:34:59 2011
> > >> @@ -44,10 +44,6 @@
> > >>    <resources>
> > >>      <resource>
> > >>        <directory>src/main/resources</directory>
> > >> -        <filtering>false</filtering>
> > >> -      </resource>
> > >> -      <resource>
> > >> -        <directory>src/main/resources</directory>
> > >>        <filtering>true</filtering>
> > >>        <includes>
> > >>          <include>**/archetype-metadata.xml</include>
> > >>
> > >> Modified: camel/trunk/tooling/archetypes/camel-archetype-java/pom.xml
> > >> URL:
> > >>
> http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-java/pom.xml?rev=1083968&r1=1083967&r2=1083968&view=diff
> > >>
> > >>
> ==============================================================================
> > >> --- camel/trunk/tooling/archetypes/camel-archetype-java/pom.xml
> (original)
> > >> +++ camel/trunk/tooling/archetypes/camel-archetype-java/pom.xml Mon
> Mar 21
> > >> 21:34:59 2011
> > >> @@ -44,10 +44,6 @@
> > >>    <resources>
> > >>      <resource>
> > >>        <directory>src/main/resources</directory>
> > >> -        <filtering>false</filtering>
> > >> -      </resource>
> > >> -      <resource>
> > >> -        <directory>src/main/resources</directory>
> > >>        <filtering>true</filtering>
> > >>        <includes>
> > >>          <include>**/archetype-metadata.xml</include>
> > >>
> > >> Modified: camel/trunk/tooling/archetypes/camel-archetype-scala/pom.xml
> > >> URL:
> > >>
> http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-scala/pom.xml?rev=1083968&r1=1083967&r2=1083968&view=diff
> > >>
> > >>
> ==============================================================================
> > >> --- camel/trunk/tooling/archetypes/camel-archetype-scala/pom.xml
> (original)
> > >> +++ camel/trunk/tooling/archetypes/camel-archetype-scala/pom.xml Mon
> Mar 21
> > >> 21:34:59 2011
> > >> @@ -44,10 +44,6 @@
> > >>    <resources>
> > >>      <resource>
> > >>        <directory>src/main/resources</directory>
> > >> -        <filtering>false</filtering>
> > >> -      </resource>
> > >> -      <resource>
> > >> -        <directory>src/main/resources</directory>
> > >>        <filtering>true</filtering>
> > >>        <includes>
> > >>          <include>**/archetype-metadata.xml</include>
> > >>
> > >> Modified:
> camel/trunk/tooling/archetypes/camel-archetype-spring/pom.xml
> > >> URL:
> > >>
> http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-spring/pom.xml?rev=1083968&r1=1083967&r2=1083968&view=diff
> > >>
> > >>
> ==============================================================================
> > >> --- camel/trunk/tooling/archetypes/camel-archetype-spring/pom.xml
> > >> (original)
> > >> +++ camel/trunk/tooling/archetypes/camel-archetype-spring/pom.xml Mon
> Mar
> > >> 21 21:34:59 2011
> > >> @@ -44,10 +44,6 @@
> > >>    <resources>
> > >>      <resource>
> > >>        <directory>src/main/resources</directory>
> > >> -        <filtering>false</filtering>
> > >> -      </resource>
> > >> -      <resource>
> > >> -        <directory>src/main/resources</directory>
> > >>        <filtering>true</filtering>
> > >>        <includes>
> > >>          <include>**/archetype-metadata.xml</include>
> > >>
> > >> Modified: camel/trunk/tooling/archetypes/camel-archetype-web/pom.xml
> > >> URL:
> > >>
> http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-web/pom.xml?rev=1083968&r1=1083967&r2=1083968&view=diff
> > >>
> > >>
> ==============================================================================
> > >> --- camel/trunk/tooling/archetypes/camel-archetype-web/pom.xml
> (original)
> > >> +++ camel/trunk/tooling/archetypes/camel-archetype-web/pom.xml Mon Mar
> 21
> > >> 21:34:59 2011
> > >> @@ -44,10 +44,6 @@
> > >>    <resources>
> > >>      <resource>
> > >>        <directory>src/main/resources</directory>
> > >> -        <filtering>false</filtering>
> > >> -      </resource>
> > >> -      <resource>
> > >> -        <directory>src/main/resources</directory>
> > >>        <filtering>true</filtering>
> > >>        <includes>
> > >>          <include>**/archetype-metadata.xml</include>
> > >>
> > >> Modified:
> camel/trunk/tooling/archetypes/camel-archetype-webconsole/pom.xml
> > >> URL:
> > >>
> http://svn.apache.org/viewvc/camel/trunk/tooling/archetypes/camel-archetype-webconsole/pom.xml?rev=1083968&r1=1083967&r2=1083968&view=diff
> > >>
> > >>
> ==============================================================================
> > >> --- camel/trunk/tooling/archetypes/camel-archetype-webconsole/pom.xml
> > >> (original)
> > >> +++ camel/trunk/tooling/archetypes/camel-archetype-webconsole/pom.xml
> Mon
> > >> Mar 21 21:34:59 2011
> > >> @@ -44,10 +44,6 @@
> > >>    <resources>
> > >>      <resource>
> > >>        <directory>src/main/resources</directory>
> > >> -        <filtering>false</filtering>
> > >> -      </resource>
> > >> -      <resource>
> > >> -        <directory>src/main/resources</directory>
> > >>        <filtering>true</filtering>
> > >>        <includes>
> > >>          <include>**/archetype-metadata.xml</include>
> > >>
> > >>
> > >>
> > >
> > >
> > > --
> > > Cheers,
> > > Jon
> > > ---------------
> > > FuseSource
> > > Email: j...@fusesource.com
> > > Web: fusesource.com
> > > Twitter: jon_anstey
> > > Blog: http://janstey.blogspot.com
> > > Author of Camel in Action: http://manning.com/ibsen
> >
> >
> >
> >
> > --
> > Cheers,
> > Jon
> > ---------------
> > FuseSource
> > Email: j...@fusesource.com
> > Web: fusesource.com
> > Twitter: jon_anstey
> > Blog: http://janstey.blogspot.com
> > Author of Camel in Action: http://manning.com/ibsen
> >
>
>


-- 
Cheers,
Jon
---------------
FuseSource
Email: j...@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Reply via email to