[
https://jira.codehaus.org/browse/JBEHAVE-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293299#comment-293299
]
Shane Hayes commented on JBEHAVE-732:
-------------------------------------
I got passed this error with the following: gdata-java-client
mvn install:install-file -DgroupId=gdata -DartifactId=client -Dversion=1.0
-Dfile=gdata-client-1.40.0.jar -Dpackaging=jar -DgeneratePom=true
Now I get the following error:
[ERROR] Failed to execute goal org.codehaus.xsite:xsite-maven-plugin:1.2:run
(default) on project jbehave-distribution: Failed to run xsite:
NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.codehaus.xsite:xsite-maven-plugin:1.2:run (default) on project
jbehave-distribution: Failed to run xsite
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
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:597)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to run xsite
at org.codehaus.xsite.mojo.XSiteRunMojo.execute(XSiteRunMojo.java:84)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
at java.util.Arrays.asList(Arrays.java:3343)
at org.codehaus.xsite.Main.<init>(Main.java:111)
at org.codehaus.xsite.Main.main(Main.java:65)
at org.codehaus.xsite.mojo.XSiteRunMojo.execute(XSiteRunMojo.java:82)
> maven build to empty rep on Mac
> -------------------------------
>
> Key: JBEHAVE-732
> URL: https://jira.codehaus.org/browse/JBEHAVE-732
> Project: JBehave
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.5.4
> Environment: System Version: Mac OS X 10.6.8 (10K549)
> Kernel Version: Darwin 10.8.0
> Boot Volume: Macintosh HD
> Boot Mode: Normal
> Computer Name: Shane's MacBook
> User Name: Shane Hayes (shanehayes)
> Secure Virtual Memory: Enabled
> Reporter: Shane Hayes
>
> When I try to run the maven command from the web site: "mvn -s settings.xml
> clean install -Pexamples" I get the error above. When I search the web, I see
> comments about maven support of Google gdata, but I don't see a solution to
> the problem. I would assume that there is a reasonably easy solution, maybe
> manually installing this troublesome dependencies, but I have not been able
> to figure that out.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email