grails « Development « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » Development » grails 

1. Can't get Grails 1.1 to work with Maven 2.1    stackoverflow.com

When I try to build a Grails 1.1 project with Maven 2.0.9 or 2.1, I get this error:

[INFO] [grails:maven-compile {execution: default}]
Running pre-compiled script
Environment set to development
Plugin [debug-1.0.2] not installed, resolving..
Reading remote ...

2. Maven Grails Building with 'mvn clean install' doesn't work    stackoverflow.com

I've built a Maven Grails project which can be build fine using command mvn grails:war. However, using the standard mvn install fails to work - I get exceptions complaining that a util ...

3. What are the steps to upgrade maven/grails from 1.2.0 to 1.2.1?    stackoverflow.com

I have recently started a new project using the maven grails archetype - at the time, (a few weeks ago), Grails 1.2.0 was the most recent release. Now that there's a ...

4. How to create my first Grails project in IntelliJ, with Maven?    stackoverflow.com

  • The goal: create my first Grails project, in IntelliJ, with Maven support.
  • Myself: Noob to Groovy/Grails, has some Maven experience but not too much
  • The tooling: Groovy 1.7.5, IntelliJ 9.0.3 and Maven 2.0
What ...

5. create grails project from Maven archetype    stackoverflow.com

When I try to create a Mavenized Grails 1.3.6 project using the archetype:

mvn archetype:generate -DarchetypeGroupId=org.grails 
-DarchetypeArtifactId=grails-maven-archetype -DarchetypeVersion=1.3.6 
-DgroupId=example -DartifactId=my-app 
-DarchetypeRepository=http://repo1.maven.org/maven2
I get the error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.0:generate ...

6. How do I resolve these maven 2 warnings?    stackoverflow.com

I'm using Maven 2.2 with Grails 1.2.1. When trying to run the "integration-test" target, I get some cryptic warnings, which I can't figure out how to resolve ... davea-mbp2:socialmediaproxy davea$ mvn ...

7. Trouble running maven-grails test cases    stackoverflow.com

I'm using Maven 3.0.3, Grails 1.2.1. I mavenized my Grails project, however, although I've created integration and unit tests, maven does not run them. Granted the tests are in ...

8. Why is maven looking for `webapp\WEB-INF\web.xml` instead of `web-app\WEB-INF\web.xml`    stackoverflow.com

I have a Maven/Grails app that almost builds, but fails to find web.xml at [my-app]\webapp\WEB-INF\web.xml. But the directory structure contains a web-app folder, as usual, not webapp. Is this a matter of ...

9. Does Grails + Maven + JCL work in conjunction?    stackoverflow.com

I'm working with IntelliJ IDEA 10.0.1 and Grails 1.3.7. I have a mavenized Grails project which depends on many logging libraries. Here's the problem:
I have to use JCL as logging framework, but ...

10. gmaven grails project not using maven-war-plugin    stackoverflow.com

I'm having issues with a filtered context.xml file being packaged in a mvn grails:war execution. I have it working when you do mvn war:war but doing that doesn't create my grails application ...

11. Set a different classpath for just one grails command    stackoverflow.com

I need to set a different classpath for one single grails xxx command. The point is that my application uses latest version of commons-httpclient. I have no problems with this. But after ...

12. Adding Grails command to Maven phases -- what am I doing wrong?    stackoverflow.com

I need to build my Grails project with Maven, and it is necessary to add an additional grails command. I'm using the grails-maven-plugin to create the pom file, and I can ...

13. Maven fails to build Grails project -- AsyncException, RegexSupport?    stackoverflow.com

I'm using Maven to build a Grails 1.3.7 project. It builds on my machine, but on the build server I get an AsyncException, which doesn't mean anything to me:

[INFO] [grails:maven-grails-app-war]
[INFO] Using ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.