plugin (or even skip
them all for a project) based on the profile in use.
- Brett
On 11/3/05, Brill Pappin [EMAIL PROTECTED] wrote:
I used to do this with a special goal in the maven.xml but since it no
longer graces m2, I would love to hear a solution as well.
- Brill Pappin
On 11/2/05, Dave
So, here's my situation, I really hope someone can help figure out how
to do this.
I have currently got 2 projects, one's a library, the other is more like
an application, and depends on the library. The lib project tests only
use Mocks, because they're common objects not tied to a product or
Does this go for abstract base classes too? I.e.,
Will surefire find tests defined in a superclass whose name doesn't look
like that?
Dave
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 05, 2005 7:29 PM
To: users@maven.apache.org
Subject: Re:
-Original Message-
From: Tim Dysinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 28, 2005 12:39 PM
To: [EMAIL PROTECTED]; Brett Porter
Cc: Maven Users List
Subject: Re: Cross-project dependencies on unit test code
Ok. Let's say we did it that way. We are still faced with
Answers:
1) There needs to be an API package so that the Impl and Test packages can both
depend on it (otherwise your base tests would depend on the impl classes, but
your impl depends on the base tests, creating a circular dependancy).
2) How do you ensure that any factory returns any kind of
John, I appreciate your thoughful and reasonable responses to
questions/issues like this. I have to second Ashley on this one. Please
try not to take the following personally, but consider it one person's
bad experience w/ trying to use m2 to do what seems like a simple
thing...
I really like
-
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 20, 2005 2:05 PM
To: Maven Users List
Subject: Re: [m2] reasons for sticking with maven
Dave Neuer wrote:
However, I don't like having no ability to reuse test code from one
project in another project which depends
-tests.jar
|
| and you could then depend on it like such:
|
| dependency
| ~ groupIdsome.group/groupId
| ~ artifactIda/artifactId
| ~ versionsomeVersion/version
| ~ typetest-jar/type
| ~ scopetest/scope
| /dependency
|
| would that solve the problem?
|
| -john
|
| Carsten Ziegeler wrote:
| | Dave
This is kind of like saying: we don't have the spare cycles for unit
testing; we're spending all of our time fixing bugs.
Fact is, taking a few cycles off of frantic coding to do some decent
documentation would allow more developers to contribute, which *could*
give everyone more spare cycles.
Hi,
In order to be able to reuse test code (see
http://mail-archives.apache.org/mod_mbox/maven-users/200508.mbox/%3cD1BD
[EMAIL PROTECTED]),
I've written a plugin which will create a test artifact so that other
projects can depend on that.
However, I'm only able to invoke the plugin if it's in
Sorry to waste bandwidth, fixed this myself (needed a
RELEASE.version.txt file).
Thanks anyway.
Dave
-Original Message-
From: Dave Neuer
Sent: Monday, August 29, 2005 4:55 PM
To: users@maven.apache.org
Subject: [m2] Finding a plugin we wrote?
Hi,
In order to be able to reuse test
Hi,
I have a project A, and a project B that depends on A. A has test code which
includes both abstract, invariant-checking base classes and regular tests under
src/test. Project B would like to reuse the base classes from project A's
src/test.
Searching for a way to do this in maven2
12 matches
Mail list logo