On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > http://mojo.codehaus.org/build-helper-maven-plugin/howto.html
Yes, I found that. By the way, the page title looks wrong. It's currently "Maven Build Dependency Plugin - Maven Build Helper Plugin". basically right after you use exec or antrun plugin to build your swf file, > you can use build-helper-maven-plugin:attach-artifact goal to configure > maven to install or deploy your swf to repo as needed The part I'm missing - sorry if I'm being dense - is why I need that. What does it mean to "attach ... build outputs to the project for install and deploy", and why is that different / better than simply using deploy:deploy-file? -- Martin Cooper On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote: > > > > On 4/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > > > <packaging>pom</packaging> > > > > > > Yep, that did the trick. Thanks! > > > > if you want to deploy your .swf file, use build-helper-maven-plugin to > > > attach > > > that artifact to the project to be deploy/install > > > > > > Hmm, I've been using deploy:deploy-file up 'til now, but I'm far from au > > fait with respect to the way deployment works. Could you clarify, > please? > > > > -- > > Martin Cooper > > > > > > -D > > > > > > > > > On 4/4/06, Martin Cooper <[EMAIL PROTECTED]> wrote: > > > > > > > > I have a project that generates a Flash SWF file as its artifact. At > > the > > > > moment, I have the 'packaging' value set to 'jar', for lack of a > > better > > > > value. The problem is that this causes an empty jar file to be > > created, > > > > alongside my SWF file. However, I don't see how I can avoid this, > > since > > > > the > > > > other "built in" packaging types (e.g. war, ear) are no better > suited > > to > > > > my > > > > needs. > > > > > > > > My POM is very simple, comprising only the use of the dependency and > > > exec > > > > plugins. Looking at the M2 docs, the only way I see to have a custom > > > > packaging is to define it within a custom plugin. However, I don't > > need > > > > any > > > > additional plugins, and that seems like a complicated way to solve a > > > > simple > > > > problem. Is there some other way I can either define a custom > > packaging > > > > (or > > > > just a lifecycle), or even just tell the jar packaging not to do > most > > of > > > > what it does by default? > > > > > > > > -- > > > > Martin Cooper > > > > > > > > > > > > > > > > > > > >