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]