So ... you got some test failures. There may be a few lurking bugs related to either locale (a smattering of tests assume a en_US locale) or line terminators (the code started on Windows and is mostly developed on Mac). Obviously, I'm building this stuff every day, as is the CI server (which is itself Linux) so it's likely fixable with a little input.
On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote:
sory, I sent it as an attachment earieler, E:\_work\java\lib_src\tapestry5\tapestry-project>mvn -e install + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Tapestry 5 Project [INFO] Tapestry Test Utilities [INFO] Tapestry Inversion of Control Container [INFO] Tapestry Component Parameters Report [INFO] Tapestry Core Library [INFO] Tapestry-Spring Integration Library [INFO] Tapestry/Hibernate Integration Library [INFO] Tapestry 5 Quickstart Archetype [INFO] ---------------------------------------------------------------------------- [INFO] Building Tapestry 5 Project [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing E:\_work\java\lib_src\tapestry5\tapestry-project\pom.xml to C:\Documents and Settings\Davor Hrg\.m2\repository\org\apache\tapestry\tapestry-pr oject\5.0.3-SNAPSHOT\tapestry-project-5.0.3-SNAPSHOT.pom [INFO] ---------------------------------------------------------------------------- [INFO] Building Tapestry Test Utilities [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 7 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Resource directory does not exist: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\src\test\resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Surefire report directory: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT.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: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT-sources.jar [INFO] [install:install] [INFO] Installing E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT.jar to C:\Documents and Settings\Davor H rg\.m2\repository\org\apache\tapestry\tapestry-test\5.0.3-SNAPSHOT\tapestry-test-5.0.3-SNAPSHOT.jar [INFO] Installing E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-test\target\tapestry-test-5.0.3-SNAPSHOT-sources.jar to C:\Documents and Settings \Davor Hrg\.m2\repository\org\apache\tapestry\tapestry-test\5.0.3-SNAPSHOT\tapestry-test-5.0.3-SNAPSHOT-sources.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Tapestry Inversion of Control Container [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running Tapestry IOC Tests run: 469, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.766 sec Results : Tests run: 469, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT.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: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT-sources.jar [INFO] [install:install] [INFO] Installing E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT.jar to C:\Documents and Settings\Davor Hrg \.m2\repository\org\apache\tapestry\tapestry-ioc\5.0.3-SNAPSHOT\tapestry-ioc-5.0.3-SNAPSHOT.jar [INFO] Installing E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-ioc\target\tapestry-ioc-5.0.3-SNAPSHOT-sources.jar to C:\Documents and Settings\D avor Hrg\.m2\repository\org\apache\tapestry\tapestry-ioc\5.0.3-SNAPSHOT\tapestry-ioc-5.0.3-SNAPSHOT-sources.jar [INFO] ---------------------------------------------------------------------------- [INFO] Building Tapestry Component Parameters Report [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [plugin:descriptor] [INFO] Using 2 extractors. [INFO] Applying extractor for language: java [INFO] Extractor for language: java found 1 mojo descriptors. [INFO] Applying extractor for language: bsh [INFO] Extractor for language: bsh found 0 mojo descriptors. [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Resource directory does not exist: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-component-report\src\test\resources [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Surefire report directory: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-component-report\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- There are no tests to run. Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [jar:jar] [INFO] Building jar: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-component-report\target\tapestry-component-report-5.0.2.jar [INFO] [plugin:addPluginArtifactMetadata] [INFO] [install:install] [INFO] Installing E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-component-report\target\tapestry-component-report-5.0.2.jar to C:\Documents and S ettings\Davor Hrg\.m2\repository\org\apache\tapestry\tapestry-component-report\5.0.2\tapestry-component-report-5.0.2.jar [INFO] [plugin:updateRegistry] [INFO] ---------------------------------------------------------------------------- [INFO] Building Tapestry Core Library [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 34 resources [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] Copying 89 resources [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: E:\_work\java\lib_src\tapestry5\tapestry-project\..\tapestry-core\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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:589) 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.MojoFailureException: There are test failures. at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:428) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15 seconds [INFO] Finished at: Fri Mar 09 16:54:21 CET 2007 [INFO] Final Memory: 12M/23M [INFO] ------------------------------------------------------------------------ E:\_work\java\lib_src\tapestry5\tapestry-project> On 3/9/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > It doesn't cost you anything to paste a transcript into an e-mail > message, and it just might buy you a solution. > > On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > sorry, but my expirience with maven is limited, > > I suppose the problem is probably with the testing plugin.... > > > > what can I do to resolve this ? > > > > "suiteXmlFiles is configured, but there is no TestNG dependency" > > > > I picked the source from repo, people are working with the code on daily > > basis. > > There has to be something in my setup that is making this problem to > > manifest... > > > > Davor Hrg > > > > On 3/9/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > > > > > > Mmm, i think the problem is exactly the opposite. All projects have > > > testing > > > enabled because they inherit it from it's parent (tapestry-project). > > > The original problem was that tapestry-component-report inherited an > xml > > > location and doesn't have it. > > > > > > On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > > > > > > > here is what it outputs with testng added to > tapestry-component-report, > > > > tapestry-core, tapestry-project > > > > > > > > adding testng dependency may be cause of the last error if it counts > no > > > > tests present as fail > > > > > > > > > > > > > > > > On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > > > > > > > > > when I add testng dependancy to all failng subprojects manualy > > > > > mvn install fails fails stating that some tests failed, but I see > no > > > > > test errors > > > > > > > > > > Davor Hrg > > > > > > > > > > On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > i tried it with: > > > > > > maven 2.0.4 nad 2.0.5 > > > > > > > > > > > > the same rror happens when running the mnv install from > > > > > > tapestry-project > > > > > > > > > > > > > > > > > > :( > > > > > > Davor Hrg > > > > > > > > > > > > On 3/9/07, Pablo Ruggia <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > suiteXmlFiles is declared in the parent pom > > > > > > > (tapestry-project/pom.xml), so > > > > > > > this error is reasonable because tapestry-component-report > doesn't > > > > > > > have a > > > > > > > testng.xml file. > > > > > > > The rare thing is that it works in my machine. What version of > > > maven > > > > > > > are you > > > > > > > using and in wich platform ? > > > > > > > > > > > > > > On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > thnx, > > > > > > > > > > > > > > > > I tried building it but build fails: > > > > > > > > > > > > > > > > > E:\_work\java\lib_src\tapestry5\tapestry-component-report>mvn > > > > > > > install > > > > > > > > [INFO] Scanning for projects... > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > > > > > > > [INFO] Building Tapestry Component Parameters Report > > > > > > > > [INFO] task-segment: [install] > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > [INFO] [plugin:descriptor] > > > > > > > > [INFO] Using 2 extractors. > > > > > > > > [INFO] Applying extractor for language: java > > > > > > > > [INFO] Extractor for language: java found 1 mojo > descriptors. > > > > > > > > [INFO] Applying extractor for language: bsh > > > > > > > > [INFO] Extractor for language: bsh found 0 mojo descriptors. > > > > > > > > [INFO] [resources:resources] > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > [INFO] Copying 0 resource > > > > > > > > [INFO] [compiler:compile] > > > > > > > > [INFO] Nothing to compile - all classes are up to date > > > > > > > > [INFO] [resources:testResources] > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > [INFO] Resource directory does not exist: > > > > > > > > > > > > > > > > > > > > > > > > > > > E:\_work\java\lib_src\tapestry5\tapestry-component-report\src\test\resources > > > > > > > > > > > > > > > [INFO] [compiler:testCompile] > > > > > > > > [INFO] No sources to compile > > > > > > > > [INFO] [surefire:test] > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [ERROR] BUILD ERROR > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] suiteXmlFiles is configured, but there is no TestNG > > > > > > > dependency > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] For more information, run Maven with the -e switch > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] Total time: 3 seconds > > > > > > > > [INFO] Finished at: Fri Mar 09 16:33:41 CET 2007 > > > > > > > > [INFO] Final Memory: 8M/14M > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > On 3/9/07, Pablo Ruggia < [EMAIL PROTECTED] > wrote: > > > > > > > > > > > > > > > > > > You have to get the source from svn. Create a directory > and > > > > > > > chekout > > > > > > > > every > > > > > > > > > single module (not all at the same time) > > > > > > > > > Then get into the tapestry-project directory and type "mvn > > > > > > > install" (you > > > > > > > > > have to intall maven first). > > > > > > > > > This will create all .jar now with version 5.0.3-SNAPHOT. > Make > > > > > > > your > > > > > > > > > project > > > > > > > > > use this version and you will be using the latest code > from > > > svn. > > > > > > > > > > > > > > > > > > > > > > > > > On 3/9/07, Davor Hrg <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > hi, > > > > > > > > > > I have a small project I'd like to use to test t5, > > > > > > > > > > the project is being written in php, but I'd like to > develop > > > > > > > it in > > > > > > > > > paralel > > > > > > > > > > in t5, > > > > > > > > > > not that I'm aiming to replace the php version (there is > a > > > > > > > chance... ) > > > > > > > > > > > > > > > > > > > > I'd just like to use the t5 and supply some feedback, > report > > > > > > > bug ... > > > > > > > > > etc, > > > > > > > > > > also compare in a real project time and effort needed to > do > > > > > > > different > > > > > > > > > > stuff. > > > > > > > > > > > > > > > > > > > > Anyhow, the real question is: > > > > > > > > > > I'd like to use snapshot versions to be up2date with > > > > > > > development of > > > > > > > > the > > > > > > > > > > framework. > > > > > > > > > > do I: > > > > > > > > > > 1. get source from repository, > > > > > > > > > > 2. setup my pom somehow to get latest snapshots > > > > > > > > > > > > > > > > > > > > ? > > > > > > > > > > > > > > > > > > > > Davor Hrg > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > -- > Howard M. Lewis Ship > TWD Consulting, Inc. > Independent J2EE / Open-Source Java Consultant > Creator and PMC Chair, Apache Tapestry > Creator, Apache HiveMind > > Professional Tapestry training, mentoring, support > and project work. http://howardlewisship.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]