mirror of
https://github.com/apache/openjpa.git
synced 2025-02-28 13:39:11 +00:00
Added openjpa-project for assembly descriptiors and docs; upped version to 0.9.0
git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425608 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5556a4085c
commit
3c702ef0d1
@ -10,11 +10,9 @@
|
||||
<description>JDBC 1.5</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
@ -22,7 +20,7 @@
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-jdbc</artifactId>
|
||||
<version>0.0.1</version>
|
||||
<version>${pom.version}</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
|
@ -10,11 +10,9 @@
|
||||
<description>JDBC</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
@ -22,7 +20,7 @@
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-kernel</artifactId>
|
||||
<version>0.0.1</version>
|
||||
<version>${pom.version}</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
|
@ -10,11 +10,9 @@
|
||||
<description>Kernel 1.5</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
|
@ -10,11 +10,9 @@
|
||||
<description>Kernel</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
|
@ -10,115 +10,76 @@
|
||||
<description>Utilities</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
|
||||
<groupId>jakarta-regexp</groupId>
|
||||
<artifactId>jakarta-regexp</artifactId>
|
||||
<version>1.4</version>
|
||||
<scope>test</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>1.0.4</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>log4j</groupId>
|
||||
<artifactId>log4j</artifactId>
|
||||
<version>1.2.13</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<version>2.5</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-lang</groupId>
|
||||
<artifactId>commons-lang</artifactId>
|
||||
<version>2.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>ant</groupId>
|
||||
<artifactId>ant</artifactId>
|
||||
<version>1.6.5</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-collections</groupId>
|
||||
<artifactId>commons-collections</artifactId>
|
||||
<version>3.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>commons-pool</groupId>
|
||||
<artifactId>commons-pool</artifactId>
|
||||
<version>1.2</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
<groupId>backport-util-concurrent</groupId>
|
||||
<artifactId>backport-util-concurrent</artifactId>
|
||||
<version>2.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
<groupId>net.sourceforge.serp</groupId>
|
||||
<artifactId>serp</artifactId>
|
||||
<version>1.11.0</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<build>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.3</source>
|
||||
<target>1.3</target>
|
||||
</configuration>
|
||||
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
|
||||
</project>
|
||||
|
@ -10,11 +10,9 @@
|
||||
<description>JPA JDBC</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
@ -22,7 +20,7 @@
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-jdbc-5</artifactId>
|
||||
<version>0.0.1</version>
|
||||
<version>${pom.version}</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
@ -30,7 +28,7 @@
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-persistence</artifactId>
|
||||
<version>0.0.1</version>
|
||||
<version>${pom.version}</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
@ -38,7 +36,7 @@
|
||||
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
<version>10.1.2.1</version>
|
||||
<version>10.1.3.1</version>
|
||||
<scope>test</scope>
|
||||
|
||||
</dependency>
|
||||
|
@ -10,11 +10,9 @@
|
||||
<description>JPA</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
|
20
openjpa-project/LICENSE.txt
Normal file
20
openjpa-project/LICENSE.txt
Normal file
@ -0,0 +1,20 @@
|
||||
Permission is hereby granted, free of charge, to any person
|
||||
obtaining a copy of this software and associated documentation
|
||||
files (the "Software"), to deal in the Software without
|
||||
restriction, including without limitation the rights to use,
|
||||
copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following
|
||||
conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
2
openjpa-project/README.txt
Normal file
2
openjpa-project/README.txt
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
Thanks!
|
94
openjpa-project/assembly.xml
Normal file
94
openjpa-project/assembly.xml
Normal file
@ -0,0 +1,94 @@
|
||||
<assembly>
|
||||
<id></id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<includes>
|
||||
<include>README*</include>
|
||||
<include>LICENSE*</include>
|
||||
<include>NOTICE*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>licenses</directory>
|
||||
<outputDirectory>/lib</outputDirectory>
|
||||
<includes>
|
||||
<include>*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>target/manual/OpenJPA</directory>
|
||||
<outputDirectory>/manual</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../target/site/apidocs</directory>
|
||||
<outputDirectory>/javadoc</outputDirectory>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>target/examples</directory>
|
||||
<outputDirectory>/examples</outputDirectory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>/lib</outputDirectory>
|
||||
<unpack>false</unpack>
|
||||
<scope>runtime</scope>
|
||||
<excludes>
|
||||
<!-- only used for the ant tasks, which will already have it -->
|
||||
<exclude>ant:ant</exclude>
|
||||
<exclude>ant:ant-xalan2</exclude>
|
||||
<exclude>ant:ant-trax</exclude>
|
||||
<exclude>bcel:bcel</exclude>
|
||||
|
||||
<!-- exclude empty distribution jars -->
|
||||
<exclude>openjpa:openjpa-project</exclude>
|
||||
|
||||
<!-- already included in JDK 1.5 -->
|
||||
<exclude>xerces:xerces</exclude>
|
||||
<exclude>xerces:xercesImpl</exclude>
|
||||
<exclude>xalan:xalan</exclude>
|
||||
<exclude>xml-apis:xml-apis</exclude>
|
||||
<exclude>xerces:xmlParserAPIs</exclude>
|
||||
|
||||
<!-- not required for release -->
|
||||
<exclude>hsqldb:hsqldb</exclude>
|
||||
|
||||
<!-- only required for persistence server -->
|
||||
<exclude>javax.servlet:servlet-api</exclude>
|
||||
|
||||
<!-- optional log implementation -->
|
||||
<exclude>log4j:log4j</exclude>
|
||||
|
||||
<!-- optional -->
|
||||
<exclude>junit:junit</exclude>
|
||||
</excludes>
|
||||
</dependencySet>
|
||||
|
||||
|
||||
<!--
|
||||
<dependencySet>
|
||||
<outputDirectory>/optional</outputDirectory>
|
||||
<unpack>false</unpack>
|
||||
<scope>runtime</scope>
|
||||
<includes>
|
||||
<include>org.apache.derby:derby</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<dependencySet>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<unpack>false</unpack>
|
||||
<scope>runtime</scope>
|
||||
<includes>
|
||||
<include>org.apache.openjpa:openjpa-all</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
-->
|
||||
</dependencySets>
|
||||
</assembly>
|
205
openjpa-project/pom.xml
Normal file
205
openjpa-project/pom.xml
Normal file
@ -0,0 +1,205 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/maven-v4_0_0.xsd">
|
||||
|
||||
<!--
|
||||
To build the distribution files from project root:
|
||||
|
||||
mvn clean compile package -Dtest=false
|
||||
-->
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>openjpa-project</artifactId>
|
||||
<name>OpenJPA Project</name>
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
|
||||
<build>
|
||||
<!-- needed to let maven pass the "compile" phase -->
|
||||
<testSourceDirectory>/none/</testSourceDirectory>
|
||||
|
||||
<!-- filter site resources -->
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${project.basedir}/src/site</directory>
|
||||
<!-- targetPath is relative to target/classes/ -->
|
||||
<targetPath>../filtered-site</targetPath>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
|
||||
<plugins>
|
||||
|
||||
<!-- build the docs when creating the site from docbook source -->
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>site</phase>
|
||||
<configuration>
|
||||
<!-- destdir="${project.build.directory}/site/manual" -->
|
||||
<tasks>
|
||||
<echo>Building docbook manual</echo>
|
||||
<style includes="**/manual.xml"
|
||||
basedir="${project.basedir}/src/doc/manual"
|
||||
destdir="${project.basedir}/target/filtered-site/resources/manual"
|
||||
style="manual-xhtml.xsl"
|
||||
classpathref="maven.runtime.classpath"/>
|
||||
<style includes="**/manual.xml"
|
||||
basedir="${project.basedir}/src/doc/manual"
|
||||
destdir="${project.basedir}/target/filtered-site/resources/manual"
|
||||
style="manual-xhtml-chunk.xsl"
|
||||
classpathref="maven.runtime.classpath"/>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>bin</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>assembly</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptor>assembly.xml</descriptor>
|
||||
<finalName>openjpa-${version}</finalName>
|
||||
<outputDirectory>${project.basedir}/target/filtered-site/resources/downloads</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>sources</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>assembly</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptor>source-assembly.xml</descriptor>
|
||||
<finalName>openjpa-${version}</finalName>
|
||||
<outputDirectory>${project.basedir}/target/filtered-site/resources/downloads</outputDirectory>
|
||||
<workDirectory>target/work</workDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!--
|
||||
copy over site files from src/site to target/filtered-site
|
||||
so we can filter resources and include other generated
|
||||
content from the openjpa-project module
|
||||
-->
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>prefilter-site</id>
|
||||
<phase>site</phase>
|
||||
<goals>
|
||||
<goal>resources</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<version>2.0-beta-5</version>
|
||||
<configuration>
|
||||
<siteDirectory>target/filtered-site</siteDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
<!-- need to explicitly list dependencies for assembly to work -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-lib</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-kernel</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-kernel-5</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-jdbc</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-jdbc-5</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-persistence</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-persistence-jdbc</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-xmlstore</artifactId>
|
||||
<version>${pom.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- included so we can include it in the distribution -->
|
||||
<dependency>
|
||||
<groupId>org.apache.derby</groupId>
|
||||
<artifactId>derby</artifactId>
|
||||
<version>10.1.3.1</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- jars needed for for docbook -->
|
||||
<dependency>
|
||||
<groupId>ant</groupId>
|
||||
<artifactId>ant</artifactId>
|
||||
<version>1.6.5</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ant</groupId>
|
||||
<artifactId>ant-trax</artifactId>
|
||||
<version>1.6.5</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>xalan</groupId>
|
||||
<artifactId>xalan</artifactId>
|
||||
<version>2.7.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>bcel</groupId>
|
||||
<artifactId>bcel</artifactId>
|
||||
<version>5.1</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
16
openjpa-project/source-assembly.xml
Normal file
16
openjpa-project/source-assembly.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<assembly>
|
||||
<id>sources</id>
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>..</directory>
|
||||
<outputDirectory></outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/target/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
24
openjpa-project/src/doc/manual/manual-xhtml-chunk.xsl
Normal file
24
openjpa-project/src/doc/manual/manual-xhtml-chunk.xsl
Normal file
@ -0,0 +1,24 @@
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
|
||||
|
||||
<!-- docbook stylesheet customizations for openjpa manual -->
|
||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/chunk.xsl"/>
|
||||
|
||||
<!--
|
||||
<xsl:param name="html.stylesheet">../css/maven-base.css ../css/maven-theme.css ../css/site.css</xsl:param>
|
||||
-->
|
||||
|
||||
<xsl:param name="html.cleanup" select="1"/>
|
||||
<xsl:param name="label.from.part" select="1"/>
|
||||
<xsl:param name="annotate.toc" select="1"/>
|
||||
<xsl:param name="toc.section.depth">5</xsl:param>
|
||||
<xsl:param name="generate.section.toc.level" select="8"/>
|
||||
<xsl:param name="generate.id.attributes" select="1"/>
|
||||
<xsl:param name="generate.index" select="1"/>
|
||||
<xsl:param name="chapter.autolabel" select="1"/>
|
||||
<xsl:param name="appendix.autolabel" select="1"/>
|
||||
<xsl:param name="part.autolabel" select="1"/>
|
||||
<xsl:param name="preface.autolabel" select="0"/>
|
||||
<xsl:param name="qandadiv.autolabel" select="1"/>
|
||||
<xsl:param name="section.autolabel" select="1"/>
|
||||
</xsl:stylesheet>
|
||||
|
24
openjpa-project/src/doc/manual/manual-xhtml.xsl
Normal file
24
openjpa-project/src/doc/manual/manual-xhtml.xsl
Normal file
@ -0,0 +1,24 @@
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
|
||||
|
||||
<!-- docbook stylesheet customizations for openjpa manual -->
|
||||
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/>
|
||||
|
||||
<!--
|
||||
<xsl:param name="html.stylesheet">../css/maven-base.css ../css/maven-theme.css ../css/site.css</xsl:param>
|
||||
-->
|
||||
|
||||
<xsl:param name="html.cleanup" select="1"/>
|
||||
<xsl:param name="label.from.part" select="1"/>
|
||||
<xsl:param name="annotate.toc" select="1"/>
|
||||
<xsl:param name="toc.section.depth">5</xsl:param>
|
||||
<xsl:param name="generate.section.toc.level" select="8"/>
|
||||
<xsl:param name="generate.id.attributes" select="1"/>
|
||||
<xsl:param name="generate.index" select="1"/>
|
||||
<xsl:param name="chapter.autolabel" select="1"/>
|
||||
<xsl:param name="appendix.autolabel" select="1"/>
|
||||
<xsl:param name="part.autolabel" select="1"/>
|
||||
<xsl:param name="preface.autolabel" select="0"/>
|
||||
<xsl:param name="qandadiv.autolabel" select="1"/>
|
||||
<xsl:param name="section.autolabel" select="1"/>
|
||||
</xsl:stylesheet>
|
||||
|
33806
openjpa-project/src/doc/manual/manual.xml
Normal file
33806
openjpa-project/src/doc/manual/manual.xml
Normal file
File diff suppressed because it is too large
Load Diff
71
openjpa-project/src/doc/manual/style.css
Normal file
71
openjpa-project/src/doc/manual/style.css
Normal file
@ -0,0 +1,71 @@
|
||||
body, td, th {
|
||||
font-size: 95%;
|
||||
font-family: Arial, Geneva, Helvetica, sans-serif;
|
||||
color: black;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
menu {
|
||||
margin-left: 1em;
|
||||
padding-left: 1em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
table.colortable {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 130%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 100%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.menuheader {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.navleft {
|
||||
padding-right: 5px;
|
||||
border: 1px solid #cccccc;
|
||||
border-width: 0px 1px 0px 0px;
|
||||
}
|
||||
|
||||
.navright {
|
||||
padding-left: 5px;
|
||||
border: 1px solid #cccccc;
|
||||
border-width: 0px 0px 0px 1px;
|
||||
}
|
||||
|
||||
.section-content {
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.note {
|
||||
margin: 1em;
|
||||
padding: 1em;
|
||||
border: 2px solid gray;
|
||||
}
|
||||
|
||||
.source {
|
||||
margin: 0em 1em 0em 1em;
|
||||
padding: 0em 1em 0em 1em;
|
||||
border: 2px solid #bbbbbb;
|
||||
white-space: pre;
|
||||
}
|
@ -10,11 +10,9 @@
|
||||
<description>XML Store for OpenJPA</description>
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
<parent>
|
||||
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<version>0.9.0</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
|
||||
|
136
pom.xml
136
pom.xml
@ -1,15 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/maven-v4_0_0.xsd">
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||
http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<prerequisites>
|
||||
<maven>2.0.4</maven>
|
||||
</prerequisites>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>OpenJPA</name>
|
||||
<description>OpenJPA</description>
|
||||
<version>0.0.1</version>
|
||||
|
||||
<!--
|
||||
Changing this version needs to also be done in all children poms
|
||||
See: http://jira.codehaus.org/browse/MNG-624
|
||||
-->
|
||||
<version>0.9.0</version>
|
||||
|
||||
<url>http://incubator.apache.org/projects/openjpa</url>
|
||||
|
||||
<issueManagement>
|
||||
<system>jira</system>
|
||||
<url>http://issues.apache.org/jira/browse/OPENJPA</url>
|
||||
@ -75,81 +87,111 @@
|
||||
</organization>
|
||||
<scm>
|
||||
<connection>
|
||||
scm:svn:http://svn.apache.org/repos/asf/incubator/openjpa/${pom.artifactId}</connection>
|
||||
scm:svn:http://svn.apache.org/repos/asf/incubator/openjpa/trunk</connection>
|
||||
<developerConnection>
|
||||
scm:svn:https://svn.apache.org/repos/asf/incubator/openjpa/${pom.artifactId}</developerConnection>
|
||||
scm:svn:https://svn.apache.org/repos/asf/incubator/openjpa/trunk</developerConnection>
|
||||
<url>
|
||||
https://svn.apache.org/repos/asf/incubator/openjpa/${pom.artifactId}</url>
|
||||
https://svn.apache.org/repos/asf/incubator/openjpa/trunk</url>
|
||||
</scm>
|
||||
<modules>
|
||||
|
||||
<modules>
|
||||
<module>openjpa-lib</module>
|
||||
<module>openjpa-kernel</module>
|
||||
<module>openjpa-kernel-5</module>
|
||||
<module>openjpa-jdbc</module>
|
||||
<module>openjpa-jdbc-5</module>
|
||||
<module>openjpa-persistence</module>
|
||||
<module>openjpa-persistence-jdbc</module>
|
||||
<module>openjpa-xmlstore</module>
|
||||
|
||||
<module>openjpa-project</module>
|
||||
</modules>
|
||||
<repositories>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>jdk1.5</id>
|
||||
<activation>
|
||||
<jdk>1.5</jdk>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>openjpa-persistence</module>
|
||||
<module>openjpa-persistence-jdbc</module>
|
||||
<module>openjpa-kernel-5</module>
|
||||
<module>openjpa-jdbc-5</module>
|
||||
</modules>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>release</name>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<module>openjpa-project</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
<name>Maven Repository Switchboard</name>
|
||||
<url>http://www.ibiblio.org/maven2</url>
|
||||
</repository>
|
||||
|
||||
|
||||
<repository>
|
||||
<id>java-net</id>
|
||||
<name>dev.java.net repository</name>
|
||||
<url>https://maven-repository.dev.java.net/nonav/repository</url>
|
||||
<layout>legacy</layout>
|
||||
</repository>
|
||||
|
||||
|
||||
<repository>
|
||||
<id>serp</id>
|
||||
<name>Serp Project Repository</name>
|
||||
<url>http://serp.sourceforge.net/m2repo</url>
|
||||
</repository>
|
||||
|
||||
</repositories>
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<scope>compile</scope>
|
||||
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<!-- needed to let maven pass the "compile" phase -->
|
||||
<testSourceDirectory>/none/</testSourceDirectory>
|
||||
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<source>1.5</source>
|
||||
<target>1.5</target>
|
||||
</configuration>
|
||||
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>jdepend-maven-plugin</report>
|
||||
<!-- <report>jxr-maven-plugin</report> -->
|
||||
<report>surefire-report-maven-plugin</report>
|
||||
<report>maven-javadoc-plugin</report>
|
||||
<report>project-team</report>
|
||||
<report>mailing-list</report>
|
||||
<report>issue-tracking</report>
|
||||
<report>license</report>
|
||||
<report>scm</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
</plugin>
|
||||
@ -157,42 +199,40 @@
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>taglist-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>jxr-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<aggregate>true</aggregate>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
<!--
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<configuration>
|
||||
<aggregate>true</aggregate>
|
||||
<linksource>true</linksource>
|
||||
<maxmemory>512m</maxmemory>
|
||||
<links>
|
||||
<link>http://java.sun.com/j2se/1.5.0/docs/api</link>
|
||||
<link>http://java.sun.com/javaee/5/docs/api</link>
|
||||
<link>
|
||||
http://jakarta.apache.org/commons/collections/api-release</link>
|
||||
<link>http://jakarta.apache.org/commons/collections/api-release</link>
|
||||
</links>
|
||||
</configuration>
|
||||
</plugin>
|
||||
-->
|
||||
|
||||
|
||||
</plugins>
|
||||
</reporting>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>bea-internal</id>
|
||||
<name>Internal BEA OpenJPA test site</name>
|
||||
<url>file:///${user.home}/web/devel/openjpa/dist</url>
|
||||
</repository>
|
||||
<site>
|
||||
<id>bea-internal</id>
|
||||
<name>Internal BEA OpenJPA test sit</name>
|
||||
<url>file:///${user.home}/web/devel/openjpa/site</url>
|
||||
</site>
|
||||
<repository>
|
||||
<id>people.apache.org</id>
|
||||
<url>scp://people.apache.org/home/mprudhom/public_html/openjpa/m2repo</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>openjpa</id>
|
||||
<url>scp://people.apache.org/home/mprudhom/public_html/openjpa/m2snapshot</url>
|
||||
</snapshotRepository>
|
||||
<site>
|
||||
<id>people.apache.org</id>
|
||||
<url>scpexe://people.apache.org/home/mprudhom/public_html/openjpa/site/</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
</project>
|
||||
|
||||
|
||||
|
23
src/site/apt/building.apt
Normal file
23
src/site/apt/building.apt
Normal file
@ -0,0 +1,23 @@
|
||||
------
|
||||
openjpa
|
||||
------
|
||||
|
||||
Building OpenJPA
|
||||
|
||||
Building OpenJPA requires an installation of {{{http://maven.apache.org/}Maven 2}}.
|
||||
|
||||
Check out the sources then run:
|
||||
|
||||
+--------------------------------+
|
||||
mvn compile
|
||||
+--------------------------------+
|
||||
|
||||
To run the tests:
|
||||
|
||||
+--------------------------------+
|
||||
mvn test
|
||||
+--------------------------------+
|
||||
|
||||
|
||||
|
||||
|
11
src/site/apt/index.apt
Normal file
11
src/site/apt/index.apt
Normal file
@ -0,0 +1,11 @@
|
||||
------
|
||||
openjpa
|
||||
------
|
||||
|
||||
Welcome to the OpenJPA project site!
|
||||
|
||||
OpenJPA is a set of Java persistence Application Program Interfaces (APIs) that are based on the Enterprise Java Beans 3.0 persistenace specification. This is the distribution and project management site for OpenJPA. For community resources, please see the {{{http://wiki.apache.org/incubator/OpenJPA}OpenJPA wiki}}.
|
||||
|
||||
To download OpenJPA, please go to the {{{downloads.html}downloads}} page.
|
||||
|
||||
|
34
src/site/site.xml
Normal file
34
src/site/site.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<project name="OpenJPA">
|
||||
<bannerLeft>
|
||||
<name>OpenJPA</name>
|
||||
<!-- <src>http://www.apache.org/images/asf_logo_wide.gif</src> -->
|
||||
<!-- <href>/</href> -->
|
||||
</bannerLeft>
|
||||
<body>
|
||||
<menu name="OpenJPA">
|
||||
<item name="Home" href="index.html"/>
|
||||
<item name="Manual" href="openjpa-project/manual/manual.html"/>
|
||||
<item name="Download" href="downloads.html"/>
|
||||
<item name="Building" href="building.html"/>
|
||||
</menu>
|
||||
|
||||
<menu name="Community">
|
||||
<item name="Issue Tracker"
|
||||
href="https://issues.apache.org/jira/browse/OPENJPA"/>
|
||||
<item name="Wiki"
|
||||
href="http://wiki.apache.org/incubator/OpenJPA"/>
|
||||
</menu>
|
||||
|
||||
<menu ref="parent"/>
|
||||
<menu ref="reports"/>
|
||||
|
||||
<!-- <menu ref="modules"/> -->
|
||||
</body>
|
||||
|
||||
<skin>
|
||||
<groupId>org.apache.maven.skins</groupId>
|
||||
<artifactId>maven-stylus-skin</artifactId>
|
||||
<version>1.0</version>
|
||||
</skin>
|
||||
</project>
|
32
src/site/xdoc/downloads.xml
Normal file
32
src/site/xdoc/downloads.xml
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<document>
|
||||
<properties>
|
||||
<title>OpenJPA Downloads</title>
|
||||
</properties>
|
||||
<body>
|
||||
<section name="Certified Downloads">
|
||||
<p>
|
||||
Currently, Apache OpenJPA has no certified releases.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section name="Milestone Downloads">
|
||||
<p>
|
||||
The following non-certified milestone releases are available.
|
||||
These milestone releases are 'technology demonstrations' and not
|
||||
offered as a J2EE-compatible JPA implementation.
|
||||
</p>
|
||||
|
||||
<p><strong>0.9.0</strong> - <i>July 25, 2006</i></p>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="openjpa-project/downloads/openjpa-0.9.0.zip">binary zip</a>
|
||||
-
|
||||
<a href="openjpa-project/downloads/openjpa-0.9.0-sources.zip">source zip</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
Loading…
x
Reference in New Issue
Block a user