apache / apache/maven-assembly-plugin
[MASSEMBLY-907] Dependencies are not included when run with mvn install
- Dominant language
- Java
- Stars
- 110
- Forks
- 75
- Avg merge
- 12h 54m
- Merged PRs (30d)
- 10
Description
**[Lau Bakman](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=lbakman)** opened **[MASSEMBLY-907](https://issues.apache.org/jira/browse/MASSEMBLY-907?redirect=false)** and commented
We have just updated to version 3.1.1 due to MASSEMBLY-873 and have stumbled upon a problem.
Our project is structured similar to the attached project. When we build our project using "mvn clean package" the project is assembled correctly including dependencies. If we on the other hand build our project using "mvn clean install", only the top level jar files are assembled and all dependencies are missing.
This worked in version 3.1.0.
Is this by design? And if it is, is there a way to revert to the old behavior?
---
**Affects:** 3.1.1
**Attachments:**
- [310_install_verbose.log](https://issues.apache.org/jira/secure/attachment/12963864/310_install_verbose.log) (_146.22 kB_)
- [310_install.log](https://issues.apache.org/jira/secure/attachment/12963863/310_install.log) (_7.84 kB_)
- [311_install_verbose.log](https://issues.apache.org/jira/secure/attachment/12963862/311_install_verbose.log) (_135.26 kB_)
- [311_install.log](https://issues.apache.org/jira/secure/attachment/12963865/311_install.log) (_7.84 kB_)
- [311_package_verbose.log](https://issues.apache.org/jira/secure/attachment/12963876/311_package_verbose.log) (_125.75 kB_)
- [assembly_deps.zip](https://issues.apache.org/jira/secure/attachment/12963733/assembly_deps.zip) (_8.45 kB_)
3 votes, 6 watchers
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the difference between "mvn clean package" and "mvn clean install" using the attached assembly_deps.zip project. Compare 3.1.0 and 3.1.1 with 310_install.log, 311_install.log, and 311_package.log, including the verbose logs, then verify that installed assemblies include their dependencies as they did in 3.1.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100