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

useAllProjectDependencies does not include transitive dependencies #44

Open
jansohn opened this issue Aug 17, 2016 · 3 comments
Open

useAllProjectDependencies does not include transitive dependencies #44

jansohn opened this issue Aug 17, 2016 · 3 comments

Comments

@jansohn
Copy link

jansohn commented Aug 17, 2016

I want to use the option useAllProjectDependencies=true to also include dependencies in test scope. If I enable this option the transitive dependencies are not copied to the repo directory.

Example

commons-configuration.commons-configuration:1.10 has two transitive dependencies:

  • commons-lang.commons-lang:2.6
  • commons-logging.commons-logging:1.1.1

These are only copied if I disable useAllProjectDependencies. Is this behavior as designed or a bug?

I'm using appassembler-maven-plugin 1.10 and JDK 1.8.0_71 (32bit).

@NickDiMucci
Copy link

I am also experiencing the same thing. I wouldn't imagine it was by design, seems like a bug, but would like to have that confirmed true or not.

@jansohn
Copy link
Author

jansohn commented Sep 30, 2016

There's a TODO defined at the relevant location (

// TODO: This should be made different. We have to think about using
) which seems to indicate that they are aware that the current behavior is not optimal...

EDIT: Actually functionality seems to have changed between Maven 2 and Maven 3 for the method getDependencyArtifacts(). In Maven 3 one should use getArtifacts() instead. (http://stackoverflow.com/q/1492000/3375325)

@ncoquelet
Copy link

Hi, any update on this ? I have the same issue. (maven 3.3.9 and appassembler 2.0.0) thanks

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

No branches or pull requests

3 participants