-
Notifications
You must be signed in to change notification settings - Fork 578
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
Migrate build system away from Ant #37
Comments
The amqp-client already has a maven pom.xml file. My point is you might want to do both at least for dependency management for now. What do you think ? |
Maven is fine but most Java projects at Pivotal use Gradle. I also find Maven to be a real pain when you need to do
|
@PatrickSauts lets put it this way: we have ant targets that shell out (start external processes). If you can help us find a suitable and sane Maven plugin for that, I'd consider Maven (after consulting with the Spring team). Maven would be a significant step in the right direction for us. |
There is an https://maven.apache.org/plugins/maven-antrun-plugin/. I used in the past that might fulfill the need. At least at the beginning. |
@PatrickSauts it depends what exactly we mean by "deployment" :) I see no problem with having a shell script that uses Maven and basic *nix tools as appropriate. Starting nodes in our test suite and standard JAR packaging/Bundlor are the hardest parts. @dumbbell may be able to suggest something else. Just to set some expectations: this will be merged after 3.6.0 ships, and thus #114 will have to wait until 3.7. Better late than never, of course, and you can safely run a JAR from master with a released server version, the protocol has been very stable for the last 5 years. |
@PatrickSauts thank you for stepping up to help, by the way! |
@michaelklishin My pleasure |
@michaelklishin The tests can be run with I'm working on adding a few more things to the pom.xml for the jars to be standard. And also with the right
you can run I'll also add maven version plugin, so to set a version you can run it this way That's a better alternative than the release plugin. Does this match your expectations, anything else ? |
@PatrickSauts can you submit a pull request for this repo and assign it to me? Now that we are (almost) done with |
… plugins for javadoc source and jar with descriptors + add maven versions plugin
@michaelklishin I can't assign the pull request |
By the way you can also run the perf tests like this or with arguments
Basically any class with a main inside package com.rabbitmq.examples without the need to moving any jar around, the classpath is defined by maven. I added a |
Ant has taken us quite far but it's showing its age. I feel we should follow what most modern (and very likely future) JVM-based projects at Pivotal use: Gradle. We'll be able to piggyback on the existing Spring team infrastructure and have nightly snapshots published to Bintray, Spring repositories. Releases also can then easily be published to the two mentioned above plus Maven Central.
Finally, Gradle is just a nicer and more widely used tool. Good idea for making it easier to contribute.
The text was updated successfully, but these errors were encountered: