activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lalit Nagpal <lalitte...@rediffmail.com>
Subject building using mvn gives errors
Date Wed, 16 Aug 2006 12:20:49 GMT

Under e:\cpp I have the folder activemq-cpp ... i did not modify any of the
contents of pom.xml ... dont know why it fails. Any help would be
appreciated.

Here is the stack trace when running the command. Please observe the
directory where i ran the command. e:\cpp contains activemq-cpp directory.

E:\CPP>mvn package
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [package]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from
 central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-resources-plug
in' could not be retrieved from repository: central due to an error: Error
transferring fi
le
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exist or no v
alid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Wed Aug 16 17:46:53 IST 2006
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------

E:\CPP>mvn -e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [package]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking
for updates from
 central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-resources-plug
in' could not be retrieved from repository: central due to an error: Error
transferring fi
le
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not
exist or no v
alid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugi
ns:maven-resources-plugin' does not exist or no valid version could be found
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecyc
leExecutor.java:1281)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLi
fecycleExecutor.java:1517)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(D
efaultLifecycleExecutor.java:1011)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(
DefaultLifecycleExecutor.java:975)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycl
eExecutor.java:453)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailure
s(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Default
LifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExe
cutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
va:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The plugin 'org
.apache.maven.plugins:maven-resources-plugin' does not exist or no valid
version could be
found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersio
n(DefaultPluginVersionManager.java:225)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersio
n(DefaultPluginVersionManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.
java:158)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecyc
leExecutor.java:1252)
        ... 18 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Wed Aug 16 17:49:14 IST 2006
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
-- 
View this message in context: http://www.nabble.com/building-using-mvn-gives-errors-tf2114964.html#a5831330
Sent from the ActiveMQ - User forum at Nabble.com.


Mime
View raw message