assemblies - Maven 2 Assembly plugin - how to split main artifacts and dependencies into separate folders -


I am using maven's assembly plugin to create an installation package.

For the sake of my packaging, I need to split the artifacts generated in different folders during the construction and all dependencies.

My current assembly is as follows:

  & lt; ModulSat & gt; & Lt; ModuleSet & gt; & Lt; Included & gt; & Lt; Included & gt; Test: test & lt; / Include & gt; & Lt; / Include & gt; & Lt; Binary & gt; & Lt; IncludeDependencies & gt; False & lt; / IncludeDependencies & gt; & Lt; OutputDirectory & gt; Lib / custom / $ {artifactId} & lt; / OutputDirectory & gt; & Lt; Open & gt; False & lt; / Shell> & Lt; / Binary & gt; & Lt; / ModuleSet & gt; & Lt; ModuleSet & gt; & Lt; Included & gt; & Lt; Included & gt; Test: test & lt; / Include & gt; & Lt; / Include & gt; & Lt; Binary & gt; & Lt; IncludeDependencies & gt; True & lt; / IncludeDependencies & gt; & Lt; Exclude & gt; & Lt; To exit & gt; Test: test & lt; / Exclude & gt; & Lt; / Not included & gt; & Lt; OutputDirectory & gt; Lib / thirdparty / & lt; / OutputDirectory & gt; & Lt; Open & gt; False & lt; / Shell> & Lt; / Binary & gt; & Lt; / ModuleSet & gt; & Lt; / ModuleSets & gt;  

Firstly the moduleset generates only the currently assembled assemblies, however, the third party currently includes assembled assemblies. How can I go without leaving files included in the first set?

Thanks

What about using dependency: copy-dependency? I use it to copy all the depots to target / lib.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -