On Feb 1, 2007, at 7:36 AM, Paul McMahan wrote:

Building from:
https://svn.apache.org/repos/asf/geronimo/specs/branches/geronimo- j2ee-connector_1.5_spec-1.1.1

I get the following error:
% mvn install
[INFO] Scanning for projects...
[INFO] ---------------------------------------------------------------------- ------
[INFO] Building J2EE Connector 1.5
[INFO]    task-segment: [install]
[INFO] ---------------------------------------------------------------------- ------
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 62 source files to
/Users/pmcmahan/src/geronimo/specs/branches/geronimo-j2ee- connector_1.5_spec-1.1.1/target/classes [INFO] ---------------------------------------------------------------------- --
[ERROR] BUILD FAILURE
[INFO] ---------------------------------------------------------------------- --
[INFO] Compilation failure

Failure executing javac, but could not parse the error:
javac: target release 1.3 conflicts with default source release 1.5

I see that pom.xml has
                   <source>1.3</source>
                   <target>1.3</target>
                   <compilerVersion>1.3</compilerVersion>
So maybe I'm doing something wrong or my maven is not configured
properly?   Please advise.

That's a maven bug as far as I can tell. Set your jdk to 1.4 and it will work.

-David

Best wishes,
Paul


On 1/31/07, David Blevins <[EMAIL PROTECTED]> wrote:
All, I've updated the pom of this spec to be compiled with jdk 1.3 as
requested by a project in jakarta commons that needs them.

I hereby propose we release this branch and it's binaries as final.

  Release Branch: http://svn.apache.org/repos/asf/geronimo/specs/
branches/geronimo-j2ee-connector_1.5_spec-1.1.1
  Built Binaries: http://people.apache.org/~dblevins/stage-specs/org/
apache/geronimo/specs/geronimo-j2ee-connector_1.5_spec/1.1.1/

Here's my +1

-David



Reply via email to