Just wondering why you are building Tapestry, rather than using pre-compiled JARs?
On Sun, May 22, 2011 at 5:58 AM, Mitke2011 <mitkeprepecen...@gmail.com> wrote: > Hi, I have a rather strange problem with Tapestry instalation using Maven: I > tried to install Tapestry 5.2.5 (same thing happened when I tried 5.2.4 or > 5.3) from Netbeans 6.9.1 IDE, using provided POM dependencies on tapestry > web site. Installation started, but nothing have been installed (jar library > could not display packages inside - it was displayed as reference problem, > which couldn't be resolved, and I tried everything from re-downloading > sources to pointing to the zip folder, which I downloaded from web site ). > After this failed, I checked out source using turtoise svn, and after it was > complete, I started maven from comand prompt, in order to execute mvn clean > install comand.I recived BUILD FAILED notice. The following is displayed: > > [INFO] Tapestry Component Parameters Report > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Tapestry 5 Project 5.3.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ tapestry-project > --- > [INFO] Deleting file set: C:\Users\mitke\Desktop\New folder > (2)\tapestry5\target > (included: [**], excluded: []) > [INFO] > [INFO] --- maven-remote-resources-plugin:1.0:process (default) @ > tapestry-projec > t --- > [INFO] Setting property: classpath.resource.loader.class => > 'org.codehaus.plexus > .velocity.ContextClassLoaderResourceLoader'. > [INFO] Setting property: velocimacro.messages.on => 'false'. > [INFO] Setting property: resource.loader => 'classpath'. > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > [INFO] > [INFO] --- maven-install-plugin:2.2:install (default-install) @ > tapestry-project > --- > [INFO] Installing C:\Users\mitke\Desktop\New folder (2)\tapestry5\pom.xml to > C:\ > Users\mitke\.m2\repository\org\apache\tapestry\tapestry-project\5.3.0-SNAPSHOT\t > apestry-project-5.3.0-SNAPSHOT.pom > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building plastic 5.3.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ plastic --- > [INFO] Deleting file set: C:\Users\mitke\Desktop\New folder > (2)\tapestry5\plasti > c\target (included: [**], excluded: []) > [INFO] > [INFO] --- maven-remote-resources-plugin:1.0:process (default) @ plastic --- > [INFO] > [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ > plastic -- > - > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Users\mitke\Desktop\New folder > (2) > \tapestry5\plastic\src\main\resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ plastic > --- > [INFO] Compiling 189 source files to C:\Users\mitke\Desktop\New folder > (2)\tapes > try5\plastic\target\classes > [INFO] > [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) > @ pl > astic --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Users\mitke\Desktop\New folder > (2) > \tapestry5\plastic\src\test\resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ > plast > ic --- > [INFO] Compiling 55 source files to C:\Users\mitke\Desktop\New folder > (2)\tapest > ry5\plastic\target\test-classes > [INFO] > [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ plastic --- > [INFO] Surefire report directory: C:\Users\mitke\Desktop\New folder > (2)\tapestry > 5\plastic\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running TestSuite > > =============================================== > Placeholder -- Maven Build / TestNG Can't Run The Spock Tests > Tests run: 0, Failures: 0, Skips: 0 > =============================================== > > > =============================================== > Plastic > Total tests run: 0, Failures: 0, Skips: 0 > =============================================== > > [org.testng.internal.PoolService] Shutting down poolservice > org.testng.internal. > PoolService@f1bb78 terminated:false > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.677 sec > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ plastic --- > [INFO] Building jar: C:\Users\mitke\Desktop\New folder > (2)\tapestry5\plastic\tar > get\plastic-5.3.0-SNAPSHOT.jar > [INFO] > [INFO] --- maven-install-plugin:2.2:install (default-install) @ plastic --- > [INFO] Installing C:\Users\mitke\Desktop\New folder > (2)\tapestry5\plastic\target > \plastic-5.3.0-SNAPSHOT.jar to > C:\Users\mitke\.m2\repository\org\apache\tapestry > \plastic\5.3.0-SNAPSHOT\plastic-5.3.0-SNAPSHOT.jar > [INFO] Installing C:\Users\mitke\Desktop\New folder > (2)\tapestry5\plastic\pom.xm > l to > C:\Users\mitke\.m2\repository\org\apache\tapestry\plastic\5.3.0-SNAPSHOT\pl > astic-5.3.0-SNAPSHOT.pom > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Tapestry Test Utilities 5.3.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ tapestry-test --- > [INFO] Deleting file set: C:\Users\mitke\Desktop\New folder > (2)\tapestry5\tapest > ry-test\target (included: [**], excluded: []) > [INFO] > [INFO] --- maven-remote-resources-plugin:1.0:process (default) @ > tapestry-test - > -- > [INFO] > [INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ > tapestry-t > est --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 7 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ > tapestry-test > --- > [INFO] Compiling 15 source files to C:\Users\mitke\Desktop\New folder > (2)\tapest > ry5\tapestry-test\target\classes > [INFO] > [INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) > @ ta > pestry-test --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Users\mitke\Desktop\New folder > (2) > \tapestry5\tapestry-test\src\test\resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ > tapes > try-test --- > [INFO] Compiling 1 source file to C:\Users\mitke\Desktop\New folder > (2)\tapestry > 5\tapestry-test\target\test-classes > [INFO] > [INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ tapestry-test > --- > [INFO] Surefire report directory: C:\Users\mitke\Desktop\New folder > (2)\tapestry > 5\tapestry-test\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running TestSuite > 2011-05-22 09:46:30.423:INFO::Logging to StdErrLog::DEBUG=false via > org.eclipse. > jetty.util.log.StdErrLog > 2011-05-22 09:46:30.463:INFO::jetty-7.0.0.v20091005 > 2011-05-22 09:46:30.787:INFO::NO JSP Support for , did not find > org.apache.jaspe > r.servlet.JspServlet > 2011-05-22 09:46:30.969:INFO::Started SelectChannelConnector@0.0.0.0:9090 > 09:46:31.017 INFO - Java: Sun Microsystems Inc. 19.1-b02 > 09:46:31.017 INFO - OS: Windows 7 6.1 x86 > 09:46:31.028 INFO - v2.0 [a2], with Core v2.0 [a2] > 09:46:31.191 INFO - RemoteWebDriver instances should connect to: > http://127.0.0. > 1:4444/wd/hub > 09:46:31.195 INFO - Version Jetty/5.1.x > 09:46:31.196 INFO - Started > HttpContext[/selenium-server/driver,/selenium-server > /driver] > 09:46:31.199 INFO - Started HttpContext[/selenium-server,/selenium-server] > 09:46:31.199 INFO - Started HttpContext[/,/] > 09:46:31.203 INFO - Started > org.openqa.jetty.jetty.servlet.ServletHandler@1049d3 > > 09:46:31.203 INFO - Started HttpContext[/wd,/wd] > 09:46:31.220 INFO - Started SocketListener on 0.0.0.0:4444 > 09:46:31.220 INFO - Started org.openqa.jetty.jetty.Server@fb6354 > 09:46:31.333 INFO - Checking Resource aliases > 09:46:31.341 INFO - Command request: getNewBrowserSession[*firefox, > http://local > host:9090/, ] on session null > 09:46:31.345 INFO - creating new remote session > 09:46:31.483 INFO - Got result: Failed to start new browser session: > java.lang.R > untimeException: Firefox 3 could not be found in the path! > Please add the directory containing ''firefox.exe'' to your PATH environment > variable, or explicitly specify a path to Firefox 3 like this: > *firefox3c:\blah\firefox.exe on session null > FAILED CONFIGURATION: @BeforeTest testStartup(org.testng.TestRunner@d55986, > [Tes > t: "SeleniumLauncher and SeleniumTestBase" > verbose:null[parameters:][metagroups: > ] [included: ][excluded: ] classes:[Class: > org.apache.tapestry5.test.SanityChec > kTestSuite] ] ) > java.lang.RuntimeException: Could not start Selenium session: Failed to > start ne > w browser session: java.lang.RuntimeException: Firefox 3 could not be found > in t > he path! > Please add the directory containing ''firefox.exe'' to your PATH environment > variable, or explicitly specify a path to Firefox 3 like this: > *firefox3c:\blah\firefox.exe > at > com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java: > 100) > at > org.apache.tapestry5.test.SeleniumTestCase.testStartup(SeleniumTestCa > se.java:190) > at > org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.ja > va:74) > at > org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXml > TestSuite.java:92) > at org.apache.maven.surefire.Surefire.run(Surefire.java:177) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su > refireBooter.java:345) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j > ava:1009) > Caused by: com.thoughtworks.selenium.SeleniumException: Failed to start new > brow > ser session: java.lang.RuntimeException: Firefox 3 could not be found in the > pat > h! > Please add the directory containing ''firefox.exe'' to your PATH environment > variable, or explicitly specify a path to Firefox 3 like this: > *firefox3c:\blah\firefox.exe > at > com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureE > xceptionOrError(HttpCommandProcessor.java:97) > at > com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandP > rocessor.java:91) > at > com.thoughtworks.selenium.HttpCommandProcessor.getString(HttpCommandP > rocessor.java:262) > at > com.thoughtworks.selenium.HttpCommandProcessor.start(HttpCommandProce > ssor.java:223) > at > org.apache.tapestry5.test.ErrorReportingCommandProcessor.start(ErrorR > eportingCommandProcessor.java:158) > at > com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java: > 92) > ... 27 more > ... Removed 21 stack frames > SKIPPED CONFIGURATION: @BeforeClass setup > SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName > SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod > SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName > SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod > SKIPPED CONFIGURATION: @BeforeMethod indicateTestMethodName > SKIPPED CONFIGURATION: @AfterMethod cleanupTestMethod > SKIPPED CONFIGURATION: @AfterClass cleanup > SKIPPED CONFIGURATION: @AfterTest testShutdown > SKIPPED: command_processor_available(org.testng.TestRunner@d55986) > SKIPPED: invalid_assertion > SKIPPED: sanity_check > > =============================================== > SeleniumLauncher and SeleniumTestBase > Tests run: 3, Failures: 0, Skips: 3 > Configuration Failures: 1, Skips: 9 > =============================================== > > > =============================================== > Tapestry Test > Total tests run: 3, Failures: 0, Skips: 3 > Configuration Failures: 1, Skips: 9 > =============================================== > > [org.testng.internal.PoolService] Shutting down poolservice > org.testng.internal. > PoolService@83e1e terminated:false > Tests run: 13, Failures: 1, Errors: 0, Skipped: 12, Time elapsed: 2.17 sec > <<< F > AILURE! > > Results : > > Failed tests: > testStartup(org.apache.tapestry5.test.SanityCheckTestSuite) > > Tests run: 13, Failures: 1, Errors: 0, Skipped: 12 > > 09:46:31.694 INFO - Shutting down... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Tapestry 5 Project ................................ SUCCESS [1.621s] > [INFO] plastic ........................................... SUCCESS [9.961s] > [INFO] Tapestry Test Utilities ........................... FAILURE [7.057s] > [INFO] Tapestry JSON Library ............................. SKIPPED > [INFO] Tapestry Functional Flows ......................... SKIPPED > [INFO] Tapestry Annotations .............................. SKIPPED > [INFO] Tapestry Inversion of Control Container ........... SKIPPED > [INFO] Tapestry Core Library ............................. SKIPPED > [INFO] Tapestry/JSR-303 Integration Library .............. SKIPPED > [INFO] Tapestry JMX Support .............................. SKIPPED > [INFO] Tapestry/Spring Integration Library ............... SKIPPED > [INFO] Tapestry Hibernate Support ........................ SKIPPED > [INFO] Tapestry/Hibernate Integration Library ............ SKIPPED > [INFO] Tapestry File Upload Component Library ............ SKIPPED > [INFO] Tapestry/JPA Integration Library .................. SKIPPED > [INFO] tapestry-yuicompressor ............................ SKIPPED > [INFO] Tapestry 5 Quickstart Archetype ................... SKIPPED > [INFO] Tapestry Component Parameters Report .............. SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 19.229s > [INFO] Finished at: Sun May 22 09:46:32 CEST 2011 > [INFO] Final Memory: 21M/50M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2. > 4.3:test (default-test) on project tapestry-test: There are test failures. > [ERROR] > [ERROR] Please refer to C:\Users\mitke\Desktop\New folder > (2)\tapestry5\tapestry > -test\target\surefire-reports for the individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > swit > ch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > rea > d the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc > eption > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <goals> -rf :tapestry-test > C:\Users\mitke\Desktop\New folder (2)\tapestry5> > > In essence, tests have failed. I even updated maven from 3.0.2 to 3.0.3, > same thing happened. There is always option to download binaries as zip > file, and then just add them in lib folder of project, but I woould like to > know why is this happening. > > Please help me to resolve this problem. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Maven-Tapestry-Problem-tp4416701p4416701.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org