Hi, I did know about this mini-guide. My problem comes from the fact that I want to be able to rebuild an assembly:directory even if I don't have the source code.
I'm kind of looking for a way to build my application out of a single pom.xml given that I have uploaded all necessary artifacts to my repository. I guess the assembly doesn't do it as it expect compiled classes in the target directory. Also I'm looking for a way to unpack my main artifact, which the assembly plugin doesn't seem to be able to do. Could an ant task solve my problem? In particular for a pom, extract the artifact from the repository as well as it's dependencies and assemble them in a particular directory? Thanks in advance, Pierre On 5/8/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote:
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
