FlexTradeUKLtd / jfixture-scala

Customisations for JFixture to make it more useful when writing Scala
3 stars 4 forks source link

Add POM data required for publishing to maven central #1

Closed albx79 closed 8 years ago

albx79 commented 8 years ago

Hey Rich can you have a look at this? I think at this point I'd like to have jfixture scala in maven central, even if it's not very featureful.

richkeenan commented 8 years ago

Hi @albx79 I'm really sorry I somehow completely missed this. I'll take a look today

richkeenan commented 8 years ago

We'll need to setup up a CI build for this and work out how to deploy to Central (e.g. version numbers). The build stuff is easy enough, we can just add the travis yaml file and do the same thing we do for JFixture, but do you have any thoughts on versioning?

The sub JFixture modules (Mockito, Joda) are lock stepped with JFixture to keep it simple. I don't think we need to do that here, but maybe you have ideas?

richkeenan commented 8 years ago

I've added the travis build file and build scripts, and added it to Travis CI (https://travis-ci.org/FlexTradeUKLtd/jfixture-scala) but it's currently failing. I need to remind myself how to do this! It's been a while.

EDIT. Snapshot builds are now passing and deploying to the Nexus Snapshots repo (https://oss.sonatype.org/content/repositories/snapshots/com/flextrade/jfixture/jfixture-scala/1.0-SNAPSHOT/). I'll spin off a release later today hopefully

albx79 commented 8 years ago

Thanks! Are you sure it's still failing? https://travis-ci.org/FlexTradeUKLtd/jfixture-scala#L906 says "success".

I don't have strong opinions about versioning. I don't think jfixture-scala is 2.x quality yet, and if you're saying that keeping the versions sync is more work, then probably it's better to leave it as it is (0.x for the moment).

richkeenan commented 8 years ago

I sorted it all out yesterday. It's on Maven Central! Check out the readme for sbt/Maven details, let me know if you have any problems.

It's version 0.0.1 for now because I don't want to commit to the API just yet as there's a bit of an appetite from devs here to add some more functionality.