AFAIK there isn't jcoverage maven2 plugin. Try cobertura with this in your reporting section : <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin>
-- Olivier -----Message d'origine----- De : shinjan sen [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 juin 2006 15:01 À : Maven Users List Objet : Re: Errors in adding jcoverage plugin Hi Thanks a lot for your mail. I tried the same by giving blank values but it didn't work out. I have pasted the POM.xml here for your reference : <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.sapient.app</groupId> <artifactId>my-app</artifactId> <version>1.0-SNAPSHOT</version> <name>Maven</name> <url>http://maven.apache.org/maven2</url> <inceptionYear>2001</inceptionYear> <scm> <connection/> <developerConnection/> <tag/> <url/> </scm> <distributionManagement> <site> <id>website</id> <url>scp://webhost.company.com/www/website</url> </site> </distributionManagement> <build> <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> <configuration> <locales>en,fr</locales> </configuration> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-project-info-reports-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clover-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> </plugin> <plugin> <groupId>jcoverage</groupId> <artifactId>jcoverage</artifactId> <version>1.0.5</version> </plugin> </plugins> </reporting> </project> In the current form I get null pointer exception at adPlugin() method. If I change the groupid and artifactid to <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jcoverage-plugin</artifactId> I get a message that the plugin cannot be found. I have not used scm before and from the guide it seems the format of the scm is scm:<scm_provider><delimiter><provider_specific_part> . I am not very sure what values to give in this case as I don't have the scm_provider values. Kindly advise. Many Thanks Shinjan On 6/9/06, Thorsten Heit <[EMAIL PROTECTED]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hi, > > > I didn't get the meaning of SCM provider and connection. Can you > > kindly elaborate a bit. It will be very helpful for me. > > I have seen this when I was trying to use the buildnumber plugin: > Without a <scm>...</scm> entry in my pom.xml I got errors executing > Maven... > > AFAIK this entry is necessary when you want to use the release plugin, > but some other plugins also depend on it. > > > See also: > * > http://maven.apache.org/plugins/maven-release-plugin/introduction.html > * http://maven.apache.org/ref/current/maven-model/maven.html#class_scm > > > Regards > > Thorsten > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (MingW32) > > iD8DBQFEiV+yQvObkgCcDe0RAn5YAKDu3uPbGsOobCfOYbRxT1ZVNDq++QCfSsJo > LqgDmKMpiDTGATdyB7CkO28= > =4u1S > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > This e-mail, any attachments and the information contained therein ("this message") are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -------------------------------------------------------------------------------------------------------------- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. ------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]