You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sean Langford <me...@seanlangford.com> on 2003/01/20 17:39:37 UTC
newbie needs help - plugin jelly can't find junit
Hello,
Maven looks really cool. I'm trying to get it working against our
project here at work. I'm having two problems:
1) target "test:compile" does not seem to be including junit.jar. I get
tons of compilation errors to this effect.
2) when I delete all my unit tests from my source tree to move onwards,
then during the "test:test" target I get: "taskdef class
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be found"
So it seems test:compile is not finding junit.jar, and test:test is not
finding optional.jar. This is strange - I installed ant-1.5 and junit
following the instructions for each carefully. I have a build.xml which
uses 'JUnitTask' and it works normally. I've also tries adding:
<properties>
<classloader>root</classloader>
</properties>
to the junit dependancy in my project.xml to no avail. Anyone have any
insight as to what might be causing this?
Thanks!
Sean
Re: Reactor help
Posted by Siegfried Göschl <si...@it20one.at>.
An unqualified guess - the reactor is currently rewritten.
With Maven B7 I found reactor promising but at the end I was using
batch files or ANT scripts
Siegfried Goeschl
On 21 Jan 2003 at 15:49, Panna Bodupali wrote:
> Hi All,
>
> I am new to Reactor Plugin in Maven. Can someone please guide me in
> understanding this plugin.
>
> I tried to download the plugin from CVS, but all of the files are
> hidden. The comment for all the file is "The reactor tag has been
> moved to the core of maven. " What does this mean.
>
> Where can I find the documentation for Reactor plugin.
>
> Kindly Advice..
>
> Thanks in advance.
> Panna
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org> For
> additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
Reactor help
Posted by "Markus M. May" <mm...@javafreedom.org>.
Hello Panna,
probably the best place to get started with Maven is the User Guide,
http://jakarta.apache.org/turbine/maven/reference/user-guide.html
There is some description about the reactor (the files can be viewed in CVS).
> I tried to download the plugin from CVS, but all of the files are hidden.
> The comment for all the file is "The reactor tag has been moved to the core
> of maven. " What does this mean.
Basically this means, that the plugin is not there anymore, and that the functionality
can now be found in the core of the maven app. In CVS you will find the maven-core
in src/java/.../maven/...
There you will find most of the core functionality of Maven like it is currently.
Hope this helps a little.
Regards,
Markus M. May
> -----Ursprüngliche Nachricht-----
> Von: "Panna Bodupali" <pa...@bsil.com>
> Gesendet: Wednesday, 22. January 2003 00:49
> An: "'Turbine Maven Users List'" <tu...@jakarta.apache.org>
> Betreff: Reactor help
>
> Hi All,
>
> I am new to Reactor Plugin in Maven. Can someone please guide me in
> understanding this plugin.
>
> I tried to download the plugin from CVS, but all of the files are hidden.
> The comment for all the file is "The reactor tag has been moved to the core
> of maven. " What does this mean.
>
> Where can I find the documentation for Reactor plugin.
>
> Kindly Advice..
>
> Thanks in advance.
> Panna
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
--
--------------------------------------
Javafreedom - providing Java projects for free
--------------------------------------
Reactor help
Posted by Panna Bodupali <pa...@bsil.com>.
Hi All,
I am new to Reactor Plugin in Maven. Can someone please guide me in
understanding this plugin.
I tried to download the plugin from CVS, but all of the files are hidden.
The comment for all the file is "The reactor tag has been moved to the core
of maven. " What does this mean.
Where can I find the documentation for Reactor plugin.
Kindly Advice..
Thanks in advance.
Panna
Re: newbie needs help - plugin jelly can't find junit
Posted by Siegfried Göschl <si...@it20one.at>.
Hi Sean,
I'm a bit puzzled - can you check which JUNIT the maven-test-plugin
is using. It is defined in project.xml and should be 3.8.1. And also
check the repo if there is your JUNIT-3.8.1.jar and has the right
size (sometimes a JAR is corrupted during download)
Basically test:compile also compiles the
<unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
and if the JUNIT library is not found you will get tons of
compilation errors.
If it is still broken then try running MAVEN with "-X" for the debug
mode and have a look there, i.e. "maven -X test"
Siegfried Goeschl
On 20 Jan 2003 at 18:04, Sean Langford wrote:
> Hi Sigfried,
>
> I'm sorry I didn't make it very clear in my original post, but I
> *already* have a junit dependency defined in my project.xml. And
> Maven must be using it, as the "java:compile" target which precedes
> the test:compile target compiles all my unit tests without error. So
> it would seem somehow "test:compile" is not finding it. I too am
> using maven b7.
>
> Thanks
>
> Sean
>
> Siegfried Göschl wrote:
>
> >Hi Sean,
> >
> >for my MAVEN b7 I added the following entry to project.xml
> >
> > <dependency>
> > <id>junit</id>
> > <version>3.8.1</version>
> > <url/>
> > </dependency>
> >
> >
> >Siegfried Goeschl
> >
> >
> >On 20 Jan 2003 at 16:39, Sean Langford wrote:
> >
> >
> >
> >>Hello,
> >>
> >>Maven looks really cool. I'm trying to get it working against our
> >>project here at work. I'm having two problems:
> >>
> >>1) target "test:compile" does not seem to be including junit.jar. I
> >>get tons of compilation errors to this effect.
> >>
> >>2) when I delete all my unit tests from my source tree to move
> >>onwards, then during the "test:test" target I get: "taskdef class
> >>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be
> >>found"
> >>
> >>So it seems test:compile is not finding junit.jar, and test:test is
> >>not finding optional.jar. This is strange - I installed ant-1.5 and
> >>junit following the instructions for each carefully. I have a
> >>build.xml which uses 'JUnitTask' and it works normally. I've also
> >>tries adding:
> >>
> >><properties>
> >> <classloader>root</classloader>
> >></properties>
> >>
> >>to the junit dependancy in my project.xml to no avail. Anyone have
> >>any insight as to what might be causing this?
> >>
> >>Thanks!
> >>
> >>Sean
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >><ma...@jakarta.apache.org> For
> >>additional commands, e-mail:
> >><ma...@jakarta.apache.org>
> >>
> >>
> >>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
> ><ma...@jakarta.apache.org> For
> >additional commands, e-mail:
> ><ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org> For
> additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
Re: newbie needs help - plugin jelly can't find junit
Posted by Sean Langford <me...@seanlangford.com>.
Hi Sigfried,
I'm sorry I didn't make it very clear in my original post, but I
*already* have a junit dependency defined in my project.xml. And Maven
must be using it, as the "java:compile" target which precedes the
test:compile target compiles all my unit tests without error. So it
would seem somehow "test:compile" is not finding it. I too am using
maven b7.
Thanks
Sean
Siegfried Göschl wrote:
>Hi Sean,
>
>for my MAVEN b7 I added the following entry to project.xml
>
> <dependency>
> <id>junit</id>
> <version>3.8.1</version>
> <url/>
> </dependency>
>
>
>Siegfried Goeschl
>
>
>On 20 Jan 2003 at 16:39, Sean Langford wrote:
>
>
>
>>Hello,
>>
>>Maven looks really cool. I'm trying to get it working against our
>>project here at work. I'm having two problems:
>>
>>1) target "test:compile" does not seem to be including junit.jar. I
>>get tons of compilation errors to this effect.
>>
>>2) when I delete all my unit tests from my source tree to move
>>onwards, then during the "test:test" target I get: "taskdef class
>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be
>>found"
>>
>>So it seems test:compile is not finding junit.jar, and test:test is
>>not finding optional.jar. This is strange - I installed ant-1.5 and
>>junit following the instructions for each carefully. I have a
>>build.xml which uses 'JUnitTask' and it works normally. I've also
>>tries adding:
>>
>><properties>
>> <classloader>root</classloader>
>></properties>
>>
>>to the junit dependancy in my project.xml to no avail. Anyone have
>>any insight as to what might be causing this?
>>
>>Thanks!
>>
>>Sean
>>
>>
>>--
>>To unsubscribe, e-mail:
>><ma...@jakarta.apache.org> For
>>additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>>
>>
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
Re: newbie needs help - plugin jelly can't find junit
Posted by Siegfried Göschl <si...@it20one.at>.
Hi Sean,
for my MAVEN b7 I added the following entry to project.xml
<dependency>
<id>junit</id>
<version>3.8.1</version>
<url/>
</dependency>
Siegfried Goeschl
On 20 Jan 2003 at 16:39, Sean Langford wrote:
> Hello,
>
> Maven looks really cool. I'm trying to get it working against our
> project here at work. I'm having two problems:
>
> 1) target "test:compile" does not seem to be including junit.jar. I
> get tons of compilation errors to this effect.
>
> 2) when I delete all my unit tests from my source tree to move
> onwards, then during the "test:test" target I get: "taskdef class
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be
> found"
>
> So it seems test:compile is not finding junit.jar, and test:test is
> not finding optional.jar. This is strange - I installed ant-1.5 and
> junit following the instructions for each carefully. I have a
> build.xml which uses 'JUnitTask' and it works normally. I've also
> tries adding:
>
> <properties>
> <classloader>root</classloader>
> </properties>
>
> to the junit dependancy in my project.xml to no avail. Anyone have
> any insight as to what might be causing this?
>
> Thanks!
>
> Sean
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org> For
> additional commands, e-mail:
> <ma...@jakarta.apache.org>
>