HHH-5441 - Create "Getting Started Guide"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20639 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
641073eb06
commit
be7fc3798c
|
@ -46,6 +46,51 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.groovy.maven</groupId>
|
||||||
|
<artifactId>gmaven-plugin</artifactId>
|
||||||
|
<version>1.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>compile</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>execute</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<!-- we need to zip up the tutorial code -->
|
||||||
|
<source>
|
||||||
|
<![CDATA[
|
||||||
|
zipName = 'hibernate-tutorials.zip'
|
||||||
|
baseDocBookDir = "${pom.basedir}/target/docbook/publish/en-US"
|
||||||
|
htmlDir = "${baseDocBookDir}/html/files"
|
||||||
|
ant.mkdir( dir: htmlDir )
|
||||||
|
|
||||||
|
zipFile = "${htmlDir}/${zipName}"
|
||||||
|
ant.zip( destfile: zipFile ) {
|
||||||
|
zipfileset( dir: "${pom.basedir}/tutorials" ) {
|
||||||
|
exclude( name: "**/*.ipr" )
|
||||||
|
exclude( name: "**/*.iml" )
|
||||||
|
exclude( name: "**/*.iws" )
|
||||||
|
exclude( name: "**/.idea" )
|
||||||
|
exclude( name: "**/.classpath" )
|
||||||
|
exclude( name: "**/.project" )
|
||||||
|
exclude( name: "**/.settings" )
|
||||||
|
exclude( name: "target/**" )
|
||||||
|
exclude( name: "?*/target/**" )
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
htmlSingleDir = "${baseDocBookDir}/html_single/files"
|
||||||
|
ant.mkdir( dir: htmlSingleDir )
|
||||||
|
ant.copy( toDir: htmlSingleDir, file: zipFile )
|
||||||
|
]]>
|
||||||
|
</source>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.jboss.maven.plugins</groupId>
|
<groupId>org.jboss.maven.plugins</groupId>
|
||||||
<artifactId>maven-jdocbook-plugin</artifactId>
|
<artifactId>maven-jdocbook-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue