Solo io o il plugin cobertura-maven non funziona con java 8? quando viene eseguito ricevocobertura-maven-plugin con Java 8
[INFO] --- cobertura-maven-plugin:2.6:instrument (default) @ provider-impl ---
[INFO] Cobertura 2.0.3 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura] WARN [main] net.sourceforge.cobertura.instrument.CoberturaInstrumenter - Unable to instrument file /var/lib/jenkins/workspace/BranchBuilder/implementations/provider-impl/target/generated-classes/cobertura/com/foo/impl/internal/ServiceProviderImpl$JoinRunner.class
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:147)
at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.instrumentClass(CoberturaInstrumenter.java:121)
at net.sourceforge.cobertura.instrument.CoberturaInstrumenter.addInstrumentationToSingleClass(CoberturaInstrumenter.java:234)
at net.sourceforge.cobertura.instrument.Main.addInstrumentationToSingleClass(Main.java:298)
at net.sourceforge.cobertura.instrument.Main.addInstrumentation(Main.java:307)
at net.sourceforge.cobertura.instrument.Main.parseArguments(Main.java:399)
So che ci sono stati problemi con ASM e Java 8 così ho il sospetto il problema è che l'esperto-plugin non è stato aggiornato per utilizzare una versione di Java-8 compatibile di ASM
Per riferimento, ho posto la domanda here ma non ho ricevuto risposta
Qualcuno è riuscito a utilizzare il plugin cobertura-maven con java 8?
ah, la mia richiesta per "maven-cobertura-plugin java 8" non ha restituito quello. Do la colpa a google;) grazie – Hilikus
Ho interrogato la loro Jira, quindi non biasimerò google –
Questo problema è stato risolto ora ed è disponibile nella versione '2.7' – stalet