[ http://jira.codehaus.org/browse/MEAR-8?page=comments#action_67157 ]
Martijn de Bruijn commented on MEAR-8: -------------------------------------- Thanks > Add security role definitions to maven-ear-plugin > ------------------------------------------------- > > Key: MEAR-8 > URL: http://jira.codehaus.org/browse/MEAR-8 > Project: Maven 2.x Ear Plugin > Type: Improvement > Reporter: Martijn de Bruijn > Assignee: Stephane Nicoll > Priority: Minor > Fix For: 2.2 > > > The maven-ear-plugin is not capable of defining security-roles. This should > be added. > An example of the pom.xml: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-ear-plugin</artifactId> > <configuration> > <resourcesDir>${basedir}/META-INF</resourcesDir> > <security> > <security-role id="SecurityRole_1131964323008"> > <description></description> > <role-name>manager</role-name> > </security-role> > <security-role id="SecurityRole_1131964323018"> > <description></description> > <role-name>teller</role-name> > </security-role> > </security> > </configuration> > </plugin> > It should be possible to add the id field to the security-role element to be > able to link the roles to other generated artifacts. -- 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