-
Notifications
You must be signed in to change notification settings - Fork 33
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
Resolve tiles from current reactor #65
Comments
If a tile is defined in the current reactor and used in one of the modules, it should be resolved directly from the reactor. Otherwise you need to install the tiles in a pre-build step first. Change-Id: I3b30874fabc0833de9be21bde7142dbd7dc5dcf5
gerrithub sumission added: https://review.gerrithub.io/#/c/282730/ |
If a tile is defined in the current reactor and used in one of the modules, it should be resolved directly from the reactor. Otherwise you need to install the tiles in a pre-build step first. Change-Id: I3b30874fabc0833de9be21bde7142dbd7dc5dcf5
patch looks good. we really do need some better integration tests to ensure stuff isn't breaking existing things. I'll pull this change in the weekend and see what happens to our stuff. |
On 15 Jul 2016, at 12:02, Richard Vowles wrote:
I've been meaning to get a chance to look at these PR/revs but have been snowed under with work. I did see one of them was to allow defining tiles inside a reactor build. If we land that, when we could setup some multi-module builds using invoker as tests - define a tile and use it in a test. Altho that might want a tile per test which could be cumbersome, we could just set up a separate repo with a test tile. Mark Derricutt |
Yes, agreed - we really need to get better testing for this, particularly On Sat, Jul 16, 2016 at 8:55 PM, Mark Derricutt notifications@github.com
Richard Vowles, ph: +64275467747, web: www.google.com/+RichardVowles |
I'm also affected by this bug. Any workarounds while it's not solved ? |
I merged this fix @ivoleitao and released 2.9 |
Hello, I only recently needed this feature and noticed that the code was not merged. I've forked this and merged the code and I can confirm that it's working perfectly. I'ts possible to merge this fix and release a new version ? Many Tnks, |
You are using 2.10? |
Yes, I checked the master also and the code is not merged. I've looked at https://review.gerrithub.io/#/c/282730/ most specifically to the method:
and it's missing code (not only this one but others also). If you compare that method in https://github.com/repaint-io/maven-tiles/blob/master/src/main/groovy/io/repaint/maven/tiles/TilesMavenLifecycleParticipant.groovy with the one from the commit in here c8c44f0 they are different. Regards, |
I've merged the two reviews:
and everything seems to be working ok so far on local projects. Have also made some dependency updates ( latest Groovy, gmaven, maven ) and will push that for a review tonight as well, and hopefully get a release out. |
…29418/repaint-io/maven-tiles into feature/to-merge * ssh://review.gerrithub.io:29418/repaint-io/maven-tiles: Resolve tiles from current reactor (Fixes #65) Change-Id: I454352ee1f8932494d8d29567ab9ecb31b4529c4
2.11 now released. |
Hello, I've updated to the new version but unfortunately something has gone terrible wrong since my builds stopped working. I think this must be related with some of the dependency updates. I'm obtaining a rather strange error message: [ERROR] Unable to load, try another Isolator. org.sonatype.aether.impl.VersionRangeResolver -> [Help 1] I cannot build any of my projects that use 2.11 :-(. I've reverted to a internal version that I have generated and which I have merged and everything started work again. Regards, |
What version of Maven are you using? I tested against 3.5.1 and the current 3.5.3 releases. Are you using an older 3.3.x or something? |
You're right - it doesn't work under 3.3.9 anymore. |
Hi, Regards, |
IntelliJ still bundles Maven 3.3.9, which is the most convenient version to use when you work on multiple environments can't rely on the path to maven to be consistent. |
If a tile is defined in the current reactor and used in one of the modules, it should be resolved directly from the reactor. Otherwise you need to install the tiles in a pre-build step first.
The text was updated successfully, but these errors were encountered: