Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes missing dependencies in the build #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adamretter
Copy link
Contributor

Closes #73

Copy link
Collaborator

@cmarchand cmarchand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two questions about added dependencies...

@@ -79,12 +79,27 @@
<artifactId>xmlresolver</artifactId>
<version>4.5.1</version>
</dependency>
<dependency>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you add this dependency ?

Copy link
Contributor Author

@adamretter adamretter Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because according to running mvn dependency:analyze-only it is in use in the code base, which I suspect is correct ;-)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is.

but org.eclipse.sisu:org.eclipse.sisu.plexus is included by org.apache.maven:maven-plugin-api and by org.apache.maven:maven-core, and I have dependencies declared on this ones. So why do you add a direct declaration to this dependency, which is transitively included ? To explicitely declare that I use this dependency ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not entirely sure... Transitive dependencies are very tricky. But I tend to find it you make the dependency plugin happy then you usually have less problems. Feel free to adjust my PR if you prefer; you should be able to push commits to my branch if you want to make some changes.

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
<dependency>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this one ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing commons-io dependency
2 participants