क्या यह सिर्फ मुझे है या कोबर्टुरा-मेवेन-प्लगइन जावा 8 के साथ काम नहीं करता है? जब यह समाप्त होने पर मुझेजावा 8 के साथ cobertura-maven-plugin 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)
मिल मुझे पता है कि एएसएम और जावा 8 के साथ मुद्दों थे, इसलिए मुझे लगता है कि इस मुद्दे को Maven-प्लगइन एएसएम के एक जावा-8 संगत संस्करण का उपयोग करने के अद्यतन नहीं किया गया है
संदर्भ के लिए, मैंने प्रश्न here से पूछा लेकिन उत्तर नहीं मिला
क्या कोई जावा 8 के साथ कोबर्टुरा-मेवेन-प्लगइन का उपयोग करने में कामयाब रहा है?
आह, "maven-cobertura-plugin java 8" के लिए मेरी क्वेरी ने उसे वापस नहीं किया। मैं Google को दोष देता हूं;) धन्यवाद – Hilikus
मैंने अपने जिरा से पूछताछ की, इसलिए मैं Google –
पर दोष नहीं लगाऊंगा। यह समस्या अब तय की गई है और संस्करण '2.7' – stalet