Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
maven-reporting-impl-2.2
-
None
-
None
-
Windows 7 64 bits
JDK 1.7.0_29 (64 bits VM)
Description
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.
Attachments
Attachments
Issue Links
- relates to
-
DOXIASITETOOLS-103 Don't create outputFile in case of an external report
- Closed