[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737822#comment-17737822 ] ASF GitHub Bot commented on MNG-7826: - cstamas commented on PR #1186: URL: https://github.com/apache/maven/pull/1186#issuecomment-160857 This is not going in as it is, details on JIRA issue. Making this into DRAFT. > Maven Plugin Validation: Jacoco plugin is not reported as problem > - > > Key: MNG-7826 > URL: https://issues.apache.org/jira/browse/MNG-7826 > Project: Maven > Issue Type: Bug > Components: Plugins and Lifecycle >Affects Versions: 3.9.3 >Reporter: Tamas Cservenak >Priority: Major > > Maven 3.9.2 regarding jacoco maven plugin 0.8.10 reports this: > {noformat} > [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 > [WARNING] Declared at location(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 484 > [WARNING] Used in module(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) > [WARNING]* com.soebes.smpp:smpp-plugins:6.0.4-SNAPSHOT > (smpp-plugins/pom.xml) > [WARNING] Plugin issue(s): > [WARNING]* Plugin is a Maven 2.x plugin, which will be not supported in > Maven 4.x > [WARNING]* Plugin mixes multiple Maven versions: [3.0, 2.0.2] > [WARNING]* Plugin should declare these Maven artifacts in `provided` > scope: [org.apache.maven:maven-repository-metadata:3.0, > org.apache.maven:maven-artifact:3.0] > [WARNING]* Plugin depends on plexus-container-default, which is EOL > {noformat} > and all these are true: culprit is ancient shared file-management, that the > plugin depends in compile scope, while it brings in > * p-c-d > * maven-plugin-api, maven-artifact-manager etc from mvn 2.0.2 > * etc > Maven 3.9.3 does not report anything related to this plugin, while if 3.9.3 > runs a build using it, it clearly shows this in debug (presence of Maven 2 > artifacts and p-c-d): > {noformat} > [INFO] --- jacoco:0.8.10:prepare-agent (default) @ smpp --- > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for snapshots (http://snapshots.maven.codehaus.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://cvs.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for central (http://repo1.maven.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for codehaus.snapshots (http://snapshots.repository.codehaus.org). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://repository.apache.org/snapshots). > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=88693, > ConflictMarker.markTime=60265, ConflictMarker.nodeCount=38, > ConflictIdSorter.graphTime=53367, ConflictIdSorter.topsortTime=15824, > ConflictIdSorter.conflictIdCount=21, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=753636, ConflictResolver.conflictItemCount=34, > DfDependencyCollector.collectTime=66088125, > DfDependencyCollector.transformTime=990804} > [DEBUG] org.jacoco:jacoco-maven-plugin:jar:0.8.10 > [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.0.24:compile > [DEBUG]org.apache.maven.shared:file-management:jar:1.2.1:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile > [DEBUG] org.apache.maven.shared:maven-shared-io:jar:1.1:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.2:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.2:compile > [DEBUG] > org.apache.maven:maven-repository-metadata:jar:2.0.2:compile > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:4.13.1:compile (version managed from default) > [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile > [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile > [DEBUG]org.jacoco:org.jacoco.agent:jar:runtime:0.8.10:compile > [DEBUG]org.jacoco:org.jacoco.core:jar:0.8.10:compile > [DEBUG] org.ow2.asm:asm:jar:9.5:compile (version managed from default)
[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737652#comment-17737652 ] Slawomir Jaranowski commented on MNG-7826: -- [~cstamas] your output is similar to my ... please look for: {{org.apache.maven:maven-core}} In plugin code it is declared as {{provided}}, but when plugin dependencies are resolved by Maven all {{provided}} artifacts are filtered early .. and transitive artifact are resolved in oryginal versions and scope. > Maven Plugin Validation: Jacoco plugin is not reported as problem > - > > Key: MNG-7826 > URL: https://issues.apache.org/jira/browse/MNG-7826 > Project: Maven > Issue Type: Bug > Components: Plugins and Lifecycle >Affects Versions: 3.9.3 >Reporter: Tamas Cservenak >Priority: Major > > Maven 3.9.2 regarding jacoco maven plugin 0.8.10 reports this: > {noformat} > [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 > [WARNING] Declared at location(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 484 > [WARNING] Used in module(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) > [WARNING]* com.soebes.smpp:smpp-plugins:6.0.4-SNAPSHOT > (smpp-plugins/pom.xml) > [WARNING] Plugin issue(s): > [WARNING]* Plugin is a Maven 2.x plugin, which will be not supported in > Maven 4.x > [WARNING]* Plugin mixes multiple Maven versions: [3.0, 2.0.2] > [WARNING]* Plugin should declare these Maven artifacts in `provided` > scope: [org.apache.maven:maven-repository-metadata:3.0, > org.apache.maven:maven-artifact:3.0] > [WARNING]* Plugin depends on plexus-container-default, which is EOL > {noformat} > and all these are true: culprit is ancient shared file-management, that the > plugin depends in compile scope, while it brings in > * p-c-d > * maven-plugin-api, maven-artifact-manager etc from mvn 2.0.2 > * etc > Maven 3.9.3 does not report anything related to this plugin, while if 3.9.3 > runs a build using it, it clearly shows this in debug (presence of Maven 2 > artifacts and p-c-d): > {noformat} > [INFO] --- jacoco:0.8.10:prepare-agent (default) @ smpp --- > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for snapshots (http://snapshots.maven.codehaus.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://cvs.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for central (http://repo1.maven.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for codehaus.snapshots (http://snapshots.repository.codehaus.org). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://repository.apache.org/snapshots). > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=88693, > ConflictMarker.markTime=60265, ConflictMarker.nodeCount=38, > ConflictIdSorter.graphTime=53367, ConflictIdSorter.topsortTime=15824, > ConflictIdSorter.conflictIdCount=21, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=753636, ConflictResolver.conflictItemCount=34, > DfDependencyCollector.collectTime=66088125, > DfDependencyCollector.transformTime=990804} > [DEBUG] org.jacoco:jacoco-maven-plugin:jar:0.8.10 > [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.0.24:compile > [DEBUG]org.apache.maven.shared:file-management:jar:1.2.1:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile > [DEBUG] org.apache.maven.shared:maven-shared-io:jar:1.1:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.2:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.2:compile > [DEBUG] > org.apache.maven:maven-repository-metadata:jar:2.0.2:compile > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:4.13.1:compile (version managed from default) > [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile > [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile > [DEBUG]org.jacoco:org.jacoco.agent:jar:runtime:0.8.10:compile >
[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737591#comment-17737591 ] Tamas Cservenak commented on MNG-7826: -- This is my output: https://gist.github.com/cstamas/2387fcbe072247232e88f84c7e96f9cb How it was made: mvn install master (git commit 4ed696e06d03486a17d9604d46697fc6b357b8ef) then {{mvn dependency:3.6.1-SNAPSHOT:tree -X}} > Maven Plugin Validation: Jacoco plugin is not reported as problem > - > > Key: MNG-7826 > URL: https://issues.apache.org/jira/browse/MNG-7826 > Project: Maven > Issue Type: Bug > Components: Plugins and Lifecycle >Affects Versions: 3.9.3 >Reporter: Tamas Cservenak >Priority: Major > > Maven 3.9.2 regarding jacoco maven plugin 0.8.10 reports this: > {noformat} > [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 > [WARNING] Declared at location(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 484 > [WARNING] Used in module(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) > [WARNING]* com.soebes.smpp:smpp-plugins:6.0.4-SNAPSHOT > (smpp-plugins/pom.xml) > [WARNING] Plugin issue(s): > [WARNING]* Plugin is a Maven 2.x plugin, which will be not supported in > Maven 4.x > [WARNING]* Plugin mixes multiple Maven versions: [3.0, 2.0.2] > [WARNING]* Plugin should declare these Maven artifacts in `provided` > scope: [org.apache.maven:maven-repository-metadata:3.0, > org.apache.maven:maven-artifact:3.0] > [WARNING]* Plugin depends on plexus-container-default, which is EOL > {noformat} > and all these are true: culprit is ancient shared file-management, that the > plugin depends in compile scope, while it brings in > * p-c-d > * maven-plugin-api, maven-artifact-manager etc from mvn 2.0.2 > * etc > Maven 3.9.3 does not report anything related to this plugin, while if 3.9.3 > runs a build using it, it clearly shows this in debug (presence of Maven 2 > artifacts and p-c-d): > {noformat} > [INFO] --- jacoco:0.8.10:prepare-agent (default) @ smpp --- > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for snapshots (http://snapshots.maven.codehaus.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://cvs.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for central (http://repo1.maven.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for codehaus.snapshots (http://snapshots.repository.codehaus.org). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://repository.apache.org/snapshots). > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=88693, > ConflictMarker.markTime=60265, ConflictMarker.nodeCount=38, > ConflictIdSorter.graphTime=53367, ConflictIdSorter.topsortTime=15824, > ConflictIdSorter.conflictIdCount=21, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=753636, ConflictResolver.conflictItemCount=34, > DfDependencyCollector.collectTime=66088125, > DfDependencyCollector.transformTime=990804} > [DEBUG] org.jacoco:jacoco-maven-plugin:jar:0.8.10 > [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.0.24:compile > [DEBUG]org.apache.maven.shared:file-management:jar:1.2.1:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile > [DEBUG] org.apache.maven.shared:maven-shared-io:jar:1.1:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.2:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.2:compile > [DEBUG] > org.apache.maven:maven-repository-metadata:jar:2.0.2:compile > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:4.13.1:compile (version managed from default) > [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile > [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile > [DEBUG]org.jacoco:org.jacoco.agent:jar:runtime:0.8.10:compile > [DEBUG]org.jacoco:org.jacoco.core:jar:0.8.10:compile > [DEBUG]
[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737586#comment-17737586 ] Tamas Cservenak commented on MNG-7826: -- [~sjaranowski]why the difference of plugin versions above? Can you repeat both steps with same version (3.6.0 or 3.6.1-SNAPSHOT)? > Maven Plugin Validation: Jacoco plugin is not reported as problem > - > > Key: MNG-7826 > URL: https://issues.apache.org/jira/browse/MNG-7826 > Project: Maven > Issue Type: Bug > Components: Plugins and Lifecycle >Affects Versions: 3.9.3 >Reporter: Tamas Cservenak >Priority: Major > > Maven 3.9.2 regarding jacoco maven plugin 0.8.10 reports this: > {noformat} > [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 > [WARNING] Declared at location(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 484 > [WARNING] Used in module(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) > [WARNING]* com.soebes.smpp:smpp-plugins:6.0.4-SNAPSHOT > (smpp-plugins/pom.xml) > [WARNING] Plugin issue(s): > [WARNING]* Plugin is a Maven 2.x plugin, which will be not supported in > Maven 4.x > [WARNING]* Plugin mixes multiple Maven versions: [3.0, 2.0.2] > [WARNING]* Plugin should declare these Maven artifacts in `provided` > scope: [org.apache.maven:maven-repository-metadata:3.0, > org.apache.maven:maven-artifact:3.0] > [WARNING]* Plugin depends on plexus-container-default, which is EOL > {noformat} > and all these are true: culprit is ancient shared file-management, that the > plugin depends in compile scope, while it brings in > * p-c-d > * maven-plugin-api, maven-artifact-manager etc from mvn 2.0.2 > * etc > Maven 3.9.3 does not report anything related to this plugin, while if 3.9.3 > runs a build using it, it clearly shows this in debug (presence of Maven 2 > artifacts and p-c-d): > {noformat} > [INFO] --- jacoco:0.8.10:prepare-agent (default) @ smpp --- > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for snapshots (http://snapshots.maven.codehaus.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://cvs.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for central (http://repo1.maven.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for codehaus.snapshots (http://snapshots.repository.codehaus.org). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://repository.apache.org/snapshots). > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=88693, > ConflictMarker.markTime=60265, ConflictMarker.nodeCount=38, > ConflictIdSorter.graphTime=53367, ConflictIdSorter.topsortTime=15824, > ConflictIdSorter.conflictIdCount=21, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=753636, ConflictResolver.conflictItemCount=34, > DfDependencyCollector.collectTime=66088125, > DfDependencyCollector.transformTime=990804} > [DEBUG] org.jacoco:jacoco-maven-plugin:jar:0.8.10 > [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.0.24:compile > [DEBUG]org.apache.maven.shared:file-management:jar:1.2.1:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile > [DEBUG] org.apache.maven.shared:maven-shared-io:jar:1.1:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.2:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.2:compile > [DEBUG] > org.apache.maven:maven-repository-metadata:jar:2.0.2:compile > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:4.13.1:compile (version managed from default) > [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile > [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile > [DEBUG]org.jacoco:org.jacoco.agent:jar:runtime:0.8.10:compile > [DEBUG]org.jacoco:org.jacoco.core:jar:0.8.10:compile > [DEBUG] org.ow2.asm:asm:jar:9.5:compile (version managed from default) > [DEBUG]
[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737304#comment-17737304 ] Slawomir Jaranowski commented on MNG-7826: -- Tested with m-dependency-p In Maven execution we have: {noformat} [DEBUG] org.apache.maven.plugins:maven-dependency-plugin:jar:3.6.0 [DEBUG]org.apache.maven.doxia:doxia-sink-api:jar:1.11.1:compile [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.11.1:compile [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.1.1:compile [DEBUG]org.apache.maven.reporting:maven-reporting-impl:jar:3.2.0:compile [DEBUG] org.apache.maven:maven-core:jar:3.1.0:compile [DEBUG] org.apache.maven:maven-settings:jar:3.1.0:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.1.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.1.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.1.0:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.1.0:compile [DEBUG] org.eclipse.aether:aether-spi:jar:0.9.0.M2:compile [DEBUG] org.eclipse.aether:aether-impl:jar:0.9.0.M2:compile [DEBUG] org.eclipse.aether:aether-api:jar:0.9.0.M2:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.3.0.M1:compile (version managed from default) [DEBUG] javax.enterprise:cdi-api:jar:1.0:compile [DEBUG]javax.annotation:jsr250-api:jar:1.0:compile [DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.0.M1:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.16:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4.2:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.1.0:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:3.1.0:compile [DEBUG] org.apache.maven.doxia:doxia-decoration-model:jar:1.11.1:compile [DEBUG] org.apache.maven.doxia:doxia-core:jar:1.11.1:compile [DEBUG] org.apache.commons:commons-text:jar:1.10.0:compile (version managed from default) [DEBUG] org.apache.httpcomponents:httpclient:jar:4.5.13:compile [DEBUG] commons-logging:commons-logging:jar:1.2:compile [DEBUG] commons-codec:commons-codec:jar:1.11:compile [DEBUG] org.apache.httpcomponents:httpcore:jar:4.4.14:compile [DEBUG] org.apache.maven.doxia:doxia-integration-tools:jar:1.11.1:compile [DEBUG] org.apache.maven.doxia:doxia-site-renderer:jar:1.11.1:compile [DEBUG] org.apache.maven.doxia:doxia-skin-model:jar:1.11.1:compile [DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.11.1:compile [DEBUG] org.apache.maven.doxia:doxia-module-xhtml5:jar:1.11.1:compile [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.2:compile [DEBUG] org.apache.velocity:velocity:jar:1.7:compile [DEBUG] commons-lang:commons-lang:jar:2.4:compile [DEBUG] org.apache.velocity:velocity-tools:jar:2.0:compile [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0:compile [DEBUG] commons-digester:commons-digester:jar:1.8:compile [DEBUG] commons-chain:commons-chain:jar:1.1:compile [DEBUG] dom4j:dom4j:jar:1.1:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] commons-collections:commons-collections:jar:3.2.2:compile [DEBUG]commons-io:commons-io:jar:2.11.0:compile [DEBUG]org.codehaus.plexus:plexus-archiver:jar:4.7.1:compile [DEBUG] javax.inject:javax.inject:jar:1:compile [DEBUG] org.apache.commons:commons-compress:jar:1.23.0:compile [DEBUG] org.slf4j:slf4j-api:jar:1.7.36:compile [DEBUG] org.iq80.snappy:snappy:jar:0.4:compile [DEBUG] org.tukaani:xz:jar:1.9:runtime [DEBUG] com.github.luben:zstd-jni:jar:1.5.5-2:runtime [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.5.1:compile [DEBUG]org.codehaus.plexus:plexus-io:jar:3.4.1:compile [DEBUG]org.codehaus.plexus:plexus-i18n:jar:1.0-beta-10:compile [DEBUG]org.apache.maven.shared:maven-dependency-analyzer:jar:1.13.2:compile [DEBUG] org.apache.maven:maven-model:jar:3.2.5:compile [DEBUG] org.ow2.asm:asm:jar:9.5:compile [DEBUG]org.apache.maven.shared:maven-dependency-tree:jar:3.2.1:compile [DEBUG] org.eclipse.aether:aether-util:jar:1.0.0.v20140518:compile [DEBUG] org.apache.maven.shared:maven-common-artifact-filters:jar:3.3.2:compile [DEBUG]org.apache.maven.shared:maven-artifact-transfer:jar:0.13.1:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:2.0.0:compile [DEBUG]org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile [DEBUG]org.apache.commons:commons-collections4:jar:4.2:compile [DEBUG]
[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737195#comment-17737195 ] ASF GitHub Bot commented on MNG-7826: - cstamas opened a new pull request, #1186: URL: https://github.com/apache/maven/pull/1186 As 3.9.3 lost this capability as it goes only for POM (direct dependencies) while transitive also does tell a lot. Example output with this PR: ``` [WARNING] [WARNING] Plugin [INTERNAL, EXTERNAL] validation issues were detected in following plugin(s) [WARNING] [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 [WARNING] Plugin EXTERNAL issue(s): [WARNING]* Transitive dependencies contain Maven 2.x artifacts, which will be not supported in Maven 4.x [WARNING]* Transitive dependencies mixes multiple Maven versions: [2.0.6, 2.0.2] [WARNING]* Transitive dependencies contain plexus-container-default, which is EOL [WARNING] [WARNING] * org.apache.maven.plugins:maven-site-plugin:3.12.1 [WARNING] Declared at location(s): [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 580 [WARNING] Plugin EXTERNAL issue(s): [WARNING]* Direct dependencies contain Maven 2.x compatibility layer, which will be not supported in Maven 4.x [WARNING]* Transitive dependencies of Maven artifacts are not in `provided` scope. If the plugin already declares them in `provided` scope, update the maven-plugin-plugin to latest version. Artifacts found with wrong scope: [org.apache.maven:maven-plugin-api:3.2.5, org.apache.maven:maven-model:3.2.5, org.apache.maven:maven-core:3.2.5, org.apache.maven:maven-settings:3.2.5, org.apache.maven:maven-model-builder:3.2.5, org.apache.maven:maven-repository-metadata:3.2.5, org.apache.maven:maven-aether-provider:3.2.5, org.apache.maven:maven-settings-builder:3.2.5, org.apache.maven:maven-artifact:3.2.5] [WARNING]* Transitive dependencies contain plexus-container-default, which is EOL [WARNING] Mojo EXTERNAL issue(s): [WARNING]* Mojo site:attach-descriptor (org.apache.maven.plugins.site.descriptor.SiteDescriptorAttachMojo) [WARNING] - Parameter 'localRepository' uses deprecated parameter expression '${localRepository}': ArtifactRepository type is deprecated and its use in Mojos should be avoided. [WARNING] [WARNING] [WARNING] Fix reported issues by adjusting plugin configuration or by upgrading above listed plugins. If no upgrade available, please notify plugin maintainers about reported issues. [WARNING] For more or less details, use 'maven.plugin.validation' property with one of the values (case insensitive): [NONE, INLINE, SUMMARY, BRIEF, VERBOSE] [WARNING] ``` --- https://issues.apache.org/jira/browse/MNG-7826 > Maven Plugin Validation: Jacoco plugin is not reported as problem > - > > Key: MNG-7826 > URL: https://issues.apache.org/jira/browse/MNG-7826 > Project: Maven > Issue Type: Bug > Components: Plugins and Lifecycle >Affects Versions: 3.9.3 >Reporter: Tamas Cservenak >Priority: Major > > Maven 3.9.2 regarding jacoco maven plugin 0.8.10 reports this: > {noformat} > [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 > [WARNING] Declared at location(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 484 > [WARNING] Used in module(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) > [WARNING]* com.soebes.smpp:smpp-plugins:6.0.4-SNAPSHOT > (smpp-plugins/pom.xml) > [WARNING] Plugin issue(s): > [WARNING]* Plugin is a Maven 2.x plugin, which will be not supported in > Maven 4.x > [WARNING]* Plugin mixes multiple Maven versions: [3.0, 2.0.2] > [WARNING]* Plugin should declare these Maven artifacts in `provided` > scope: [org.apache.maven:maven-repository-metadata:3.0, > org.apache.maven:maven-artifact:3.0] > [WARNING]* Plugin depends on plexus-container-default, which is EOL > {noformat} > and all these are true: culprit is ancient shared file-management, that the > plugin depends in compile scope, while it brings in > * p-c-d > * maven-plugin-api, maven-artifact-manager etc from mvn 2.0.2 > * etc > Maven 3.9.3 does not report anything related to this plugin, while if 3.9.3 > runs a build using it, it clearly shows this in debug (presence of Maven 2 > artifacts and p-c-d): > {noformat} > [INFO] --- jacoco:0.8.10:prepare-agent (default) @ smpp --- > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for snapshots (http://snapshots.maven.codehaus.org/maven2). > [DEBUG] Using mirror px-oss
[jira] [Commented] (MNG-7826) Maven Plugin Validation: Jacoco plugin is not reported as problem
[ https://issues.apache.org/jira/browse/MNG-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17737088#comment-17737088 ] Tamas Cservenak commented on MNG-7826: -- FTR, Jacoco plugin is fixed, so for testing this specific version should be used. See https://github.com/jacoco/jacoco/pull/1468 > Maven Plugin Validation: Jacoco plugin is not reported as problem > - > > Key: MNG-7826 > URL: https://issues.apache.org/jira/browse/MNG-7826 > Project: Maven > Issue Type: Bug > Components: Plugins and Lifecycle >Affects Versions: 3.9.3 >Reporter: Tamas Cservenak >Priority: Major > > Maven 3.9.2 regarding jacoco maven plugin 0.8.10 reports this: > {noformat} > [WARNING] * org.jacoco:jacoco-maven-plugin:0.8.10 > [WARNING] Declared at location(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) @ line 484 > [WARNING] Used in module(s): > [WARNING]* com.soebes.smpp:smpp:6.0.4-SNAPSHOT (pom.xml) > [WARNING]* com.soebes.smpp:smpp-plugins:6.0.4-SNAPSHOT > (smpp-plugins/pom.xml) > [WARNING] Plugin issue(s): > [WARNING]* Plugin is a Maven 2.x plugin, which will be not supported in > Maven 4.x > [WARNING]* Plugin mixes multiple Maven versions: [3.0, 2.0.2] > [WARNING]* Plugin should declare these Maven artifacts in `provided` > scope: [org.apache.maven:maven-repository-metadata:3.0, > org.apache.maven:maven-artifact:3.0] > [WARNING]* Plugin depends on plexus-container-default, which is EOL > {noformat} > and all these are true: culprit is ancient shared file-management, that the > plugin depends in compile scope, while it brings in > * p-c-d > * maven-plugin-api, maven-artifact-manager etc from mvn 2.0.6 > * etc > Maven 3.9.3 does not report anything related to this plugin, while if 3.9.3 > runs a build using it, it clearly shows this in debug (presence of Maven 2 > artifacts): > {noformat} > [INFO] --- jacoco:0.8.10:prepare-agent (default) @ smpp --- > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for snapshots (http://snapshots.maven.codehaus.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://cvs.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for central (http://repo1.maven.org/maven2). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for codehaus.snapshots (http://snapshots.repository.codehaus.org). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://people.apache.org/maven-snapshot-repository). > [DEBUG] Using mirror px-oss (http://urnebes.local:8881/content/groups/oss/) > for apache.snapshots (http://repository.apache.org/snapshots). > [DEBUG] Dependency collection stats {ConflictMarker.analyzeTime=88693, > ConflictMarker.markTime=60265, ConflictMarker.nodeCount=38, > ConflictIdSorter.graphTime=53367, ConflictIdSorter.topsortTime=15824, > ConflictIdSorter.conflictIdCount=21, ConflictIdSorter.conflictIdCycleCount=0, > ConflictResolver.totalTime=753636, ConflictResolver.conflictItemCount=34, > DfDependencyCollector.collectTime=66088125, > DfDependencyCollector.transformTime=990804} > [DEBUG] org.jacoco:jacoco-maven-plugin:jar:0.8.10 > [DEBUG]org.codehaus.plexus:plexus-utils:jar:3.0.24:compile > [DEBUG]org.apache.maven.shared:file-management:jar:1.2.1:compile > [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile > [DEBUG] org.apache.maven.shared:maven-shared-io:jar:1.1:compile > [DEBUG] org.apache.maven:maven-artifact:jar:2.0.2:compile > [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0.2:compile > [DEBUG] > org.apache.maven:maven-repository-metadata:jar:2.0.2:compile > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile > [DEBUG] > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile > [DEBUG] junit:junit:jar:4.13.1:compile (version managed from default) > [DEBUG] org.hamcrest:hamcrest-core:jar:1.3:compile > [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile > [DEBUG]org.apache.maven.reporting:maven-reporting-api:jar:3.0:compile > [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.0:compile > [DEBUG]org.jacoco:org.jacoco.agent:jar:runtime:0.8.10:compile > [DEBUG]org.jacoco:org.jacoco.core:jar:0.8.10:compile > [DEBUG] org.ow2.asm:asm:jar:9.5:compile (version managed from default) > [DEBUG] org.ow2.asm:asm-commons:jar:9.5:compile (version