Re: [m2] Color logging?

2007-05-12 Thread Andrew Williams
Sorry it took so long, this should get you sorted. http://handyande.co.uk/Documentation/Maven/Colour_Logging/ Andy On 8 Apr 2007, at 10:47, mraible wrote: Andy, Do you have an update on this? Thanks, Matt Andrew Williams-5 wrote: I will try to put instructions on a website somewhere t

RE: Maven uninstall - resinstall

2007-05-12 Thread Martin Ravell
I've just installed java and maven on a different machine. It's on the same network as the machine which does not but maven on this new machine works fine. This makes me think that it has to be something on the original machine that is causing the error. I've tried removing the .m2 directory and

RE: Maven uninstall - resinstall

2007-05-12 Thread Martin Ravell
There is a firewall but it is allowing port 80. I can use a browser on the same machine without problems. http://mojo.codehaus.org/ shows fine. There is no proxy on this network. Any other ideas what could cause it? Regards Marty -Original Message- From: Wendy Smoak [mailto:[EMAIL P

Re: understanding SNAPSHOT versions

2007-05-12 Thread Wendy Smoak
On 5/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have one question here. If you are not using snapshot versions, will Maven check for updates of regular versions? You should always specify a version number, and released artifacts should never change, so there's usually no reason to

Re: understanding SNAPSHOT versions

2007-05-12 Thread DavidWilliams
Wendy, I have one question here. If you are not using snapshot versions, will Maven check for updates of regular versions? Thanks, David Williams Software Configuration Engineer 205-271-6159 "Wendy Smoak" <[EMAIL PROTECTED]> 05/12/2007 12:46 PM Please respond to "Maven Users List" To "M

Re: Unzip files from a JAR dependency - a plugin or ant script?

2007-05-12 Thread Wendy Smoak
On 5/12/07, noon <[EMAIL PROTECTED]> wrote: Is there a Maven2 plugin with I could unzip files from a JAR dependency file? The files that I need to extract are Hibernate mapping files that are packaged inside the JAR file in another Project. Can I achieve this with a Maven 2 plugin or should I u

Unzip files from a JAR dependency - a plugin or ant script?

2007-05-12 Thread noon
Is there a Maven2 plugin with I could unzip files from a JAR dependency file? The files that I need to extract are Hibernate mapping files that are packaged inside the JAR file in another Project. Can I achieve this with a Maven 2 plugin or should I use the extract with a ANT script by Maven2 Ant

Re: Maven uninstall - resinstall

2007-05-12 Thread Wendy Smoak
On 5/12/07, Martin Ravell <[EMAIL PROTECTED]> wrote: Can someone tell me if Maven is using some way, apart from the repositories, of keeping track of which files it thinks it has on the local machine? By default Maven knows about ~/.m2 . I don't think there's anything else. [INFO] Searching

Re: String substitution in resource filtering

2007-05-12 Thread Farrukh S. Najmi
Unfortunately my build process takes the output of a pre-existing ant build process in its own build so that is not an option. It would be nice to have in maven regexp replacement option in maven filtering similar to: Maven dev team

Re: understanding SNAPSHOT versions

2007-05-12 Thread Wendy Smoak
On 5/12/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: Thanks, it's much clearer now! One more thing that affects snapshots is the update policy. By default, it's daily. In your local repository, Maven keeps track of when it last checked each repository for a particular artifact. You can use -

Re: String substitution in resource filtering

2007-05-12 Thread Andrew Williams
Is there any reason you cannot replace the strings with, say ${hibernate.dtdname} and ${hibernate.dtdurl} and replace both of those using filters? That is, I think, the "correct" way... On 12 May 2007, at 07:12, Farrukh S. Najmi wrote: I need to do resource filtering that simply needs to repl

Re: Extra directory level being created by Assembly in Maven 2.0.6, as compared with 2.0.4

2007-05-12 Thread John Casey
I'm planning to fix this in the next release, just haven't done it yet. I'm not entirely sure whether it's been documented in JIRA, but I do think it's there... http://jira.codehaus.org/browse/MASSEMBLY -john On 5/11/07, Lacoste, Dana <[EMAIL PROTECTED]> wrote: I asked this a month ago (and w

RE: test failures

2007-05-12 Thread dohadwala_moiz
Sorry, that one got away: I tried setting that property: [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy fi

RE: test failures

2007-05-12 Thread dohadwala_moiz
Thanks for the response. I tried that, here's what I got: -Original Message- From: Andrew Williams [mailto:[EMAIL PROTECTED] Sent: Saturday, May 12, 2007 12:40 AM To: Maven Users List Subject: Re: test failures they are logged to a file, do mvn test -Dsurefire.useFile=false to log t

Re: understanding SNAPSHOT versions

2007-05-12 Thread Xavier Hanin
On 5/12/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 5/12/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: > I would like to have a clean understanding of how SNAPSHOT versions work, > could someone point me to corresponding documentation? > > More precisely, I would like to understand when a SNAPS

Re: String substitution in resource filtering

2007-05-12 Thread Manos Batsis
Maybe a better way exists, but would probably use Ant code (i.e. the replace task) through the Maven Antrun plugin in a phase like process-resources. hth, Manos Farrukh S. Najmi wrote: I need to do resource filtering that simply needs to replace an existing string with another. There are n

String substitution in resource filtering

2007-05-12 Thread Farrukh S. Najmi
I need to do resource filtering that simply needs to replace an existing string with another. There are no variable to substitute. Can someone kindly share an example of how to do this. Here is an example: Original File: http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd";> Filte

Fresh install problem

2007-05-12 Thread Martin Ravell
Can anyone help me resolve this problem? It is a freshly unzipped copy of 2.0.6 with an empty repository. Any idea why it cannot find the archetype plugin? Is there a way of completely removing and re-installing maven? C:\Project>mvn archetype:create -DarchetypeGroupId=org.appfuse -D

Re: understanding SNAPSHOT versions

2007-05-12 Thread Wendy Smoak
On 5/12/07, Xavier Hanin <[EMAIL PROTECTED]> wrote: I would like to have a clean understanding of how SNAPSHOT versions work, could someone point me to corresponding documentation? More precisely, I would like to understand when a SNAPSHOT version is published in a repository with a timestamp,

Maven uninstall - resinstall

2007-05-12 Thread Martin Ravell
In trying to get around some issues I have tried to remove Maven (2.0.6) completely from my PC along with the repositories. Can someone tell me if Maven is using some way, apart from the repositories, of keeping track of which files it thinks it has on the local machine? Even if I delete th

understanding SNAPSHOT versions

2007-05-12 Thread Xavier Hanin
Hi, I would like to have a clean understanding of how SNAPSHOT versions work, could someone point me to corresponding documentation? More precisely, I would like to understand when a SNAPSHOT version is published in a repository with a timestamp, when is it published as is, and how the dependenc

Re: test failures

2007-05-12 Thread Andrew Williams
they are logged to a file, do mvn test -Dsurefire.useFile=false to log them to stdout - no need for -e or -X Andy On 12 May 2007, at 00:30, [EMAIL PROTECTED] wrote: I am getting a test failure message from maven: [INFO] Trace org.apache.maven.BuildFailureException: There are test failures.

test failures

2007-05-12 Thread dohadwala_moiz
I am getting a test failure message from maven: [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:560) at org.apache.maven.lifecycle.DefaultLifecycleExecu