-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-module project doesn't work when parent isn't in repo #37
Comments
FYI - adding: relativePath '../pom.groovy' To the parent section fixes the problem |
Yah, that's still a bug. It's not being defaulted correctly. |
Any timeframe for a fix or is there a workaround? It's a hard stop for me right now. Edit: I should say that I'm using the translator to build the groovy files which is why I can't just add the relativePath |
I can definitely look at it on Monday. Can you work around in the project you're working on adding the relativePath manually, or change the translator to output it? |
I'll look at having the translator do it. |
Hmm - this is hard to do. The mvn runtime seems to be using an embedded reference to TeslaModelTranslator. My changes aren't getting used. |
I can take a look at anything you have tonight. |
@jvanzyl @Randgalt Have you had any chance to look into this? I am still facing the issue with a multi module groovy project. You can find the project here (also the build logs in travis) https://github.com/ExampleDriven/maven-polyglot-groovy-example Adding relativePath did not help. Note : This happens with groovy and scala build scripts as well |
This is part of work to update the entire JRuby/Maven stack, in order to update the version of JRuby used and to address API deprecations at rubygems.org. This PR updates JRuby to latest (9.4.3.0) and moves all plugins to their new org.jruby.maven group ID with latest versions. Fixes takari#37. We will need to coordinate getting this released along with the maven plugins in the very near term. Because of the rubygems.org API being shut down next week (the 8th), we are under the gun. See jruby/mavengem#9, jruby/jruby-maven-plugins#126, jruby/maven-tools#38 and jruby/jruby#7872.
This is part of work to update the entire JRuby/Maven stack, in order to update the version of JRuby used and to address API deprecations at rubygems.org. This PR updates JRuby to latest (9.4.3.0) and moves all plugins to their new org.jruby.maven group ID with latest versions. Part of the fix for jruby/maven-tools#37. (incorrectly tagged as #37 here before) We will need to coordinate getting this released along with the maven plugins in the very near term. Because of the rubygems.org API being shut down next week (the 8th), we are under the gun. See jruby/mavengem#9, jruby/jruby-maven-plugins#126, jruby/maven-tools#38 and jruby/jruby#7872.
NOTE: I've only tried this with groovy
I have a standard multi module project ala:
Performing "mvn compile" from the root produces: "[FATAL] Non-resolvable parent POM for..."
However, if I then do: "mvn -N install" from the root and then do "mvn compile" it works fine.
The text was updated successfully, but these errors were encountered: