Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1438

Compile of tapestry-test fails with maven 2.0.6

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0.4
    • Fix Version/s: None
    • Component/s: tapestry-test
    • Labels:
      None
    • Environment:
      Ubuntu Linux, Java 6, maven 2.0.6

      Description

      Compile of tapestry-test fails with maven 2.0.6, but succeeds with 2.0.5. It appears that 2.0.6 is constructing the classpath differently than 2.0.5.

      This is an abbreviated diff of the "mvn -X compile output" from 2.0.5 and 2.0.6:

      2c2
      < Maven version: 2.0.5

      > Maven version: 2.0.6
      4c4

      [ ... omitted ... ]

      < [DEBUG] (f) classpathElements = [/home/btomasini/svn.apache/tapestry/tapestry-test/target/classes, /home/btomasini/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar, /home/btomasini/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar, /home/btomasini/.m2/repository/org/testng/testng/5.1/testng-5.1-jdk15.jar, /home/btomasini/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar]

      > [DEBUG] (f) classpathElements = [/home/btomasini/svn.apache/tapestry/tapestry-test/target/classes]
      122,126c181
      < [DEBUG] Classpath: [/home/btomasini/svn.apache/tapestry/tapestry-test/target/classes
      < /home/btomasini/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar
      < /home/btomasini/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar
      < /home/btomasini/.m2/repository/org/testng/testng/5.1/testng-5.1-jdk15.jar
      < /home/btomasini/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar]

      > [DEBUG] Classpath: [/home/btomasini/svn.apache/tapestry/tapestry-test/target/classes]
      130,133d184
      < [DEBUG] /home/btomasini/.m2/repository/org/openqa/selenium/server/selenium-server/0.8.1/selenium-server-0.8.1.jar
      < [DEBUG] /home/btomasini/.m2/repository/org/openqa/selenium/client-drivers/selenium-java-client-driver/0.8.1/selenium-java-client-driver-0.8.1.jar
      < [DEBUG] /home/btomasini/.m2/repository/org/testng/testng/5.1/testng-5.1-jdk15.jar
      < [DEBUG] /home/btomasini/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
      138c189,359
      < [INFO] BUILD SUCCESSFUL

      > [ERROR] BUILD FAILURE

      Here are the compilation failures:

      [INFO] Compiling 4 source files to /home/btomasini/svn.apache/tapestry/tapestry-test/target/classes
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Compilation failure

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[19,23] package org.mortbay.http does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[20,23] package org.mortbay.http does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[21,24] package org.mortbay.jetty does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[22,32] package org.mortbay.jetty.servlet does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[42,18] cannot find symbol
      symbol : class Server
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[89,12] cannot find symbol
      symbol : class Server
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/RandomDataSource.java:[28,33] package org.apache.commons.logging does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/RandomDataSource.java:[29,33] package org.apache.commons.logging does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/RandomDataSource.java:[38,18] cannot find symbol
      symbol : class Log
      location: class org.apache.tapestry.test.RandomDataSource

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/ErrorReportingCommandProcessor.java:[17,32] package com.thoughtworks.selenium does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/ErrorReportingCommandProcessor.java:[23,55] cannot find symbol
      symbol: class CommandProcessor
      public class ErrorReportingCommandProcessor implements CommandProcessor

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/ErrorReportingCommandProcessor.java:[25,16] cannot find symbol
      symbol : class CommandProcessor
      location: class org.apache.tapestry.test.ErrorReportingCommandProcessor

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/ErrorReportingCommandProcessor.java:[27,46] cannot find symbol
      symbol : class CommandProcessor
      location: class org.apache.tapestry.test.ErrorReportingCommandProcessor

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[19,33] package org.openqa.selenium.server does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[20,17] package org.testng does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[21,29] package org.testng.annotations does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[22,29] package org.testng.annotations does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[23,29] package org.testng.annotations does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[25,32] package com.thoughtworks.selenium does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[26,32] package com.thoughtworks.selenium does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[27,32] package com.thoughtworks.selenium does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[28,32] package com.thoughtworks.selenium does not exist

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[45,59] cannot find symbol
      symbol: class Assert
      public abstract class AbstractIntegrationTestSuite extends Assert implements Selenium

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[45,77] cannot find symbol
      symbol: class Selenium
      public abstract class AbstractIntegrationTestSuite extends Assert implements Selenium

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[60,10] cannot find symbol
      symbol : class Selenium
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[62,10] cannot find symbol
      symbol : class SeleniumServer
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[142,3] cannot find symbol
      symbol : class AfterClass
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[155,3] cannot find symbol
      symbol : class Parameters
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[157,3] cannot find symbol
      symbol : class BeforeClass
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[93,12] cannot find symbol
      symbol : class Server
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[93,32] cannot find symbol
      symbol : class Server
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[95,12] cannot find symbol
      symbol : class SocketListener
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[95,48] cannot find symbol
      symbol : class SocketListener
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[99,12] cannot find symbol
      symbol : class NCSARequestLog
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[99,37] cannot find symbol
      symbol : class NCSARequestLog
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/JettyRunner.java:[102,12] cannot find symbol
      symbol : class WebApplicationContext
      location: class org.apache.tapestry.test.JettyRunner

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/RandomDataSource.java:[38,29] cannot find symbol
      symbol : variable LogFactory
      location: class org.apache.tapestry.test.RandomDataSource

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[123,4] cannot find symbol
      symbol : method assertEquals(java.lang.String,java.lang.String)
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[162,18] cannot find symbol
      symbol : class SeleniumServer
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[166,4] cannot find symbol
      symbol : class CommandProcessor
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[166,30] cannot find symbol
      symbol : class HttpCommandProcessor
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[166,64] cannot find symbol
      symbol : variable SeleniumServer
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

      /home/btomasini/svn.apache/tapestry/tapestry-test/src/main/java/org/apache/tapestry/test/AbstractIntegrationTestSuite.java:[169,20] cannot find symbol
      symbol : class DefaultSelenium
      location: class org.apache.tapestry.test.AbstractIntegrationTestSuite

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard Lewis Ship
              Reporter:
              btomasini Ben Tomasini
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: