-
Notifications
You must be signed in to change notification settings - Fork 324
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
Upgrade to Maven 3 #174
Upgrade to Maven 3 #174
Conversation
Quite a big change. Guess the next release should be 1.3 then. |
...and thanks for the pull request! |
@tmortagne @ebourg any objections to merge? |
</dependency> | ||
<dependency> | ||
<groupId>org.apache.ant</groupId> | ||
<artifactId>ant</artifactId> | ||
<version>1.9.3</version> | ||
<version>1.9.4</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see what this has to do with Maven 3.
I don't have anything against moving to Maven 3, keeping Maven 2 support does not really bring much. Now on the pull request itself, there is several things that don't have anything to do with Maven so several commits would be cleaner IMO. |
@@ -256,7 +251,7 @@ | |||
<dependency> | |||
<groupId>junit</groupId> | |||
<artifactId>junit</artifactId> | |||
<version>3.8.2</version> | |||
<version>4.11</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, I don't see the relationship with Maven.
Indeed - it's more a "upgrade of dependencies" pull request like this. |
...but as long as it works I wouldn't be too anal about it. |
Yeah, guess I went a little overboard :-) I took those off this pull request. Can do them separately in a later one perhaps |
Awesome! |
Awesome work @benmccann ! |
Thanks @benmccann :) |
Do we know the exact dependency that pulls the old version of slf4j? |
Given #173, I would guess that it's maven-core |
@ebourg you OK to install a cron job? because then I would say - let's merge that baby :) |
Go ahead, I'll stick with an older version until I get the time to configure Nexus. |
Boom! When will the |
@muuki88 I'll be offline for 7 weeks from next Monday. No promises for a release before. |
Thank you guys so much! @ebourg really, really appreciate your flexibility with the Maven version |
Ay-ay-ay! 2 months is a long time! Is there anything we can help with to speed that up? Even a milestone or RC release would be helpful. It doesn't have to be a final version |
Well, install Nexus and deploy a snapshot? ;) |
No publish rights for |
@muuki88 I am sure he meant a local instance ;) @benmccann We don't really do RC releases and I am sure everyone here knows how to build this little project. The more people reporting 1.3-SNAPSHOT to be working fine the more likely I am to release it without testing it myself (which I don't have time for before I leave). It would not be so cool to have a broken 1.3 out while I am gone. |
@tcurdt is there anything you'd do to test it yourself that isn't covered by the unit tests? Maybe we can do that testing for you I can see how releasing a broken version and then leaving town would be not the most awesome situation. At the same time, I don't think anyone would be too upset given that 1.2 would still work. If you want to break from convention, I think an RC version would stop anyone from complaining if there were an issue |
Good question. I usually just do a couple of random builds of existing projects with it. No real testing plan :) Would be great if we had more tests for this. Of course you are right about 1.2 still being around. As I am a friend of release early and often I might be OK with that. |
+1 to release early and often! =) i just tested this with sbt-native-packager and it worked well
Add to Then run:
All the tests pass:
|
oh you have some external tests as well. that's cool. |
Yeah, sbt-native-packager has a pretty big suite of integration tests. The tests above are all integration tests. There's another suite of unit tests that's also run separately. I feel pretty good about the changes given that they passed both the jdeb and sbt-native-packager tests. That should be pretty good coverage. And a change like this would probably fail in a large way if it were to cause a problem. |
Given that we ran it through a bunch of testing and that it'd be nice to release early and often, am I able to convince you to cut a release now? :-) If you have any other concerns I'll do my best to address them |
I didn't test this at all except to run
mvn test
. Do you think that's sufficient and likely to work?