Hello, Maybe "stupid" question : have you committed and pushed your file .hgignore ?
2011/2/19 Gabriele Kahlout <gabri...@mysimpatico.com>: > I'm trying: > > $ mvn release:prepare > > But then it prints a list of class files under my target directory which > I've set hg to ignore, and then fails: > >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-release-plugin:2.1:prepare >> (default-cli) on project X: Cannot >> prepare the release because you have >> local modifications > > > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-release-plugin</artifactId> > <version>2.1</version> > </plugin> > > $ mvn --version > Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100) > Java version: 1.6.0_23, vendor: Sun Microsystems Inc. > Java home: C:\Program Files\Java\jdk1.6.0_23\jre > Default locale: it_IT, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" > > > http://stackoverflow.com/questions/5050934/how-to-mvn-releaseprepare-although-target-is-in-hgignore > > -- > Regards, > K. Gabriele > > --- unchanged since 20/9/10 --- > P.S. If the subject contains "[LON]" or the addressee acknowledges the > receipt within 48 hours then I don't resend the email. > subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) > < Now + 48h) ⇒ ¬resend(I, this). > > If an email is sent by a sender that is not a trusted contact or the email > does not contain a valid code then the email is not received. A valid code > starts with a hyphen and ends with "X". > ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈ > L(-[a-z]+[0-9]X)). > -- Olivier Lamy http://twitter.com/olamy http://www.linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org