-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add support for Maven 3.1.0 #10
Comments
Hi, Yes, it's a known issue of Sonatype deliberately breaking compatibility between Maven 3.0.x and Maven 3.1.x now forcing everyone to upgrade. I opened an issue in project's tracker: http://evgeny-goldin.org/youtrack/issue/pl-695, will address it for 0.3 release. Ideally, plugins will be able to run on both versions but if not then Maven 3.1.0 only. |
How is progress coming on this issue? |
Also waitig for this-- |
I am also waiting for this |
Please, I also need it! Thank you very much! |
I am also very interrested in this. |
This would be very beneficial for me as well 👍 |
Any progress so far? |
I'm also waiting on this one :) |
Hi guys, sorry to keep you waiting, been busy with other projects. I plan a release of 0.3 version having this issue addressed to the second half of December. |
Hi Evgeny, any news on this issue? Regs, |
I am also waiting for a fix. Is there any progress? |
Any updates on this one? |
I love the copy-maven-plugin. We have run into the 3.1 compatibility issue. Waiting for a fix. Thanks! |
I'm also waiting for a relase with Maven 3.1 support. What about the December promise!? |
I'm also waiting for this fix. |
Any updates? We also like to use Maven 3.1 |
I'm also very interested because travis is using maven 3.1. |
This will please the people using Travis ... |
Is this project still alive? Is there an alternative to this plugin in maven-3.1.1? |
The most frustrating of all is that it should be literally a 5-minute change: https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound |
I'm not familiar with maven/java to do this myself but there's lots of complaints and no pull requests. I'm sure if one where there the author would happily merge and deploy. |
I've actually had a look at the code, but building the project itself was proving to be a challenge, and then I also had to realize, that some of the Aether dependent code is written in Groovy, so I admit I just simply gave up. :( |
Got this now as well! |
I'm absolutely not into Groovy, but I don't think that's a minor change to make this work. After editing the code a bit, I found my maven build terminating with this error: [ERROR] Number of foreign imports: 1 Don't know, if anyone got an idea here. |
Sorry folks for not being able to address this issue. No, it's not a 5-minute change, I can guarantee you that - I've accessed various private Aether fields in Groovy (since its API is so limited that it left no other way) and in the new version all these access points need to be reviewed and tested, something I can not allocate time for right now. Feel free to ping me at evgenyg@gmail.com with any build issues, it should be a very straightforward process. It would be nice if one of you just forks the project as I'll surely have no time to go through all the tests (https://github.com/evgeny-goldin/maven-plugins-test) if they fail after the pull-request, if one is made. I understand it can be painful for some of you but I'm not able to support this project at this point as I've moved as far away from Maven as I could. |
Same problem here... Any update to fix this issue? |
+1 same problem, have you a plan for this correction ? We can test something if you want |
+1 |
1 similar comment
+1 |
* Changed maven version to 3.2.2 * Remove enforcer rule for maven version 3.0.5 * Replace aether sonatype with eclipse (evgeny-goldin#10) * Replace sonatype aether packages in src code with the eclipse packages * Change enforcer plugin to version 1.3 to be compatible with mave 3.2 (https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound) Note: Silencer plugin is not configured to run while building the maven plugins anymore, since previous version of the plugin is not compatible with the new one.
+1 |
Just wanted to let you know I managed to the same functionality I needed from this plugin using the following plugins:
Also I've seen that this plugin can run scripts written in Beanshell and also supports Groovy. |
I made another fork which now supports maven 3.0, 3.1 and upwards. It's available at https://github.com/jboesl/maven-plugins. |
Can you provide a pull request please? It will be fix this repo too. Thanks a lot for your work ! |
I fixed line endings too so there are quite a lot diffs in the pull request. I don't think that pull request would be accepted. |
Oh I see. Can you provide another pull request with only fix for Maven? |
That's difficult because I'm on linux and am having problems with the line endings in this project. |
I will try this so |
The WayBack machine seems to have the documentation: http://wayback.archive.org/web/20140707025424/http://evgeny-goldin.com/wiki/Maven_Plugins |
Thanks seanf. I added a copy of the documentation to the sources. |
For those not wanting to build their own plugin I started a new It's heavily inspired by this great plugin here, but works only on local content and is written in plain java as I did not understand fully the groovy setup of Before I was using the |
Thanks @Antibrumm , it will be great to have a new maintener of this very good plugin ! |
Can anybody give me an update on the state of the plugin? Is the original plugin (0.3-SNAPSHOT) bugfixed for maven 3.1? I can't use the fork of antibrumm since it requires java 1.8 and maven 3.2+ |
Afaik evgeny-goldin has no plans to continue this project. There are forks that work with current maven versions like mine but those forks are not available at maven-central. |
Your version fixed some more stuff (line endings) - how does it effect the usage? Where and how is this relevant? Does it effect the plugin in anyway on different operating systems like windows? Does your version has the same requirements regarding the java and the maven version like the original plugin? |
|
Sounds good :-) Two last questions: 1) Which version should be used? 0.3-beta-1 or 0.2.6-beta-2? |
Since there seem to be quite some people interested on that plugin maybe we should ask evgeny-goldin how the work should be continued. I'll look into that. |
I think we shouldn't abuse this ticket for stuff that doesn't belong here. If you encounter issues with the fork please create an issue over there. |
i was using the goldin plugin to copy the resource from one to other location and was getting the same issue in maven 3.1.x or 3.2.x . If anybody is/was using the goldin for same purpose there is one alternative to use maven-resources-plugin to achieve the same via copy-resources. more details on it is available on http://stackoverflow.com/questions/19409220/copying-multiple-resource-directories-to-independent-target-directories-with-mav. |
We're using the |
The original plugin to copy resources no longer works with Maven 3.1 and above: evgeny-goldin/maven-plugins#10 Instead, a replacement is used that can, however, not unpack ZIP files: https://github.com/Antibrumm/copy-maven-plugin For unpacking, a separate plugin is employed.
Currently it seems that the plugins are not yet working with Maven 3.1.0, they are failing with:
This link seems to be relevant:
https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound
The text was updated successfully, but these errors were encountered: