Srepfler,  I'm having trouble getting this archetype to work.  I
checked out maven-archetypes from svn and ran mvn install and then
tried to run:

C:\>mvn archetype:create -DgroupId=com.j2ee.test -DartifactId=test-app
-DpackageName=com.j2ee.test -DarchetypeArtifactId=maven-archetype-j2ee

This resulted in an error, so I added:

-DarchetypeVersion=1.0-alpha-4-SNAPSHOT

[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------
---
[INFO] Error creating from archetype

Embedded error: Error processing templates.
Unable to find resource 'archetype-resources/site/pom.xml'

Brian

On 10/26/05, Brian Bonner <[EMAIL PROTECTED]> wrote:
> Hi Srepfler,
>
> I'm running maven-eclipse-plugin against one project (in this case
> with a packaging of war) that is sitting normally in the eclipse
> workspace.
>
> In the case of mng-743, I would load each of those sub-projects
> independently into eclipse using File-Import and then run the
> maven-eclipse on the
>
> I'll try to take a look at the archetype later.  I tried to install
> the j2ee archetype, but it blew an error on a bad artifact.  I have a
> guitar lesson and some other stuff going on tonight, but I'll give it
> a go.
>
> Brian
> On 10/26/05, Srepfler Srgjan <[EMAIL PROTECTED]> wrote:
> > Have you tried the your patch to the maven-eclipse-plugin and apply it
> > to the j2ee archetype that was submitted to svn a couple of days ago (or
> > you can download the project template that inspired the archetype here
> > http://jira.codehaus.org/browse/MNG-743 ).
> > Can you tell us what kind of project does it create, how does it change
> > the project directory structure, and is it usable under wtp? Also what
> > is the work flow then, which project code base am I working on the
> > eclipse or the maven one?
> > isn't eclipse able to consummate only flat projects? the j2ee archetype
> > has a main parent project and child projects, how do this gets
> > consummated by eclipse? Also, doesn't the web module require libraries
> > in WEB-INF/lib?
> >
> > Brian Bonner wrote:
> >
> > >Antonio,
> > >
> > >I'm using WTP 0.71 as well.
> > >
> > >Antonio,
> > >
> > >I'm using WTP 0.71 as well.
> > >
> > >mvn eclipse:eclipse is all you *should* need to do.  However, there
> > >might be a bug in the maven-eclipse-plugin.  For the time being:
> > >
> > >I posted:  http://jira.codehaus.org/browse/MNG-1332  This has a quick
> > >patch that enables the eclipse plugin to work for .wtpmodules.
> > >
> > >Check out maven-eclipse-plugin out of svn into eclipse.  apply the
> > >patch and then from the command line issue 'mvn install
> > >-DupdateReleaseInfo=true.
> > >
> > >Brian
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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

Reply via email to