You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by mb...@wardour.com.au on 2007/01/28 02:52:51 UTC

Java Plugin Framework Support

I am not too experienced with Maven yet but I have created a simple JAR
project POM.XML and I would like to build a zip file as follows;

../
../plugin.xml
../classes
../classes/*.class

This directory structure can be explained in more detail here;
http://jpf.sourceforge.net/

Does Maven support this type of target... and if so, how do I use it?

Thanks.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Java Plugin Framework Support

Posted by mb...@wardour.com.au.
Thanks for the info... I am now able to create the zip file using the
assembly:assembly directive.

Problem I am having though which I am sure is quite trivial... I have this
file called plugin.xml that has to be in the root of the zip file...

What happens, the file is added to the zip file successfully but the path
has / instead of <blank>. This causes the loader to fail... is there a way
to configure it so the path is blank? Here is a sample of my src.xml file;

  <files>
    <file>
      <source>plugin.xml</source>
      <!--<outputDirectory>.</outputDirectory>-->
    </file>
  </files>

Mark

> Maven does not support this JPF file format specifically that I'm
> aware of -- someone might have made a plugin -- but there's nothing
> stopping you from creating a zip file in this format using the
> assembly plugin.
>
> http://maven.apache.org/plugins/maven-assembly-plugin/
>
> Wayne
>
> On 1/27/07, mbernardinis@wardour.com.au <mb...@wardour.com.au>
> wrote:
>> I am not too experienced with Maven yet but I have created a simple JAR
>> project POM.XML and I would like to build a zip file as follows;
>>
>> ../
>> ../plugin.xml
>> ../classes
>> ../classes/*.class
>>
>> This directory structure can be explained in more detail here;
>> http://jpf.sourceforge.net/
>>
>> Does Maven support this type of target... and if so, how do I use it?
>>
>> Thanks.
>>
>> Mark
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Java Plugin Framework Support

Posted by Wayne Fay <wa...@gmail.com>.
Maven does not support this JPF file format specifically that I'm
aware of -- someone might have made a plugin -- but there's nothing
stopping you from creating a zip file in this format using the
assembly plugin.

http://maven.apache.org/plugins/maven-assembly-plugin/

Wayne

On 1/27/07, mbernardinis@wardour.com.au <mb...@wardour.com.au> wrote:
> I am not too experienced with Maven yet but I have created a simple JAR
> project POM.XML and I would like to build a zip file as follows;
>
> ../
> ../plugin.xml
> ../classes
> ../classes/*.class
>
> This directory structure can be explained in more detail here;
> http://jpf.sourceforge.net/
>
> Does Maven support this type of target... and if so, how do I use it?
>
> Thanks.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org