I think you must run maven with the option : -cpu or -U to install the plugins.

Daniel Meza escreveu:
After run "mvn install" get :

"[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch"

then try to run "mvn -e install" and get:

"[INFO] Building Simple Tapestry Archetype
[INFO]    task-segment: [install]
[INFO] ----------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-plugin-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-plugin-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.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1016)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:980)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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.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-plugin-plugin' 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:166)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1257)
        ... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 13 seconds
[INFO] Finished at: Tue Sep 18 09:54:42 GMT-05:00 2007"

If someone could help me,
thanks in advance.

  
Date: Tue, 18 Sep 2007 00:08:07 +0300
From: [EMAIL PROTECTED]
To: users@tapestry.apache.org
Subject: Re: Can't build from source

The instruction there are for the 4.0 branch which is located at
https://svn.apache.org/repos/asf/tapestry/tapestry4/branches/4.0/

The url specified in that page contains now the trunk of 4.1 which is 
maven2 based
so, upon svn checkout
you do mvn install

Daniel Meza wrote:
    
Hi everyone 

I've been following the steps on the  wik i"HowToSetupEclipseWtp" (http://wiki.apache.org/tapestry/HowToSetupEclipseWtp?highlight=%28eclipse%29)
but unfortunately I'm stuck.
 
In the prerrequisites section says "Install and build Tapestry 4.0. See BuildingTapestry" .
After following the instructions at http://wiki.apache.org/tapestry/BuildingTapestry,when 
try to run "ant  install" got the next error message:
 
"[EMAIL PROTECTED] tapestry-trunk]#ant install
   Buildfile: build.xml does not exist!
   Build failed"
  
Any idea? 
Thanks in advance.
_________________________________________________________________
Prueba Live.com- Tu página persoanlizada con todas las cosas que te interesan en un solo lugar.
http://www.live.com/getstarted
  
      
-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

    

_________________________________________________________________
¿Busquedas locales?. Prueba el nuevo concepto de busquedas locales, con resultados de la Seccion Amarilla
www.prodigy.msn.com
  

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to