[jira] [Commented] (MNG-6024) maven-antrun-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
[ https://issues.apache.org/jira/browse/MNG-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741680#comment-16741680 ] Sylwester Lachiewicz commented on MNG-6024: --- ok, lets close issue as it would be hard to do something with not supported cobertura. > maven-antrun-plugin:instrument failing NoClassDefFoundError: > org/slf4j/LoggerFactory > > > Key: MNG-6024 > URL: https://issues.apache.org/jira/browse/MNG-6024 > Project: Maven > Issue Type: Bug > Components: Class Loading >Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Environment: Window 7, JDK 1.8.0_40 >Reporter: S V Mohana Rao >Priority: Major > Attachments: maven-core-slf4j-issue.zip, mvn-coreslf4j-issue.txt > > > Related issues : MNG-5783, MNG-5817. I was using maven-antrun-plugin added > dependency cobertura which requires slf4j-api dependent jar. Even i tried > using 3.4.0-SNAPSHOT version but problem persists. As i was observed it's > been excluded from the child dependent artifacts of cobertura cause it's part > maven core. But it's not referring from maven core which hasn't been added > class path. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MNG-6024) maven-antrun-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
[ https://issues.apache.org/jira/browse/MNG-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438292#comment-16438292 ] S V Mohana Rao commented on MNG-6024: - We are using Jacoco for code instrumentation since cobertura is not fully supported/outdated for java 8. > maven-antrun-plugin:instrument failing NoClassDefFoundError: > org/slf4j/LoggerFactory > > > Key: MNG-6024 > URL: https://issues.apache.org/jira/browse/MNG-6024 > Project: Maven > Issue Type: Bug > Components: Class Loading >Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Environment: Window 7, JDK 1.8.0_40 >Reporter: S V Mohana Rao >Priority: Blocker > Attachments: maven-core-slf4j-issue.zip, mvn-coreslf4j-issue.txt > > > Related issues : MNG-5783, MNG-5817. I was using maven-antrun-plugin added > dependency cobertura which requires slf4j-api dependent jar. Even i tried > using 3.4.0-SNAPSHOT version but problem persists. As i was observed it's > been excluded from the child dependent artifacts of cobertura cause it's part > maven core. But it's not referring from maven core which hasn't been added > class path. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MNG-6024) maven-antrun-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
[ https://issues.apache.org/jira/browse/MNG-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425265#comment-15425265 ] Michael Osipov commented on MNG-6024: - I can confirm this. Dependency tree before: {noformat} [DEBUG] org.apache.maven.plugins:maven-antrun-plugin:jar:1.8: [DEBUG]net.sourceforge.cobertura:cobertura:jar:2.1.1:runtime [DEBUG] org.ow2.asm:asm:jar:5.0.1:runtime [DEBUG] org.ow2.asm:asm-tree:jar:5.0.1:runtime [DEBUG] org.ow2.asm:asm-commons:jar:5.0.1:runtime [DEBUG] org.ow2.asm:asm-util:jar:5.0.1:runtime [DEBUG] org.ow2.asm:asm-analysis:jar:5.0.1:runtime [DEBUG] oro:oro:jar:2.0.8:runtime [DEBUG] jaxen:jaxen:jar:1.1.4:runtime [DEBUG] org.apache.ant:ant-junit:jar:1.8.3:runtime [DEBUG] org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:runtime [DEBUG] org.mortbay.jetty:jetty:jar:6.1.14:runtime [DEBUG] org.mortbay.jetty:jetty-util:jar:6.1.14:runtime [DEBUG] com.sun:tools:jar:0:system [DEBUG] org.slf4j:slf4j-api:jar:1.7.5:runtime [DEBUG] ch.qos.logback:logback-classic:jar:1.0.13:runtime [DEBUG] ch.qos.logback:logback-core:jar:1.0.13:runtime [DEBUG] junit:junit:jar:4.11:compile [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile [DEBUG] org.apache.commons:commons-lang3:jar:3.3.2:runtime [DEBUG]org.apache.maven:maven-plugin-api:jar:2.2.1:compile [DEBUG]org.apache.maven:maven-project:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-settings:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-profile:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-model:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.2.1:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.2.1:compile [DEBUG] backport-util-concurrent:backport-util-concurrent:jar:3.1:compile [DEBUG] org.apache.maven:maven-plugin-registry:jar:2.2.1:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.11:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG]org.apache.maven:maven-artifact:jar:2.2.1:compile [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.0.20:compile [DEBUG]org.apache.ant:ant:jar:1.9.4:compile [DEBUG] org.apache.ant:ant-launcher:jar:1.9.4:compile {noformat} and after population {noformat} [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-antrun-plugin:1.8 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-antrun-plugin:1.8 [DEBUG] Included: org.apache.maven.plugins:maven-antrun-plugin:jar:1.8 [DEBUG] Included: net.sourceforge.cobertura:cobertura:jar:2.1.1 [DEBUG] Included: org.ow2.asm:asm:jar:5.0.1 [DEBUG] Included: org.ow2.asm:asm-tree:jar:5.0.1 [DEBUG] Included: org.ow2.asm:asm-commons:jar:5.0.1 [DEBUG] Included: org.ow2.asm:asm-util:jar:5.0.1 [DEBUG] Included: org.ow2.asm:asm-analysis:jar:5.0.1 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: jaxen:jaxen:jar:1.1.4 [DEBUG] Included: org.apache.ant:ant-junit:jar:1.8.3 [DEBUG] Included: org.mortbay.jetty:servlet-api-2.5:jar:6.1.14 [DEBUG] Included: org.mortbay.jetty:jetty:jar:6.1.14 [DEBUG] Included: org.mortbay.jetty:jetty-util:jar:6.1.14 [DEBUG] Included: com.sun:tools:jar:0 [DEBUG] Included: ch.qos.logback:logback-classic:jar:1.0.13 [DEBUG] Included: ch.qos.logback:logback-core:jar:1.0.13 [DEBUG] Included: junit:junit:jar:4.11 [DEBUG] Included: org.hamcrest:hamcrest-core:jar:1.3 [DEBUG] Included: org.apache.commons:commons-lang3:jar:3.3.2 [DEBUG] Included: backport-util-concurrent:backport-util-concurrent:jar:3.1 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.11 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.20 [DEBUG] Included: org.apache.ant:ant:jar:1.9.4 [DEBUG] Included: org.apache.ant:ant-launcher:jar:1.9.4 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-antrun-plugin:1.8:run from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-antrun-plugin:1.8, parent: sun.misc.Launcher$AppClassLoader@5c647e05] {noformat} > maven-antrun-plugin:instrument failing NoClassDefFoundError: > org/slf4j/LoggerFactory > > > Key: MNG-6024 > URL: https://issues.apache.org/jira/browse/MNG-6024 > Project: Maven > Issue Type: Bug > Components: Class Loading >Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Environment: Window 7, JDK 1.8.0_40 >Reporter: S V Mohana Rao >Priority: Blocker > Attachments: maven-core-slf4j-issue.zip, mvn-coreslf4j-issue.txt > > > Related issues : MNG-5783, MNG-5817.
[jira] [Commented] (MNG-6024) maven-antrun-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
[ https://issues.apache.org/jira/browse/MNG-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15421136#comment-15421136 ] Michael Osipov commented on MNG-6024: - Am I still waiting for your example. > maven-antrun-plugin:instrument failing NoClassDefFoundError: > org/slf4j/LoggerFactory > > > Key: MNG-6024 > URL: https://issues.apache.org/jira/browse/MNG-6024 > Project: Maven > Issue Type: Bug > Components: Class Loading >Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Environment: Window 7, JDK 1.8.0_40 >Reporter: S V Mohana Rao >Priority: Blocker > Attachments: mvn-coreslf4j-issue.txt > > > Related issues : MNG-5783, MNG-5817. I was using maven-antrun-plugin added > dependency cobertura which requires slf4j-api dependent jar. Even i tried > using 3.4.0-SNAPSHOT version but problem persists. As i was observed it's > been excluded from the child dependent artifacts of cobertura cause it's part > maven core. But it's not referring from maven core which hasn't been added > class path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-6024) maven-antrun-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
[ https://issues.apache.org/jira/browse/MNG-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303915#comment-15303915 ] S V Mohana Rao commented on MNG-6024: - Okay, I will create a sample maven project which simulates the above scenario. > maven-antrun-plugin:instrument failing NoClassDefFoundError: > org/slf4j/LoggerFactory > > > Key: MNG-6024 > URL: https://issues.apache.org/jira/browse/MNG-6024 > Project: Maven > Issue Type: Bug > Components: Class Loading >Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Environment: Window 7, JDK 1.8.0_40 >Reporter: S V Mohana Rao > Attachments: mvn-coreslf4j-issue.txt > > > Related issues : MNG-5783, MNG-5817. I was using maven-antrun-plugin added > dependency cobertura which requires slf4j-api dependent jar. Even i tried > using 3.4.0-SNAPSHOT version but problem persists. As i was observed it's > been excluded from the child dependent artifacts of cobertura cause it's part > maven core. But it's not referring from maven core which hasn't been added > class path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MNG-6024) maven-antrun-plugin:instrument failing NoClassDefFoundError: org/slf4j/LoggerFactory
[ https://issues.apache.org/jira/browse/MNG-6024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286996#comment-15286996 ] Michael Osipov commented on MNG-6024: - Please provide a fully working example. > maven-antrun-plugin:instrument failing NoClassDefFoundError: > org/slf4j/LoggerFactory > > > Key: MNG-6024 > URL: https://issues.apache.org/jira/browse/MNG-6024 > Project: Maven > Issue Type: Bug > Components: Class Loading >Affects Versions: 3.3.1, 3.3.3, 3.3.9 > Environment: Window 7, JDK 1.8.0_40 >Reporter: S V Mohana Rao > Attachments: mvn-coreslf4j-issue.txt > > > Related issues : MNG-5783, MNG-5817. I was using maven-antrun-plugin added > dependency cobertura which requires slf4j-api dependent jar. Even i tried > using 3.4.0-SNAPSHOT version but problem persists. As i was observed it's > been excluded from the child dependent artifacts of cobertura cause it's part > maven core. But it's not referring from maven core which hasn't been added > class path. -- This message was sent by Atlassian JIRA (v6.3.4#6332)