![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
1.8 |
|
Assignee:
|
Stephen Connolly
|
|
Components:
|
Enforcer Rule |
|
Created:
|
22/Jul/12 3:04 PM
|
|
Description:
|
Hi,
Animal sniffer correctly detects java15 violations in main source code but not in test code.
I'm working on an open source project (Fest assert 2 btw) and I get some contributions and want to be sure that they are all java5 compatible.
I have configured eclipse to perform those checks in all the source code (main + test) but maven only perform the check on main code, to be consistent it would be nice that animal-sniffer also checked test code.
I'm not considering this as a bug or a major issue since maven produces a jar valid against java15 check, but it could be nice to also check test code to avoid compile error in eclipse not detected in maven build.
Thanks for this useful plugin anyway.
Joel Costigliola
PS : not sure if I have chosen the right component.
|
|
Environment:
|
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Java version: 1.6.0_17, vendor: Sun Microsystems Inc.
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-27-generic", arch: "amd64", family: "unix"
|
|
Project:
|
Mojo Animal Sniffer
|
|
Priority:
|
Minor
|
|
Reporter:
|
Joel Costigliola
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email