|
It'd be better if this was a patch. Also,
would really help Changes to plugin.jelly as a patch Charles, Your patch seems to be fine, but as dIon commented, we need the documentation and test cases too (if you don't provide these, we need to create them by ourselves, which in turns delays fixing this issue). The documentation is pretty easy: you just need to udpate the xdocs/properties.xml file (you can also change project.xml to add yourself as contributor and xdocs/changes.xml with this issue, if you prefer). The testcase is a little bit trickier, so here is a sample script: 1.Create the directory src/plugin-tests/test06. I will refer to this directory as the testcase directory If you have any more doubts, please let us know (through this issue). – Felipe PS: please provide a new patch with everything then We have solved this differently in our project: We develop our application in WSAD for deployment on WAS, using J2EE security (hence security roles in application.xml). I think the connection between the standard application.xml and the WAS' vendor specific .xmi files are rather tight, so only generating the security roles might not work (because of numeric id reference between the files, generated in IDE). Our solution is that we override the standard goal in EAR plugin that generates application.xml and copy security roles from the original application.xml file (if it exist and contains security roles of course). I'll be glad to submit a patch if you're interessted. Morten, Thanks. Martijn de Bruijn Martijn, This project is for the maven 1 EAR plugin, not maven2. Please file an issue in the MNG project (maven-ear-plugin component). Thanks. Patch from Olivier Mallassi (omallassi AT octo DOT com) and André Nedelcoux (anedelcoux AT octo DOT com). |
||||||||||||||||||||||||||||||||||||||||||||||
Attached is a plugin.jelly with the changes included in the correct places