Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there plans for a java18 org.codehaus.mojo.signature artifact? #1

Closed
krismcqueen opened this issue Jun 3, 2015 · 18 comments
Closed

Comments

@krismcqueen
Copy link

My project is in the process of setting the baseline Java version to 1.8. We use the animal-sniffer plugin to ensure API compatibility and I was not able to find a java18 org.codehaus.mojo.signature artifact on maven central. I had a couple of questions:

  • Am I looking in the wrong place for the java18 signature artifact? Has the groupId changed from org.codehaus.mojo.signature?
  • Are there plans for a java18 signature that we will should make use of going forward? (note: animal sniffer checks can be disabled in our builds or we can generate a java18 signature for use locally, but we'd use the officially blessed java18 signature from maven central if available)

Thanks. Very useful plugin.

@rombert
Copy link

rombert commented Jun 3, 2015

+1, we need this as well in the Apache Sling project ( see SLING-4702 ).

@thenewLionKing
Copy link

+1 we have a similar requirement as well.

@rinokadijk
Copy link

+1

@trevmex
Copy link

trevmex commented Sep 18, 2015

+1, we have disabled animal-sniffer on our Java 8 projects, and would love to have it back.

@sharathsrinivasa
Copy link

+1

@giacgbj
Copy link

giacgbj commented Oct 19, 2015

+42

@mdaehnert
Copy link

+1

@praste
Copy link

praste commented Oct 30, 2015

Can't we generate one on your own using instructions on
http://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/examples/generating-java-signatures.html

Of course it won't be available in maven central but for those how have internal repo in your organization that can a good interim solution.

@user667
Copy link

user667 commented Dec 15, 2015

+1

2 similar comments
@burtsevyg
Copy link

+1

@baev
Copy link

baev commented Jan 15, 2016

+1

@rfscholte
Copy link
Member

It has just been released.

  <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>animal-sniffer-maven-plugin</artifactId>
    <configuration>
      <signature>
        <groupId>org.codehaus.mojo.signature</groupId>
        <artifactId>java18</artifactId>
        <version>1.0</version>
      </signature>
    </configuration>
  </plugin>

@nobeh
Copy link

nobeh commented Feb 25, 2016

Is it still on its way to Maven Central? Still the last one listed is 1.14. Thanks!

@giacgbj
Copy link

giacgbj commented Feb 25, 2016

@nobeh, 1.14 is the version of animal-sniffer-maven-plugin, while this thread is about the signature for Java 8.

@nobeh
Copy link

nobeh commented Feb 25, 2016

Right, indeed, I mixed the two for a moment.

@lukehutch
Copy link

Related question: How will the signatures for Java 11 etc. be named? In future there will need to be a hyphen or something inserted, to disambiguate java17 for Java 1.7 from say java-17 for Java 17.

@olamy
Copy link
Member

olamy commented Mar 22, 2019

@lukehutch I think this project is dead now :) starting with java 9 you can simply use the option --release and that's it :)
read http://openjdk.java.net/jeps/247

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
          <configuration>
            <release>9</release>
          </configuration>
        </plugin>

@lukehutch
Copy link

@olamy: ah, I wondered why there hadn't been any updates. Makes a lot of sense. Thanks for the explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests