Arif,
Could you try to delete the org/apache/maven/plugins directory from your
local repository? Perhaps something is wrong there...
Gert
Arif Mohd wrote:
Hi Gert,
this is the stack trace
D:\Softwares\ServicemixSrc\TestSVn>mvn -Dmaven.test.skip=true
-Dprofile=step1 install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] ServiceMix
[INFO] Servicemix :: Build
[INFO] ServiceMix :: Parent
[INFO] ServiceMix :: Core
[INFO] ServiceMix :: JBI
[INFO] ServiceMix :: Services
[INFO] ServiceMix :: Core
[INFO] ServiceMix :: Audit
[INFO] ServiceMix :: Common
[INFO] ServiceMix :: Common
[INFO] ServiceMix :: Components
[INFO] ServiceMix :: SOAP
[INFO] ServiceMix :: SOAP2
[INFO] ServiceMix :: BeanFlow
[INFO] ServiceMix :: Tooling
[INFO] ServiceMix :: Maven2 JBI Plugin
[INFO] ServiceMix :: Maven2 XFire Plugin
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed May 30 19:26:43 IST 2007
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------
Gert Vanthienen wrote:
Arif,
Can you post the same stacktrace information for the other command (mvn
-Dmaven.test.skip=true -Dprofile=step1 install) as well?
Gert
Arif Mohd wrote:
Hi Gert,
Iam using maven version:2.0.5
i changed proxy settings in the file C:\Documents and
Settings\<user>\.m2\settings.xml
and they are correct, when i use fuse ide for developing components it is
working fine and maven is able to dowload respective files from dependent
repositories by using this proxy settings.
when i use the command mvn -e eclipse:eclipse iam getting following error
[INFO] ServiceMix :: WebApp distribution
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does
not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-eclipse-plugin' does not exist
or no valid version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1286)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:38
6)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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: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)
Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException:
The plugin 'org.apache.maven.plugins:maven-eclipse-plu
gin' does not exist or no valid version could be found
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:228)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:161)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
... 14 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11 seconds
[INFO] Finished at: Wed May 30 18:57:38 IST 2007
[INFO] Final Memory: 13M/23M
[INFO]
------------------------------------------------------------------------
Gert Vanthienen wrote:
Arif,
What version of Maven are you using (use the command mvn -version)?
Have you tried running the build with the -e switch to get more
information? I still think that maven is unable to connect to a public
repository to get the dependencies. In which file have you specified
the proxy settings? Can you verify them once more?
Regards,
Gert
Arif Mohd wrote:
iam trying to build the binaries from servicemix code by using the
following
commands
a) mvn eclipse:eclipse
b) mvn -Dmaven.test.skip=true -Dprofile=step1 install
none of the commands are working and iam getting the following error, i
manually dowloaded eclipse plugin jar and placed in the folder
.m2/repository but still iam getting the same error.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] ServiceMix
[INFO] Servicemix :: Build
[INFO] ServiceMix :: Parent
[INFO] ServiceMix :: Core
[INFO] ServiceMix :: JBI
[INFO] ServiceMix :: Services
[INFO] ServiceMix :: Core
[INFO] ServiceMix :: Audit
[INFO] ServiceMix :: Common
[INFO] ServiceMix :: Common
[INFO] ServiceMix :: Components
[INFO] ServiceMix :: SOAP
[INFO] ServiceMix :: SOAP2
[INFO] ServiceMix :: BeanFlow
[INFO] ServiceMix :: Tooling
[INFO] ServiceMix :: Maven2 JBI Plugin
[INFO] ServiceMix :: Maven2 XFire Plugin
[INFO]
----------------------------------------------------------------------------
[INFO] Building ServiceMix
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Wed May 30 18:17:16 IST 2007
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------