mojohaus / animal-sniffer

https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/
MIT License
84 stars 43 forks source link

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

Closed krismcqueen closed 8 years ago

krismcqueen commented 9 years ago

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:

Thanks. Very useful plugin.

rombert commented 9 years ago

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

thenewLionKing commented 9 years ago

+1 we have a similar requirement as well.

rinokadijk commented 9 years ago

+1

trevmex commented 9 years ago

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

sharathsrinivasa commented 8 years ago

+1

giacgbj commented 8 years ago

+42

mdaehnert commented 8 years ago

+1

praste commented 8 years ago

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 commented 8 years ago

+1

burtsevyg commented 8 years ago

+1

baev commented 8 years ago

+1

rfscholte commented 8 years ago

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 commented 8 years ago

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

giacgbj commented 8 years ago

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

nobeh commented 8 years ago

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

lukehutch commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

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