Cactus
  1. Cactus
  2. CACTUS-142

Unable to do a build using maven and JDK 1.5

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Maven Integration
    • Labels:
      None

      Description

      Here's the relevant output

      +----------------------------------------

      Executing jar:jar Jakarta Cactus Framework
      Memory: 4M/4M
      +----------------------------------------
      Plugin 'maven-deploy-plugin' in project 'Jakarta Cactus Framework' is not available

      multiproject:goal:
      build:start:

      java:prepare-filesystem:

      java:compile:
      cactus-framework:init:

      [echo] Compiling to target-13/classes
      [javac] Compiling 5 source files to C:\Projects\jakarta-cactus\framework\tar
      get-13\classes
      javac: target release 1.1 conflicts with default source release 1.5

      BUILD FAILED
      File...... C:\Documents and Settings\trajano\.maven\cache\maven-multiproject-plugin-1.4-SNAPSHOT\plugin.jelly
      Element... maven:reactor
      Line...... 218
      Column.... 9
      Unable to obtain goal [java:compile] – C:\Documents and Settings\trajano\.maven
      \cache\maven-java-plugin-1.5-SNAPSHOT\plugin.jelly:52:48: <ant:javac> Compile failed; see the compiler error output for details.
      Total time: 6 seconds
      Finished at: Sat Sep 04 14:06:08 EDT 2004

      C:\Projects\jakarta-cactus>

        Activity

        Hide
        Vincent Massol added a comment -

        That was a bug in the Maven Java plugin. I have fixed one or 2 weeks ago. If you install a newer version of the maven java plugin (or use Maven 1.0.1) it should work fine. Thanks.

        Show
        Vincent Massol added a comment - That was a bug in the Maven Java plugin. I have fixed one or 2 weeks ago. If you install a newer version of the maven java plugin (or use Maven 1.0.1) it should work fine. Thanks.

          People

          • Assignee:
            Vincent Massol
            Reporter:
            Archimedes Trajano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development