From: Carlos S. <ca...@ap...> - 2004-11-14 15:14:06
|
Hi, I'd like this patch to be applied and release a new version of the plugin. You should also remove the maven.xml. I think maven docbook should be removed as it seems to be discontinued and not very useful, and this one renamed from sdocbook to docbook. It shouldn't be included in maven as it depends in jimi, which can't be redistributed. What do you think about? I have used this code in maven.xml to use another stylesheet version and custom stylesheets. It'd be great if the plugin could be more customizable, in the meantime it can be added to the docs. <postGoal name="sdocbook:prepare-filesystem"> <j:set var="unzipped" value="false" /> <util:available file="${maven.sdocbook.generated.fo}"> <j:set var="unzipped" value="true" /> <echo>Using previusly unzipped docbook files</echo> </util:available> <j:if test="${!unzipped}"> <!-- unzip docbook files --> <ant:unzip dest="${maven.build.dir}" src="${pom.getDependencyPath('docbook:docbook-xsl')}"/> <!-- use a custom fo stylesheet --> <move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl" tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/> <copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl" todir="${maven.sdocbook.stylesheets.dir}/fo"/> <!-- use a custom html stylesheet --> <move file="${maven.sdocbook.stylesheets.dir}/html/docbook.xsl" tofile="${maven.sdocbook.stylesheets.dir}/html/docbook-bak.xsl"/> <copy file="${maven.sdocbook.src.dir}/styles/html/docbook.xsl" todir="${maven.sdocbook.stylesheets.dir}/html"/> <copy todir="${maven.sdocbook.stylesheets.dir}"> <fileset dir="${maven.sdocbook.src.dir}/images"/> </copy> </j:if> </postGoal> With this properties: maven.sdocbook.resources.include=**/*.gif,**/*.svg,**/*.jpg maven.sdocbook.stylesheets.dir=${maven.build.dir}/docbook-xsl-1.66.1 and <dependency> <groupId>docbook</groupId> <artifactId>docbook-xsl</artifactId> <version>1.66.1</version> <url>http://docbook.sourceforge.net</url> <type>zip</type> </dependency> Custom stylesheets can be found at http://cvs.sourceforge.net/viewcvs.py/acegisecurity/acegisecurity/docbook/styles/html/ and http://cvs.sourceforge.net/viewcvs.py/acegisecurity/acegisecurity/docbook/styles/fo It needs some testing, maybe for a 1.5 version Regards > -----Original Message----- > From: mav...@li... > [mailto:mav...@li...] > On Behalf Of Per Olesen > Sent: Sunday, November 14, 2004 9:46 AM > To: mav...@li... > Cc: Carlos Sanchez > Subject: Re: [Maven-plugins-developer] Docbook > > Hi Carlos, > > > I see last sdocbook plugin version is quite old, is it discontinued? > > It is not discontinued, it has just not had any release in a > long time :-) I put up the current 1.4-SNAPSHOT a long time > ago with the intention of releasing it when it had had some > testing. That is some time ago now. > > > Can I improve and release it? > > Certainly, do you have anything special in mind? If it is > simple, maybe it is easiest if you simply provide me with a patch!? > > I myself would like to include newest version of the docbooks > stylesheets, even though you can point to outside > installation of those now. > > > Maybe it's a good idea substitute the maven docbook plugin > by this one. > > Maybe and maybe not. I do not really know how much relation > these two projects have with eachother (maven and > maven-plugins), how maven controls their plugins, how many > users the other plugin has etc. (I do not even know if this > plugin has few or many users, though I would guess on few). > > /Per > > -- > Per Olesen @ Nordija A/S - www.nordija.com - main#: +45 70 20 25 10 > email: po...@no... - cell#: +45 23 38 95 81 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Maven-plugins-developer mailing list > Mav...@li... > https://lists.sourceforge.net/lists/listinfo/maven-plugins-developer > > |