Hi Brett

I give you a resume of what happen, may be it can help you to improve that.
Hope it will help you what's happen to stupid newbies.
At http://maven.apache.org/ nothing guide users to know where we can find anything else than download 1.0
We cannot find any doc on how checkout CVS etc. where are maven CVS, which plugins are required etc. (and which release)
and where are them CVS. too.


So, I want to run some jelly examples, which are located in recent jakarta snapshot.
I have some problems (they tell me that maven does not manage well native) and I am trying to see if recent maven solve some problems.(in fact it seems that win32 arch is hardcoded in them project.xml so cannot work elsewhere).


But as I started to use maven I try download and run a recent Maven.

At getting start doc, nothing about maven plugins : what they are for how you can use on pluggin with maven etc.
only doc is at reference :
Maven is in essence a small core that works with a satellite of plug-ins. All functionality provided by Maven is done so in the form of plug-ins.
I think that it is a very minimum doc, but which give no help.
at reference we can find some list of plugins. That's in.
It mean's that "All functionality provided by Maven is done so in the form of plug-ins. " are not usable at first glance.


Last but not least. After looking everywhere in the corners I found maven snapshot at : http://cvs.apache.org/snapshots/maven/
But thissnapshot has some problems :
Actual snapshot problems seems to be that it does no manage well, httpclient.jar and test-SNAPSHOT.war
it forget to download both of them
When you download by and maven toutchstone test fail because maven does not see test-SNAPSHOT.war even ifit is there.
plus it cry about :
Attempting to download maven-jelly-tags-1.1-SNAPSHOT.jar.
Attempting to download maven-model-1.1-SNAPSHOT.jar.


even if they have already been downloaded.

about this error I don't have figure out what is going on by now.

Plugin 'maven-deploy-plugin' in project 'Maven' is not available

Can you help me ?

Best regards

Andre Legendre

Brett Porter wrote:

I have no idea how you are getting this far. Can you let us know exactly what steps you are following?

There are no maven-plugins snapshots, so just using that snapshot you can't build Maven except to build a distribution from existing plugins. This hasn't been tested on HEAD and is unlikely to work - snapshots are needed.

what you need is a maven snapshot and a maven-plugins snapshot both extracted along side each other, then run
ant -f build-bootstrap.xml
as per the boostrap instuctions on the website.


I'll ask infrastructure to start providing snapshots of other maven projects, as the plugins aren't there. I'll let you know when it is done.

- Brett

A Leg wrote:

Hi

Stop,
Finally I get :

{orion:rcs} maven demo
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-SNAPSHOT

org.apache.maven.MavenException: Maven was badly installed. Please reinstall it.
at org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:236)
at org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:207)


at org.apache.maven.MavenSession.initialize(MavenSession.java:174)
at org.apache.maven.cli.App.doMain(App.java:473)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]


- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above



Total time: 1 seconds Finished at: Fri Oct 15 17:44:15 EEST 2004

Andre
A Leg wrote:

Hi Brett

Next step

Finally I create by myself
~/.maven/repository/httpclient/jars/
and I have downloaded httpclient-2.0.jar in it

Now it compile good but fail on some tests. Errors are :

Attempting to download maven-jelly-tags-1.1-SNAPSHOT.jar.
Attempting to download maven-model-1.1-SNAPSHOT.jar.
Plugin 'maven-deploy-plugin' in project 'Maven' is not available

and


BUILD FAILED
File...... /home/rcs/Master/extern/java/jakarta/maven/maven.xml
Element... maven:maven
Line...... 67
Column.... 7
Unable to obtain goal [touchstone-tests] -- /home/rcs/Master/extern/java/jakarta/maven/src/test/touchstone-build/maven.xml:810:17: <ant:fail> path = , expected /home/rcs/.maven/repository/touchstone/wars/test-SNAPSHOT.war
Total time: 2 minutes 27 seconds
Finished at: Fri Oct 15 17:14:22 EEST 2004


Best regards

Andre Legendre


Your advice should be good : I don't have ~/.maven/repository/httpclient/jars/httpclient-2.0.jar nor ~/.maven/repository/httpclient/

I have a
~/.maven/repository/

with many subdirectories.

Where can I download httpclient-2.0.jar ?

For any reason maven does not try to do it.

Thank's for your help

Andre
Brett Porter wrote:

Additionally, your downloaded copy of httpclient may be corrupt - check the size of ~/.maven/repository/httpclient/jars/httpclient-2.0.jar

Brett Porter wrote:

I've never tried those snapshots, but regardless you need to bootstrap.

ant -f build-bootstrap.xml

Refer to the build instructions on the web site.

Regards,
Brett

A Leg wrote:








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





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




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







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




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



Reply via email to