[ http://jira.codehaus.org/browse/MNG-1596?page=comments#action_52302 ]
Martijn de Bruijn commented on MNG-1596: ---------------------------------------- The id attribute of the security-role element is used by WSAD to link the roles to an IBM specific deployment descriptor. Therefore we need to be able to set the id with Maven. In general: I think all data (elements and attributes) defined in the application_1_3.dtd (and other versions) should be configurable from within Maven. > Add security role definitions to maven-ear-plugin > ------------------------------------------------- > > Key: MNG-1596 > URL: http://jira.codehaus.org/browse/MNG-1596 > Project: Maven 2 > Type: New Feature > Components: maven-ear-plugin > Versions: 2.0 > Reporter: Martijn de Bruijn > Assignee: Stephane Nicoll > Priority: Minor > > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
