jcoverage was added post beta 10. It looks like u have a bad clover jar. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
"Askren, Jay" <[EMAIL PROTECTED]> wrote on 27/09/2003 05:25:28 AM: > It looks like for some reason the attachment didn't go through. So, > the project.xml is below. If any one has any idea why clover and > JCoverage aren't working, I would like to know. Thanks in advance > for your help. > > Jay > > > <?xml version="1.0"?> > <project> > <pomVersion>1</pomVersion> > <id>era</id> > <name>ERA</name> > <groupId>era</groupId> > <currentVersion>1.0</currentVersion> > <organization> > <name>Indiana University</name> > <url>http://www.iu.edu/</url> > </organization> > <inceptionYear>2002</inceptionYear> > <package>edu.iu.uis.fps.er</package> > . > . > . > . > <dependencies> > <dependency> > <id>era</id> > <version>1.0</version> > <jar>ERABudget.jar</jar> > </dependency> > > <dependency> > <groupId>eden</groupId> > <artifactId>eden-commons</artifactId> > <version>1.1</version> > <jar>EdenCommon.jar</jar> > </dependency> > <dependency> > <groupId>eden</groupId> > <artifactId>eden-shared</artifactId> > <version>1.1</version> > <jar>EdenShared.jar</jar> > </dependency> > <dependency> > <groupId>eden</groupId> > <artifactId>eden-suds-service</artifactId> > <version>1.1</version> > <jar>SudsServiceEjb.jar</jar> > </dependency> > > <dependency> > <id>uisutility</id> > <version>1.1</version> > <jar>UISUtilities.jar</jar> > </dependency> > > <dependency> > <id>DBUnit</id> > <version>1.3</version> > <jar>dbunit.jar</jar> > </dependency> > > <dependency> > <id>javamail</id> > <version>1.0.3</version> > <jar>mail.jar</jar> > </dependency> > > <dependency> > <id>jrf</id> > <version>1.7</version> > <jar>jrf.jar</jar> > </dependency> > > > <dependency> > <id>Log4j</id> > <version>1.2.1</version> > </dependency> > > <dependency> > <id>oracle</id> > <version>8.1.7.1</version> > <jar>classes12.jar</jar> > </dependency> > > <dependency> > <id>poolman</id> > <version>2.04</version> > <jar>poolman.jar</jar> > <!--<jar>jta.jar</jar>--> > </dependency> > > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>xerces</id> > <version>1.4.4</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>servletapi</id> > <version>2.3</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>struts</id> > <version>1.0.2</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>commons-lang</id> > <version>1.0-b1.1</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>commons-net</id> > <version>1.0.0</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>cos</id> > <version>20021105</version> > <jar>cos.jar</jar> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>fop</id> > <version>0.20.4</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>avalon-framework</id> > <version>20020627</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>batik</id> > <version>1.1.1</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>jdom</id> > <version>b8</version> > </dependency> > > <!--This is downloaded from www.ibiblio.org/maven--> > <dependency> > <id>junit</id> > <version>3.8.1</version> > </dependency> > > </dependencies> > <build> > <sourceDirectory>src</sourceDirectory> > <unitTestSourceDirectory>test</unitTestSourceDirectory> > <unitTest> > <includes> > <include>**/*Test.java</include> > </includes> > </unitTest> > </build> > <reports> > <!--<report>maven-multiproject-plugin</report>--> > <report>maven-statcvs-plugin</report> > <report>maven-jdepend-plugin</report> > <report>maven-simian-plugin</report> > <report>maven-pmd-plugin</report> > <report>maven-checkstyle-plugin</report> > > <report>maven-changelog-plugin</report> > <report>maven-changes-plugin</report> > <report>maven-file-activity-plugin</report> > <report>maven-developer-activity-plugin</report> > > <report>maven-junit-report-plugin</report> > <report>maven-clover-plugin</report> > <report>maven-jcoverage-plugin</report> > > <report>maven-tasklist-plugin</report> > <report>maven-javadoc-plugin</report> > <report>maven-jxr-plugin</report> > > <!--<report>maven-javancss-plugin</report>--> > <!--<report>maven-wiki-plugin</report>--> > <!--<report>maven-linkcheck-plugin</report>--> > <!--<report>maven-faq-plugin</report>--> > </reports> > </project> > > > > > -----Original Message----- > From: Askren, Jay > Sent: Fri 9/26/2003 12:39 PM > To: Maven Users List > Cc: > Subject: RE: JUnit Tests > > > > Andy was right about the <unitTest> tags not being there. Thanks > for your help. Now the unit tests run, but I can't get JCoverage or > Clover to run? I ran it twice, once with the Clover report and once > with the JCoverage report. The results are below and I attached the > project.xml file with some of our project information taken out. > Also, the plugin section of the Maven website appears to not > differentiate between plugins that are used for reports and other > plugins. Is there a list anywhere of all the plugins which are for reports? > > Jay > > > C:\Eclipse\workspace\ERAWeb>maven site:generate > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 > > BUILD FAILED > File...... file:/C:/Documents and Settings/Owner/. > maven/plugins/maven-xdoc-plugi > n-1.4-SNAPSHOT/ > Element... attainGoal > Line...... 558 > Column.... 48 > No goal [maven-jcoverage-plugin:register] > Total time: 4 seconds > > > C:\Eclipse\workspace\ERAWeb>maven site:generate > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 > site: > xdoc:register-reports: > maven-jdepend-plugin:register: > maven-pmd-plugin:register: > maven-clover-plugin:register: > maven-statcvs-plugin:register: > maven-changelog-plugin:register: > maven-changes-plugin:register: > maven-file-activity-plugin:register: > maven-developer-activity-plugin:register: > maven-javadoc-plugin:register: > maven-jxr-plugin:register: > maven-junit-report-plugin:register: > maven-tasklist-plugin:register: > maven-checkstyle-plugin:register: > maven-simian-plugin:register: > > site:run-reports: > [echo] Generating the Metrics... > maven-jdepend-plugin:report: > Overriding previous definition of reference to clover.classpath > java:prepare-filesystem: > java:compile: > [echo] Compiling to C:\Eclipse\workspace\ERAWeb/target/classes > > [echo] Generating the PMD Report... > pmd:report: > [echo] Running the PMD task with C:\Documents and > Settings\Owner\.maven\plug > ins\maven-pmd-plugin-1.1-SNAPSHOT\plugin- > resources/rulesets/basic.xml,C:\Documen > ts and Settings\Owner\.maven\plugins\maven-pmd-plugin-1.1- > SNAPSHOT\plugin-resour > ces/rulesets/unusedcode.xml,C:\Documents and Settings\Owner\. > maven\plugins\maven > -pmd-plugin-1.1-SNAPSHOT\plugin-resources/rulesets/imports.xml ... > [echo] Converting the PMD report to xdoc ... > [echo] Generating the Clover... > BUILD FAILED > File...... file:/C:/Documents and Settings/Owner/. > maven/plugins/maven-clover-plu > gin-1.2-SNAPSHOT/ > Element... ant:taskdef > Line...... 60 > Column.... 39 > (class: com/cortexeb/tools/clover/tasks/HistoryPoint, method: > execute signature: > ()V) Incompatible argument to function > Total time: 47 seconds > > > -----Original Message----- > From: Andy Jefferson [mailto:[EMAIL PROTECTED] > Sent: Thu 9/25/2003 2:07 PM > To: Maven Users List > Cc: > Subject: Re: JUnit Tests > > > On Thursday 25 Sep 2003 19:34, Askren, Jay wrote: > > I am running Maven beta 10 and I cant seem to get the J-Unit tests plugin > > to work to work. Im running Maven on Windows XP with Java 1.41_02-b06. > > Here is the output from Maven before it dies: > > > BUILD FAILED > > File...... file:/C:/Documents and > > Settings/Owner/.maven/plugins/maven-test-plugi n-1.3/ > > Element... resources:copy > > Line...... 299 > > Column.... 11 > > java.lang.NullPointerException > > Total time: 3 minutes 7 seconds > > > > > > Does anyone have any idea what I need to do to get this to work? > > > > Have you specified the part of the project.xml something like thefollowing > ... > > <build> > <unitTestSourceDirectory>'your test dir'</unitTestSourceDirectory> > <unitTest> > </unitTest> > </build> > > i.e have you included the <unitTest></unitTest> part ... I seem > to remember it > is sensitive to that being missing. If in doubt, post your > project.xml to the > list so people can help > > > -- > Andy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]