fails when using security annotations on concrete classes
---------------------------------------------------------
Key: MCOBERTURA-137
URL: http://jira.codehaus.org/browse/MCOBERTURA-137
Project: Maven 2.x Cobertura Plugin
Issue Type: Bug
Affects Versions: 2.4
Environment: Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400)
Java version: 1.5.0_16
Java home: C:\devtools\java\jdk1.5.0_16\jre
Default locale: en_CA, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
spring 3.0.5.RELEASE
Reporter: Jim Sellers
Attachments: CoberturaIssue.zipx
When using the spring @PreAuthorize security annotation (which I assume creates
a proxy using cglib), when running cobertura it fails. The failure is a bit
confusing because it gives an autowiring error.
I've attached a sample app. If you run "mvn test" it works, but running "mvn
cobertura:cobertura" it fails.
I'm not sure if it's a conflict in libs or if one byte code lib is wiping out
the code from another.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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