You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/02/06 20:32:02 UTC

[maven-doxia] 01/01: [DOXIA-595] fixed site build on Windows - xdoc

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch DOXIA-595
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git

commit af786901c3dd1e6054e9bd38592885c5b782b73c
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Thu Feb 6 21:31:37 2020 +0100

    [DOXIA-595]  fixed site build on Windows  - xdoc
---
 doxia-modules/doxia-module-xdoc/pom.xml | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/doxia-modules/doxia-module-xdoc/pom.xml b/doxia-modules/doxia-module-xdoc/pom.xml
index 98d6ad5..a7fa2fc 100644
--- a/doxia-modules/doxia-module-xdoc/pom.xml
+++ b/doxia-modules/doxia-module-xdoc/pom.xml
@@ -91,18 +91,9 @@ under the License.
                   <tasks>
                     <taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" />
 
-                    <condition property="dir" value="${project.reporting.outputDirectory}/xsddoc">
-                      <matches string="${project.reporting.outputDirectory}" pattern="^${basedir}" />
-                    </condition>
-                    <condition property="dir" value="${project.reporting.outputDirectory}/xsddoc">
-                      <not>
-                        <isset property="dir" />
-                      </not>
-                    </condition>
+                    <mkdir dir="${project.reporting.outputDirectory}/xsddoc" />
 
-                    <mkdir dir="${dir}" />
-
-                    <xsddoc file="${basedir}/src/main/resources/xdoc-2.0.xsd" out="${dir}" doctitle="Reference of Schema Xdoc 2.0" verbose="true" />
+                    <xsddoc file="${basedir}/src/main/resources/xdoc-2.0.xsd" out="${project.reporting.outputDirectory}/xsddoc" doctitle="Reference of Schema Xdoc 2.0" verbose="true" />
                   </tasks>
                 </configuration>
                 <goals>