maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <>
Subject [jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install
Date Tue, 26 Mar 2019 16:01:00 GMT


Karl Heinz Marbaise commented on MASSEMBLY-907:

This can be a coincidence based on using a different version of JDK a different version of
Maven or different version of the assembly-plugin etc. or simply changed the order of modules
in your pom file etc. which changed the order of the reactor. 

Furthermore I don't know why you are using the format: dir your descriptor. 

And yes you have to do the dependencies to be sure the reactor is in the expected order...

> Dependencies are not included when run with mvn install
> -------------------------------------------------------
>                 Key: MASSEMBLY-907
>                 URL:
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>            Reporter: Lau Bakman
>            Priority: Major
>         Attachments:
> 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?

This message was sent by Atlassian JIRA

View raw message