Moved docs to new subproject
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1003 B After Width: | Height: | Size: 1003 B |
Before Width: | Height: | Size: 722 B After Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 598 B After Width: | Height: | Size: 598 B |
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 244 B After Width: | Height: | Size: 244 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1,38 @@
|
|||
<project
|
||||
xmlns:j="jelly:core"
|
||||
xmlns:ant="jelly:ant"
|
||||
xmlns:util="jelly:util"
|
||||
xmlns:maven="jelly:maven"
|
||||
>
|
||||
|
||||
<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>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,5 @@
|
|||
# sdocbook
|
||||
maven.sdocbook.fo.params=-PARAM paper.type A4 -PARAM use.extensions 1 -PARAM tablecolumns.extension 0 -PARAM callout.extensions 1 -PARAM fop.extensions=1
|
||||
maven.sdocbook.src.dir=${basedir}/docbook
|
||||
maven.sdocbook.resources.include=**/*.gif,**/*.svg,**/*.jpg
|
||||
maven.sdocbook.stylesheets.dir=${maven.build.dir}/docbook-xsl-1.66.1
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project>
|
||||
<extend>${basedir}/../project.xml</extend>
|
||||
<artifactId>acegi-security-doc</artifactId>
|
||||
<name>Acegi Security System for Spring - Documentation</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>maven-plugins</groupId>
|
||||
<artifactId>maven-sdocbook-plugin</artifactId>
|
||||
<version>1.4-SNAPSHOT</version>
|
||||
<type>plugin</type>
|
||||
</dependency>
|
||||
|
||||
<!-- docbook -->
|
||||
<dependency>
|
||||
<groupId>docbook</groupId>
|
||||
<artifactId>docbook-xsl</artifactId>
|
||||
<version>1.66.1</version>
|
||||
<url>http://docbook.sourceforge.net</url>
|
||||
<type>zip</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
30
maven.xml
|
@ -168,34 +168,4 @@
|
|||
tofile="${maven.build.dir}/docs/ref/acegi-security-reference.html"/>
|
||||
</goal>
|
||||
|
||||
<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>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -112,14 +112,6 @@ maven.site.deploy.method = fs
|
|||
maven.multiproject.basedir=.
|
||||
maven.multiproject.includes=core/project.xml,adapters/*/project.xml
|
||||
|
||||
|
||||
# sdocbook
|
||||
#maven.sdocbook.fo.params=-PARAM paper.type A4 -PARAM use.extensions 1 -PARAM tablecolumns.extension 0 -PARAM callout.extensions 1 -PARAM fop.extensions=1
|
||||
#maven.sdocbook.fo.params=draft.mode=no
|
||||
maven.sdocbook.src.dir=${basedir}/docbook
|
||||
maven.sdocbook.resources.include=**/*.gif,**/*.svg,**/*.jpg
|
||||
maven.sdocbook.stylesheets.dir=${maven.build.dir}/docbook-xsl-1.66.1
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# Commons Attributes
|
||||
#------------------------------------------------------------------------
|
||||
|
|
15
project.xml
|
@ -247,21 +247,6 @@
|
|||
<version>2.5</version>
|
||||
<type>plugin</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>maven-plugins</groupId>
|
||||
<artifactId>maven-sdocbook-plugin</artifactId>
|
||||
<version>1.4-SNAPSHOT</version>
|
||||
<type>plugin</type>
|
||||
</dependency>
|
||||
|
||||
<!-- docbook -->
|
||||
<dependency>
|
||||
<groupId>docbook</groupId>
|
||||
<artifactId>docbook-xsl</artifactId>
|
||||
<version>1.66.1</version>
|
||||
<url>http://docbook.sourceforge.net</url>
|
||||
<type>zip</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
|
||||
|
|