Help Wanted

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Help Wanted

mkarg
I would be super happy if somebody of the Maven Heros could help me with my PR as I am totally stuck!

https://github.com/apache/maven-dependency-plugin/pull/109

Anybody having an idea how I can solve this?

Thanks!
-Markus
Reply | Threaded
Open this post in threaded view
|

Re: Help Wanted

mgainty
sorry.. got distracted watching a 1941 dogfight of messerschmitt vs spitfire re-creation over englisch channel
Watch Pearl Harbor Online | Free Full Movie | 123Movies (123moviesgoto.com)<https://123moviesgoto.com/pearl-harbor>
for all whose fathers fought in the "Big War" I would say this flick seems like worthwhile viewing

I took a copy of https://github.com/apache/maven-dependency-plugin/pull/109

>mvn compile

ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestUnpackDependenciesMojo.java:[544,65]
incompatible types: java.lang.Object cannot be converted to org.apache.maven.artifact.Artifact
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestUnpackDependenciesMojo.java:[554,65] incompatible types: java.lang.Object cannot be converted to org.apache.maven.artifact.Artifact
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[210,17] name clash: setRemoteArtifactRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setRemoteArtifactRepositories(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[240,17] name clash: setDependencies(java.util.List<org.apache.maven.model.Dependency>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setDependencies(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[389,17] name clash: setAttachedArtifacts(java.util.List<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setAttachedArtifacts(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[394,17] name clash: setCompileSourceRoots(java.util.List<java.lang.String>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setCompileSourceRoots(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[399,17] name clash: setTestCompileSourceRoots(java.util.List<java.lang.String>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setTestCompileSourceRoots(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[404,17] name clash: setScriptSourceRoots(java.util.List<java.lang.String>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setScriptSourceRoots(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[615,17] name clash: setMailingLists(java.util.List<org.apache.maven.model.MailingList>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setMailingLists(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[614,5] method does not override or implement a method from a supertype
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[631,17] name clash: setDevelopers(java.util.List<org.apache.maven.model.Developer>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setDevelopers(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[630,5] method does not override or implement a method from a supertype
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[646,17] name clash: setContributors(java.util.List<org.apache.maven.model.Contributor>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setContributors(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[701,17] name clash: setLicenses(java.util.List<org.apache.maven.model.License>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setLicenses(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[716,17] name clash: setArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[738,17] name clash: setPluginArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setPluginArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[753,17] name clash: setReportArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setReportArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[768,17] name clash: setExtensionArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setExtensionArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[833,17] name clash: setCollectedProjects(java.util.List<org.apache.maven.project.MavenProject>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setCollectedProjects(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[838,17] name clash: setPluginArtifactRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setPluginArtifactRepositories(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[858,17] name clash: setActiveProfiles(java.util.List<org.apache.maven.model.Profile>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setActiveProfiles(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[922,17] name clash: setDependencyArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setDependencyArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo.java:[441,65] incompatible types: java.lang.Object cannot be converted to org.apache.maven.artifact.Artifact
[INFO] 23 errors

No NullPointerException but then again i had to reconfig pom.xml

FWIK: casting errors as far as I can tell

will report back to you when I can compile and test

gruss
martin

________________________________
From: Markus Karg <[hidden email]>
Sent: Thursday, December 3, 2020 12:23 PM
To: [hidden email] <[hidden email]>
Subject: Help Wanted

I would be super happy if somebody of the Maven Heros could help me with my PR as I am totally stuck!

https://github.com/apache/maven-dependency-plugin/pull/109

Anybody having an idea how I can solve this?

Thanks!
-Markus
Reply | Threaded
Open this post in threaded view
|

Re: Help Wanted

mgainty
Hi Markus

i was able to get tests to pass for maven-dependency-plugin

[INFO]  T E S T S
[INFO] -------------------------------------------------------
SystemPropertyManager::writePropertiesFile LINE 106 throws ClassCastException message=java.lang.Object cannot be cast to java.lang.String
[DEBUG] boot classpath:  \Users\MGainty\.m2\repository\org\apache\maven\surefire\surefire-booter\2.22.1\surefire-booter-2.22.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\surefire\surefire-api\2.22.1\surefire-api-2.22.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\surefire\surefire-logger-api\2.22.1\surefire-logger-api-2.22.1.jar  \Maven-plugin\maven-dependency-plugin\maven-dependency-plugin-markus\target\test-classes  \Maven-plugin\maven-dependency-plugin\maven-dependency-plugin-markus\target\classes  \Users\MGainty\.m2\repository\org\apache\maven\surefire\surefire-api\2.9\surefire-api-2.9.jar  \Users\MGainty\.m2\repository\org\apache\maven\surefire\maven-surefire-common\2.22.1\maven-surefire-common-2.22.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-plugin-descriptor\2.2.1\maven-plugin-descriptor-2.2.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-project\2.2.1\maven-project-2.2.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-profile\2.2.1\maven-profile-2.2.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-artifact-manager\2.2.1\maven-artifact-manager-2.2.1.jar  \Users\MGainty\.m2\repository\backport-util-concurrent\backport-util-concurrent\3.1\backport-util-concurrent-3.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-plugin-registry\2.2.1\maven-plugin-registry-2.2.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-toolchain\2.2.1\maven-toolchain-2.2.1.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-java\0.9.10\plexus-java-0.9.10.jar  \Users\MGainty\.m2\repository\com\thoughtworks\qdox\qdox\2.0-M8\qdox-2.0-M8.jar  \Users\MGainty\.m2\repository\org\apache\maven\shared\maven-common-artifact-filters\3.0.1\maven-common-artifact-filters-3.0.1.jar  \Users\MGainty\.m2\repository\org\sonatype\sisu\sisu-inject-plexus\1.4.2\sisu-inject-plexus-1.4.2.jar  \Users\MGainty\.m2\repository\org\sonatype\sisu\sisu-inject-bean\1.4.2\sisu-inject-bean-1.4.2.jar  \Users\MGainty\.m2\repository\org\sonatype\sisu\sisu-guice\2.1.7\sisu-guice-2.1.7-noaop.jar  \Users\MGainty\.m2\repository\org\eclipse\aether\aether-api\1.1.0-SNAPSHOT\aether-api-1.1.0-SNAPSHOT.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-artifact\3.1.1\maven-artifact-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-plugin-api\3.1.1\maven-plugin-api-3.1.1.jar  \Users\MGainty\.m2\repository\org\eclipse\sisu\org.eclipse.sisu.plexus\0.1.0\org.eclipse.sisu.plexus-0.1.0.jar \Users\MGainty\.m2\repository\javax\enterprise\cdi-api\1.0\cdi-api-1.0.jar  \Users\MGainty\.m2\repository\javax\annotation\jsr250-api\1.0\jsr250-api-1.0.jar  \Users\MGainty\.m2\repository\javax\inject\javax.inject\1\javax.inject-1.jar  \Users\MGainty\.m2\repository\org\eclipse\sisu\org.eclipse.sisu.inject\0.1.0\org.eclipse.sisu.inject-0.1.0.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-model\3.1.1\maven-model-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-core\3.1.1\maven-core-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-settings\3.1.1\maven-settings-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-settings-builder\3.1.1\maven-settings-builder-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-model-builder\3.1.1\maven-model-builder-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-aether-provider\3.1.1\maven-aether-provider-3.1.1.jar  \Users\MGainty\.m2\repository\org\eclipse\aether\aether-impl\0.9.0.M2\aether-impl-0.9.0.M2.jar  \Users\MGainty\.m2\repository\org\eclipse\aether\aether-util\0.9.0.M2\aether-util-0.9.0.M2.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-classworlds\2.5.1\plexus-classworlds-2.5.1.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-component-annotations\2.0.0\plexus-component-annotations-2.0.0.jar  \Users\MGainty\.m2\repository\org\sonatype\plexus\plexus-sec-dispatcher\1.3\plexus-sec-dispatcher-1.3.jar  \Users\MGainty\.m2\repository\org\sonatype\plexus\plexus-cipher\1.4\plexus-cipher-1.4.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-repository-metadata\3.1.1\maven-repository-metadata-3.1.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\reporting\maven-reporting-api\3.0\maven-reporting-api-3.0.jar  \Users\MGainty\.m2\repository\org\apache\maven\reporting\maven-reporting-impl\3.0.0\maven-reporting-impl-3.0.0.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-decoration-model\1.7.4\doxia-decoration-model-1.7.4.jar  \Users\MGainty\.m2\repository\commons-io\commons-io\2.6\commons-io-2.6.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-sink-api\1.9.1\doxia-sink-api-1.9.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-logging-api\1.9.1\doxia-logging-api-1.9.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-core\1.9.1\doxia-core-1.9.1.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-container-default\1.7.1\plexus-container-default-1.7.1.jar  \Users\MGainty\.m2\repository\org\apache\xbean\xbean-reflect\3.7\xbean-reflect-3.7.jar  \Users\MGainty\.m2\repository\com\google\collections\google-collections\1.0\google-collections-1.0.jar  \Users\MGainty\.m2\repository\org\apache\httpcomponents\httpclient\4.5.8\httpclient-4.5.8.jar  \Users\MGainty\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar  \Users\MGainty\.m2\repository\org\apache\httpcomponents\httpcore\4.4.11\httpcore-4.4.11.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-site-renderer\1.9.2\doxia-site-renderer-1.9.2.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-skin-model\1.9.2\doxia-skin-model-1.9.2.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-module-xhtml\1.9.1\doxia-module-xhtml-1.9.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\doxia\doxia-module-xhtml5\1.9.1\doxia-module-xhtml5-1.9.1.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-i18n\1.0-beta-10\plexus-i18n-1.0-beta-10.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-velocity\1.2\plexus-velocity-1.2.jar  \Users\MGainty\.m2\repository\org\apache\velocity\velocity\1.7\velocity-1.7.jar  \Users\MGainty\.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar  \Users\MGainty\.m2\repository\org\apache\velocity\velocity-tools\2.0\velocity-tools-2.0.jar  \Users\MGainty\.m2\repository\commons-beanutils\commons-beanutils\1.7.0\commons-beanutils-1.7.0.jar  \Users\MGainty\.m2\repository\commons-digester\commons-digester\1.8\commons-digester-1.8.jar  \Users\MGainty\.m2\repository\commons-chain\commons-chain\1.1\commons-chain-1.1.jar  \Users\MGainty\.m2\repository\dom4j\dom4j\1.1\dom4j-1.1.jar  \Users\MGainty\.m2\repository\oro\oro\2.0.8\oro-2.0.8.jar  \Users\MGainty\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-archiver\4.2.2\plexus-archiver-4.2.2.jar  \Users\MGainty\.m2\repository\org\apache\commons\commons-compress\1.20\commons-compress-1.20.jar  \Users\MGainty\.m2\repository\org\iq80\snappy\snappy\0.4\snappy-0.4.jar  \Users\MGainty\.m2\repository\org\tukaani\xz\1.8\xz-1.8.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-utils\3.3.0\plexus-utils-3.3.0.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-io\3.2.0\plexus-io-3.2.0.jar  \Users\MGainty\.m2\repository\org\apache\maven\shared\maven-dependency-analyzer\1.11.1\maven-dependency-analyzer-1.11.1.jar  \Users\MGainty\.m2\repository\org\ow2\asm\asm\8.0.1\asm-8.0.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\shared\maven-dependency-tree\3.0.1\maven-dependency-tree-3.0.1.jar  \Users\MGainty\.m2\repository\org\apache\maven\shared\maven-artifact-transfer\0.11.0\maven-artifact-transfer-0.11.0.jar  \Users\MGainty\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar  \Users\MGainty\.m2\repository\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar  \Users\MGainty\.m2\repository\org\apache\maven\shared\maven-shared-utils\3.2.1\maven-shared-utils-3.2.1.jar  \Users\MGainty\.m2\repository\org\apache\commons\commons-lang3\3.8.1\commons-lang3-3.8.1.jar  \Users\MGainty\.m2\repository\org\apache\commons\commons-collections4\4.2\commons-collections4-4.2.jar  \Users\MGainty\.m2\repository\classworlds\classworlds\1.1\classworlds-1.1.jar   Users\MGainty\.m2\repository\org\apache\maven\plugin-tools\maven-plugin-annotations\3.5.2\maven-plugin-annotations-3.5.2.jar  \Users\MGainty\.m2\repository\org\eclipse\aether\aether-connector-wagon\0.9.0.M2\aether-connector-wagon-0.9.0.M2.jar  \Users\MGainty\.m2\repository\org\eclipse\aether\aether-spi\0.9.0.M2\aether-spi-0.9.0.M2.jar  \Users\MGainty\.m2\repository\org\apache\maven\wagon\wagon-provider-api\1.0\wagon-provider-api-1.0.jar  \Users\MGainty\.m2\repository\org\apache\maven\wagon\wagon-http-lightweight\3.4.0\wagon-http-lightweight-3.4.0.jar  C:\Users\MGainty\.m2\repository\org\apache\maven\wagon\wagon-http-shared\3.4.0\wagon-http-shared-3.4.0.jar  \Users\MGainty\.m2\repository\org\jsoup\jsoup\1.12.1\jsoup-1.12.1.jar  \Users\MGainty\.m2\repository\junit\junit\4.13\junit-4.13.jar  \Users\MGainty\.m2\repository\org\apache\maven\plugin-testing\maven-plugin-testing-tools\3.1.0\maven-plugin-testing-tools-3.1.0.jar  \Users\MGainty\.m2\repository\org\apache\maven\shared\maven-invoker\2.0.11\maven-invoker-2.0.11.jar  \Users\MGainty\.m2\repository\org\apache\maven\plugin-testing\maven-plugin-testing-harness\3.1.0\maven-plugin-testing-harness-3.1.0.jar  \Users\MGainty\.m2\repository\org\mockito\mockito-core\2.28.2\mockito-core-2.28.2.jar  \Users\MGainty\.m2\repository\net\bytebuddy\byte-buddy\1.9.10\byte-buddy-1.9.10.jar  \Users\MGainty\.m2\repository\net\bytebuddy\byte-buddy-agent\1.9.10\byte-buddy-agent-1.9.10.jar  \Users\MGainty\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar  \Users\MGainty\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.26\plexus-interpolation-1.26.jar  \Users\MGainty\.m2\repository\org\apache\maven\maven-compat\3.1.1\maven-compat-3.1.1.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-server\9.2.28.v20190418\jetty-server-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-http\9.2.28.v20190418\jetty-http-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-util\9.2.28.v20190418\jetty-util-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-io\9.2.28.v20190418\jetty-io-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-servlet\9.2.28.v20190418\jetty-servlet-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-security\9.2.28.v20190418\jetty-security-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-webapp\9.2.28.v20190418\jetty-webapp-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\eclipse\jetty\jetty-xml\9.2.28.v20190418\jetty-xml-9.2.28.v20190418.jar  \Users\MGainty\.m2\repository\org\apache\maven\surefire\surefire-junit4\2.22.1\surefire-junit4-2.22.1.jar
[DEBUG] boot(compact) classpath:  surefire-booter-2.22.1.jar  surefire-api-2.22.1.jar  surefire-logger-api-2.22.1.jar  test-classes  classes  surefire-api-2.9.jar  maven-surefire-common-2.22.1.jar  maven-plugin-descriptor-2.2.1.jar  maven-project-2.2.1.jar  maven-profile-2.2.1.jar  maven-artifact-manager-2.2.1.jar  backport-util-concurrent-3.1.jar  maven-plugin-registry-2.2.1.jar  maven-toolchain-2.2.1.jar  plexus-java-0.9.10.jar  qdox-2.0-M8.jar  maven-common-artifact-filters-3.0.1.jar  sisu-inject-plexus-1.4.2.jar  sisu-inject-bean-1.4.2.jar  sisu-guice-2.1.7-noaop.jar  aether-api-1.1.0-SNAPSHOT.jar  maven-artifact-3.1.1.jar  maven-plugin-api-3.1.1.jar  org.eclipse.sisu.plexus-0.1.0.jar  cdi-api-1.0.jar  jsr250-api-1.0.jar  javax.inject-1.jar  org.eclipse.sisu.inject-0.1.0.jar  maven-model-3.1.1.jar  maven-core-3.1.1.jar  maven-settings-3.1.1.jar  maven-settings-builder-3.1.1.jar  maven-model-builder-3.1.1.jar  maven-aether-provider-3.1.1.jar  aether-impl-0.9.0.M2.jar  aether-util-0.9.0.M2.jar  plexus-classworlds-2.5.1.jar  plexus-component-annotations-2.0.0.jar  plexus-sec-dispatcher-1.3.jar  plexus-cipher-1.4.jar  maven-repository-metadata-3.1.1.jar  maven-reporting-api-3.0.jar  maven-reporting-impl-3.0.0.jar  doxia-decoration-model-1.7.4.jar  commons-io-2.6.jar  doxia-sink-api-1.9.1.jar  doxia-logging-api-1.9.1.jar  doxia-core-1.9.1.jar  plexus-container-default-1.7.1.jar  xbean-reflect-3.7.jar  google-collections-1.0.jar  httpclient-4.5.8.jar  commons-logging-1.2.jar  httpcore-4.4.11.jar  doxia-site-renderer-1.9.2.jar  doxia-skin-model-1.9.2.jar  doxia-module-xhtml-1.9.1.jar  doxia-module-xhtml5-1.9.1.jar  plexus-i18n-1.0-beta-10.jar  plexus-velocity-1.2.jar  velocity-1.7.jar  commons-lang-2.4.jar  velocity-tools-2.0.jar  commons-beanutils-1.7.0.jar  commons-digester-1.8.jar  commons-chain-1.1.jar  dom4j-1.1.jar  oro-2.0.8.jar  commons-collections-3.2.2.jar  plexus-archiver-4.2.2.jar  commons-compress-1.20.jar  snappy-0.4.jar  xz-1.8.jar  plexus-utils-3.3.0.jar  plexus-io-3.2.0.jar  maven-dependency-analyzer-1.11.1.jar  asm-8.0.1.jar  maven-dependency-tree-3.0.1.jar  maven-artifact-transfer-0.11.0.jar  commons-codec-1.11.jar  slf4j-api-1.7.5.jar  maven-shared-utils-3.2.1.jar  commons-lang3-3.8.1.jar  commons-collections4-4.2.jar  classworlds-1.1.jar  maven-plugin-annotations-3.5.2.jar  aether-connector-wagon-0.9.0.M2.jar  aether-spi-0.9.0.M2.jar  wagon-provider-api-1.0.jar  wagon-http-lightweight-3.4.0.jar  wagon-http-shared-3.4.0.jar  jsoup-1.12.1.jar  junit-4.13.jar  maven-plugin-testing-tools-3.1.0.jar  maven-invoker-2.0.11.jar  maven-plugin-testing-harness-3.1.0.jar  mockito-core-2.28.2.jar  byte-buddy-1.9.10.jar  byte-buddy-agent-1.9.10.jar  objenesis-2.6.jar  plexus-interpolation-1.26.jar  maven-compat-3.1.1.jar  jetty-server-9.2.28.v20190418.jar  javax.servlet-api-3.1.0.jar  jetty-http-9.2.28.v20190418.jar  jetty-util-9.2.28.v20190418.jar  jetty-io-9.2.28.v20190418.jar  jetty-servlet-9.2.28.v20190418.jar  jetty-security-9.2.28.v20190418.jar  jetty-webapp-9.2.28.v20190418.jar  jetty-xml-9.2.28.v20190418.jar  surefire-junit4-2.22.1.jar
[DEBUG] Forking command line: cmd.exe /X /C "C:\Java\jdk1.8.0_161\jre\bin\java -Xmx384m -jar C:\Maven-plugin\maven-dependency-plugin\maven-dependency-plugin-markus\surefire\surefirebooter5223283806371339837.jar C:\Maven-plugin\maven-dependency-plugin\maven-dependency-plugin-markus\surefire 2020-12-09T18-42-51_647-jvmRun1 surefire6735082700204536096tmp surefire_06519399515511647335tmp"
[WARNING] Corrupted stdin stream in forked JVM 1. See the dump file \Maven-plugin\maven-dependency-plugin\maven-dependency-plugin-markus\target\surefire-reports\2020-12-09T18-42-51_647-jvmRun1.dumpstream
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.633 s
[INFO] Finished at: 2020-12-09T18:43:01-05:00
[INFO] ------------------------------------------------------------------------

please see attached pom.xml

~gruss~
martin

From: Martin Gainty <[hidden email]>
Sent: Monday, December 7, 2020 4:58 PM
To: Maven Developers List <[hidden email]>
Subject: Re: Help Wanted
 
sorry.. got distracted watching a 1941 dogfight of messerschmitt vs spitfire re-creation over englisch channel
Watch Pearl Harbor Online | Free Full Movie | 123Movies (123moviesgoto.com)
for all whose fathers fought in the "Big War" I would say this flick seems like worthwhile viewing

I took a copy of https://github.com/apache/maven-dependency-plugin/pull/109

>mvn compile

ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestUnpackDependenciesMojo.java:[544,65]
incompatible types: java.lang.Object cannot be converted to org.apache.maven.artifact.Artifact
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestUnpackDependenciesMojo.java:[554,65] incompatible types: java.lang.Object cannot be converted to org.apache.maven.artifact.Artifact
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[210,17] name clash: setRemoteArtifactRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setRemoteArtifactRepositories(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[240,17] name clash: setDependencies(java.util.List<org.apache.maven.model.Dependency>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setDependencies(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[389,17] name clash: setAttachedArtifacts(java.util.List<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setAttachedArtifacts(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[394,17] name clash: setCompileSourceRoots(java.util.List<java.lang.String>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setCompileSourceRoots(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[399,17] name clash: setTestCompileSourceRoots(java.util.List<java.lang.String>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setTestCompileSourceRoots(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[404,17] name clash: setScriptSourceRoots(java.util.List<java.lang.String>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setScriptSourceRoots(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[615,17] name clash: setMailingLists(java.util.List<org.apache.maven.model.MailingList>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setMailingLists(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[614,5] method does not override or implement a method from a supertype
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[631,17] name clash: setDevelopers(java.util.List<org.apache.maven.model.Developer>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setDevelopers(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[630,5] method does not override or implement a method from a supertype
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[646,17] name clash: setContributors(java.util.List<org.apache.maven.model.Contributor>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setContributors(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[701,17] name clash: setLicenses(java.util.List<org.apache.maven.model.License>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setLicenses(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[716,17] name clash: setArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[738,17] name clash: setPluginArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setPluginArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[753,17] name clash: setReportArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setReportArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[768,17] name clash: setExtensionArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setExtensionArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[833,17] name clash: setCollectedProjects(java.util.List<org.apache.maven.project.MavenProject>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setCollectedProjects(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[838,17] name clash: setPluginArtifactRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setPluginArtifactRepositories(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[858,17] name clash: setActiveProfiles(java.util.List<org.apache.maven.model.Profile>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setActiveProfiles(java.util.List) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/testUtils/stubs/DependencyProjectStub.java:[922,17] name clash: setDependencyArtifacts(java.util.Set<org.apache.maven.artifact.Artifact>) in org.apache.maven.plugins.dependency.testUtils.stubs.DependencyProjectStub and setDependencyArtifacts(java.util.Set) in org.apache.maven.project.MavenProject have the same erasure, yet neither overrides the other
[ERROR] /Maven-plugin/maven-dependency-plugin/maven-dependency-plugin-markus/src/test/java/org/apache/maven/plugins/dependency/fromDependencies/TestCopyDependenciesMojo.java:[441,65] incompatible types: java.lang.Object cannot be converted to org.apache.maven.artifact.Artifact
[INFO] 23 errors

No NullPointerException but then again i had to reconfig pom.xml

FWIK: casting errors as far as I can tell

will report back to you when I can compile and test

gruss
martin


From: Markus Karg <[hidden email]>
Sent: Thursday, December 3, 2020 12:23 PM
To: [hidden email] <[hidden email]>
Subject: Help Wanted
 
I would be super happy if somebody of the Maven Heros could help me with my PR as I am totally stuck!

https://github.com/apache/maven-dependency-plugin/pull/109

Anybody having an idea how I can solve this?

Thanks!
-Markus


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

pom.xml (27K) Download Attachment