I'm trying to use the 1.4 sniffer to detect api incompatibilities, but
it appears to be detecting [[ERROR] Undefined reference:] "errors
everywhere" (where they do not exist).
I was able to get sniffer working with the old 1.2 java.net version.
In case it helps: Using jvnet, 1.2; saw similar "errors everywhere" when
I had sniffer bound to the "test" phase and when cobertura attempted to
re-exec unit tests.
FYI, I see the same "errors everywhere" behavior using the enforcer
sniffer plugin.
Here's my config snippet:
<pluginManagement>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.4</version>
</plugin>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java15</artifactId>
<version>1.0</version>
</signature>
</configuration>
<executions>
<execution>
<id>check-java-version</id>
<phase>package</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
I did not add any codehaus repo's (as I am hoping to use central, but
adding codehaus did not seem to matter...).
I'm using maven 2.2.1 on sun 64bit jvm 1.6.0_16 on linux (Ubuntu).
Any ideas on what I'm missing?
Thanks,
Dan
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email