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:01 UTC

[maven-doxia] branch DOXIA-595 created (now af78690)

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

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


      at af78690  [DOXIA-595]  fixed site build on Windows  - xdoc

This branch includes the following new commits:

     new af78690  [DOXIA-595]  fixed site build on Windows  - xdoc

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by sl...@apache.org.
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>