maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohan chauhan <rohan4u_...@yahoo.com>
Subject Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.
Date Wed, 01 Oct 2008 14:44:30 GMT
yes i'm able to access directory having content following.

    

 mojo-archetypes/                 11-Feb-2008 03:20    -   
 nbm-archetype/                   13-Mar-2008 07:27    -   
 netbeans-platform-app-archetype/ 26-May-2008 02:28    -   


then i went to mojo-archetypes/ (first link)
its having following

 1/                                    11-Feb-2008 03:20    -   
 maven-metadata.xml                    11-Feb-2008 03:20  336   
 maven-metadata.xml.md5                11-Feb-2008 03:20   32   
 maven-metadata.xml.sha1               11-Feb-2008 03:20   40   


i'm able to access all file by my browser just having extension .xml (not .md5, .sha1)

but yes i can download by my browser all the files.





----- Original Message ----
From: Gabriel Garcia <gabrielgi@gmail.com>
To: Maven Users List <users@maven.apache.org>
Sent: Wednesday, 1 October, 2008 7:59:57 PM
Subject: Re: urgent plz help me... this error stop my entire poject. a common error but no
solution working.

I think you might have a problem accessing the Maven 2 repository:
[WARNING] repository metadata for: 'org.codehaus.mojo' could not be
retrieved from repository: central due to an error: Error transferring
file
[INFO] Repository 'central' will be blacklisted

Can you open a browser and see if you can get to
http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/? If so,
can you navigate further (into the latest version of the archetype
mojo) and try to download the artifacts manually?

2008/10/1 rohan chauhan <rohan4u_111@yahoo.com>:
> i'm using maven 2.0.5 for androMDA
>
> i follows all instruction they mention.
>
> I also set up settings.xml file in cong directory. which i just attached
> here.
> also i delete my .m2 directory. but this error still comes in my way.
>
> C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.codehaus.mojo: checking for updates from central
> [WARNING] repository metadata for: 'org.codehaus.mojo' could not be
> retrieved fr
> om repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
> exi
> st or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.m
> aven.plugins:maven-archetype-plugin' does not exist or no valid version
> could be
>  found
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1286)
>         at
> org..apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> (DefaultLifecycleExecutor.java:1522)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
> AggregationNeeds(DefaultLifecycleExecutor.java:386)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.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(DelegatingMethodAcces
> sorImpl.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 p
> lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
> val
> id version could be found
>         at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:228)
>         at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:90)
>         at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> inManager.java:161)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1257)
>         ... 14 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Wed Oct 01 19:30:32 IST 2008
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> ________________________________
> Do not follow where the path may lead. Go instead where there is no path and
> leave a trail ! ! !
> ________________________________
> ________________________________
> * Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
> something outside of yourself to make you happy in the future..  Think how
> really precious is the time you have to spend, whether it's at work or with
> your family..  Every minute should be enjoyed and savored
> by forgetting problems. * - My Thought
> ________________________________
>
>
> ________________________________
> Add more friends to your messenger and enjoy! Invite them now.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message