[ http://jira.codehaus.org/browse/MNG-699?page=all ]
Piotr Bzdyl updated MNG-699:
----------------------------
Attachment: maven2-ejb3-support.zip
I created maven-par-plugin and maven-ejb3-plugin and necessary patches in
maven-artifact and maven-core components.xml files (added new packaging types:
ejb3 and par).
maven-par-plugin creates persistence archives (jar files with "par" extension)
including persistence.xml in its META-INF directory.
maven-ejb3-plugin creates simple jar file but with ejb3 extension.
I also patched maven-ear-plugin extending it to support par and ejb3 artifact
as new ear module types.
I followed mosly JarMojo.java and RarMojo.java to create these two plugins.
Is it possible to add my plugins and patches to the maven2 source repo?
> 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, maven2-ejb3-support.zip
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]