You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Lars Corneliussen (Closed) (JIRA)" <ji...@apache.org> on 2011/11/10 13:13:51 UTC

[jira] [Closed] (NPANDAY-155) NPanday does not work with -Dmaven.repo.local on the command line

     [ https://issues.apache.org/jira/browse/NPANDAY-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Corneliussen closed NPANDAY-155.
-------------------------------------

       Resolution: Duplicate
    Fix Version/s:     (was: Backlog)
    
> NPanday does not work with -Dmaven.repo.local on the command line
> -----------------------------------------------------------------
>
>                 Key: NPANDAY-155
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-155
>             Project: NPanday
>          Issue Type: Bug
>            Reporter: Wendy Smoak
>
> With NPanday 1.0.2, if I (or the Invoker plugin) use -Dmaven.repo.local on the command line, the build fails with something like...
> mvn clean install -Dmaven.repo.local=c:\temp\myrepo
> ...
> java.io.IOException: NPANDAY-001-016: Could not find artifact: Artifact ID = NPa
> nday.Plugin.Resx, Path = c:\temp\uac\gac_msil\NPanday.Plugin.Resx\1.0.2__npanday
> .plugin\NPanday.Plugin.Resx.exe
>         at npanday.artifact.impl.ArtifactInstallerImpl.installArtifactAndDepende
> nciesIntoPrivateApplicationBase(ArtifactInstallerImpl.java:311)
>         at npanday.artifact.impl.ArtifactInstallerImpl.resolveAndInstallNetDepen
> denciesForProfile(ArtifactInstallerImpl.java:244)
>         at npanday.plugin.resolver.NetDependencyResolverMojo.execute(NetDependen
> cyResolverMojo.java:160)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:490)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:694)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:556)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:535)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:387)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:348)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:180)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>         at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> 0)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] NPANDAY-001-016: Could not find artifact: Artifact ID = NPanday.Plugin.Re
> sx, Path = c:\temp\uac\gac_msil\NPanday.Plugin.Resx\1.0.2__npanday.plugin\NPanda
> y.Plugin.Resx.exe
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 59 seconds
> [INFO] Finished at: Fri Aug 28 15:58:12 MST 2009
> [INFO] Final Memory: 17M/36M
> [INFO] ------------------------------------------------------------------------
> This prevents using the Invoker plugin with <localRepositoryPath> configured for integration tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira