added releasenotes module structure;

updated jbosscache2 manual pom to not use SNAPSHOTS

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14594 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2008-04-28 21:29:31 +00:00
parent 8c44223ce6
commit bd22a99f63
4 changed files with 116 additions and 1 deletions

View File

@ -52,7 +52,7 @@
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>

View File

@ -17,6 +17,7 @@
<description>Grouping of Hibernate Core Project documentation modules</description>
<modules>
<module>releasenotes</module>
<module>manual</module>
<!--
<module>jbosscache2</module>

View File

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Hibernate, Relational Persistence for Idiomatic Java
~
~ Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
~ indicated by the @author tags or express copyright attribution
~ statements applied by the authors. All third-party contributions are
~ distributed under license by Red Hat Middleware LLC.
~
~ This copyrighted material is made available to anyone wishing to use, modify,
~ copy, or redistribute it subject to the terms and conditions of the GNU
~ Lesser General Public License, as published by the Free Software Foundation.
~
~ This program 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 distribution; if not, write to:
~ Free Software Foundation, Inc.
~ 51 Franklin Street, Fifth Floor
~ Boston, MA 02110-1301 USA
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-parent</artifactId>
<version>3.3.0-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-releasenotes</artifactId>
<version>3.3.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
<name>Hibernate Release Notes</name>
<description>The Hibernate release notes DocBook source module</description>
<build>
<plugins>
<plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<executions>
<execution>
<!--
here we are attaching the translate goal so that the translations are processed
before compilation so that the transated XML is also transformed during
generation
-->
<phase>process-resources</phase>
<goals>
<goal>translate</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jdocbook-style</artifactId>
<version>1.0.2</version>
<type>jdocbook-style</type>
</dependency>
</dependencies>
<configuration>
<sourceDocumentName>Release_Notes.xml</sourceDocumentName>
<masterTranslation>en-US</masterTranslation>
<formats>
<format>
<formatName>pdf</formatName>
<stylesheetResource>classpath:/xslt/hibernate/pdf/main-pdf.xsl</stylesheetResource>
<finalName>hibernate_reference.pdf</finalName>
<profilingTypeName>two_pass</profilingTypeName>
</format>
<format>
<formatName>html_single</formatName>
<stylesheetResource>classpath:/xslt/hibernate/html/main-single.xsl</stylesheetResource>
<finalName>index.html</finalName>
<profilingTypeName>two_pass</profilingTypeName>
</format>
<format>
<formatName>html</formatName>
<stylesheetResource>classpath:/xslt/hibernate/html/main-chunk.xsl</stylesheetResource>
<finalName>index.html</finalName>
<profilingTypeName>two_pass</profilingTypeName>
</format>
</formats>
<options>
<xincludeSupported>true</xincludeSupported>
<localeSeparator>-</localeSeparator>
<useRelativeImageUris>true</useRelativeImageUris>
</options>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,5 @@
bawany, put the release notes sources in this directory. I already setup the config to look for Release_Notes.xml
as the root document name based on what you showed me.
DELETE THIS FILE WHEN YOU ARE DONE PULLNG OVER THE DOCBOOK SOURCE