Hi,
You can create you custom packaging xpi.
Have a look at this sources[1] which create a zip packaginf

HTH,
--
Olivier
[1] : 
http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-zip-plugin/

2010/1/13 Andrew Robinson <[email protected]>:
> I have looked over Google, and I have not seen a satisfactory answer
> to this extremely simple requirement.
>
> I am trying to produce an XPI file for a firefox extension. An XPI
> file is simply a zip file with a different extension.
>
> I have looked at the maven-jar-plugin and the maven-assembly-plugin
> and both are too restrictive to be able to use correctly it seems. If
> I use a jar project, I have the following problems:
>
> 1) it insists on adding the ".jar" extension to the file
> 2) there seems to be no way to stop the manifest from being added
>
> I have looked at the maven-assembly-plugin. I have the following problems:
>
> 1) It doesn't seem to easily include the <resources> section of the
> pom for a pom type project
> 2) it insists on adding the ".zip" extension to the file
>
> All I want is what a jar project does but I want my own extension
> (xpi, not jar) and I do not want the META-INF directory to be created.
>
> I would create my own plug-in, but there doesn't seem to be a way to
> create a mojo file in the same project (I don't want to have to build
> a re-usable plugin, import its references into the project, deploy it,
> etc. just for this one project). Is this the only option? And if so,
> is there a way to make the plugin so that it only is used by this one
> project and is never deployed to a repository (sub-directory for
> example)?
>
> Also, the XPI plug-in on source-force is no use to me as it is for the
> legacy XPI layout.
>
> Thanks,
> Andrew
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Olivier

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to