You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-users@incubator.apache.org by Eric Kolotyluk <er...@gmail.com> on 2011/09/18 19:24:17 UTC

What is wagon?

For some reason my builds stopped working and I'm getting these new messages

18-Sep-2011 12:13:41 PM npanday.dao.impl.ProjectDaoImpl 
storeProjectAndResolveDependencies
WARNING: NPANDAY-180-018: Not found in local repository, now retrieving 
artifact from *wagon*:net.sf.jni4net:jni4net.n:dotnet-library:0.8.5.1, 
Failed Path Check = 
P:\Intersystem\main\platform.NET\intersystem-service\target\jni4net.n.dll
18-Sep-2011 12:13:41 PM npanday.dao.impl.ProjectDaoImpl 
storeProjectAndResolveDependencies
WARNING: NPANDAY-180-018: Not found in local repository, now retrieving 
artifact from 
*wagon*:com.kodak.intersystem.dotnet:intersystem-jni4net:dotnet-library:0.0.2-SNAPSHOT, 
Failed Path Check = 
P:\Intersystem\main\platform.NET\intersystem-service\target\intersystem-jni4net.dll

What is wagon?

My Remote Repository is http://nexus:8081/nexus/content/groups/public so 
why is it not looking there any more

Ultimately the build leads to

[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2.023s
[INFO] Finished at: Sun Sep 18 12:13:41 PDT 2011
[INFO] Final Memory: 8M/368M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.npanday.plugins:maven-compile-plugin:1.4.0-incubating:initialize 
(default-initialize) on project intersystem-service: 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
[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/MojoExecutionException
NPanday Execution Failed!, with exit code: 1

Which also is new.


Re: What is wagon?

Posted by Eric Kolotyluk <er...@gmail.com>.
Here is the full output.

Cheers, Eric

P:\Intersystem\main\platform.NET\intersystem-service>mvn -e compile
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] 
------------------------------------------------------------------------
[INFO] Building Intersystem Service for Windows 0.0.2-SNAPSHOT
[INFO] 
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-compile-plugin:1.4.0-incubating:initialize 
(default-initialize) @ intersystem-service ---
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/C:/Users/10069959/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/C:/Users/10069959/.m2/repository/org/slf4j/slf4j-jdk14/1.5.11/slf4j-jdk14-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
explanation.
20-Sep-2011 6:19:53 AM npanday.dao.impl.ProjectDaoImpl 
storeProjectAndResolveDependencies
WARNING: NPANDAY-180-018: Not found in local repository, now retrieving 
artifact from wagon:net.sf.jni4net:jni4net.n:dotnet-library:0.8.5.1, 
Failed Path Check = 
P:\Intersystem\main\platform.NET\intersystem-service\target\jni4net.n.dll
20-Sep-2011 6:19:53 AM npanday.dao.impl.ProjectDaoImpl 
storeProjectAndResolveDependencies
WARNING: NPANDAY-180-018: Not found in local repository, now retrieving 
artifact from 
wagon:com.kodak.intersystem.dotnet:intersystem-jni4net:dotnet-library:0.0.2-SNAPSHOT, 
Failed Path Check = 
P:\Intersystem\main\platform.NET\intersystem-service\target\intersystem-jni4net.dll
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 1.776s
[INFO] Finished at: Tue Sep 20 06:19:53 PDT 2011
[INFO] Final Memory: 8M/368M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.npanday.plugins:maven-compile-plugin:1.4.0-incubating:initialize 
(default-initialize)
on project intersystem-service: 1 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to 
execute goal org.apache.npanday.plugins:maven-compile-plugin:1
.4.0-incubating:initialize (default-initialize) on project 
intersystem-service: 1
         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: 1
         at 
npanday.plugin.compile.ComponentInitializerMojo.execute(ComponentInitializerMojo.java:92)
         at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
         at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
         ... 19 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/MojoExecutionException
P:\Intersystem\main\platform.NET\intersystem-service>



On 2011-09-19 7:58 PM, Brett Porter wrote:
> Wagon is the library Maven uses to download artefacts, and NPanday re-uses it. I think you've snipped around the eventual problem. Running with -e as it suggests and posting:
> 1) the exception at the end
> 2) any earlier output around the text "NPanday Execution Failed!"
> 3) any errors around the lines you pasted for wagon that indicate it failed to download the artefacts from your repository
>
> Regards,
> Brett
>
> On 19/09/2011, at 5:24 AM, Eric Kolotyluk wrote:
>
>> For some reason my builds stopped working and I'm getting these new messages
>>
>> 18-Sep-2011 12:13:41 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
>> WARNING: NPANDAY-180-018: Not found in local repository, now retrieving artifact from *wagon*:net.sf.jni4net:jni4net.n:dotnet-library:0.8.5.1, Failed Path Check = P:\Intersystem\main\platform.NET\intersystem-service\target\jni4net.n.dll
>> 18-Sep-2011 12:13:41 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
>> WARNING: NPANDAY-180-018: Not found in local repository, now retrieving artifact from *wagon*:com.kodak.intersystem.dotnet:intersystem-jni4net:dotnet-library:0.0.2-SNAPSHOT, Failed Path Check = P:\Intersystem\main\platform.NET\intersystem-service\target\intersystem-jni4net.dll
>>
>> What is wagon?
>>
>> My Remote Repository is http://nexus:8081/nexus/content/groups/public so why is it not looking there any more
>>
>> Ultimately the build leads to
>>
>> [INFO] ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 2.023s
>> [INFO] Finished at: Sun Sep 18 12:13:41 PDT 2011
>> [INFO] Final Memory: 8M/368M
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.apache.npanday.plugins:maven-compile-plugin:1.4.0-incubating:initialize (default-initialize) on project intersystem-service: 1 ->  [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>> [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/MojoExecutionException
>> NPanday Execution Failed!, with exit code: 1
>>
>> Which also is new.
>>
> --
> Brett Porter
> brett@apache.org
> http://brettporter.wordpress.com/
> http://au.linkedin.com/in/brettporter
>
>
>
>

Re: What is wagon?

Posted by Brett Porter <br...@apache.org>.
Wagon is the library Maven uses to download artefacts, and NPanday re-uses it. I think you've snipped around the eventual problem. Running with -e as it suggests and posting:
1) the exception at the end
2) any earlier output around the text "NPanday Execution Failed!"
3) any errors around the lines you pasted for wagon that indicate it failed to download the artefacts from your repository

Regards,
Brett

On 19/09/2011, at 5:24 AM, Eric Kolotyluk wrote:

> For some reason my builds stopped working and I'm getting these new messages
> 
> 18-Sep-2011 12:13:41 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
> WARNING: NPANDAY-180-018: Not found in local repository, now retrieving artifact from *wagon*:net.sf.jni4net:jni4net.n:dotnet-library:0.8.5.1, Failed Path Check = P:\Intersystem\main\platform.NET\intersystem-service\target\jni4net.n.dll
> 18-Sep-2011 12:13:41 PM npanday.dao.impl.ProjectDaoImpl storeProjectAndResolveDependencies
> WARNING: NPANDAY-180-018: Not found in local repository, now retrieving artifact from *wagon*:com.kodak.intersystem.dotnet:intersystem-jni4net:dotnet-library:0.0.2-SNAPSHOT, Failed Path Check = P:\Intersystem\main\platform.NET\intersystem-service\target\intersystem-jni4net.dll
> 
> What is wagon?
> 
> My Remote Repository is http://nexus:8081/nexus/content/groups/public so why is it not looking there any more
> 
> Ultimately the build leads to
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.023s
> [INFO] Finished at: Sun Sep 18 12:13:41 PDT 2011
> [INFO] Final Memory: 8M/368M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.npanday.plugins:maven-compile-plugin:1.4.0-incubating:initialize (default-initialize) on project intersystem-service: 1 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [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/MojoExecutionException
> NPanday Execution Failed!, with exit code: 1
> 
> Which also is new.
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter