I just wanted to express my support for getting grails working with maven.
I know this will be useful int he future.  I wish I had time to help.

Thank you,

--Nik Everett

On Tue, Nov 11, 2008 at 8:58 AM, Pablo Saavedra
<[EMAIL PROTECTED]>wrote:

> Have you tried using the -U flag?
>
> 2008/11/11 Ed <[EMAIL PROTECTED]>
>
> > I tried the archetype, and had no luck. I already have grails
> > installed (of course) but wanted to give it a try to take it for a
> > spin:
> >
> > D:\src\workspace-Grails> mvn archetype:generate
> > -DarchetypeGroupId=org.grails
> > -DarchetypeArtifactId=grails-maven-archetype
> > -DarchetypeVersion=1.0-SNAPSHOT
> > -DarchetypeRepository=http://snapshots.repository.codehaus.org
> > -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
> >  mvn archetype:generate -DarchetypeGroupId=org.grails
> > -DarchetypeArtifactId=grails-maven-archetype
> > -DarchetypeVersion=1.0-SNAPSHOT
> > -DarchetypeRepository=http://snapshots.repository.codehaus.org
> > -DgroupId=com.summitbid -DartifactId=TestGailsArchetype
> > [INFO] Scanning for projects...
> > [INFO] Searching repository for plugin with prefix: 'archetype'.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Maven Default Project
> > [INFO]    task-segment: [archetype:generate] (aggregator-style)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Preparing archetype:generate
> > [INFO] No goals needed for project - skipping
> > [INFO] Setting property: classpath.resource.loader.class =>
> > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> > [INFO] Setting property: velocimacro.messages.on => 'false'.
> > [INFO] Setting property: resource.loader => 'classpath'.
> > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> > [INFO] [archetype:generate]
> > [INFO] Generating project in Interactive mode
> > [INFO] Archetype defined by properties
> > [INFO] snapshot org.grails:grails-maven-archetype:1.0-SNAPSHOT:
> > checking for updates from grails-maven-archetype-repo
> > Downloading:
> >
> http://192.168.2.2:8090/archiva/repository/internal/org/grails/grails-maven-archetype/1.0-SNAPSHOT/grails-maven-archetype-1.0-SNAPSHOT.jar
> > Downloading:
> >
> http://192.168.2.2:8090/archiva/repository/internal/org/grails/grails-maven-archetype/1.0-SNAPSHOT/grails-maven-archetype-1.0-SNAPSHOT.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] The desired archetype does not exist
> > (org.grails:grails-maven-archetype:1.0-SNAPSHOT)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Tue Nov 11 05:54:44 MST 2008
> > [INFO] Final Memory: 8M/14M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> >
> >
> > On Sat, Nov 8, 2008 at 4:06 AM, Peter Ledbrook <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Hi,
> > >
> > > I have been working on the Maven integration for Grails, basically
> > > incorporating the Maven Grails Plugin and taking advantage of some
> > changes
> > > in Grails itself. There is now an archetype available that you can use
> to
> > > create Grails projects without having to install Grails manually. The
> > > command line is:
> > >
> > >  mvn archetype:generate -DarchetypeGroupId=org.grails \
> > >    -DarchetypeArtifactId=grails-maven-archetype \
> > >    -DarchetypeVersion=1.0-SNAPSHOT \
> > >    -DarchetypeRepository=http://snapshots.repository.codehaus.org \
> > >    -DgroupId=example -DartifactId=my-app \
> > >
> > > Once you have a project, you can execute the standard phases: "clean",
> > > "compile", "test", and "package". It's a bit rough around the edges to
> > say
> > > the least, so there might be a few problems.
> > >
> > > I'm interested in what people think and whether it plays ok with other
> > > plugins (I suspect mostly not). Issues should be raised as sub-tasks
> of:
> > >
> > >  http://jira.codehaus.org/browse/GRAILS-3547
> > >
> > > Regards,
> > >
> > > Peter
> > >
> > >
> > > --
> > > View this message in context:
> >
> http://www.nabble.com/Experimental-Grails-archetype-tp20395006p20395006.html
> > > Sent from the Maven - Users mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> > Ed
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to