[ http://jira.codehaus.org/browse/MNG-699?page=comments#action_43937 ]
Piotr Bzdyl commented on MNG-699: --------------------------------- Yes, par files for example add persistence.xml file to the META-INF directory, but par file is nothing more that jar file with this persistence.xml file added to the META-INF directory which can be configured and copied as all other resources (*.properties files and others which are included in the jar files). If it still should be created by separate plugin despite this little difference from the jar files, I understand that new maven plugin should be created for this purpose. I can write such a plugin called par with goal par:par by myself, but is it possible to add it to the default maven2 distribution? I think it could be wide used by others while EJB3 is coming. > Jar plugin - provide possibility to change generated jar file extension > ----------------------------------------------------------------------- > > Key: MNG-699 > URL: http://jira.codehaus.org/browse/MNG-699 > Project: Maven 2 > Type: Improvement > Components: maven-plugins > Reporter: Piotr Bzdyl > > > 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]
