Mark:

Cancel the request as to how to test.  I build a 2.1-SNAPSHOT binary and
replaced my $MAVEN_HOME with /usr/local/maven-2.1-SNAPSHOT and tested.  The
patch above doesn't work when I use the following in archetype.xml

<source>src/main/java/data/</source>

[ERROR] ResourceManager : unable to find resource
'archetype-resources/src/main/java/data/' in any resource loader.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: Error merging velocity templates
Unable to find resource 'archetype-resources/src/main/java/data/'
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Dec 04 22:22:46 CST 2006
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
FATAL ERROR: Unable to configure the Maven application
For more information, run with the -e flag
[EMAIL PROTECTED]:~/Test$


David

On 12/4/06, David Whitehurst <[EMAIL PROTECTED]> wrote:

Mark:

I fixed the code like the patch, built and did "mvn install" and then I
tested my archetype and same error, no resource at src/main/java/util eg.

David

On 12/4/06, David Whitehurst <[EMAIL PROTECTED]> wrote:
>
> Mark:
>
> I have the maven source, and I've done a successful mvn package.  I now
> have the archetype-core-SNAPSHOT.  How do I or what maven command do I type
> now to test this out?
>
> I thought it was in $MAVEN_HOME/lib ... I was wrong
>
> Thanks
>
> David
>
> On 12/4/06, Mark Hobson < [EMAIL PROTECTED]> wrote:
> >
> > On 04/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > As for the dummy files comment... You could use the antrun plugin
> > (or
> > > similar) to delete those dummy files immediately after the project
> > is
> > > created via archetype.
> > >
> > > Not a great solution (2 steps required -- create project w/archetype
> > > and then cleanup with antrun) but it would achieve the results you
> > > desire...
> > >
> > > Or perhaps you could just modify the archetype plugin as this is
> > > something that I've seen requested on this mailing list more than
> > > once, so it seems like something people want/expect out of
> > > archetype...
> >
> > Check http://jira.codehaus.org/browse/ARCHETYPE-57
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>

Reply via email to