alex9849 / advanced-region-market

A Bukkit/Spigot plugin for renting/selling WorldGuard regions
https://www.spigotmc.org/resources/advancedregionmarket.58732/
69 stars 44 forks source link

Bad jitpack.io artifact #122

Closed Ghost-chu closed 2 years ago

Ghost-chu commented 2 years ago

Hi alex! I'm looking for ARM integration in QuickShop-Hikari, and when I pull ARM from jitpack.io as a dependency, jitpack seems just returns a incomplete and broken artifacts like this: image image

This is my pom.xml:

    <dependency>
        <groupId>com.github.alex9849.advanced-region-market</groupId>
        <artifactId>arminterface</artifactId>
        <version>3.4.1</version>
            <scope>provided
    </dependency>
alex9849 commented 2 years ago

Normally you should use advanced-region-market as an artifact. Like this:

       <dependency>
        <groupId>com.github.alex9849</groupId>
        <artifactId>advanced-region-market</artifactId>
        <version>3.4.1</version>
    </dependency>

I don't think that it also works if you only use the interface.

Ghost-chu commented 2 years ago

Normally you should use advanced-region-market as an artifact. Like this:

       <dependency>
      <groupId>com.github.alex9849</groupId>
      <artifactId>advanced-region-market</artifactId>
      <version>3.4.1</version>
  </dependency>

I don't think that it also works if you only use the interface.

sorry for bad paste!

actually is

    <dependency>
        <groupId>com.github.alex9849</groupId>
        <artifactId>advanced-region-market</artifactId>
        <version>2.1.5</version>
    </dependency>

I have pasted wrong code on issue

Ghost-chu commented 2 years ago

Normally you should use advanced-region-market as an artifact. Like this:

       <dependency>
        <groupId>com.github.alex9849</groupId>
        <artifactId>advanced-region-market</artifactId>
        <version>3.4.1</version>
    </dependency>

I don't think that it also works if you only use the interface.

sorry for bad paste!

actually is

  <dependency>
      <groupId>com.github.alex9849</groupId>
      <artifactId>advanced-region-market</artifactId>
      <version>2.1.5</version>
  </dependency>

I have pasted wrong code on issue

This dependency offers interface and adapters and advanced-region-market artifact (but most likely empty, only META-INF inside)

alex9849 commented 2 years ago

OK. I have to look into that. But I can do this only tomorrow. Does this also happen with other versions?

Ghost-chu commented 2 years ago

fast check the version 3.3.6 also doesn't work.

        <dependency>
            <groupId>com.github.alex9849</groupId>
            <artifactId>advanced-region-market</artifactId>
            <version>3.3.6</version>
            <scope>provided</scope>
        </dependency>
alex9849 commented 2 years ago

Ok I found the problem. Jitpack compiled the project with an unsupported java version. You should now be able to use the 3.4.1 tag.