Maven plugin for Grails.
Questions tagged [grails-maven]
17 questions
5
votes
3 answers
How to make Grails get latest local jars from Maven repository?
In my Maven repo (.m2). there is one my local jar like sub_app-0.1.jar.
I have same copy of the it in ivy-cache.
I run maven install on sub_app then new sub_app-0.1.jar file created.
After, I run grails clean and it not getting my new…

Sun
- 3,444
- 7
- 53
- 83
3
votes
1 answer
Grails fix for GRAILS-11813 trips up Maven
Upgrading a Grails 2.2.4 project to 2.4.4 I ran into GRAILS-11813. The fix offered by Graeme Rocher is to add to conf/BuildConfig.groovy:
management {
dependency 'org.springframework:spring-beans:4.0.7.RELEASE'
}
With this fix everything…

sodastream
- 129
- 10
3
votes
2 answers
Why do I get a 400 when attempting to use publish-plugin from the Grails Release plugin
I'm using Grails 2.4.1 & The Grails Release plugin version 3.0.1.
I have a Sonatype nexus repository (v2.3.1-01) setup that's in use by several other projects with no issues.
I'm attempting to create a new Plugin that I want to distribute through a…

Randyaa
- 2,935
- 4
- 36
- 49
3
votes
2 answers
Grails and Local Maven Dependencies
I'm developing a small web frontend in Grails. It is basically a "ultra light-weight" client app that is connected async through JMS.
I have two dependencies in the project that I would like to pull from a Maven repository. They is activemq and…

raoulsson
- 14,978
- 11
- 44
- 68
2
votes
1 answer
settings.groovy not read by grails-maven-plugin
I have a Grails application that has depencencies in MavenRepos that need authentication.
Therefore I've set the following property in my settings.groovy.
grails.project.ivy.authentication = {
credentials {
realm = "Sonatype Nexus…

Will
- 2,858
- 6
- 33
- 50
1
vote
1 answer
gmaven grails project not using maven-war-plugin
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 war. When running mvn grails:war I don't get the…

Max Anderson
- 11
- 2
1
vote
0 answers
Issues with maven compiler
I am trying to use jetty plugin for a grails project. I am currently using jdk 1.6.0_45. It seems that the jre version used by jdk 1.6 is a little old one for jetty plugin and it generates the following error.
Fatal error during compilation…

Rammohan
- 493
- 6
- 27
1
vote
0 answers
Grails - building modularized project with maven
I am developing grails 2.3.4 application and I'm trying to add maven (3.1.1) for build purposes. I do it so because my project is modularized (2 plugins, 1 app - for now, there will be many more plugins later) and I would like to have tool that…

Tom
- 181
- 1
- 8
1
vote
1 answer
Maven Grails Building with 'mvn clean install' doesn't work
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 Java class (held under the grails-app/util folder) can't compile…

James Camfield
- 1,636
- 3
- 16
- 24
1
vote
2 answers
Grails environment config when running Maven goals
I am trying to build my grails project with Mavan and the maven-grails-plugin.
The plugin config in my pom.xml file looks like this:
org.grails
grails-maven-plugin
…

cowls
- 24,013
- 8
- 48
- 78
0
votes
1 answer
Issue building Grails project with Maven
I'm creating a "Mavenised" Grails project but am having trouble running the maven install goal on the project.
To create the project I've used the following archetype: grails-maven-archetype
It has built my project structure correctly and set up all…

cowls
- 24,013
- 8
- 48
- 78
0
votes
1 answer
Grails 1.3.7 maven plugin cannot find hibernate dependency
I'm a little new to Grails, but here's the scenario: I'm using Grails 1.3.7 and I have a custom plugin with a dependency on Hibernate. In the MyPluginGrailsPlugin.groovy I have:
def dependsOn = [hibernate: "1.3.7 > *"]
This plugin is deployed to…

user120840
- 33
- 1
- 6
0
votes
1 answer
Add Maven to a Grails project
first question here :)
I have a Grails project (using version 2.5.6) and instead of using grails to generate the war file, like I'm doing now, I need to compile the project with Maven.
I was wondering if anyone here had ever implemented Maven on a…

Brun0
- 1
- 3
0
votes
0 answers
Run only integration tests on a Maven exec
I want to run only my integration tests using the grails-maven-plugin. I setup a profile to run the exec command as such:
run-tests
…

janDro
- 1,426
- 2
- 11
- 24
0
votes
1 answer
Unable to figure out maven issue
I am new to maven and trying to learn it. I am currently trying to build my grails application using maven. While compiling the pom I was getting this error
Failure to find org.codehaus.groovy:groovy-all:jar:2.4.2 in…

Rammohan
- 493
- 6
- 27