SpoonLabs / gumtree-spoon-ast-diff

Computes the AST difference (aka edit script) between two Spoon Java source code abstract syntax trees
http://hal.archives-ouvertes.fr/hal-01054552
Apache License 2.0
154 stars 41 forks source link

Release Gumtree Spoon #16

Open GerardPaligot opened 8 years ago

GerardPaligot commented 8 years ago

There is any plan to release this project on Maven Central?

martinezmatias commented 8 years ago

I would be great. It would simplify the installation of tools that use it such as Coming https://github.com/Spirals-Team/coming

GerardPaligot commented 8 years ago

To publish on Maven Central, we must:

  1. Prepare the pom.xml file.
  2. Make a request on Sonatype.
  3. Publish.

To make a request on Sonatype, we communicate our group id and as soon as Maven Central open a way to release on this group id, we can make releases with any artifact id on this group id.

For now, we have:

I don't care about the group id we'll choose but "spirals" is temporary. In some years, the team will have another name. So it is maybe not the better solution. Have you an opinion about this point?

Another point is credential. To publish on maven central, we must sign our jar with GPG credential. How manage this credential?

GerardPaligot commented 8 years ago

I spoke with Lionel about this issue. We found 2 propositions: fr.inria.gforge.spoon.labs (subdomain of the Spoon group id) or the actual fr.inria.spirals.

What do you think about this?

martinezmatias commented 8 years ago

I'd go for r.inria.gforge.spoon.labs.

GerardPaligot commented 8 years ago

Congrats, Gumtree Spoon has been released and is on the way for Maven Central! :)

martinezmatias commented 8 years ago

Cool Gerard! Nice work!

GerardPaligot commented 8 years ago
<dependency>
    <groupId>fr.inria.gforge.spoon.labs</groupId>
    <artifactId>gumtree-spoon-ast-diff</artifactId>
    <version>1.0.0</version>
</dependency>

Available on Maven Central.

monperrus commented 3 months ago

FYI CD job fixed and gumtree-spoon-ast-diff 1.70 is published https://repo1.maven.org/maven2/fr/inria/gforge/spoon/labs/gumtree-spoon-ast-diff/1.70/