Well first off, try upgrading the version of animal-sniffer-maven-plugin to latest...
The signatures (and their site) were generated when 1.3 was the latest... 1.7 has a number of important fixes, but without regenerating the signatures it is hard to get the site updated to say the version of animal-sniffer should be 1.7 On 11 October 2011 13:49, Eric Kolotyluk <eric.koloty...@gmail.com> wrote: > So, if what I want is to avoid calling any Java 6 methods I would use > > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>animal-sniffer-maven-plugin</artifactId> > <version>1.3</version> > <executions> > <execution> > <id>check-java16</id> > <phase>test</phase> > <goals> > <goal>check</goal> > </goals> > <configuration> > <signature> > <groupId>org.codehaus.mojo.signature</groupId> > <artifactId>java16</artifactId> > <version>1.0</version> > </signature> > </configuration> > </execution> > </executions> > </plugin> > > When I run this I gets tons of error messages that gives me the impression > something is not configured right - what am I still missing? > > [INFO] > [INFO] --- animal-sniffer-maven-plugin:1.3:check (check-java16) @ > intersystem-common --- > [INFO] Checking unresolved references to > org.codehaus.mojo.signature:java16:1.0 > com/kodak/intersystem/common/Application$1 > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application$1.val$exitResult#Lcom/kodak/intersystem/common/ExitListenerManager$ExitResult; > in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$1.class > java/lang/Object > com/kodak/intersystem/common/Application$1 > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.exit(Lcom/kodak/intersystem/common/ExitListenerManager$ExitResult;)I > in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$1.class > java/lang/Thread > java/lang/StringBuilder > java/lang/StringBuilder > com/kodak/intersystem/common/Application$2 > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application$2.getName()Ljava/lang/String; in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$2.class > java/lang/StringBuilder > java/lang/StringBuilder > java/lang/StringBuilder > com/kodak/intersystem/common/Application$2 > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application$2.setName(Ljava/lang/String;)V in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$2.class > com/kodak/intersystem/common/Application$2 > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application$2.setDaemon(Z)V in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$2.class > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.access$000()Lorg/slf4j/Logger; in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$2.class > java/lang/StringBuilder > java/lang/StringBuilder > com/kodak/intersystem/common/Application$2 > java/lang/StringBuilder > java/lang/StringBuilder > java/lang/StringBuilder > org/slf4j/Logger > [ERROR] Undefined reference: org/slf4j/Logger.debug(Ljava/lang/String;)V in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application$2.class > java/lang/Object > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.logger#Lorg/slf4j/Logger; in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Properties > [ERROR] Undefined reference: > com/kodak/intersystem/common/Properties.getLogger(Ljava/lang/Class;)Lorg/slf4j/Logger; > in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > com/kodak/intersystem/common/Application > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.exitListenerManager#Lcom/kodak/intersystem/common/ExitListenerManager; > in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/ExitListenerManager > [ERROR] Undefined reference: > com/kodak/intersystem/common/ExitListenerManager.addExitListener(Lcom/kodak/intersystem/common/ExitListener;)V > in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > com/kodak/intersystem/common/ExitListenerManager > [ERROR] Undefined reference: > com/kodak/intersystem/common/ExitListenerManager.removeExitListener(Lcom/kodak/intersystem/common/ExitListener;)V > in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > com/kodak/intersystem/common/ExitListenerManager > [ERROR] Undefined reference: > com/kodak/intersystem/common/ExitListenerManager.isExiting#Z in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.stopping#Z in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > [ERROR] Undefined reference: > com/kodak/intersystem/common/Application.exit(Ljava/lang/Class;IZ)Z in > P:\Intersystem\main\platform.Java\intersystem-common\target\classes\com\kodak\intersystem\common\Application.class > com/kodak/intersystem/common/Application > java/lang/Integer > > On 2011-10-10 1:54 PM, Stephen Connolly wrote: >> >> When you are on a Mac you cannot compile with a 1.5 JDK... >> >> Have a look at >> http://mojo.codehaus.org/signatures/java15/ >> >> On 10 October 2011 21:49, Eric Kolotyluk<eric.koloty...@gmail.com> wrote: >>> >>> Fair enough. At the time I actually thought I was compiling against 1.5, >>> but >>> in fact I still had not finished setting up Maven properly to do that, >>> and >>> it was still compiling with 1.6. >>> >>> - Eric >>> >>> On 2011-10-10 1:30 PM, Ansgar Konermann wrote: >>>> >>>> Am 10.10.2011 22:15, schrieb Eric Kolotyluk: >>>>> >>>>> I am not really sure why no-one recommended this to me in the first >>>>> place as it effective and simple to understand. >>>> >>>> Maybe you led the crowd into the wrong direction by claiming: "I am >>>> almost complete reworking things to run on a Java 5 run-time, and while >>>> everything compiles [...]" >>>> >>>> I'd conclude from this, that you're already compiling against version >>>> 1.5 and everything actually *does* compile. >>>> >>>> HTH >>>> >>>> Ansgar >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>>> For additional commands, e-mail: users-h...@maven.apache.org >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >>> For additional commands, e-mail: users-h...@maven.apache.org >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org