{"action":"opened","issue":{"url":"https://api.github.com/repos/trustin/sphinx-maven-plugin/issues/4","repository_url":"https://api.github.com/repos/trustin/sphinx-maven-plugin","labels_url":"https://api.github.com/repos/trustin/sphinx-maven-plugin/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/trustin/sphinx-maven-plugin/issues/4/comments","events_url":"https://api.github.com/repos/trustin/sphinx-maven-plugin/issues/4/events","html_url":"https://github.com/trustin/sphinx-maven-plugin/issues/4","id":299732176,"number":4,"title":"Error at Sphinx initialization (failed to rename)","user":{"login":"donatelloOo","id":29257279,"avatar_url":"https://avatars1.githubusercontent.com/u/29257279?v=4","gravatar_id":"","url":"https://api.github.com/users/donatelloOo","html_url":"https://github.com/donatelloOo","followers_url":"https://api.github.com/users/donatelloOo/followers","following_url":"https://api.github.com/users/donatelloOo/following{/other_user}","gists_url":"https://api.github.com/users/donatelloOo/gists{/gist_id}","starred_url":"https://api.github.com/users/donatelloOo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donatelloOo/subscriptions","organizations_url":"https://api.github.com/users/donatelloOo/orgs","repos_url":"https://api.github.com/users/donatelloOo/repos","events_url":"https://api.github.com/users/donatelloOo/events{/privacy}","received_events_url":"https://api.github.com/users/donatelloOo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T14:38:50Z","updated_at":"2018-02-23T14:38:50Z","closed_at":null,"author_association":"NONE","body":"We are facing this issue (seems a bit randomly) since upgrading to v1.7.0.\r\nNote that it happens when running this on Windows (not sure about Linux).\r\nMy 2 cents bet is it could be linked to the Windows file handler, which often leads to this kind of issue.\r\n\r\n```console\r\n$ mvn clean install\r\n\r\n[INFO] --- sphinx-maven-plugin:1.7.0:generate (rtd) @ documentation ---\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 31.959 s\r\n[INFO] Finished at: 2018-02-23T15:21:49+01:00\r\n[INFO] Final Memory: 66M/1667M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal kr.motd.maven:sphinx-maven-plugin:1.7.0:generate (rtd) on project documentation: Failed to run the report: Failed to rename: C:\\DEV\\workspace-trunk\\uca-expert\\documentation\\target\\sphinx\\1.7.0.tmp.1878009430852915223 -> 1.7.0 -> [Help 1]\r\n```\r\n\r\nWe use following configuration, but I doubt there is something useful here:\r\n```xml\r\n            <plugin>\r\n                <!-- https://trustin.github.io/sphinx-maven-plugin/ -->\r\n                <!-- https://github.com/trustin/sphinx-maven-plugin -->\r\n                <groupId>kr.motd.maven</groupId>\r\n                <artifactId>sphinx-maven-plugin</artifactId>\r\n                <version>${sphinx-maven-plugin-version}</version>\r\n                <executions>\r\n                    <execution>\r\n                        <id>rtd</id>\r\n                        <phase>package</phase>\r\n                        <goals>\r\n                            <goal>generate</goal>\r\n                        </goals>\r\n                        <configuration>\r\n                            <sourceDirectory>${project.build.directory}/classes</sourceDirectory>\r\n                            <configDirectory>${project.build.directory}/classes</configDirectory>\r\n                            <outputDirectory>${project.build.directory}/rtd</outputDirectory>\r\n                            <warningsAsErrors>${failOnWarnings}</warningsAsErrors>\r\n                        </configuration>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n```\r\n"}}
{"actor":{"display_login":"donatelloOo"}}