mirror of https://github.com/apache/openjpa.git
replace tabs with spaces - no functional change!
Space indention is what we use in most of OpenJPA.
This commit is contained in:
parent
5c38bfaa49
commit
7ece63de3c
|
@ -1,73 +1,73 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
<!-- Please keep the project tag on one line to avoid confusing the release
|
||||
plugin. -->
|
||||
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">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-parent</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-parent</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>openjpa-features</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>OpenJPA Features</name>
|
||||
<artifactId>openjpa-features</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>OpenJPA Features</name>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.karaf.tooling</groupId>
|
||||
<artifactId>karaf-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>compile</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>features-generate-descriptor</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<addBundlesToPrimaryFeature>false</addBundlesToPrimaryFeature>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-artifacts</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>target/feature/feature.xml</file>
|
||||
<classifier>features</classifier>
|
||||
<type>xml</type>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.karaf.tooling</groupId>
|
||||
<artifactId>karaf-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>compile</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>features-generate-descriptor</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<addBundlesToPrimaryFeature>false</addBundlesToPrimaryFeature>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-artifacts</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>target/feature/feature.xml</file>
|
||||
<classifier>features</classifier>
|
||||
<type>xml</type>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
<bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.commons/commons-pool2/2.6.0</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.commons/commons-dbcp2/2.5.0</bundle>
|
||||
<bundle dependency="true">mvn:commons-collections/commons-collections4/4.3</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.commons/commons-pool2/2.6.0</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.commons/commons-dbcp2/2.5.0</bundle>
|
||||
<bundle dependency="true">mvn:commons-collections/commons-collections4/4.3</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp/1.14.1_1</bundle>
|
||||
<bundle dependency="true">mvn:org.apache.xbean/xbean-asm6-shaded/4.9</bundle>
|
||||
<bundle>mvn:org.apache.openjpa/openjpa/${project.version}</bundle>
|
||||
|
|
|
@ -61,22 +61,22 @@
|
|||
<artifactId>openjpa-persistence-jdbc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.httpunit</groupId>
|
||||
<artifactId>httpunit</artifactId>
|
||||
<version>1.7.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-jci-rhino</artifactId>
|
||||
<version>1.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.httpunit</groupId>
|
||||
<artifactId>httpunit</artifactId>
|
||||
<version>1.7.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-jci-rhino</artifactId>
|
||||
<version>1.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
|
@ -101,6 +101,6 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -1,64 +1,64 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
<!-- 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">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-tools</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-tools</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>openjpa-fetch-statistics-was</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>openjpa-fetch-statistics-was</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>OpenJPA Fetching Statistic Tool -- WAS Bundle</name>
|
||||
<description> OpenJPA tool to capture the fetching statistic data for the persistent fields .</description>
|
||||
<inceptionYear>2012</inceptionYear>
|
||||
<name>OpenJPA Fetching Statistic Tool -- WAS Bundle</name>
|
||||
<description> OpenJPA tool to capture the fetching statistic data for the persistent fields .</description>
|
||||
<inceptionYear>2012</inceptionYear>
|
||||
|
||||
<properties>
|
||||
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
|
||||
</properties>
|
||||
<properties>
|
||||
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-fetch-statistics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-fetch-statistics</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<build>
|
||||
<!-- Skip the default jar so it doesn't overwrite the shaded jar -->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<build>
|
||||
<!-- Skip the default jar so it doesn't overwrite the shaded jar -->
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>none</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -68,48 +68,48 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude the unit test since the fetch statistic enhancer cannot
|
||||
be load during maven build -->
|
||||
<exclude>org/apache/openjpa/enhance/stats/TestFetchStatistics.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude the unit test since the fetch statistic enhancer cannot
|
||||
be load during maven build -->
|
||||
<exclude>org/apache/openjpa/enhance/stats/TestFetchStatistics.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>org.apache.openjpa:*statistics</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<manifestEntries>
|
||||
<Fragment-Host>com.ibm.ws.jpa; bundle-version=8.0.0</Fragment-Host>
|
||||
<Export-Package>org.apache.openjpa.enhance.stats</Export-Package>
|
||||
<Bundle-SymbolicName>org.apache.openjpa.enhance.stats; singleton:=true</Bundle-SymbolicName>
|
||||
<Bundle-Name>FetchStatisticsAuxEnhancer</Bundle-Name>
|
||||
</manifestEntries>
|
||||
</transformer>
|
||||
</transformers>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>org.apache.openjpa:*statistics</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
<transformers>
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
||||
<manifestEntries>
|
||||
<Fragment-Host>com.ibm.ws.jpa; bundle-version=8.0.0</Fragment-Host>
|
||||
<Export-Package>org.apache.openjpa.enhance.stats</Export-Package>
|
||||
<Bundle-SymbolicName>org.apache.openjpa.enhance.stats; singleton:=true</Bundle-SymbolicName>
|
||||
<Bundle-Name>FetchStatisticsAuxEnhancer</Bundle-Name>
|
||||
</manifestEntries>
|
||||
</transformer>
|
||||
</transformers>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -1,92 +1,92 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
license agreements. See the NOTICE file distributed with this work for additional
|
||||
information regarding copyright ownership. The ASF licenses this file to
|
||||
you under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of
|
||||
the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
|
||||
by applicable law or agreed to in writing, software distributed under the
|
||||
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
||||
OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing permissions and limitations under the License. -->
|
||||
<!-- 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">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-tools</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-tools</artifactId>
|
||||
<version>3.0.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>openjpa-fetch-statistics</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<artifactId>openjpa-fetch-statistics</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>OpenJPA Fetching Statistic Tool</name>
|
||||
<description> OpenJPA tool to capture the fetching statistic data for the persistent fields .</description>
|
||||
<inceptionYear>2012</inceptionYear>
|
||||
<name>OpenJPA Fetching Statistic Tool</name>
|
||||
<description> OpenJPA tool to capture the fetching statistic data for the persistent fields .</description>
|
||||
<inceptionYear>2012</inceptionYear>
|
||||
|
||||
<properties>
|
||||
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
|
||||
</properties>
|
||||
<properties>
|
||||
<checkstyle.suppressions.location>${project.basedir}${file.separator}..${file.separator}..${file.separator}openjpa-project${file.separator}suppressions.xml</checkstyle.suppressions.location>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-jpa_2.1_spec</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-kernel</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-jpa_2.1_spec</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-jta_1.1_spec</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-kernel</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-lib</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-lib</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-persistence-jdbc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.openjpa</groupId>
|
||||
<artifactId>openjpa-persistence-jdbc</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Apache License 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude the unit test since the fetch statistic enhancer cannot
|
||||
be load during maven build -->
|
||||
<exclude>org/apache/openjpa/enhance/stats/TestFetchStatistics.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<argLine>${surefire.jvm.args}</argLine>
|
||||
<excludes>
|
||||
<!-- exclude the unit test since the fetch statistic enhancer cannot
|
||||
be load during maven build -->
|
||||
<exclude>org/apache/openjpa/enhance/stats/TestFetchStatistics.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
|
@ -121,23 +121,23 @@
|
|||
<Private-Package />
|
||||
<Export-Package>org.apache.openjpa.*;version=${project.version}</Export-Package>
|
||||
<Import-Package>
|
||||
oracle.jdbc.pool;resolution:=optional,
|
||||
oracle.jdbc;resolution:=optional,
|
||||
oracle.sql;resolution:=optional,
|
||||
com.ibm.*;resolution:=optional,
|
||||
org.postgresql.*;resolution:=optional,
|
||||
org.apache.tools.ant.*;resolution:=optional,
|
||||
org.apache.log4j.*;resolution:=optional,
|
||||
org.slf4j.*;resolution:=optional,
|
||||
org.apache.commons.logging.*;resolution:=optional,
|
||||
javax.activation.xa*;resolution:=optional,
|
||||
javax.jms.*;version="[1.1.0,1.2)";resolution:=optional,
|
||||
javax.transaction.*;version="[1.1,1.3)";resolution:=optional,
|
||||
javax.validation.*;version="[1.0.0,1.1)";resolution:=optional,
|
||||
javax.xml.bind.*;resolution:=optional,
|
||||
serp.*;resolution:=optional,
|
||||
javax.persistence.*;version="[1.1.0,2.2)",
|
||||
*
|
||||
oracle.jdbc.pool;resolution:=optional,
|
||||
oracle.jdbc;resolution:=optional,
|
||||
oracle.sql;resolution:=optional,
|
||||
com.ibm.*;resolution:=optional,
|
||||
org.postgresql.*;resolution:=optional,
|
||||
org.apache.tools.ant.*;resolution:=optional,
|
||||
org.apache.log4j.*;resolution:=optional,
|
||||
org.slf4j.*;resolution:=optional,
|
||||
org.apache.commons.logging.*;resolution:=optional,
|
||||
javax.activation.xa*;resolution:=optional,
|
||||
javax.jms.*;version="[1.1.0,1.2)";resolution:=optional,
|
||||
javax.transaction.*;version="[1.1,1.3)";resolution:=optional,
|
||||
javax.validation.*;version="[1.0.0,1.1)";resolution:=optional,
|
||||
javax.xml.bind.*;resolution:=optional,
|
||||
serp.*;resolution:=optional,
|
||||
javax.persistence.*;version="[1.1.0,2.2)",
|
||||
*
|
||||
</Import-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
|
|
10
pom.xml
10
pom.xml
|
@ -692,7 +692,7 @@
|
|||
|
||||
You must also set the following properties:
|
||||
-Dopenjpa.mssql.url=jdbc:sqlserver://<HOST>:<PORT>;\
|
||||
DataBaseName=<DBNAME>
|
||||
DataBaseName=<DBNAME>
|
||||
-Dopenjpa.mssql.username=<mssql_uid>
|
||||
-Dopenjpa.mssql.password=<mssql_pwd>
|
||||
|
||||
|
@ -941,7 +941,7 @@
|
|||
Example db2 profile. You can use this profile if you:
|
||||
1) have the DB2 artifacts installed in a local repo and supply
|
||||
the URL:
|
||||
-Ddb2.maven.repo=http://my.local.repo
|
||||
-Ddb2.maven.repo=http://my.local.repo
|
||||
2) have a copy of the DB2 JCC driver and run the following
|
||||
commands :
|
||||
mvn install:install-file -Dfile=${path to db2jcc.jar} \
|
||||
|
@ -1084,10 +1084,10 @@
|
|||
Example Informix JCC profile. You can use this profile if you:
|
||||
1a) have the DB2 JCC artifacts installed in a local repo and
|
||||
supply the URL:
|
||||
-Dids.maven.repo=http://my.local.repo
|
||||
-Dids.maven.repo=http://my.local.repo
|
||||
1b) or have a copy of the DB2 JCC driver and run the commands
|
||||
listed above in the test-db2-jcc profile.
|
||||
2) have the DRDA service enabled on the IDS server, which
|
||||
2) have the DRDA service enabled on the IDS server, which
|
||||
is usually port 9089
|
||||
|
||||
You must also set the following properties:
|
||||
|
@ -1227,7 +1227,7 @@
|
|||
Example oracle profile. You can use this profile if you:
|
||||
1) have the Oracle artifacts installed in a local repo and
|
||||
supply the URL:
|
||||
-Doracle.maven.repo=http://my.local.repo
|
||||
-Doracle.maven.repo=http://my.local.repo
|
||||
2) have a copy of the Oracle driver and run the following
|
||||
command:
|
||||
mvn install:install-file -Dfile=${path to ojdbc.jar} \
|
||||
|
|
Loading…
Reference in New Issue