[hibernate-commits] Hibernate SVN: r14551 - in core/trunk: src and 6 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Apr 18 15:05:05 EDT 2008


Author: steve.ebersole at jboss.com
Date: 2008-04-18 15:05:04 -0400 (Fri, 18 Apr 2008)
New Revision: 14551

Added:
   core/trunk/src/
   core/trunk/src/assembly/
   core/trunk/src/assembly/dist.xml
   core/trunk/src/assembly/hibernate-all.xml
   core/trunk/src/site/
   core/trunk/src/site/apt/
   core/trunk/src/site/apt/documentation.apt
   core/trunk/src/site/apt/index.apt
   core/trunk/src/site/resources/
   core/trunk/src/site/resources/css/
   core/trunk/src/site/resources/css/site.css
   core/trunk/src/site/resources/images/
   core/trunk/src/site/resources/images/favicon.ico
   core/trunk/src/site/resources/images/hibernate_icon.png
   core/trunk/src/site/resources/images/hibernate_logo.png
   core/trunk/src/site/resources/images/maven-button-4.png
   core/trunk/src/site/site.xml
Removed:
   core/trunk/distribution/
Modified:
   core/trunk/pom.xml
Log:
try incorporating assembly ; take 3

Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml	2008-04-18 18:46:06 UTC (rev 14550)
+++ core/trunk/pom.xml	2008-04-18 19:05:04 UTC (rev 14551)
@@ -61,7 +61,6 @@
         <module>bytecode-cglib</module>
         <module>bytecode-javassist</module>
 -->
-        <module>distribution</module>
     </modules>
     
     <build>
@@ -75,6 +74,17 @@
                     <goals>install,site,assembly:single</goals>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.2-beta-2</version>
+                <configuration>
+                    <descriptors>
+                        <descriptor>src/assembly/hibernate-all.xml</descriptor>
+                        <descriptor>src/assembly/dist.xml</descriptor>
+                    </descriptors>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

Added: core/trunk/src/assembly/dist.xml
===================================================================
--- core/trunk/src/assembly/dist.xml	                        (rev 0)
+++ core/trunk/src/assembly/dist.xml	2008-04-18 19:05:04 UTC (rev 14551)
@@ -0,0 +1,131 @@
+<?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
+  ~
+  -->
+<assembly 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/assembly-1.1.0-SNAPSHOT.xsd">
+
+    <!--
+        Produces a dist-style bundle similar to what previous (non-mavenized) versions of
+        Hibernate did.
+    -->
+
+    <id>dist</id>
+    <formats>
+        <format>zip</format>
+        <format>tar.gz</format>
+    </formats>
+
+    <includeBaseDirectory>true</includeBaseDirectory>
+    <includeSiteDirectory>true</includeSiteDirectory>
+
+    <files>
+        <file>
+            <source>lgpl.txt</source>
+        </file>
+        <file>
+            <!-- todo : bundle only current changelog?  that's supportable as a generated artifact...  -->
+            <!-- maven-changelog-plugin may already support this (^^) ... -->
+            <source>changelog.txt</source>
+        </file>
+        <file>
+            <source>target/${project.artifactId}-${project.version}-all.jar</source>
+            <destName>hibernate3.jar</destName>
+        </file>
+    </files>
+
+    <fileSets>
+        <fileSet>
+            <outputDirectory>sources</outputDirectory>
+            <useDefaultExcludes>true</useDefaultExcludes>
+            <excludes>
+                <exclude>**/target/**</exclude>
+            </excludes>
+        </fileSet>
+        <!-- ugh! -->
+        <fileSet>
+            <directory>documentation/manual/en-US/target/docbook</directory>
+            <outputDirectory>manual/en-US</outputDirectory>
+            <includes>
+                <include>**/**</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>documentation/manual/fr-FR/target/docbook</directory>
+            <outputDirectory>manual/fr-FR</outputDirectory>
+            <includes>
+                <include>**/**</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+
+    <moduleSets>
+        <!-- Handle the "code" related modules -->
+        <moduleSet>
+            <!-- this setting makes sure that sub modules of documentation are not picked up here -->
+            <includeSubModules>false</includeSubModules>
+            <includes>
+                <include>org.hibernate:*</include>
+            </includes>
+            <excludes>
+                <!-- documentation handled in separate moduleSet -->
+                <exclude>org.hibernate:hibernate-documentation</exclude>
+                <!-- not included in the dist bundle -->
+                <exclude>org.hibernate:hibernate-testsuite</exclude>
+                <!-- not included in the dist bundle (for now; eventually will become part of documentation/tutorial) -->
+                <exclude>org.hibernate:hibernate-tutorials</exclude>
+            </excludes>
+            <binaries>
+                <unpack>false</unpack>
+                <includeDependencies>false</includeDependencies>
+                <!-- drop version from JAR file name -->
+                <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
+                <dependencySets>
+                    <dependencySet>
+                        <outputDirectory>lib</outputDirectory>
+                        <includes>
+                            <include>*:jar:*</include>
+                        </includes>
+                        <excludes>
+                            <exclude>org.hibernate:*</exclude>
+                            <exclude>*:sources</exclude>
+                            <exclude>*:javadoc</exclude>
+                            <!-- stuff jbosscache's pom pulls in -->
+                            <exclude>c3p0:c3p0:jar:0.9.0.4</exclude>
+                            <exclude>commons-logging:commons-logging:jar:1.1</exclude>
+                            <exclude>findbugs:annotations:*</exclude>
+                            <exclude>apache-httpclient:commons-httpclient:*</exclude>
+                            <exclude>apache-slide:*</exclude>
+                            <exclude>jdbm:jdbm:*</exclude>
+                            <exclude>org.beanshell:bsh:*</exclude>
+                            <exclude>sleepycat:je:*</exclude>
+                        </excludes>
+                    </dependencySet>
+                </dependencySets>
+            </binaries>
+        </moduleSet>
+    </moduleSets>
+
+</assembly>
\ No newline at end of file

Added: core/trunk/src/assembly/hibernate-all.xml
===================================================================
--- core/trunk/src/assembly/hibernate-all.xml	                        (rev 0)
+++ core/trunk/src/assembly/hibernate-all.xml	2008-04-18 19:05:04 UTC (rev 14551)
@@ -0,0 +1,67 @@
+<?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
+  ~
+  -->
+<assembly 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/assembly-1.1.0-SNAPSHOT.xsd">
+
+    <!--
+        Produces a dist-style bundle similar to what previous (non-mavenized) versions of
+        Hibernate did.
+    -->
+    <id>all</id>
+    <formats>
+        <format>jar</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <baseDirectory>hibernate-all</baseDirectory>
+    <moduleSets>
+        <!-- Handle the "code" related modules -->
+        <moduleSet>
+            <!-- this setting makes sure that sub modules of documentation are not picked up here -->
+            <includeSubModules>false</includeSubModules>
+            <includes>
+                <include>org.hibernate:*</include>
+            </includes>
+            <excludes>
+                <!-- documentation handled in separate moduleSet -->
+                <exclude>org.hibernate:hibernate-documentation</exclude>
+                <!-- not included in the dist bundle -->
+                <exclude>org.hibernate:hibernate-testsuite</exclude>
+                <!-- not included in the dist bundle (for now; eventually will become part of documentation/tutorial) -->
+                <exclude>org.hibernate:hibernate-tutorials</exclude>
+            </excludes>
+            <sources>
+                <includeModuleDirectory>false</includeModuleDirectory>
+                <fileSets>
+                    <fileSet>
+                        <directory>target/classes</directory>
+                        <outputDirectory>/</outputDirectory>
+                    </fileSet>
+                </fileSets>
+            </sources>
+        </moduleSet>
+    </moduleSets>
+</assembly>
\ No newline at end of file

Added: core/trunk/src/site/apt/documentation.apt
===================================================================
--- core/trunk/src/site/apt/documentation.apt	                        (rev 0)
+++ core/trunk/src/site/apt/documentation.apt	2008-04-18 19:05:04 UTC (rev 14551)
@@ -0,0 +1,33 @@
+ ------
+ Documentation
+ ------
+ Steve Ebersole
+ ------
+ 17 March 2008
+ ------
+
+~~ 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
+
+Hibernate Core - Documentation
+
+    Coming Soon...  intended as a central aggregation of documentation and resource information.
\ No newline at end of file

Added: core/trunk/src/site/apt/index.apt
===================================================================
--- core/trunk/src/site/apt/index.apt	                        (rev 0)
+++ core/trunk/src/site/apt/index.apt	2008-04-18 19:05:04 UTC (rev 14551)
@@ -0,0 +1,59 @@
+ ------
+ Introduction
+ ------
+ Steve Ebersole
+ ------
+ 20 July 2007
+ ------
+
+~~ 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
+
+Hibernate Core - Relational Persistence for Idiomatic Java
+
+    Hibernate is a powerful, high performance object/relational persistence and query
+    service.  Hibernate lets you develop persistent classes following common object-oriented
+    idioms such as association, inheritance, polymorphism, composition, and collections.
+
+    Hibernate's goal is to relieve the developer from 95 percent of common data persistence related
+    programming tasks, compared to manual coding with SQL and the JDBC API.  Hibernate Core for Java
+    generates SQL for you, relieves you from manual JDBC result set handling and object conversion,
+    and keeps your application portable to all SQL databases.  However, unlike many other persistence
+    solutions, Hibernate does not hide the power of SQL from you and guarantees that your investment
+    in relational technology and knowledge is as valid as always.
+
+    Hibernate provides transparent persistence, the only requirement for a persistent class is a
+    no-argument constructor. You don't even need classes, you can also persist a model using Maps of
+    Maps, or just about anything else.
+
+    Hibernate offers sophisticated query options.  You can write plain SQL, object-oriented
+    HQL (Hibernate Query Language), or create programatic Criteria and Example queries.  Hibernate can
+    optimize object loading all the time, with various fetching and caching options.
+
+    Hibernate adapts to your development process, no matter if you start with a design from scratch or
+    work with an existing database, and it will support any application architecture.  Combined with
+    Hibernate EntityManager and Hibernate Annotations you can use Hibernate as a certified Java Persistence
+    provider.
+
+    Please visit the {{{http://hibernate.org}website}} for more information.
+
+    Happpy Hibernating!

Added: core/trunk/src/site/resources/css/site.css
===================================================================
--- core/trunk/src/site/resources/css/site.css	                        (rev 0)
+++ core/trunk/src/site/resources/css/site.css	2008-04-18 19:05:04 UTC (rev 14551)
@@ -0,0 +1,31 @@
+/**
+ * Copyright © 2007  Red Hat Middleware, LLC. All rights reserved.
+ *
+ * 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, v. 2.1. This program is distributed in the
+ * hope that it will be useful, but WITHOUT A 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, v.2.1 along with this
+ * distribution; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * Red Hat Author(s): Steve Ebersole
+ */
+
+/*
+ * Apply the colors taken from the Hibernate logo in various places
+ * thoughout the generated site pages.
+ *
+ * brown : #aea477
+ * gray  : #59666c
+ */
+
+h1, h2, h3, h4, h5, h6 {
+    color: #aea477;
+}
+
+#navcolumn h5 {
+    color: #59666c;
+}

Added: core/trunk/src/site/resources/images/favicon.ico
===================================================================
(Binary files differ)


Property changes on: core/trunk/src/site/resources/images/favicon.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: core/trunk/src/site/resources/images/hibernate_icon.png
===================================================================
(Binary files differ)


Property changes on: core/trunk/src/site/resources/images/hibernate_icon.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: core/trunk/src/site/resources/images/hibernate_logo.png
===================================================================
(Binary files differ)


Property changes on: core/trunk/src/site/resources/images/hibernate_logo.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: core/trunk/src/site/resources/images/maven-button-4.png
===================================================================
(Binary files differ)


Property changes on: core/trunk/src/site/resources/images/maven-button-4.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: core/trunk/src/site/site.xml
===================================================================
--- core/trunk/src/site/site.xml	                        (rev 0)
+++ core/trunk/src/site/site.xml	2008-04-18 19:05:04 UTC (rev 14551)
@@ -0,0 +1,85 @@
+<!--
+  ~ 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 name="Hibernate Core">
+
+    <bannerLeft>
+        <name>Hibernate Core Project</name>
+        <src>images/hibernate_logo.png</src>
+        <href>http://hibernate.org</href>
+    </bannerLeft>
+    
+    <version position="left"/>
+    <publishDate position="navigation-bottom" format="yyyy-MM-dd"/>
+<!--
+    <poweredBy>
+        <logo name="Maven" href="http://maven.apache.org/" img="images/maven-button-4.png"/>
+    </poweredBy
+-->
+    <body>
+
+        <head>
+            <link rel="shortcut icon" href="images/favicon.ico"/>
+        </head>
+
+        <links>
+            <item name="Hibernate" href="http://hibernate.org"/>
+            <item name="JBoss" href="http://jboss.org"/>
+            <item name="Red Hat" href="http://redhat.com"/>
+        </links>
+
+        <menu name="Overview">
+            <item name="Introduction" href="index.html"/>
+            <item name="Documentation" href="documentation.html"/>
+        </menu>
+
+        <menu name="Information">
+            <item name="Project Summary" href="project-summary.html"/>
+            <item name="Project License" href="license.html"/>
+            <item name="Issue Tracking" href="issue-tracking.html"/>
+            <item name="Mailing Lists" href="mail-lists.html"/>
+            <item name="Source Repository" href="source-repository.html"/>
+            <item name="Continuous Integration" href="integration.html"/>
+            <item name="Dependencies" href="dependencies.html"/>
+            <item name="Dependency Convergence" href="dependency-convergence.html"/>
+        </menu>
+
+        <menu name="Modules">
+            <item name="Core" href="modules/core/index.html"/>
+            <item name="JMX Capabilities" href="modules/jmx/index.html"/>
+            <item name="Ehcache Integration" href="ehcache/index.html"/>
+            <item name="JBossCache(1.x) Integration" href="jbc/index.html"/>
+            <item name="JBossCache(2.x) Integration" href="jbc2/index.html"/>
+            <item name="SwarmCache Integration" href="swarmcache/index.html"/>
+            <item name="OSCache Integration" href="oscache/index.html"/>
+            <item name="C3P0 Integration" href="c3p0/index.html"/>
+            <item name="Proxool Integration" href="proxool/index.html"/>
+            <item name="Testing Support" href="testing/index.html"/>
+        </menu>
+
+    </body>
+
+</project>
+
+        
\ No newline at end of file




More information about the hibernate-commits mailing list