jason icon indicating copy to clipboard operation
jason copied to clipboard

Make Jason available via some Maven Repository

Open gciatto opened this issue 4 years ago • 6 comments

It is not clear if Jason is available via Maven or not.

I'm aware that http://jacamo.sourceforge.net/maven2/ is a Maven repository where Jason can be attained from using the org.jason-lang:jason:VERSION id, but it is not clear to me whether this is intented for public availability or it is unofficial. In the second case, it would be nice to have an official Maven repository for importing Jason as a dependency. In the first case, can we assume the repository always contains the last version of Jason?

gciatto avatar Apr 13 '21 14:04 gciatto

Sourceforge repo is for public availability. However, due to instabilities Jason's last versions are going to another repo, on github.

Please, add this new repository to your gradle files:

repositories {
    maven { url "https://raw.github.com/jacamo-lang/mvn-repo/master" }
}

cleberjamaral avatar Apr 13 '21 14:04 cleberjamaral

I see. This is not actually a real Maven repository... is that a definitive solution?

May I suggest to use Maven Central instead?

gciatto avatar Apr 13 '21 14:04 gciatto

Thanks @gciatto-unibo for the questions.

I agree that Maven Central is ideal. We used to upload Jason there... and still intent to place stable releases there.

But I failed to automatize a task for that and ended up using a git hub project simply because it is faster/simpler to update the jars.

jomifred avatar Apr 13 '21 14:04 jomifred

What's the issue there? Maybe I can help

gciatto avatar Apr 13 '21 14:04 gciatto

I didn't succeed to automatize (by gradle) the publishing in Maven Central. The last time I tried, I have to access a web site and do a lot of click there... something I do not like.

jomifred avatar Apr 13 '21 15:04 jomifred

Asking for permission on OSSRH is a once-in-life activity. I now it's boring but it's worth the time :) Concerning the automation, maybe I can provide some tutorial I you want. I'm glad to help :)

gciatto avatar Apr 13 '21 15:04 gciatto