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


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]

Reply via email to