xsddoc/maven-plugin plugin.jelly,1.1,1.2
Kurt Riede <[email protected]>
| Newsgroups | gmane.text.xml.xframe.xsddoc.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xframe/xsddoc/maven-plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27613/maven-plugin
Modified Files:
plugin.jelly
Log Message:
Bin to ASCII
Index: plugin.jelly
===================================================================
RCS file: /cvsroot/xframe/xsddoc/maven-plugin/plugin.jelly,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** plugin.jelly 9 Sep 2004 13:04:38 -0000 1.1
--- plugin.jelly 15 Sep 2004 15:21:46 -0000 1.2
***************
*** 1,83 ****
! <?xml version="1.0" encoding="UTF-8"?>
! <!--
! This file is part of the xframe software package
! hosted at http://xframe.sourceforge.net
!
! Copyright (c) 2003 Kurt Riede.
!
! This library is free software; you can redistribute it and/or
! modify it under the terms of the GNU Lesser General Public
! License as published by the Free Software Foundation; either
! version 2.1 of the License, or (at your option) any later version.
!
! This library is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! Lesser General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with this library; if not, write to the Free Software
! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! -->
! <project xmlns:j="jelly:core"
! xmlns:u="jelly:util"
! xmlns:ant="jelly:ant"
! xmlns:doc="doc">
!
! <goal name="maven-xsddoc-plugin:register">
! <doc:registerReport
! name="XSD Docs"
! link="xsddoc-report"
! pluginName="maven-xsddoc-plugin"
! description="XML Schema Documentation"/>
! </goal>
!
! <goal name="xsddoc:generate" prereqs="maven-xsddoc-plugin:report">
! </goal>
!
! <goal name="maven-xsddoc-plugin:report"
! description="Generate xml schema documentation using xsddoc tool.">
!
! <ant:fileScanner var="xsdFiles">
! <ant:fileset dir="${maven.xsddoc.src}">
! <ant:patternset>
! <ant:include name="**/*.xsd"/>
! </ant:patternset>
! </ant:fileset>
! </ant:fileScanner>
!
! <j:file name="${maven.build.dir}/xsddocs-raw.xml">
! <xsddocs>
! <j:forEach var="file" items="${xsdFiles.iterator()}">
! <xsddoc-file>${file.getName()}</xsddoc-file>
! <ant:mkdir dir="${maven.xsddoc.dest}/${file.getName()}"/>
! <java classname="net.sf.xframe.xsddoc.Main"
! fork="yes"
! failonerror="true"
! maxmemory="500m">
! <classpath>
! <pathelement
! location="${plugin.getDependencyPath('xsddoc')}"/>
! </classpath>
! <arg value="-t"/>
! <arg value="${pom.artifactId}-${pom.currentVersion}"/>
! <arg value="-o"/>
! <arg value="${maven.xsddoc.dest}/${file.getName()}"/>
! <arg value="${file}"/>
! </java>
! </j:forEach>
! </xsddocs>
! </j:file>
! <doc:jsl input="${maven.build.dir}/xsddocs-raw.xml"
! output="xsddocs-report.xml"
! stylesheet="${plugin.resources}/xsddocs-report.jsl"
! encoding="${maven.docs.outputencoding}"
! outputMode="xml"
! prettyPrint="true"/>
! </goal>
!
! <goal name="maven-xsddoc-plugin:deregister">
! <doc:deregisterReport name="XSD Docs"/>
! </goal>
!
! </project>
--- 1,83 ----
! <?xml version="1.0" encoding="UTF-8"?>
! <!--
! This file is part of the xframe software package
! hosted at http://xframe.sourceforge.net
!
! Copyright (c) 2003 Kurt Riede.
!
! This library is free software; you can redistribute it and/or
! modify it under the terms of the GNU Lesser General Public
! License as published by the Free Software Foundation; either
! version 2.1 of the License, or (at your option) any later version.
!
! This library is distributed in the hope that it will be useful,
! but WITHOUT ANY WARRANTY; without even the implied warranty of
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! Lesser General Public License for more details.
!
! You should have received a copy of the GNU Lesser General Public
! License along with this library; if not, write to the Free Software
! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! -->
! <project xmlns:j="jelly:core"
! xmlns:u="jelly:util"
! xmlns:ant="jelly:ant"
! xmlns:doc="doc">
!
! <goal name="maven-xsddoc-plugin:register">
! <doc:registerReport
! name="XSD Docs"
! link="xsddoc-report"
! pluginName="maven-xsddoc-plugin"
! description="XML Schema Documentation"/>
! </goal>
!
! <goal name="xsddoc:generate" prereqs="maven-xsddoc-plugin:report">
! </goal>
!
! <goal name="maven-xsddoc-plugin:report"
! description="Generate xml schema documentation using xsddoc tool.">
!
! <ant:fileScanner var="xsdFiles">
! <ant:fileset dir="${maven.xsddoc.src}">
! <ant:patternset>
! <ant:include name="**/*.xsd"/>
! </ant:patternset>
! </ant:fileset>
! </ant:fileScanner>
!
! <j:file name="${maven.build.dir}/xsddocs-raw.xml">
! <xsddocs>
! <j:forEach var="file" items="${xsdFiles.iterator()}">
! <xsddoc-file>${file.getName()}</xsddoc-file>
! <ant:mkdir dir="${maven.xsddoc.dest}/${file.getName()}"/>
! <java classname="net.sf.xframe.xsddoc.Main"
! fork="yes"
! failonerror="true"
! maxmemory="500m">
! <classpath>
! <pathelement
! location="${plugin.getDependencyPath('xsddoc')}"/>
! </classpath>
! <arg value="-t"/>
! <arg value="${pom.artifactId}-${pom.currentVersion}"/>
! <arg value="-o"/>
! <arg value="${maven.xsddoc.dest}/${file.getName()}"/>
! <arg value="${file}"/>
! </java>
! </j:forEach>
! </xsddocs>
! </j:file>
! <doc:jsl input="${maven.build.dir}/xsddocs-raw.xml"
! output="xsddocs-report.xml"
! stylesheet="${plugin.resources}/xsddocs-report.jsl"
! encoding="${maven.docs.outputencoding}"
! outputMode="xml"
! prettyPrint="true"/>
! </goal>
!
! <goal name="maven-xsddoc-plugin:deregister">
! <doc:deregisterReport name="XSD Docs"/>
! </goal>
!
! </project>
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m