mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
11.28k stars 1.76k forks source link

libtiled: update maven artifact (automatically?) #2929

Open hoxu opened 4 years ago

hoxu commented 4 years ago

org.mapeditor/libtiled maven artifact is outdated (1.2.3).

It would be nice to get a new release, as there are new changes to libtiled (#2829 at least).

bjorn commented 4 years ago

Indeed in addition to #2829 there have been significant changes in the recently merged #2207 as well.

@mikepthomas Would you be able to help with this?

mikepthomas commented 4 years ago

Sure I’ll take a look at releasing this weekend 😀 I don’t think it’s trivial to do so automatically as you need to sign the assets with a gpg key (I’m currently using my personal one as we don’t have gpg set up with a valid key on a CI server) and there will probably always be a manual step to log in to sonatype oss to release to central

mikepthomas commented 4 years ago

I have created a PR to update the dependency versions and pushed a release to sonatype snapshots repository https://github.com/bjorn/tiled/pull/2931

You are able to get a snapshot of release 1.4.2-SNAPSHOT by adding the following to your maven pom:

    <dependencies>
        <dependency>
            <groupId>org.mapeditor</groupId>
            <artifactId>libtiled</artifactId>
            <version>1.4.2-SNAPSHOT</version>
            <type>jar</type>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>sonatype-oss</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

Please let me know if you are happy with the release and I will kick off the deploy to maven central

hoxu commented 4 years ago

@mikepthomas I don't really call libtiled much yet, but the snapshot looks good to me.