I use:
My approach was to create a Grails application, then convert it to a Maven project, and then I added the Java Maven project as a dependency through the option "Java Build Path" → "Projects". But every time I want to start the Grails application, the Grails application cannot resolve these classes from my other Java Maven project. This may be a very simple problem, but I have not yet found any solution.
Thank you in advance!
I had the same problem that it was not possible to allow class changes in a separate Maven module. What worked for me:
GGTS 3.4 Grails 2.1.2 . , Maven , .
, , grails, BuildConfig.groovy:
1) maven :
repositories { inherits true checksums false grailsPlugins() mavenLocal() mavenCentral() }
2) :
dependencies { compile: "<your_group_id> : <your_artifact_id> : <version>" ... }
grails env,
Maven, pom.xml "".
:
<dependencies> <dependency> <groupId>your-library-project-group</groupId> <artifactId>your-library-artifact-id</artifactId> <version>your-library-version</version> <scope>compile</scope> </dependency> </dependencies>
Source: https://habr.com/ru/post/1532986/More articles:Передача аргументов карты Perl - perlHow to transfer Windows host env to Vagrantfile? - windowsCan't access the genomic chamber? - androidCan I use a Judy array in Java? - javaHow to get all items in multiple lists in a bottle? - pythonjson newtonsoft: Deserialize An object containing a list of strings - c #labelColor not responding in Passbook Pass - ioshyphen and apostrophe - same ASCII code in different languages? - windowsHow to add a named vector as a string to a data frame - rПростое использование QNAM вызывает утечку памяти - c++All Articles