I imagine you have already discovered that due to sun's belief that backwards compatibility is not relevant for jdbc, you have to compile on jdk 1.5 or perhaps 1.4. I guess we are missing a compiler switch somewhere.

I don't understand why you are seeing this problem with the maven-rar- plugin. I check out all of tranql at https://svn.codehaus.org/ tranql and for development purposes build all the connector stuff with the pom I'm attaching (which I put at the root).
(ccing directly in case the attachment is removed)

<!--
  ~ Copyright (c) 2004 - 2007, Tranql project contributors
  ~
  ~ Licensed 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.
  ~
  -->

<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>

    <name>Fake Aggregate TranQL Project</name>
    <groupId>org.tranql</groupId>
    <artifactId>tranql-fake</artifactId>
    <version>1.2-SNAPSHOT</version>
    <packaging>pom</packaging>

    <modules>
        <module>connector/trunk</module>
        <module>connector-ra/trunk</module>
        <module>vendors/db2/trunk</module>
        <module>vendors/derby/trunk</module>
        <module>vendors/mysql/trunk</module>
        <module>vendors/oracle/trunk</module>
        <module>vendors/postgresql/trunk</module>
    </modules>
</project>


hope this helps
david jencks

On Feb 13, 2008, at 7:48 AM, Brian Gregory wrote:


Another build problem when trying to build tranql-oracle-connector:
I'm not sure where this is defined - I cleaned out my repository just to
make sure.
BTW, What is the best way to structure what comes out of SVN to make sure it
builds properly? I had to check out all of the trunks separately.

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   TranQL Vendors :: Oracle
[INFO]   TranQL Vendors, oracle :: Common
[INFO]   TranQL Vendors, oracle :: Local RA
[INFO]   TranQL Vendors, oracle :: XA RA
WAGON_VERSION: 1.0-beta-1
[INFO]
---------------------------------------------------------------------- --
[INFO] Building TranQL Vendors :: Oracle
[INFO]    task-segment: [install]
[INFO]
---------------------------------------------------------------------- --
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\tranql\tranql-vendor-oracle\pom.xml to
C:\Users\Brian\.m2\repository\org\tranql\tranql-connector-oracle \1.4-SNAPSHOT\tranql-connector-oracle-1.4-SNAPSHOT.pom
[INFO]
---------------------------------------------------------------------- --
[INFO] Building TranQL Vendors, oracle :: Common
[INFO]    task-segment: [install]
[INFO]
---------------------------------------------------------------------- --
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://repository.codehaus.org/com/oracle/jdbc/ojdbc14/10.2.0.2/ ojdbc14-10.2.0.2.pom
Downloading:
http://dist.codehaus.org/com.oracle.jdbc/poms/ojdbc14-10.2.0.2.pom
Downloading:
http://repo1.maven.org/maven2/com/oracle/jdbc/ojdbc14/10.2.0.2/ ojdbc14-10.2.0.2.pom
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] [install:install]
[INFO] Installing
C:\tranql\tranql-vendor-oracle\tranql-connector-oracle-common\target \tranql-connector-oracle-common-1.4-SNAPSHOT.jar
to
C:\Users\Brian\.m2\repository\org\tranql\tranql-connector-oracle- common\1.4-SNAPSHOT\tranql-connector-oracle-common-1.4-SNAPSHOT.jar
[INFO]
---------------------------------------------------------------------- --
[INFO] Building TranQL Vendors, oracle :: Local RA
[INFO]    task-segment: [install]
[INFO]
---------------------------------------------------------------------- --
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/plugins/ maven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
Downloading:
http://snapshots.repository.codehaus.org/org/apache/maven/plugins/ maven-rar-plugin/2.2-SNAPSHOT/maven-rar-plugin-2.2-SNAPSHOT.pom
Downloading:
http://dist.codehaus.org/org.apache.maven.plugins/poms/maven-rar- plugin-2.2-SNAPSHOT.pom
[INFO]
---------------------------------------------------------------------- --
[ERROR] BUILD ERROR
[INFO]
---------------------------------------------------------------------- --
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-rar-plugin

Reason: POM 'org.apache.maven.plugins:maven-rar-plugin' not found in
repository: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-rar-plugin:pom:2.2-SNAPSHOT

from the specified remote repositories:
  codehaus-m1 (http://dist.codehaus.org),
  codehaus (http://repository.codehaus.org),
  codehaus-snapshots (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2)
 for project org.apache.maven.plugins:maven-rar-plugin


[INFO]
---------------------------------------------------------------------- --
[INFO] For more information, run Maven with the -e switch
[INFO]
---------------------------------------------------------------------- --
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Feb 13 10:45:09 EST 2008
[INFO] Final Memory: 11M/21M
[INFO]
---------------------------------------------------------------------- --


--
View this message in context: http://www.nabble.com/proxy-session- w--built-in-dbcp-%2B-openjpa-tp15404731s134p15459644.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Reply via email to