OPENJPA-633 setting consistent eol-style for pom.xml files in trunk

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@677472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2008-07-17 00:09:55 +00:00
parent fec65630fd
commit 948c38e332
3 changed files with 656 additions and 656 deletions

View File

@ -1,173 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file or more contributor license agreements. See the NOTICE file
distributed with this work for additional information distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the KIND, either express or implied. See the License for the
specific language governing permissions and limitations specific language governing permissions and limitations
under the License. under the License.
--> -->
<!-- <!--
Maven release plugin requires the project tag to be on a single line. Maven release plugin requires the project tag to be on a single line.
--> -->
<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"> <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">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-kernel</artifactId> <artifactId>openjpa-kernel</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>OpenJPA Kernel</name> <name>OpenJPA Kernel</name>
<description>OpenJPA Kernel</description> <description>OpenJPA Kernel</description>
<url>http://openjpa.apache.org</url> <url>http://openjpa.apache.org</url>
<parent> <parent>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-parent</artifactId> <artifactId>openjpa-parent</artifactId>
<version>1.2.0-SNAPSHOT</version> <version>1.2.0-SNAPSHOT</version>
</parent> </parent>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-lib</artifactId> <artifactId>openjpa-lib</artifactId>
<version>${pom.version}</version> <version>${pom.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_1.1_spec</artifactId> <artifactId>geronimo-jms_1.1_spec</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId> <artifactId>geronimo-jta_1.1_spec</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-pool</groupId> <groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId> <artifactId>commons-pool</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.ibm.websphere</groupId> <groupId>com.ibm.websphere</groupId>
<artifactId>websphere_uow_api</artifactId> <artifactId>websphere_uow_api</artifactId>
<version>0.0.1</version> <version>0.0.1</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.5</source> <source>1.5</source>
<target>1.5</target> <target>1.5</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>javacc-maven-plugin</artifactId> <artifactId>javacc-maven-plugin</artifactId>
<version>2.1</version> <version>2.1</version>
<executions> <executions>
<execution> <execution>
<id>jjtree-jpql</id> <id>jjtree-jpql</id>
<phase>generate-sources</phase> <phase>generate-sources</phase>
<configuration> <configuration>
<sourceDirectory> <sourceDirectory>
${basedir}/src/main/jjtree/org/apache/openjpa/kernel/jpql</sourceDirectory> ${basedir}/src/main/jjtree/org/apache/openjpa/kernel/jpql</sourceDirectory>
<outputDirectory> <outputDirectory>
${project.build.directory}/generated-sources/jjtree/org/apache/openjpa/kernel/jpql</outputDirectory> ${project.build.directory}/generated-sources/jjtree/org/apache/openjpa/kernel/jpql</outputDirectory>
<buildNodeFiles>false</buildNodeFiles> <buildNodeFiles>false</buildNodeFiles>
</configuration> </configuration>
<goals> <goals>
<goal>jjtree</goal> <goal>jjtree</goal>
</goals> </goals>
</execution> </execution>
<execution> <execution>
<id>javacc-jpql</id> <id>javacc-jpql</id>
<phase>generate-sources</phase> <phase>generate-sources</phase>
<configuration> <configuration>
<sourceDirectory> <sourceDirectory>
${project.build.directory}/generated-sources/jjtree/org/apache/openjpa/kernel/jpql</sourceDirectory> ${project.build.directory}/generated-sources/jjtree/org/apache/openjpa/kernel/jpql</sourceDirectory>
<outputDirectory> <outputDirectory>
${project.build.directory}/generated-sources/javacc/org/apache/openjpa/kernel/jpql</outputDirectory> ${project.build.directory}/generated-sources/javacc/org/apache/openjpa/kernel/jpql</outputDirectory>
</configuration> </configuration>
<goals> <goals>
<goal>javacc</goal> <goal>javacc</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>process-sources</phase> <phase>process-sources</phase>
<configuration> <configuration>
<tasks> <tasks>
<delete <delete
file="${project.build.directory}/generated-sources/javacc/org/apache/openjpa/kernel/jpql/ParseException.java"/> file="${project.build.directory}/generated-sources/javacc/org/apache/openjpa/kernel/jpql/ParseException.java"/>
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
<goal>run</goal> <goal>run</goal>
</goals> </goals>
</execution> </execution>
<execution> <execution>
<id>add-was-interfaces</id> <id>add-was-interfaces</id>
<phase>process-classes</phase> <phase>process-classes</phase>
<configuration> <configuration>
<tasks> <tasks>
<java classname="org.apache.openjpa.ee.WASManagedRuntime" classpathref="maven.runtime.classpath" /> <java classname="org.apache.openjpa.ee.WASManagedRuntime" classpathref="maven.runtime.classpath" />
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
<goal>run</goal> <goal>run</goal>
</goals> </goals>
</execution> </execution>
<execution> <execution>
<id>generate-standard-sco-proxies</id> <id>generate-standard-sco-proxies</id>
<phase>process-classes</phase> <phase>process-classes</phase>
<configuration> <configuration>
<tasks> <tasks>
<java classname="org.apache.openjpa.util.ProxyManagerImpl" classpathref="maven.runtime.classpath"> <java classname="org.apache.openjpa.util.ProxyManagerImpl" classpathref="maven.runtime.classpath">
<arg line="-utils 5" /> <arg line="-utils 5" />
</java> </java>
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
<goal>run</goal> <goal>run</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>2.2</version> <version>2.2</version>
<configuration> <configuration>
<excludes> <excludes>
<exclude>**/com/ibm/**</exclude> <exclude>**/com/ibm/**</exclude>
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<repositories> <repositories>
<!-- <!--
Internal (in SVN) repository which contains jar files that are not Internal (in SVN) repository which contains jar files that are not
publicly available and cannot be re-distributed. publicly available and cannot be re-distributed.
--> -->
<repository> <repository>
<id>openjpa-internal</id> <id>openjpa-internal</id>
<name>Internal repository</name> <name>Internal repository</name>
<url>file://${basedir}/internal-repository</url> <url>file://${basedir}/internal-repository</url>
</repository> </repository>
</repositories> </repositories>
</project> </project>

View File

@ -1,321 +1,321 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file or more contributor license agreements. See the NOTICE file
distributed with this work for additional information distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the KIND, either express or implied. See the License for the
specific language governing permissions and limitations specific language governing permissions and limitations
under the License. under the License.
--> -->
<!-- <!--
Please keep the project tag on one line to avoid confusing Please keep the project tag on one line to avoid confusing
the release plugin. the release plugin.
--> -->
<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"> <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: To build the distribution files from project root:
mvn clean compile package -Dtest=false mvn clean compile package -Dtest=false
To build and deploy a full digned release with docs, run: To build and deploy a full digned release with docs, run:
mvn clean deploy -Pjavadoc-profile,docbook-profile,sign-release mvn clean deploy -Pjavadoc-profile,docbook-profile,sign-release
Note that to sign the release, you need to have "gpg" installed and Note that to sign the release, you need to have "gpg" installed and
create a key. See http://apache.org/dev/release-signing.html create a key. See http://apache.org/dev/release-signing.html
--> -->
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>apache-openjpa</artifactId> <artifactId>apache-openjpa</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>OpenJPA Distribution</name> <name>OpenJPA Distribution</name>
<parent> <parent>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-parent</artifactId> <artifactId>openjpa-parent</artifactId>
<version>1.2.0-SNAPSHOT</version> <version>1.2.0-SNAPSHOT</version>
</parent> </parent>
<properties> <properties>
<openjpa.release.keyAlias> <openjpa.release.keyAlias>
${user.name}@apache.org ${user.name}@apache.org
</openjpa.release.keyAlias> </openjpa.release.keyAlias>
<openjpa.assembly.finalName> <openjpa.assembly.finalName>
${artifactId}-${version}</openjpa.assembly.finalName> ${artifactId}-${version}</openjpa.assembly.finalName>
<openjpa.assembly.outputDirectory> <openjpa.assembly.outputDirectory>
${project.basedir}/../target/site/downloads ${project.basedir}/../target/site/downloads
</openjpa.assembly.outputDirectory> </openjpa.assembly.outputDirectory>
<openjpa.assembly.binarySuffix>binary</openjpa.assembly.binarySuffix> <openjpa.assembly.binarySuffix>binary</openjpa.assembly.binarySuffix>
<openjpa.assembly.binaryBase> <openjpa.assembly.binaryBase>
${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.binarySuffix} ${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.binarySuffix}
</openjpa.assembly.binaryBase> </openjpa.assembly.binaryBase>
<openjpa.assembly.binaryFile> <openjpa.assembly.binaryFile>
${openjpa.assembly.binaryBase}.zip ${openjpa.assembly.binaryBase}.zip
</openjpa.assembly.binaryFile> </openjpa.assembly.binaryFile>
<openjpa.assembly.sourceSuffix>source</openjpa.assembly.sourceSuffix> <openjpa.assembly.sourceSuffix>source</openjpa.assembly.sourceSuffix>
<openjpa.assembly.sourceBase> <openjpa.assembly.sourceBase>
${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.sourceSuffix} ${openjpa.assembly.outputDirectory}/${openjpa.assembly.finalName}-${openjpa.assembly.sourceSuffix}
</openjpa.assembly.sourceBase> </openjpa.assembly.sourceBase>
<openjpa.assembly.sourceFile> <openjpa.assembly.sourceFile>
${openjpa.assembly.sourceBase}.zip ${openjpa.assembly.sourceBase}.zip
</openjpa.assembly.sourceFile> </openjpa.assembly.sourceFile>
<parent.site.docs> <parent.site.docs>
${project.basedir}/../target/site/docs ${project.basedir}/../target/site/docs
</parent.site.docs> </parent.site.docs>
<docbook.source>${project.basedir}/src/doc/manual</docbook.source> <docbook.source>${project.basedir}/src/doc/manual</docbook.source>
<docbook.target>${project.basedir}/target/manual</docbook.target> <docbook.target>${project.basedir}/target/manual</docbook.target>
<docbook.version>1.67.2</docbook.version> <docbook.version>1.67.2</docbook.version>
<local.repository>${settings.localRepository}</local.repository> <local.repository>${settings.localRepository}</local.repository>
</properties> </properties>
<build> <build>
<!-- needed to let maven pass the "compile" phase --> <!-- needed to let maven pass the "compile" phase -->
<testSourceDirectory>/none/</testSourceDirectory> <testSourceDirectory>/none/</testSourceDirectory>
<!-- filter site resources --> <!-- filter site resources -->
<resources> <resources>
<resource> <resource>
<directory>${project.basedir}/src/site</directory> <directory>${project.basedir}/src/site</directory>
<!-- targetPath is relative to target/classes/ --> <!-- targetPath is relative to target/classes/ -->
<targetPath>../filtered-site</targetPath> <targetPath>../filtered-site</targetPath>
<filtering>false</filtering> <filtering>false</filtering>
</resource> </resource>
</resources> </resources>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>bin</id> <id>bin</id>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>attached</goal> <goal>attached</goal>
</goals> </goals>
<configuration> <configuration>
<descriptor>assembly.xml</descriptor> <descriptor>assembly.xml</descriptor>
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory> <outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
<workDirectory>target/work</workDirectory> <workDirectory>target/work</workDirectory>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>sources</id> <id>sources</id>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>attached</goal> <goal>attached</goal>
</goals> </goals>
<configuration> <configuration>
<descriptor>source-assembly.xml</descriptor> <descriptor>source-assembly.xml</descriptor>
<outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory> <outputDirectory>${openjpa.assembly.outputDirectory}</outputDirectory>
<workDirectory>target/work</workDirectory> <workDirectory>target/work</workDirectory>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- <!--
Copy over site files from src/site to target/filtered-site Copy over site files from src/site to target/filtered-site
so we can filter resources and include other generated so we can filter resources and include other generated
content from the openjpa-project module. content from the openjpa-project module.
--> -->
<plugin> <plugin>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>prefilter-site</id> <id>prefilter-site</id>
<phase>site</phase> <phase>site</phase>
<goals> <goals>
<goal>resources</goal> <goal>resources</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId> <artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-5</version> <version>2.0-beta-5</version>
<configuration> <configuration>
<siteDirectory>target/filtered-site</siteDirectory> <siteDirectory>target/filtered-site</siteDirectory>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<profiles> <profiles>
<!-- <!--
Docbook profile. Docs can be built by running: Docbook profile. Docs can be built by running:
MAVEN_OPTS=-Xmx512m MAVEN_OPTS=-Xmx512m
mvn -f openjpa-project/pom.xml process-resources -Pdocbook-profile mvn -f openjpa-project/pom.xml process-resources -Pdocbook-profile
--> -->
<profile> <profile>
<id>docbook-profile</id> <id>docbook-profile</id>
<build> <build>
<plugins> <plugins>
<!-- build the docs when processing resources --> <!-- build the docs when processing resources -->
<plugin> <plugin>
<groupId>com.agilejava.docbkx</groupId> <groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId> <artifactId>docbkx-maven-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<id>build-pdf-doc</id> <id>build-pdf-doc</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<goals><goal>generate-pdf</goal></goals> <goals><goal>generate-pdf</goal></goals>
<configuration> <configuration>
<sourceDirectory> <sourceDirectory>
${docbook.source} ${docbook.source}
</sourceDirectory> </sourceDirectory>
<targetDirectory> <targetDirectory>
${docbook.target} ${docbook.target}
</targetDirectory> </targetDirectory>
<includes>manual.xml</includes> <includes>manual.xml</includes>
<foCustomization> <foCustomization>
${docbook.source}/manual-pdf.xsl ${docbook.source}/manual-pdf.xsl
</foCustomization> </foCustomization>
<imgSrcPath> <imgSrcPath>
${docbook.source}/ ${docbook.source}/
</imgSrcPath> </imgSrcPath>
<postProcess> <postProcess>
<!-- copy to parent module for <!-- copy to parent module for
expanded access in upload --> expanded access in upload -->
<mkdir dir="${parent.site.docs}" /> <mkdir dir="${parent.site.docs}" />
<delete file="${docbook.target}/manual.fo" /> <delete file="${docbook.target}/manual.fo" />
<copy todir="${parent.site.docs}"> <copy todir="${parent.site.docs}">
<fileset dir="${docbook.target}"> <fileset dir="${docbook.target}">
<include name="manual.pdf" /> <include name="manual.pdf" />
</fileset> </fileset>
</copy> </copy>
</postProcess> </postProcess>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>build-chunked-doc</id> <id>build-chunked-doc</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<goals><goal>generate-html</goal></goals> <goals><goal>generate-html</goal></goals>
<configuration> <configuration>
<sourceDirectory> <sourceDirectory>
${docbook.source} ${docbook.source}
</sourceDirectory> </sourceDirectory>
<targetDirectory> <targetDirectory>
${docbook.target} ${docbook.target}
</targetDirectory> </targetDirectory>
<includes>manual.xml</includes> <includes>manual.xml</includes>
<chunkedOutput>true</chunkedOutput> <chunkedOutput>true</chunkedOutput>
<chunkQuietly>false</chunkQuietly> <chunkQuietly>false</chunkQuietly>
<htmlCustomization> <htmlCustomization>
${docbook.source}/manual-xhtml-chunk.xsl ${docbook.source}/manual-xhtml-chunk.xsl
</htmlCustomization> </htmlCustomization>
<postProcess> <postProcess>
<!-- rename manual to index --> <!-- rename manual to index -->
<move file="${docbook.target}/manual.html" tofile="${docbook.target}/index.html" /> <move file="${docbook.target}/manual.html" tofile="${docbook.target}/index.html" />
<!-- copy over images and styles --> <!-- copy over images and styles -->
<mkdir dir="${docbook.target}/img" /> <mkdir dir="${docbook.target}/img" />
<copy todir="${docbook.target}/img"> <copy todir="${docbook.target}/img">
<fileset dir="${docbook.source}/img"> <fileset dir="${docbook.source}/img">
<include name="*.*" /> <include name="*.*" />
</fileset> </fileset>
</copy> </copy>
<mkdir dir="${docbook.target}/css" /> <mkdir dir="${docbook.target}/css" />
<copy todir="${docbook.target}/css"> <copy todir="${docbook.target}/css">
<fileset dir="${docbook.source}/css"> <fileset dir="${docbook.source}/css">
<include name="*.*" /> <include name="*.*" />
</fileset> </fileset>
</copy> </copy>
<!-- copy to parent module for <!-- copy to parent module for
expanded access in upload --> expanded access in upload -->
<mkdir dir="${parent.site.docs}" /> <mkdir dir="${parent.site.docs}" />
<copy todir="${parent.site.docs}"> <copy todir="${parent.site.docs}">
<fileset dir="${docbook.target}"> <fileset dir="${docbook.target}">
<include name="*.*" /> <include name="*.*" />
</fileset> </fileset>
</copy> </copy>
</postProcess> </postProcess>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
<id>build-single-doc</id> <id>build-single-doc</id>
<phase>process-resources</phase> <phase>process-resources</phase>
<goals><goal>generate-html</goal></goals> <goals><goal>generate-html</goal></goals>
<configuration> <configuration>
<sourceDirectory> <sourceDirectory>
${docbook.source} ${docbook.source}
</sourceDirectory> </sourceDirectory>
<targetDirectory> <targetDirectory>
${docbook.target} ${docbook.target}
</targetDirectory> </targetDirectory>
<includes>manual.xml</includes> <includes>manual.xml</includes>
<chunkedOutput>false</chunkedOutput> <chunkedOutput>false</chunkedOutput>
<htmlCustomization> <htmlCustomization>
${docbook.source}/manual-xhtml.xsl ${docbook.source}/manual-xhtml.xsl
</htmlCustomization> </htmlCustomization>
<postProcess> <postProcess>
<!-- copy to parent module for <!-- copy to parent module for
expanded access in upload --> expanded access in upload -->
<mkdir dir="${parent.site.docs}" /> <mkdir dir="${parent.site.docs}" />
<copy todir="${parent.site.docs}"> <copy todir="${parent.site.docs}">
<fileset dir="${docbook.target}"> <fileset dir="${docbook.target}">
<include name="manual.html" /> <include name="manual.html" />
</fileset> </fileset>
</copy> </copy>
</postProcess> </postProcess>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.docbook</groupId> <groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId> <artifactId>docbook-xml</artifactId>
<version>4.4</version> <version>4.4</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<activation> <activation>
<property> <property>
<name>builddocs</name> <name>builddocs</name>
<value>true</value> <value>true</value>
</property> </property>
</activation> </activation>
<pluginRepositories> <pluginRepositories>
<pluginRepository> <pluginRepository>
<id>agilejava</id> <id>agilejava</id>
<name>Agilejava repository (Docbook plugin)</name> <name>Agilejava repository (Docbook plugin)</name>
<url>http://agilejava.com/maven</url> <url>http://agilejava.com/maven</url>
</pluginRepository> </pluginRepository>
</pluginRepositories> </pluginRepositories>
</profile> </profile>
</profiles> </profiles>
<!-- need to explicitly list dependencies for assembly to work --> <!-- need to explicitly list dependencies for assembly to work -->
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa</artifactId> <artifactId>openjpa</artifactId>
<version>${pom.version}</version> <version>${pom.version}</version>
</dependency> </dependency>
<!-- included so we can include it in the distribution --> <!-- included so we can include it in the distribution -->
<dependency> <dependency>
<groupId>org.apache.derby</groupId> <groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId> <artifactId>derby</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,166 +1,166 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Licensed to the Apache Software Foundation (ASF) under one Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file or more contributor license agreements. See the NOTICE file
distributed with this work for additional information distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the KIND, either express or implied. See the License for the
specific language governing permissions and limitations specific language governing permissions and limitations
under the License. under the License.
--> -->
<!-- <!--
Maven release plugin requires the project tag to be on a single line. Maven release plugin requires the project tag to be on a single line.
--> -->
<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"> <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">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-slice</artifactId> <artifactId>openjpa-slice</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>OpenJPA Slice</name> <name>OpenJPA Slice</name>
<description>OpenJPA Slice</description> <description>OpenJPA Slice</description>
<url>http://openjpa.apache.org</url> <url>http://openjpa.apache.org</url>
<parent> <parent>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-parent</artifactId> <artifactId>openjpa-parent</artifactId>
<version>1.2.0-SNAPSHOT</version> <version>1.2.0-SNAPSHOT</version>
</parent> </parent>
<properties> <properties>
<openjpa.loglevel>INFO</openjpa.loglevel> <openjpa.loglevel>INFO</openjpa.loglevel>
<!-- to set debug arguments, you might set the following at the command line: <!-- to set debug arguments, you might set the following at the command line:
-Dsurefire.jvm.args="-Xmx500m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000" -Dsurefire.jvm.args="-Xmx500m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000"
--> -->
<surefire.jvm.args>-Xmx500m</surefire.jvm.args> <surefire.jvm.args>-Xmx500m</surefire.jvm.args>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-kernel</artifactId> <artifactId>openjpa-kernel</artifactId>
<version>${pom.version}</version> <version>${pom.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-jdbc</artifactId> <artifactId>openjpa-jdbc</artifactId>
<version>${pom.version}</version> <version>${pom.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.geronimo.specs</groupId> <groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_3.0_spec</artifactId> <artifactId>geronimo-jpa_3.0_spec</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
<artifactId>openjpa-persistence</artifactId> <artifactId>openjpa-persistence</artifactId>
<version>${pom.version}</version> <version>${pom.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<profiles> <profiles>
<!-- Profile for testing with Apache Derby --> <!-- Profile for testing with Apache Derby -->
<profile> <profile>
<id>test-derby</id> <id>test-derby</id>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
<property> <property>
<name>test-derby</name> <name>test-derby</name>
</property> </property>
</activation> </activation>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.derby</groupId> <groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId> <artifactId>derby</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<properties> <properties>
<connection.driver.name> <connection.driver.name>
org.apache.derby.jdbc.EmbeddedDriver org.apache.derby.jdbc.EmbeddedDriver
</connection.driver.name> </connection.driver.name>
<connection.url> <connection.url>
jdbc:derby:target/database/slice-derby-One;create=true jdbc:derby:target/database/slice-derby-One;create=true
</connection.url> </connection.url>
<connection.username /> <connection.username />
<connection.password /> <connection.password />
</properties> </properties>
</profile> </profile>
<profile> <profile>
<id>test-mysql</id> <id>test-mysql</id>
<activation> <activation>
<activeByDefault>false</activeByDefault> <activeByDefault>false</activeByDefault>
<property> <property>
<name>test-mysql</name> <name>test-mysql</name>
</property> </property>
</activation> </activation>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>mysql</groupId> <groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId> <artifactId>mysql-connector-java</artifactId>
<version>5.1.5</version> <version>5.1.5</version>
</dependency> </dependency>
</dependencies> </dependencies>
<properties> <properties>
<connection.driver.name> <connection.driver.name>
com.mysql.jdbc.Driver com.mysql.jdbc.Driver
</connection.driver.name> </connection.driver.name>
<connection.url>${openjpa.mysql.url}</connection.url> <connection.url>${openjpa.mysql.url}</connection.url>
<connection.username> <connection.username>
${openjpa.mysql.username} ${openjpa.mysql.username}
</connection.username> </connection.username>
<connection.password> <connection.password>
${openjpa.mysql.password} ${openjpa.mysql.password}
</connection.password> </connection.password>
</properties> </properties>
</profile> </profile>
</profiles> </profiles>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
<source>1.5</source> <source>1.5</source>
<target>1.5</target> <target>1.5</target>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<executions> <executions>
<execution> <execution>
<phase>test-compile</phase> <phase>test-compile</phase>
<configuration> <configuration>
<tasks> <tasks>
<ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true"> <ant antfile="src/main/ant/enhancer.xml" target="enhance" inheritRefs="true">
<property name="maven.test.skip" value="${maven.test.skip}" /> <property name="maven.test.skip" value="${maven.test.skip}" />
<property name="test" value="${test}" /> <property name="test" value="${test}" />
<property name="outdir" value="${project.build.outputDirectory}" /> <property name="outdir" value="${project.build.outputDirectory}" />
<property name="project.build.testOutputDirectory" value="${project.build.testOutputDirectory}" /> <property name="project.build.testOutputDirectory" value="${project.build.testOutputDirectory}" />
<property name="openjpa.loglevel" value="${openjpa.loglevel}" /> <property name="openjpa.loglevel" value="${openjpa.loglevel}" />
</ant> </ant>
</tasks> </tasks>
</configuration> </configuration>
<goals> <goals>
<goal>run</goal> <goal>run</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>