I could create an example project, but it would create some effort, as our real project is quite big (ca. 270 modules). The use case is the following: one module has some resources that (language files) that are in some package structure. Then there is a second module that uses these resources for a very similar reason, but due to the first being a java module and the second being a dot.net module, these language files are used differently. The dot.net module needs the language files without the folder structure.
Now, I am aware that I could extract the language files from the java module into a resource module and create this in a way that I could make both use cases work without using the jetspeed plugin. But there is some effort involved and as this is a commercial product, I try to be sensible about that. Hmm, with the assembly plugin you mean using a totally different approach to assemble resource files? No, I haven't thought about that, as well. But, again, I assume quite a substantial amount of rework here. But fair point! Am Mo., 28. Jan. 2019 um 18:41 Uhr schrieb Karl Heinz Marbaise < [email protected]>: > Hi, > > On 28.01.19 17:06, Christian Domsch wrote: > > Hi, > > > > I am too facing this issue, as we use the jetspeed-maven-plugin in one > part > > in our build. The reason I am using jetspeed-maven-plugin:unpack and not > > maven-dependency-plugin:unpack, is that I want a flattened output. > > > > What I need to do, is unpack the contents of a subfolder inside an > archive, > > but not the directory structure. maven-dependency-plugin does not allow > me > > to do that, afaik. > > > > e.g.: > > > > archive: com/test/resources folder contains resources I want to unpack > > maven-dependency-plugin:unpack will create the com/test/resource > structure > > with jetspeed I can omit that > > > > Any way to achieve the same thing with another plugin? > > Do you have an example project? and can you explain more in detail what > the use case is...not the unpacking itself (this is clear) the question > is why dou you need to unpack stuff in that way? > > Have you tried to take a look at the maven assembly plugin ? > > > > > > Thank you, > > > > Christian > > > > Kind regards > Karl Heinz Marbaise >
