Uploaded image for project: 'TorqueBox'
  1. TorqueBox
  2. TORQUE-46

gems cannot be compiled, mvn install - compilation error

    Details

      Description

      Fresh source from github fails on maven install command...

      $ java -version
      java version "1.6.0_15"
      Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
      Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)

      $ git pull
      Already up-to-date.

      $ mvn install -e
      + Error stacktraces are turned on.
      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] TorqueBox
      [INFO] TorqueBox SPI
      [INFO] TorqueBox MetaData
      [INFO] TorqueBox Core
      [INFO] TorqueBox Documentation
      [INFO] TorqueBox Documentation (en_US)
      [INFO] TorqueBox Gem
      [INFO] TorqueBox Rails Support
      [INFO] TorqueBox Capistrano Support
      [INFO] TorqueBox VFS
      [INFO] TorqueBox Binary Distribution
      [INFO] ------------------------------------------------------------------------
      [INFO] Building TorqueBox
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [site:attach-descriptor

      {execution: default-attach-descriptor}

      ]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar

      {execution: default}

      ]
      [INFO] [install:install

      {execution: default-install}

      ]
      [INFO] Installing /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/pom.xml to /Users/jzabiello/.m2/repository/org/torquebox/torquebox/1.0.0.Beta17-SNAPSHOT/torquebox-1.0.0.Beta17-SNAPSHOT.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] Building TorqueBox SPI
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-spi/src/main/resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Nothing to compile - all classes are up to date
      [INFO] [resources:testResources

      {execution: default-testResources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-spi/src/test/resources
      [INFO] [compiler:testCompile

      {execution: default-testCompile}

      ]
      [INFO] No sources to compile
      [INFO] [surefire:test

      {execution: default-test}

      ]
      [INFO] No tests to run.
      [INFO] [jar:jar

      {execution: default-jar}

      ]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar

      {execution: default}

      ]
      [INFO] Building jar: /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-spi/target/torquebox-spi-sources.jar
      [INFO] [install:install

      {execution: default-install}

      ]
      [INFO] Installing /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-spi/target/torquebox-spi.jar to /Users/jzabiello/.m2/repository/org/torquebox/torquebox-spi/1.0.0.Beta17-SNAPSHOT/torquebox-spi-1.0.0.Beta17-SNAPSHOT.jar
      [INFO] Installing /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-spi/target/torquebox-spi-sources.jar to /Users/jzabiello/.m2/repository/org/torquebox/torquebox-spi/1.0.0.Beta17-SNAPSHOT/torquebox-spi-1.0.0.Beta17-SNAPSHOT-sources.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] Building TorqueBox MetaData
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-metadata/src/main/resources
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Nothing to compile - all classes are up to date
      [INFO] [resources:testResources

      {execution: default-testResources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-metadata/src/test/resources
      [INFO] [compiler:testCompile

      {execution: default-testCompile}

      ]
      [INFO] No sources to compile
      [INFO] [surefire:test

      {execution: default-test}

      ]
      [INFO] No tests to run.
      [INFO] [jar:jar

      {execution: default-jar}

      ]
      [INFO] Preparing source:jar
      [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
      [INFO] No goals needed for project - skipping
      [INFO] [source:jar

      {execution: default}

      ]
      [INFO] Building jar: /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-metadata/target/torquebox-metadata-sources.jar
      [INFO] [install:install

      {execution: default-install}

      ]
      [INFO] Installing /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-metadata/target/torquebox-metadata.jar to /Users/jzabiello/.m2/repository/org/torquebox/torquebox-metadata/1.0.0.Beta17-SNAPSHOT/torquebox-metadata-1.0.0.Beta17-SNAPSHOT.jar
      [INFO] Installing /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-metadata/target/torquebox-metadata-sources.jar to /Users/jzabiello/.m2/repository/org/torquebox/torquebox-metadata/1.0.0.Beta17-SNAPSHOT/torquebox-metadata-1.0.0.Beta17-SNAPSHOT-sources.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] Building TorqueBox Core
      [INFO] task-segment: [install]
      [INFO] ------------------------------------------------------------------------
      [INFO] [resources:resources

      {execution: default-resources}

      ]
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] skip non existing resourceDirectory /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/resources
      [INFO] Copying 20 resources
      [INFO] Copying 1 resource
      [INFO] [compiler:compile

      {execution: default-compile}

      ]
      [INFO] Compiling 97 source files to /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/target/classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[71,72] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[82,75] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[114,94] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[172,84] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[27,22] searchers has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[28,7] searchers has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[29,4] searchers has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[86,7] cannot find symbol
      symbol : variable Both
      location: class org.torquebox.ruby.core.runtime.VFSLoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[87,49] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[89,81] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[94,50] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[96,81] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[98,7] cannot find symbol
      symbol : variable Source
      location: class org.torquebox.ruby.core.runtime.VFSLoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[99,7] cannot find symbol
      symbol : variable Extension
      location: class org.torquebox.ruby.core.runtime.VFSLoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[105,7] cannot find symbol
      symbol : variable Neither
      location: class org.torquebox.ruby.core.runtime.VFSLoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[107,81] org.jruby.runtime.load.LoadService.SuffixType has private access in org.jruby.runtime.load.LoadService

      /Volumes/300GB/JBOSS/TORQUEBOX/repos/torquebox/torquebox-core/src/main/java/org/torquebox/ruby/core/runtime/VFSLoadService.java:[315,13] cannot find symbol
      symbol : method findLibraryWithClassloaders(org.jruby.runtime.load.LoadService.SearchState,java.lang.String,org.jruby.runtime.load.LoadService.SuffixType)
      location: class org.torquebox.ruby.core.runtime.VFSLoadService

      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      org.apache.maven.BuildFailureException: Compilation failure
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:41)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
      at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
      at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
      ... 17 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7 seconds
      [INFO] Finished at: Thu Oct 15 11:38:05 IST 2009
      [INFO] Final Memory: 97M/187M
      [INFO] ------------------------------------------------------------------------

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bob.mcwhirter Bob McWhirter
                Reporter:
                hipertracker Jaroslaw Zabiello
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: