[ https://jira.codehaus.org/browse/MRAR-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Lynch updated MRAR-33: ---------------------------- Description: The attached patch adds a feature to support fileNameMappings for dependencies included in a rar. This is similar to the fileNameMapping feature in the maven-ear-plugin. In fact, much of the implementation was borrowed from there. There are three supported values for fileNameMapping: standard, no-version and full. standard - dependencies will be named as they usually are. eg: maven-artifact01-1.0-SNAPSHOT.jar no-version - dependencies will have their version information removed. eg: maven-artifact01.jar full - dependencies will be prefixed with their groupId. eg: org-apache-maven-test-maven-artifact01-1.0-SNAPSHOT.jar You can leverage this new capability using the fileNameMapping tag in the plugin configuration within your pom.xml eg: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-rar-plugin</artifactId> <version>2.3</version> <configuration> <fileNameMapping>no-version</fileNameMapping> <includeJar>false</includeJar> </configuration> </plugin> </plugins> </build> was: The attached patch adds a feature to support fileNameMappings for dependencies included in a rar. This is similar to the fileNameMapping feature in the maven-ear-plugin. In fact, much of the implementation was borrowed from there. There are three supported values for fileNameMapping: standard, no-version and full. standard - dependencies will be named as the typically are. eg: maven-artifact01-1.0-SNAPSHOT.jar no-version - dependencies will have their version information removed when included in the resulting rar. eg: maven-artifact01.jar full - dependencies will be prefixed with their groupId. eg: org-apache-maven-test-maven-artifact01-1.0-SNAPSHOT.jar You can leverage this new capability using the fileNameMapping tag in the plugin configuration within your pom.xml eg: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-rar-plugin</artifactId> <version>2.3</version> <configuration> <fileNameMapping>no-version</fileNameMapping> <includeJar>false</includeJar> </configuration> </plugin> </plugins> </build> > fileNameMapping for dependencies included in a RAR > -------------------------------------------------- > > Key: MRAR-33 > URL: https://jira.codehaus.org/browse/MRAR-33 > Project: Maven Rar Plugin > Issue Type: New Feature > Affects Versions: 2.3, 2.4 > Reporter: Frank Lynch > Attachments: patch.txt > > > The attached patch adds a feature to support fileNameMappings for > dependencies included in a rar. > This is similar to the fileNameMapping feature in the maven-ear-plugin. In > fact, much of the implementation was borrowed from there. > There are three supported values for fileNameMapping: standard, no-version > and full. > standard - dependencies will be named as they usually are. > eg: maven-artifact01-1.0-SNAPSHOT.jar > no-version - dependencies will have their version information removed. > eg: maven-artifact01.jar > full - dependencies will be prefixed with their groupId. > eg: org-apache-maven-test-maven-artifact01-1.0-SNAPSHOT.jar > > You can leverage this new capability using the fileNameMapping tag in the > plugin configuration within your pom.xml > eg: > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-rar-plugin</artifactId> > <version>2.3</version> > <configuration> > <fileNameMapping>no-version</fileNameMapping> > <includeJar>false</includeJar> > </configuration> > </plugin> > </plugins> > </build> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira