[jira] [Updated] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lau Bakman updated MASSEMBLY-907:
-
Attachment: 311_package_verbose.log

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: 310_install.log, 310_install_verbose.log, 
> 311_install.log, 311_install_verbose.log, 311_package_verbose.log, 
> assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802667#comment-16802667
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

Added the log for "mvn package" with version 3.1.1. 

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: 310_install.log, 310_install_verbose.log, 
> 311_install.log, 311_install_verbose.log, 311_package_verbose.log, 
> assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802646#comment-16802646
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

I have added the logging output for both executions.

To my untrained eyes there seem to be a difference in line 1572:
 * 3.1.0: Dependencies (resolve): [compile]
 * 3.1.1: Dependencies (resolve): [test]

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: 310_install.log, 310_install_verbose.log, 
> 311_install.log, 311_install_verbose.log, assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Updated] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


 [ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lau Bakman updated MASSEMBLY-907:
-
Attachment: 311_install.log
310_install_verbose.log
310_install.log
311_install_verbose.log

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: 310_install.log, 310_install_verbose.log, 
> 311_install.log, 311_install_verbose.log, assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802508#comment-16802508
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

I have tried with every version of maven-assembly-plugin from version 2.3. Only 
3.1.1 fails to assemble the attached project correctly. 

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802505#comment-16802505
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

In the attached project:

Change maven.assembly.plugin.version to 3.1.0 and execute "mvn install": 
spike.services.hello is assembled including dependencies in the lib folder.

Change maven.assembly.plugin.version to 3.1.1 and execute "mvn install": 
spike.services.hello is assembled but without dependencies.

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-27 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16802504#comment-16802504
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

I still believe it is a bug and it is very much a problem for us. We cannot use 
3.1.0 anymore due to MASSEMBLY-873 and we cannot upgrade to 3.1.1 because of a 
change in behavior.

Prior to 3.1.1 our project setup which is demonstrated in the attached 
assembly_deps worked flawlessly, assembling all jars and their dependencies. 
With 3.1.1 this is no longer the case. Something has broken (for us) when the 
plugin is executed as part of "mvn install"

My last comment yesterday concerned your question of why we use the "dir" 
format. We use the "dir" format to create a directory structure for building 
our installers. We cannot build the structure if the dependencies are not 
copied to the assembly output directory. The maven-resource-plugin is not 
relevant for this problem - it was part of my explanation for the "dir" format. 

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Attachments: assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-26 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16801896#comment-16801896
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

Thank you for your time on this issue. Just trying to understand what is 
happening.

I am using a dir format because I am assembling an application that includes 
native libraries as well. I use the assembly plugin (and later 
maven-resources-plugin) to build a directory structure that I can take and use 
directly for my installers. 

For example:

module-services: Root folder for my services.
 |- libs: Directory containing jar dependencies used by my services
 |- win32: Directory containing Windows 32-bit native libraries
 |- win64: Directory containing Windows 64-bit native libraries
 |- linux32: Directory containing Linux 32-bit native libraries
 |- linux64: Directory containing Linux 64-bit native libraries
 | launcher.jar: Service launcher
 | *-service.jar: A number of services loaded by the service launcher - these 
may vary on the build and these are the ones I would like to avoid specifying 
dependencies for.

My installer step will then grab the service files, libs directory and the 
appropriate native directory from the module-services folder and create an 
installer for the appropriate architecture.

I do not know if it is the right tool for the job, but maven-assembly-plugin 
have been doing great until now. If you have any suggestions on how to do this 
differently, I am open to new ideas.

As for the different combinations, the only thing I changed in my project when 
discovering this problem was the version of maven-assembly-plugin.

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Priority: Major
> Attachments: assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Commented] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-26 Thread Lau Bakman (JIRA)


[ 
https://issues.apache.org/jira/browse/MASSEMBLY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16801867#comment-16801867
 ] 

Lau Bakman commented on MASSEMBLY-907:
--

Interesting.

I have tried to add the dependency to the assembly pom and that does indeed 
include the dependencies in the output, although the output is no longer 
structured as I expect it to be. But that is a different matter for me to 
figure out. 

Just a few things:
 * Reading the FAQ 
([http://maven.apache.org/components/plugins/maven-assembly-plugin/faq.html#module-binaries]).
 I do not get an error when building my original project. Everything seems to 
work - except that the dependencies are missing from my output.
 * I am curious as to why this has worked for us since we started using 
maven-assembly-plugin in 2014 and only just stopped working with version 3.1.1 
and also why only when executed using "mvn install" and not "mvn package".

We have a configuration where we want to package all jar files with similar 
artifact id's, like the "spike.services.*" example. Having to maintain an 
additional dependency list is something that we would like to avoid if possible.

> Dependencies are not included when run with mvn install
> ---
>
> Key: MASSEMBLY-907
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
> Project: Maven Assembly Plugin
>  Issue Type: Bug
>Affects Versions: 3.1.1
>Reporter: Lau Bakman
>Priority: Major
> Attachments: assembly_deps.zip
>
>
> 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
(v7.6.3#76005)


[jira] [Created] (MASSEMBLY-907) Dependencies are not included when run with mvn install

2019-03-26 Thread Lau Bakman (JIRA)
Lau Bakman created MASSEMBLY-907:


 Summary: Dependencies are not included when run with mvn install
 Key: MASSEMBLY-907
 URL: https://issues.apache.org/jira/browse/MASSEMBLY-907
 Project: Maven Assembly Plugin
  Issue Type: Bug
Affects Versions: 3.1.1
Reporter: Lau Bakman
 Attachments: assembly_deps.zip

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
(v7.6.3#76005)