Hi. Have you seen this page: http://maven.apache.org/guides/mini/guide-assemblies.html
The WARNING you saw maybe due to the assembly not having anything to put into the jar. A correct assembly file would have at lease one <dependencySet> or one <fileSet>
Pierre Monestie wrote:
Hello, I got 2 problems with the assembly plugin and was wondering if you guys could help me out: 1st: From an empty directory I try to assemble my application out of the pom.xml and an application.xml file. I've previously uploaded to my repository all the artifacts necessary to bundle my application. The dependants artifacts come nicely in my target/app/ directory however for my main artifact I get: [WARNING] JAR will be empty - no content was marked for inclusion! and that particular jar is empty. I was under the impression I could assemble an application out of what is in my local repository/local cache without having to recompile 2st: Assuming 1st is created correclty I would like to have a way to postprocess my main artifact after assembly, namely I would like to unjar it because, for my final application, I included in it config information that need to be edited. I know I asked this already but I really would want to do this. I suppose in summary I'm looking for a way to assemble an application out of artifacts already precompiled and in a somewhat flexible way. The assembly doesn't seem to 'cut it' for me. Thanks in advance, Pierre --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
