incubator-npanday-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Kruse <r...@kruseonline.net>
Subject Re: VS plugin install fails
Date Wed, 14 Sep 2011 01:04:05 GMT
Thanks for the response Brett.  I'll give it a shot with Maven 2.2.1
sometime soon and let you know.

-Ryan

On Tue, Sep 13, 2011 at 7:45 PM, Brett Porter <brett@apache.org> wrote:

> I'm not sure I've tested the vsinstaller plugin with Maven 3. Do you have
> Maven 2.2.1 installed to try it with?
>
> In general, NPanday should work with Maven 3, but this particular error
> looks like it could be related to an internal difference.
>
> - Brett
>
> On 14/09/2011, at 5:24 AM, Ryan Kruse wrote:
>
> > Hi, I'm just getting started trying out NPanday and I can't get the VS
> > installer to run. Any help would be appreciated.
> >
> > My environment:
> >
> > Maven: 3.0.3
> > Java: 1.6.0_25
> > OS: Win 7 Ultimate
> > Visual Studio: 2010 Premium (10.0.40219.1 SP1Rel)
> > .Net: 4.0.30319 SP1Rel
> >
> >
> > Here is the error that I get when trying to install the plugin. I have
> > started the cmd shell as administrator and VS is not running.  Any tips?
> >
> > C:\Windows\system32>mvn -U -e
> >
> org.apache.npanday.plugins:maven-vsinstaller-plugin:1.4.0-incubating:install
> > [INFO] Error stacktraces are turned on.
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Maven Stub Project (No POM) 1
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-vsinstaller-plugin:1.4.0-incubating:install
> (default-cli) @
> > standalone-pom ---
> > [WARNING] NPANDAY-102-001: No NPanday settings available. Using Defaults.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 2.477s
> > [INFO] Finished at: Tue Sep 13 14:16:09 CDT 2011
> > [INFO] Final Memory: 5M/111M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> >
> org.apache.npanday.plugins:maven-vsinstaller-plugin:1.4.0-incubating:install
> > (default-cli) on project standal
> > one-pom: Execution default-cli of goal
> >
> org.apache.npanday.plugins:maven-vsinstaller-plugin:1.4.0-incubating:install
> > failed. NullPointerExcep
> > tion -> [Help 1]
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > goal org.apache.npanday.plugins:maven-vsinstaller-plugin:1.4.0-inc
> > ubating:install (default-cli) on project standalone-pom: Execution
> > default-cli of goal org.apache.npanday.plugins:maven-vsinstaller-plugin:1
> > .4.0-incubating:install failed.
> >        at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
> >        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.PluginExecutionException: Execution
> > default-cli of goal org.apache.npanday.plugins:maven-vsinstaller-plug
> > in:1.4.0-incubating:install failed.
> >        at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
> >        at
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> >        ... 19 more
> > Caused by: java.lang.NullPointerException
> >        at
> >
> npanday.plugin.vsinstaller.VsInstallerMojo.isDotNetHandler(VsInstallerMojo.java:227)
> >        at
> >
> npanday.plugin.vsinstaller.VsInstallerMojo.execute(VsInstallerMojo.java:157)
> >        at
> >
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> >        ... 20 more
> > [ERROR]
> > [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
> > read the following articles:
> > [ERROR] [Help 1]
> >
> http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> > C:\Windows\system32>
>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message