I have looked into a SAR plugin and basically you would be duplicating so much
of the JAR plugin that it is basically not worth the effort if the only value
you'll be adding is a different extension.

So I do no jar:jar kludgery but only,

  <preGoal name="jar:install">
      <echo>jar:install pregoal running...</echo>
      <ant:property name="sardir__"
         value="${maven.repo.local}/${pom.artifactDirectory}/sars"/>
      <ant:mkdir dir="${sardir__}"/>
      <ant:copy
         file="${maven.build.dir}/${maven.final.name}.jar"
         tofile="${sardir__}/${maven.final.name}.sar"
         overwrite="true"
      />
  </preGoal>
                                        
along with:

  <build>
    <sourceDirectory>src/java</sourceDirectory>
    <resources>
        <resource>
                <directory>${basedir}/src</directory>
                <includes>
                        <include>**/*.xml</include>
                </includes>
        </resource>
    </resources>
  </build>
  
As for rar you could probably do the same.

On Thu, Oct 02, 2003 at 08:36:16AM +0800, [EMAIL PROTECTED] wrote:
> "khote" <[EMAIL PROTECTED]> wrote on 02/10/2003 04:38:05 AM:
> [snip]
> > Is this just a legacy thing from maven early days, I mean the JAR
> plugin 
> was
> > written long before the WAR plugin, nobody ever got around to 
> sar-plugin?
> Nope, noone has written a SAR or RAR plugin.
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



-- 
Alwyn Schoeman
SMART Money Inc.

If you're a SMARTY and you're using the better DNS connections, you
can access my homepage at http://nevyn.smarties.com.ph/Members/alwyn.
The other unlucky ones: http://10.126.68.24/myplone

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to