Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.2
-
Labels:None
-
Number of attachments :
Description
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>$
/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.
> 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.
Could you please explain what you mean?