grails-maven

How to make Grails get latest local jars from Maven repository?

纵饮孤独 提交于 2019-12-19 19:44:31
问题 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 sub_app-0.1.jar from .m2. But, if I remove (delete) sub_app-0.1.jar file from ivy-cache and run the grails clean then it is getting new sub_app-0.1.jar file into ivy-cache. If I change the version in sub-app pom and grails pom and Grails is taking latest one.

Grails and Local Maven Dependencies

旧时模样 提交于 2019-12-19 04:02:19
问题 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 acme-adapter-api , a in-house dependency, not available at the remote repository. I set up my BuildConfig.groovy ( Grails 1.2M4 ) file like this, in order to access my dependencies: repositories { grailsPlugins() grailsHome() mavenCentral() mavenRepo(

Grails and Local Maven Dependencies

笑着哭i 提交于 2019-12-01 00:07:00
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 acme-adapter-api , a in-house dependency, not available at the remote repository. I set up my BuildConfig.groovy ( Grails 1.2M4 ) file like this, in order to access my dependencies: repositories { grailsPlugins() grailsHome() mavenCentral() mavenRepo('D:/maven-repo') } dependencies { compile 'org.apache.activemq:apache-activemq:4.1.1' compile 'com.acme