Re: [VOTE] Release Apache Maven Dependency Analyzer version 1.11.3

2020-08-11 Thread Ian Lavallee
+1 On Mon, Aug 10, 2020 at 10:20 AM Elliotte Rusty Harold wrote: > Let's try this one more time. I updated Jira and regenerated the > release notes. Nothing else has changed: > > Hi, > > We solved 3 issues: > > [MSHARED-949] - dependency:analyze should recommend narrower scope > where possible >

How to see output for failing integration tests on jenkins

2020-08-05 Thread Ian Lavallee
Hi, I'm trying to figure out why tests that pass locally are failing on Jenkins. When I run the tests locally I can go target\it\test to see the output, build log, etc. of each integration test but I can't figure out how to do that on Jenkins. Does anyone know how to do this or how to get more inf

When should depenedncyManagement display "scope not updated to X"

2020-07-29 Thread Ian Lavallee
I'm working on a verbose tree serializer in maven-dependency-plugin and have the dependency management messages like "scope managed from compile" working but I can't find documentation on why "scope not updated to compile" messages show up. Line 24 of this test's expected.txt shows this.

Re: How does dependencyManagement analysis in Maven-Tree work

2020-07-28 Thread Ian Lavallee
Hi all, I was able to find some StackOverflow questions that described the expected behaviour and I'm able to get this feature implemented by injecting a MavenProject variable and accessing the project's Model DependencyManagement field. Thanks, Ian On Tue, Jul 28, 2020 at 3:24 PM Ia

How does dependencyManagement analysis in Maven-Tree work

2020-07-28 Thread Ian Lavallee
I have a working but not feature complete verbose tree builder and serializer in the maven-dependency-plugin and I am trying to add the dependencyManagement messages (ex. (org.apache.maven:maven-model:jar:2.0.5:test - version managed from 2.0.4; scope managed from compile; omitted for conflict with

RE: [VOTE] Release Apache Maven Dependency Analyzer version 1.11.2

2020-07-23 Thread Ian Lavallee
+1 *From: *Elliotte Rusty Harold *Sent: *July 20, 2020 10:33 AM *To: *Maven Developers List *Subject: *[VOTE] Release Apache Maven Dependency Analyzer version 1.11.2 Hi, We solved 2 issues: ** Dependency upgrade * [MSHARED-868] - Upgrade plexus-component-metadata to 2.1.0 * [M

Re: How does maven resolve cyclic dependendencies/how should the verbose depenedency:tree display them

2020-07-19 Thread Ian Lavallee
The maven dependency tree page says "in verbose mode the dependency tree shows dependencies that were omitted for: ... introducing a cycle into the dependency tree" so I think we s

How does maven resolve cyclic dependendencies/how should the verbose depenedency:tree display them

2020-07-17 Thread Ian Lavallee
If I have Projects A, B, C with A depends on B, B depends on C, C depends on A does maven still include one of each A, B, C? Should the tree output be as below: Project-groupId:Project-Artifact \- A \- B \- C \- A (omitted due to cycle) If this isn't correct what is the expe

Where is the actual compiler for Maven

2020-07-13 Thread Ian Lavallee
Hi all, I am trying to make changes to the actual compiler for Maven so I can notify the user when they have runtime dependencies scoped as compile from maven-dependency-analyzer. I've looked at the maven-compiler plugin but the only actual compilers I can find are in sonatype-plexus-compiler

Maven-Artifact-Transfer Lookup Errors With org.eclipse.aether Classes

2020-07-07 Thread Ian Lavallee
Hi all, When adding maven-resolver-api:1.4.2 to maven-dependency-plugin and changing nothing else I get multiple test failures due to plexus lookup errors in maven-artifact-transfer. The errors in artifact-transfer occur when looking up org.eclipse.aether versions of classes. The classes that ha

Tests fail when maven-resolver-api is added to dependency-plugin

2020-07-02 Thread Ian Lavallee
https://github.com/ian-lavallee/maven-dependency-plugin/tree/verboseDependencyTree Thanks, Ian

Maven Plugin Tests Need maven-compat to Run

2020-06-12 Thread Ian Lavallee
Hi all, I am working on getting a dependencyGraphBuilder working in its own project with up to date dependencies (maven-resolver-api etc) as I was having a lot of issues with some of the older code when trying to update the dependency-plugin directly. I used maven-plugin-testing-harness to test t

Re: [MDEP-644] Tests failing due to Guice Plexus incompatability

2020-06-05 Thread Ian Lavallee
I have created a small project that can replicate the error here https://github.com/ian-lavallee/ContainerTest/tree/master/src/test/java Currently if you run mvn verify it will pass the test but it only passed the test if I added the components.xml with the binding for RepositorySystem but it

Re: [MDEP-644] Tests failing due to Guice Plexus incompatability

2020-06-05 Thread Ian Lavallee
Hi Tomo, I sent this last night but I don't think it went through so I'm sending it again. https://github.com/ian-lavallee/maven-dependency-plugin/blob/removeTreeDependency/mvnVerifyOutput.txt this is the output for mvn verify -e and there is another txt containing the stacktrace of ju

[MDEP-644] Tests failing due to Guice Plexus incompatability

2020-06-04 Thread Ian Lavallee
Hi, I am working on ticket MDEP-644 Reintroduce the verbose option for dependency:tree. I'm having trouble with broken tests. I added org.apache.maven.resolver:maven-resolver-api:1.4.2 and org.apache.maven.resolver:maven-resolver-impl:1.4.2 and didn't change anything else and multiple tests broke