RE: I just don't understand

2007-02-20 Thread Bashar Abdul Jawad
You can use maven in offline mode if you don't want it to connect to the internet to fetch or update a dependency, just use -o parameter, otherwise maven will try and connect to the internet to update snapshots as often as specified in your snapshots update policy. Bashar -Original Messag

RE: [m2] Integration-test target runs integration tests twice...

2007-02-15 Thread Bashar Abdul Jawad
for surefire, not maven. -Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Thursday, February 15, 2007 11:39 AM To: 'Maven Users List' Subject: RE: [m2] Integration-test target runs integration tests twice... They are not the same, try making this chan

RE: [m2] Integration-test target runs integration tests twice...

2007-02-15 Thread Bashar Abdul Jawad
et runs integration tests twice... To me these look the same, can you point out where I went wrong? -Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 2:47 PM To: 'Maven Users List' Subject: RE: [m2] Integratio

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread Bashar Abdul Jawad
-Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 12:44 PM

RE: [m2] Integration-test target runs integration tests twice...

2007-02-14 Thread Bashar Abdul Jawad
Hi, This is not a bug, your pom is not configured correctly. Try this in your POM file: org.apache.maven.plugins maven-surefire-plugin none true

RE: dependencies are bloated in M2

2007-02-07 Thread Bashar Abdul Jawad
, February 06, 2007 11:18 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > > Yes, but sometimes you will need to use a dependency for compile time > only, > and NOT for runtime. You don't need the cont

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
ed means the environment (read appserver) "provides" that dependency, which is only true for few dependencies in the whole world, like servlet-api On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > > This is the question I was answering: > > >Tandon, Pankaj wrote:

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
06, 2007 5:02 PM To: Maven Users List Subject: Re: dependencies are bloated in M2 exactly, that's why he needs to use exclusions, you exclude things that you don't need. On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > It is the right solution. Using exclusions will e

RE: Can I get a timestamp?

2007-02-06 Thread Bashar Abdul Jawad
ssing? Thanks, Jim -Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 6:15 PM To: 'Maven Users List' Subject: RE: Can I get a timestamp? You can use maven scm plugin: org.apache.maven.plugins m

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
t solution, you have to use exclusions On 2/6/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > It will. If you don't want to include a particular dependency in your > generated package just give it the provided scope, it will be excluded even > if it was a transitive dependency

RE: dependencies are bloated in M2

2007-02-06 Thread Bashar Abdul Jawad
It will. If you don't want to include a particular dependency in your generated package just give it the provided scope, it will be excluded even if it was a transitive dependency of something else. Bashar -Original Message- From: Christian Goetze [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: Can I get a timestamp?

2007-02-06 Thread Bashar Abdul Jawad
You can use maven scm plugin: org.apache.maven.plugins maven-scm-plugin true build MMddHHmm -Original Message- From: Crossley, Jim [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 3:57 PM To: Maven Users Li

RE: Execution order in pre-integration-test phase for Cargo/Antrun

2007-02-01 Thread Bashar Abdul Jawad
er post-integration-test stop ... Thanks, Jim -----Original Message- From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 6:10 PM To: 'Maven Users

RE: Maven 2 surefire doesn't handle junit TestSetup very well

2007-02-01 Thread Bashar Abdul Jawad
() method looks stange to me, surely it should return something to the test runner, who or what is supposed to call it? David Bashar Abdul Jawad wrote: > > Hello, > > > > I am using junit TestSetup to set up a common selenium connection among my > different tests. The T

RE: Skipping Tests but Still Compiling

2007-01-30 Thread Bashar Abdul Jawad
esday, January 30, 2007 4:13 PM To: Maven Users List Subject: Re: Skipping Tests but Still Compiling On 1/30/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > That is not true. Maven will still compile the test classes, but only if > they have changed since the last compilation. To force

RE: Execution order in pre-integration-test phase for Cargo/Antrun

2007-01-30 Thread Bashar Abdul Jawad
Hi, Did you try multiple executions with a different Id for each execution? Place one goal in each execution and bind it to the appropriate phase. Bashar -Original Message- From: Crossley, Jim [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 3:59 PM To: users@maven.apache.org S

RE: Skipping Tests but Still Compiling

2007-01-30 Thread Bashar Abdul Jawad
That is not true. Maven will still compile the test classes, but only if they have changed since the last compilation. To force maven to compile even if there were no changes run a clean first. Bashar -Original Message- From: Kevan Dunsmore [mailto:[EMAIL PROTECTED] Sent: Tuesday, Januar

RE: prepare-package phase doesn't exist?

2007-01-30 Thread Bashar Abdul Jawad
Subject: Re: prepare-package phase doesn't exist? Apologies, I should have marked that in the documentation. Actually, it's 2.1+. On 31/01/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > 2.0.4 > > The version on Maven's homepage (http://maven.apache.org/) is

RE: prepare-package phase doesn't exist?

2007-01-30 Thread Bashar Abdul Jawad
n 30/01/07, Bashar Abdul Jawad <[EMAIL PROTECTED]> wrote: > Maven documentation mentions a prepare-package phase on > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht > ml ... > Also any plug-in execution bind to that phase never gets executed. Any > ideas

prepare-package phase doesn't exist?

2007-01-30 Thread Bashar Abdul Jawad
Hi, Maven documentation mentions a prepare-package phase on http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht ml However this phase doesn't seem to exist when running mvn prepare-package. I get the error: >mvn prepare-package [INFO] Scanning for projects..

How can I skip tests for a particular execution from the command line

2007-01-30 Thread Bashar Abdul Jawad
Hi, I have 2 surefire "executions" in my POM file, one for the test phase and one for the integration test phase. What I would like to do is to be able to skip running the tests for either of the two "executions" from the command line by passing a system property. The problem is passing -Dmaven

RE: Surefire, Cargo and Integration Tests

2007-01-25 Thread Bashar Abdul Jawad
Hi, Take a look at this: http://docs.codehaus.org/pages/viewpage.action?pageId=62120 Bashar -Original Message- From: takai [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 9:47 AM To: users@maven.apache.org Subject: Surefire, Cargo and Integration Tests Hi, i have problems

Maven 2 surefire doesn't handle junit TestSetup very well

2007-01-23 Thread Bashar Abdul Jawad
Hello, I am using junit TestSetup to set up a common selenium connection among my different tests. The TestSetup runs a global setup and Teardown once before any of the tests are run. I wrapped a TestSuite in a subclass of TestSetup and it works perfectly fine when the TestSuite is run from ecl

RE: Where does maven decide to execute jelly scripts from?

2006-12-15 Thread Bashar Abdul Jawad
Hi, I can't advice you on the jelly plug-in as I've never used it before. When you run maven with -Dmaven.test.skip=true it will skip running tests for the project. This is a property of the maven surefire plugin which is responsible for running junit tests (http://maven.apache.org/plugins/maven-s