Nice idea Vincent.
I'll implement it before the RC1.
It will avoid us to have to many errors due to the cache not correctly
deleted.
Thx.

Arnaud 



vmassol wrote:
> 
> Hi Arnaud,
> 
>> -----Original Message-----
>> From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
>> Sent: lundi 16 octobre 2006 09:34
>> To: [email protected]
>> Subject: Re: Maven 1.1 RC1 SNAPSHOT needs testers
>> 
>> 
>> I hate these errors ! ;-)
>> We'll add a note to ask to the users to manually remove the cache
>> before the
>> upgrade.
> 
> Another option is to clean the cache by default upon installation. One
> simple way of doing it would be to add a marker file named after the
> version. If there's no file with the current version then maven would
> clean
> the cache when it runs and create such a marker file.
> 
> -Vincent
> 
> 
> 
>> Dion Gillard-2 wrote:
>> >
>> > Looks like a bad cache/install. I reinstalled, removing the cache and
>> > maven directory in the repo and this error went away.
>> >
>> > On 10/16/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
>> >> Doesn't work for me. I get a stacktrace on starting:
>> >>
>> >>  __  __
>> >> |  \/  |__ _Apache__ ___
>> >> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>> >> |_|  |_\__,_|\_/\___|_||_|  v. 1.1-RC1-SNAPSHOT
>> >>
>> >> Directory C:\Documents and Settings\Dion Gillard\.maven\cache does
>> not
>> >> exist. At
>> >> tempting to create.
>> >> Plugin cache will be regenerated
>> >> org.apache.maven.project.Model: method
>> >> setModelEncoding(Ljava/lang/String;)V not
>> >>  found
>> >> Exception stack traces :
>> >> java.lang.NoSuchMethodError: org.apache.maven.project.Model: method
>> >> setModelEnco
>> >> ding(Ljava/lang/String;)V not found
>> >>         at
>> >>
>> org.apache.maven.project.io.dom4j.MavenDom4jReader.parseModel(MavenDo
>> >> m4jReader.java:1263)
>> >>         at
>> >>
>> org.apache.maven.project.io.dom4j.MavenDom4jReader.read(MavenDom4jRea
>> >> der.java:2617)
>> >>         at
>> >>
>> org.apache.maven.project.io.dom4j.MavenDom4jReader.read(MavenDom4jRea
>> >> der.java:2628)
>> >>         at org.apache.maven.project.Project.<init>(Project.java:151)
>> >>         at
>> >> org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:194)
>> >>         at
>> org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
>> >>         at
>> >>
>> org.apache.maven.plugin.JellyScriptHousing.getProject(JellyScriptHous
>> >> ing.java:109)
>> >>         at
>> >>
>> org.apache.maven.plugin.PluginManager.createPluginHousing(PluginManag
>> >> er.java:349)
>> >>         at
>> >>
>> org.apache.maven.plugin.PluginManager.loadUncachedPlugins(PluginManag
>> >> er.java:240)
>> >>         at
>> >>
>> org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:3
>> >> 11)
>> >>         at
>> >>
>> org.apache.maven.MavenSession.initializePluginManager(MavenSession.ja
>> >> va:205)
>> >>         at
>> >> org.apache.maven.MavenSession.initialize(MavenSession.java:172)
>> >>         at org.apache.maven.cli.App.doMain(App.java:543)
>> >>         at org.apache.maven.cli.App.main(App.java:1411)
>> >>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>> >>         at
>> >>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> >> java:79)
>> >>         at
>> >>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> >> sorImpl.java:41)
>> >>         at java.lang.reflect.Method.invoke(Method.java:386)
>> >>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>> >>         at com.werken.forehead.Forehead.main(Forehead.java:581)
>> >>
>> >> On 10/10/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
>> >> > Hi everybody,
>> >> >
>> >> >   We just deployed a new SNAPSHOT of maven 1.1 RC1 [1].   This
>> version
>> >> > incorporates 2 important changes and we would like to have your
>> >> feedback :
>> >> >
>> >> >    -   MAVEN-1755 : We fixed the last main backward incompability
>> with
>> >> >    maven 1.0.x, this new version supports XML entities in the POM.
>> >> >    -   MAVEN-1789 : The default repository is now
>> >> http://repo1.maven.org/maven/
>> >> >
>> >> >
>> >> >   ( These two issues aren't yet closed because we have to update
>> the
>> >> > documentation and we are waiting for your feedback ;-) )
>> >> >
>> >> >   Be careful, that to use this snapshot version, you'll certainly
>> have
>> >> to
>> >> > define the following set of remote repositories to download
>> >> dependencies.
>> >> > maven.repo.remote =
>> >> >
>> >> http://repo1.maven.org/maven,http://people.apache.org/repo/m1-
>> snapshot-repository/
>> >> >
>> >> >   These version includes severals plugins [4] updated since the
>> beta 3,
>> >> and
>> >> > particularly the fix for MPARTIFACT-71 to avoid the error about
>> the
>> >> rejected
>> >> > key of the host if you use the scp or the sftp protocols to deploy
>> your
>> >> > artifacts.
>> >> >
>> >> >   The more feedbacks we'll have, the more stable will be the RC1
>> !!
>> >> >
>> >> >   Thanks for your help...
>> >> >
>> >> >   Cheers,
>> >> >
>> >> > The maven team.
>> >> >
>> >> > [1]
>> >> >
>> >> http://people.apache.org/repo/m1-snapshot-
>> repository/maven/distributions/20061009/
>> >> > [2] http://jira.codehaus.org/browse/MAVEN-1755
>> >> > [3] http://jira.codehaus.org/browse/MAVEN-1789
>> >> > [4] http://jira.codehaus.org/browse/MAVEN-1769
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> http://www.multitask.com.au/people/dion/
>> >> Rule of Acquisition #91: Hear all, trust nothing.
>> >>
>> >
>> >
>> > --
>> > http://www.multitask.com.au/people/dion/
>> > Rule of Acquisition #91: Hear all, trust nothing.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>> 
>> --
>> View this message in context: http://www.nabble.com/Maven-1.1-RC1-
>> SNAPSHOT-needs-testers-tf2413198.html#a6829699
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
>       
> 
>       
>               
> ___________________________________________________________________________ 
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
> ! 
> Demandez à ceux qui savent sur Yahoo! Questions/Réponses
> http://fr.answers.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-1.1-RC1-SNAPSHOT-needs-testers-tf2413198.html#a6829989
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to