mpetazzoni / ttorrent

BitTorrent Java library with tracker and download client
http://mpetazzoni.github.com/ttorrent/
Apache License 2.0
1.38k stars 502 forks source link

Maven packages is not up to date. #225

Closed Kuinox closed 5 years ago

Kuinox commented 6 years ago

Hi, The availabe maven package of ttorrent is the version 1.5 and is not up to date.
Can you update the maven package ? Thanks.

Dead-off commented 6 years ago

i never loaded libraries into maven repo. How i understand for loading library private keys are requiring and only @mpetazzoni has they.

ghost commented 6 years ago

So the following will import old code I'm assuming?

compile 'com.turn:ttorrent-core:1.5'

Dead-off commented 6 years ago

right

ghost commented 6 years ago

Are you able to tag the new release though? That will enable importing it using tools like JitPack.

Dead-off commented 6 years ago

good idea:) i will do it after fixing some problems

Dead-off commented 5 years ago

i tagged new release by ttorrent-2.0 tag. Without access to sonatype i cannot upload new version to maven central repo or jcenter but you can add jitpack repository and add dependency (see https://jitpack.io/) compile 'com.github.mpetazzoni:ttorrent:ttorrent-2.0' but it's unsecure way. Do it only if you trust to jitpack:)

lanedas commented 5 years ago

Hi, tried your workaround of using jitpack. Unfortunately net.sf:jargs:1.0 is missing but I barely find a official repo which contains this lib. Do you have an idea?

Thanks!

Dead-off commented 5 years ago

try to add jboss repository: maven { url 'https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/' } in your build.gradle or similar line if you use maven. It's something like:

<repository>
    <id>jboss-thirdparty-releases</id>
    <name>JBoss Thirdparty Releases</name>
    <url>https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/</url>
</repository>
lanedas commented 5 years ago

thank you for your fast reply. will test it!

mpetazzoni commented 4 years ago

@Dead-off Do you know how I could transfer that ownership to you so you can publish new releases to Maven Central? I can't find any instructions about this is Sonatype's repository. You may have to contact them directly.

EArminjon commented 4 years ago

251