Libgdx Maven updates

Update: cause i got a few questions… the things below do not concern you if you don’t use Maven. Everything stays the same for you non-Maven guys!

With the help of beloved PlayN mastermind Michael Bayne, we are brushing up on our Maven build. Effective immediately, we now have proper poms in our master repo. We are now pushing snapshot releases to SonaType, the old private repo of ours is disfunctional from now on. The SonaType snapshot repository is at https://oss.sonatype.org/content/repositories/snapshots/

Also, due to SonaType being strict, we had to change our group id to com.badlogicgames, as we do not own the com.badlogic domain. A minor hiccup that will hopefully not mess up anything on your end.

The libgdx maven archetype has been updated as well. Go read it’s new docs! It is currently pointing to the SonaType repository to fetch the snapshot artifacts. If you have a local libgdx clone, you can remove the repository from the parent pom, do a “mvn clean install” on the libgdx clone, and enjoy working from source, using Maven. Note that the archetype hasn’t been tested with Eclipse/IntelliJ yet. Chances are that it’s broken. I’m currently doing a test run and will report back.

Our Maven setup currently does not support iOS or any of the extensions (apart from gdx-jnigen and gdx-tools). That may change in the near future.

Finally, we’ll publish proper Maven releases to central, starting with 0.9.9 (our next release). We will not publish old versions to central i’m afraid, the effort to do so is just to big.

More updates to come!

6 thoughts on “Libgdx Maven updates

  1. If you have an existing libgdx maven project, I found that I needed to add an extra dependency to my desktop pom after doing the switch:

    com.badlogicgames.gdx
    gdx-platform
    ${gdx.version}
    natives-desktop

  2. Are you still using the libgdxmavenizer project for this? If yes, could you please push the latest changes back to github or add the additional extensions like controller to the new repository?
    Thanks!

  3. Nope, we have full maven poms in the repository now, from which we generate the artifacts and publish them to Sonatype’s snapshot repo. We currently do not have poms for the extensions like the controllers or bullet.

Leave a Reply

Your email address will not be published.