Thanks Kenney, I reopen it.
My understanding is that we have several artifacts to test plugin/component.
- maven-plugin-testing-harness: Mojo unit testing in test phase
(deployed on snapshot-repository)
- maven-it-plugin: Integration test plugin for integration-test phase
(not deployed yet)
- mav
Vincent Siveton wrote:
Hi Kenney and others,
Background:
I added more tests for the antlr plugin. One of them is to call "mvn
site" to generate reports. Because I was unable to play with
maven-embedder and to specify the correct classloader for the archive
and it's dependencies (doxia classes
Hi Kenney and others,
Background:
I added more tests for the antlr plugin. One of them is to call "mvn
site" to generate reports. Because I was unable to play with
maven-embedder and to specify the correct classloader for the archive
and it's dependencies (doxia classes problems!), I decided to c
Kenney and all,
On 10/2/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
Hi, Stephane,
I'm trying to reproduce this but I'm having trouble. First, the
dependency on maven-plugin-testing-harness is missing. Secondly,
even though the localRepoDir is correct, the ejb-sample-one and -two
can't be fo
Kenney,
On 10/2/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
All that's missing is pre/post conditions, but usually post conditions are done
in normal
unit tests in the nested project. You just have to configure it to run after
your mojo, in those
nested projects.
Mmm OK.
This will pro
Hi Stéphane,
Anyway, the problem is with the setClassLoader(). That one already
contains
the EjbModule (and EarMojo) classes since they're in src/main/java. So
they're also available to plexus.
The embedder tries to configure another EarMojo in a new plugin
classloader, and
instantiates the
Kenney,
On 10/2/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
Hi, Stephane,
I'm trying to reproduce this
Thanks ;-)
but I'm having trouble. First, the
dependency on maven-plugin-testing-harness is missing. Secondly,
even though the localRepoDir is correct, the ejb-sample-one and -two
can'
Hi, Stephane,
I'm trying to reproduce this but I'm having trouble. First, the
dependency on maven-plugin-testing-harness is missing. Secondly,
even though the localRepoDir is correct, the ejb-sample-one and -two
can't be found.
Anyway, the problem is with the setClassLoader(). That one already c
On 10/1/06, Stephane Nicoll <[EMAIL PROTECTED]> wrote:
On 10/1/06, David Jencks <[EMAIL PROTECTED]> wrote:
>
>
> The classes are in different classloaders. Hopefully the
> classloaders' toString() will give you enough info about which ones
> they are if you add that to the debugging.
You're rig
On 10/1/06, David Jencks <[EMAIL PROTECTED]> wrote:
The classes are in different classloaders. Hopefully the
classloaders' toString() will give you enough info about which ones
they are if you add that to the debugging.
You're right. The interface and the actual implementation are in
differe
On Oct 1, 2006, at 2:04 AM, Stephane Nicoll wrote:
Hi,
I think I've discovered a weird bug[1] in plexus and/or the maven
embedder and I am unable to find what's wrong.
I am using the embedder to create a test suite for the Ear Plugin ; it
has a 'modules' complex configuration section which is
Hi,
I think I've discovered a weird bug[1] in plexus and/or the maven
embedder and I am unable to find what's wrong.
I am using the embedder to create a test suite for the Ear Plugin ; it
has a 'modules' complex configuration section which is an array of
EarModules[2]. When running the plugin wi
12 matches
Mail list logo