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 framework http://liftweb.net
Beginning Scala http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to