Mangopay / mangopay2-java-sdk

Java SDK for MANGOPAY
https://search.maven.org/artifact/com.mangopay/mangopay2-java-sdk
MIT License
25 stars 28 forks source link

Any plan for maven artifact distribution ? #1

Closed jvelo closed 8 years ago

mfirry commented 10 years ago

I don't understand: is this library now available on Maven central? Why was this issue closed?

hobailey commented 10 years ago

Hi @mfirry, this is actually not something we're looking to support at the moment but we'll review it again in a couple of months and keep you updated via this thread.

Tony-Hunter commented 8 years ago

This would be really useful - do you have any plans to distribute to Maven central any time soon?

hobailey commented 8 years ago

Hey there, could one of you contact me on support@mangopay.com please?

hectorespert commented 8 years ago

Have any plans to distribute to Maven central or another maven repo?

hobailey commented 8 years ago

If anyone has the time and also experience of Maven to help us with this, it would be hugely appreciated :-)

youribonnaffe commented 8 years ago

Actually, implementing #3 would make it easier, thebintray plugin could then be used to publish the JAR on JCenter It would simplify dependency management too, no need to copy a bunch of JARs and no need to maintain the README for instance (that is outdated since SLF4J is needed as well). I'll be happy to help but it would be better to publish it under your name (Mangopay) on Bintray

hobailey commented 8 years ago

That would be great @youribonnaffe, thank you. Using Gradle to build the SDK wouldn't of course present any breaking changes would it? As for submission, I'm happy to take care of this - it would indeed be best as you say.

ArnaudT commented 8 years ago

Hi,

I am not sure if it is useful to you but we are using this pom.xml to deploy in our local maven repository. https://gist.github.com/ArnaudT/9b03f72e8929894fecce16f88bad6be1

and the command: mvn deploy:deploy-file -DpomFile=pom.xml -Dfile=mangopay2-java-sdk-1.0.7.jar -DrepositoryId=XXX.s3.releases -Durl=s3://XXX-maven-repository/releases

cheers.

hobailey commented 8 years ago

Hey @ArnaudT, that's really useful, thank you - the missing POM file is exactly what's currently blocking us being able to add this to jCenter etc. Do you think you could do a PR with it please?

youribonnaffe commented 8 years ago

Since the maven plugin is used, you can also run generatePomFileForMavenPublication or install to generate a pom.xml file (gradle install, then in build/poms/pom-default.xml).

On 20 May 2016 at 10:18, Hugo Bailey notifications@github.com wrote:

Hey @ArnaudT https://github.com/ArnaudT, that's really useful, thank you - the missing POM file is exactly what's currently blocking us being able to add this to jCenter etc. Do you think you could do a PR with it please?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/Mangopay/mangopay2-java-sdk/issues/1#issuecomment-220544228

hobailey commented 8 years ago

Hey everyone, just to say that we've now resolved these issues (and released v1.1.0). Everything is now correctly in sync with Bintray and the POM files are correctly named/included. We've requested that it be made available Maven central and are just waiting for it to be accepted :-)

hobailey commented 8 years ago

Hey again - just to let you know that the package has been accepted on jCentral, so it's now available there :-)