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
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
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
-Original Message-
From: Bashar Abdul Jawad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 14, 2007 12:44 PM
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
, 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
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:
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
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
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
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,
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
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
() 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
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
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
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
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
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
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..
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
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
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
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
24 matches
Mail list logo