You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/10/21 19:32:12 UTC

[jira] Closed: (MPPLUGIN-11) the generated jar should automatically include plugin.jelly and friends

     [ http://jira.codehaus.org/browse/MPPLUGIN-11?page=all ]
     
Lukas Theussl closed MPPLUGIN-11:
---------------------------------

     Resolution: Cannot Reproduce
    Fix Version: 1.7

Must have been fixed be someone somewhere ...

> the generated jar should automatically include plugin.jelly and friends
> -----------------------------------------------------------------------
>
>          Key: MPPLUGIN-11
>          URL: http://jira.codehaus.org/browse/MPPLUGIN-11
>      Project: maven-plugin-plugin
>         Type: Improvement
>     Reporter: Daniel Bonniot
>     Priority: Minor
>      Fix For: 1.7

>
>
> When you create a plugin jar with the plugin plugin, it does not include plugin.jelly and friends by default. 
> Plugins in maven-plugins get that by extending the main project.xml, but for custom plugins this is annyoing. You have to add the follogin to the project.xml of the plugin:
>     <resources>
>        <resource>
>          <directory>src/plugin-resources</directory>
>          <targetPath>plugin-resources</targetPath>
>        </resource>
>        <resource>
>          <directory>.</directory>
>          <includes>
>            <include>plugin.jelly</include>
>            <include>plugin.properties</include>
>            <include>project.properties</include>
>            <include>project.xml</include>
>          </includes>
>        </resource>
>      </resources>
> It seems to me that the plugin plugin should include those resources in the generate jar by default (at least the four files in ".", the other resources are more dependent on the structure of the custom plugin, so we can leave that for the author to configure in the pom if needed).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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