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

Add possibility to include all maven artifact dependencies to deb file #196

Open
Don4ik opened this issue Feb 18, 2015 · 6 comments
Open
Milestone

Comments

@Don4ik
Copy link

Don4ik commented Feb 18, 2015

Please, add possibility to include all maven artifact dependencies to deb file

@tcurdt
Copy link
Owner

tcurdt commented Feb 19, 2015

@Don4ik Have you looked into the maven shade plugin? (highly recommended)
Or do you mean something else but the jars?

@tcurdt tcurdt added this to the 2.0 milestone Feb 19, 2015
@Don4ik
Copy link
Author

Don4ik commented Feb 19, 2015

Thank you for fast reply. Currently we use shade plugin for it. But it is a bit slow.
So the question: is it possible to just tell jdeb maven plugin to include all maven dependencies into deb?

@tcurdt
Copy link
Owner

tcurdt commented Feb 19, 2015

@Don4ik There is no easy/clean way of doing that with the current jdeb maven plugin as dependencies are located in your local maven repository.

It certainly something that could be added - but build speed is not a very good argument for the additional overhead of maintaining this feature.

I would personally recommend to keep using the the shade plugin. It comes with so many benefits I don't know why anyone would want to ship a product not using it.

@praste
Copy link

praste commented Feb 27, 2015

We use assembly plugin to copy dependencies to a folder (check dependencySet) option

We then add that folder as one of the mapper elements of jdeb plugin

@Don4ik
Copy link
Author

Don4ik commented Feb 27, 2015

We use slightly different approach now. We use maven dependency plugin to put all dependencies in a folder. It seems like it is the fastest way.

@tcurdt
Copy link
Owner

tcurdt commented Jan 23, 2016

I guess one could look how the dependency plugin gets to the dependencies and turn it into a jdeb DataProducer.

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

No branches or pull requests

3 participants