No, that's not it... Apache Maven 2.2.0 (r788681; 2009-06-26 14:04:01+0100) Java version: 1.5.0_13 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/ Home Default locale: en_GB, platform encoding: MacRoman OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix"
Any other ideas? Is there an installer for a previous version? Joe On Aug 9, 11:09 pm, David Pollak <feeder.of.the.be...@gmail.com> wrote: > Please do "mvn -v" If you're using Maven prior to 2.0.9, you'll see > problems. > > > > On Sat, Aug 8, 2009 at 9:53 AM, Joe Wass <j...@folktunefinder.com> wrote: > > > Hi, > > > I just pulled the latest Mac installer and tried to build an existing > > project to a package and this happened... > > > $ mvn package > > [INFO] Scanning for projects... > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Building XXXXXXXXXX > > [INFO] task-segment: [package] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] [resources:resources {execution: default-resources}] > > [WARNING] Using platform encoding (MacRoman actually) to copy filtered > > resources, i.e. build is platform dependent! > > [INFO] Copying 0 resource > > [INFO] [yuicompressor:compress {execution: default}] > > [INFO] nb warnings: 0, nb errors: 0 > > [INFO] [compiler:compile {execution: default-compile}] > > [INFO] Nothing to compile - all classes are up to date > > [INFO] [scala:compile {execution: default}] > > [INFO] Checking for multiple versions of scala > > [INFO] Nothing to compile - all classes are up to date > > [INFO] [resources:testResources {execution: default-testResources}] > > [WARNING] Using platform encoding (MacRoman actually) to copy filtered > > resources, i.e. build is platform dependent! > > [INFO] skip non existing resourceDirectory /XXXXXXXXXX/src/test/ > > resources > > [INFO] [compiler:testCompile {execution: default-testCompile}] > > [INFO] No sources to compile > > [INFO] [scala:testCompile {execution: default}] > > [INFO] Checking for multiple versions of scala > > [WARNING] No source files found. > > [INFO] [surefire:test {execution: default-test}] > > [INFO] Surefire report directory: /XXXXXXXXXX/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] [war:war {execution: default-war}] > > [INFO] Packaging webapp > > [INFO] Assembling webapp[XXXXXXXXXX] in [/XXXXXXXXXX/target/ > > XXXXXXXXXX-1.0-SNAPSHOT] > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] FATAL ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] null > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Trace > > java.lang.NullPointerException > > at org.apache.maven.plugin.war.util.WebappStructure.getDependencies > > (WebappStructure.java:109) > > at > > org.apache.maven.plugin.war.util.WebappStructure.analyseDependencies > > (WebappStructure.java:288) > > at > > > org.apache.maven.plugin.war.packaging.DependenciesAnalysisPackagingTask.performPackaging > > (DependenciesAnalysisPackagingTask.java:46) > > at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp > > (AbstractWarMojo.java:439) > > at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp > > (AbstractWarMojo.java:375) > > at > > org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java: > > 181) > > at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:143) > > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > > (DefaultPluginManager.java:483) > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > (DefaultLifecycleExecutor.java:678) > > 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:585) > > 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) > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 8 seconds > > [INFO] Finished at: Sat Aug 08 17:48:38 BST 2009 > > [INFO] Final Memory: 20M/35M > > [INFO] > > ------------------------------------------------------------------------ > > > This happens both with and without the -o switch. I can run mvn > > jetty:run fine > > > Any ideas? > > > Cheers > > > Jope > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Git some:http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---