You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Piotr Bzdyl (JIRA)" <ji...@codehaus.org> on 2005/09/14 00:21:03 UTC
[jira] Updated: (MNG-699) Add EJB3 support in a plugin
[ http://jira.codehaus.org/browse/MNG-699?page=all ]
Piotr Bzdyl updated MNG-699:
----------------------------
Attachment: JarMojo.java-patch
I created simple patch for JarMojo.java which allows setting different than "jar" file extension of the generated files.
It could be useful to create "par" artifact using <packaging>jar</packaging> and property <finalNameExt>par</finalNameExt> in the jar plugin configuration and then use generated artifact as of <type>par</type>.
Is it possible to commit this change into the repository?
> Add EJB3 support in a plugin
> ----------------------------
>
> Key: MNG-699
> URL: http://jira.codehaus.org/browse/MNG-699
> Project: Maven 2
> Type: Improvement
> Components: maven-plugins
> Reporter: Piotr Bzdyl
> Priority: Minor
> Attachments: JarMojo.java-patch
>
>
> Please, provide possibility to generate artifact with extension other than 'jar' only. It is not possible to set the project (artifactId = example) artifact type i.e. to 'par' (persistance archive) or 'ejb3' and get example.par or example.ejb3 - jar plugin will always generate *.jar files.
> There is no way to change this behaviour via plugin properties - jar extension is hardcoded in the plugin source code.
> IMHO it would be better to generate default file extension based on the project artifact ID or let it to specify via plugin properties.
--
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