Followup question: Should the following reveal a property definition? Because, I only see uses of ${javaTarget.majorVersion}, and no definition.
$ mvn help:effective-pom | grep -i majorVersion <animal-sniffer.signature>java${javaTarget.majorVersion}${javaTarget.minorVersion}</animal-sniffer.signature> <artifactId>java${javaTarget.majorVersion}${javaTarget.minorVersion}</artifactId> <artifactId>java${javaTarget.majorVersion}${javaTarget.minorVersion}</artifactId> On Mon, May 2, 2022 at 7:57 PM Jochen Wiedmann <jochen.wiedm...@gmail.com> wrote: > > Hi, > > I am currently preparing a feature for Lang, that makes use of > MethodHandle.invoke(Object...) > > According to the Javadocs [1], this should be fine, but I am getting > this from the animal-sniffer-maven-plugin: > > [INFO] --- animal-sniffer-maven-plugin:1.21:check > (checkAPIcompatibility) @ commons-lang3 --- > [INFO] Checking unresolved references to > org.codehaus.mojo.signature:java18:1.0 > [ERROR] > C:\Work\git\ASF\commons-lang\src\main\java\org\apache\commons\lang3\function\access\Getter.java:139: > Undefined reference: Object > java.lang.invoke.MethodHandle.invoke(Object) > > Can anyone help, please? > > Thanks, > > Jochen > > > 1: > https://docs.oracle.com/javase/8/docs/api/java/lang/invoke/MethodHandle.html#invoke-java.lang.Object...- > > -- > Philosophy is useless, theology is worse. (Industrial Desease, Dire Straits) -- Philosophy is useless, theology is worse. (Industrial Desease, Dire Straits) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org