Dan, you rock!
Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078 "dan tran" <[EMAIL PROTECTED] To: "Maven Users List" <users@maven.apache.org> m> cc: Subject: Re: [M2] Custom 'packaging' without a custom plugin? 04/05/2006 01:05 AM Please respond to "Maven Users List" <packaging>pom</packaging> if you want to deploy your .swf file, use build-helper-maven-plugin to attach that artifact to the project to be deploy/install -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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]