dIon,

Are you sure it is unnecessary? This is inside a tag and thus the tag
will be executed in *another* context. Thus if it needs to find
resources from the plugin dir, it will need to use the getPluginContext
I think... I had the same issue with some of my plugins in the past.

Thanks
-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 27 November 2003 07:50
> To: [EMAIL PROTECTED]
> Subject: cvs commit: maven-plugins/sea plugin.jelly
> 
> dion        2003/11/26 22:49:53
> 
>   Modified:    sea      plugin.jelly
>   Log:
>   Removed unnecessary use of pom.getPluginContext
> 
>   Revision  Changes    Path
>   1.5       +3 -3      maven-plugins/sea/plugin.jelly
> 
>   Index: plugin.jelly
>   ===================================================================
>   RCS file: /home/cvs/maven-plugins/sea/plugin.jelly,v
>   retrieving revision 1.4
>   retrieving revision 1.5
>   diff -u -r1.4 -r1.5
>   --- plugin.jelly    12 Mar 2003 03:50:43 -0000      1.4
>   +++ plugin.jelly    27 Nov 2003 06:49:53 -0000      1.5
>   @@ -52,11 +52,11 @@
>           -->
> 
>          <chmod
>   -        file="${pom.getPluginContext('maven-sea-
> plugin').getVariable('plugin.dir')}/sea-tar"
>   +        file="${plugin.dir}/sea-tar"
>            perm="+x"/>
> 
>          <exec
>   -        executable="${pom.getPluginContext('maven-sea-
> plugin').getVariable('plugin.dir')}/sea-tar">
>   +        executable="${plugin.dir}/sea-tar">
>            <arg value="${seaName}"/>
>            <arg value="${sourceDirectory}"/>
>            <arg value="${maven.build.dir}"/>
>   @@ -66,7 +66,7 @@
>          <filter token="WORK_DIR" value="${pom.artifactId}-
> ${pom.currentVersion}"/>
> 
>          <copy
>   -        file="${pom.getPluginContext('maven-sea-
> plugin').getVariable('plugin.resources')}/sea-header"
>   +        file="${plugin.resources}/sea-header"
>            tofile="${maven.build.dir}/project-sea-header"
>            overwrite="true"
>            filtering="true"
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to