This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I have an assembly descriptor that works well for me, except for one issue. I need to use unix line endings on the files of a dependency that is unpacked. Unfortunately I cannot specify both of <unpack/> and <lineEnding/> at the same time.
If I only specify the <unpack/> element set to true, my assembly is created fine, but the files contain windows line endings. Basically I'm unpacking certain directories from a configuration dependency.
If I specify both <unpack/> set to true, and <lineEnding/> set to unix, the included dependency does not get unpacked???
Use the dependency:unpack-dependencies goal within your pom.xml to unpack the config jar to a temporary directory before running the assembly plugin, and then have the assembly plugin get the unpacked files and apply the <lineEnding> filter.