Baptiste Gaillard opened MSHARED-269 and commented
Creating a Maven Report Mojo which extends the AbstractMavenReport class and returns 'true' in the 'isExternalReport' locks the file associated to the name returned by the 'getOutputName()' function of the Mojo.
The locking problems appears inside the 'executeReport(...)' function of the Mojo, I'm not sure if its normal or not but I have to delete this file to generate a documentation with JSDuck (Javascript documentation).
A full description of the problem is provided here http://www.mail-archive.com/users@maven.apache.org/msg127863.html
I provide two Maven projects which allow to reproduce the problem :
- bug-maven-plugin : A very simple plugin which only tries to delete the 'index.html' file, that's to say the name provided by the 'getOutputName()' function.
- bug-site-project : A very simple project which uses the 'bug-maven-plugin' Reporting Plugin, running 'mvn site' on it allow to show the file locking problem I encounter.
Affects: maven-reporting-impl-2.2
Attachments:
Issue Links:
Baptiste Gaillard opened MSHARED-269 and commented
Creating a Maven Report Mojo which extends the AbstractMavenReport class and returns 'true' in the 'isExternalReport' locks the file associated to the name returned by the 'getOutputName()' function of the Mojo.
The locking problems appears inside the 'executeReport(...)' function of the Mojo, I'm not sure if its normal or not but I have to delete this file to generate a documentation with JSDuck (Javascript documentation).
A full description of the problem is provided here http://www.mail-archive.com/users@maven.apache.org/msg127863.html
I provide two Maven projects which allow to reproduce the problem :
Affects: maven-reporting-impl-2.2
Attachments:
Issue Links: