Hi Aaron,

I'm fixing the doc on this. You need to specify a licenseFile element.
Here's what I'm adding to the doc:

"
Specifying a custom license file

  The Clover plugin provides a default evaulation license. However if your
project is a commercial project
  you need to purchase your own license to use Clover. To use your license
specify it using a
  <<<licenseFile>>> configuration element. For example if you wanted to
automatically execute the
  <<<check>>> goal when you type <<<mvn install>>> and if you wanted to use
your license located in
  <<<${basedir}/src/test/clover/myclover.license>>> you would use:

+--------
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-clover-plugin</artifactId>
        <configuration>
 
<licenseFile>${basedir}/src/test/clover/myclover.license</licenseFile>
        </configuration>
        <executions>
          <execution>
            <configuration>
              <targetPercentage>50%</targetPercentage>
            </configuration>
            <goals>
              <goal>check</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
+---------

  Important note: The <<<licenseFile>>> element needs to be defined in the
global <<<configuration>>> element
  and not in the <<<configuration>>> element under the <<<execution>>> tag.
"

Hope it helps,
-Vincent

> -----Original Message-----
> From: Aaron Freeman [mailto:[EMAIL PROTECTED]
> Sent: vendredi 24 mars 2006 20:32
> To: Maven
> Subject: Clover Plugin
> 
> I was looking into using Clover at my company, so I got an evaluation
> license from there web site. I wanted to use it with the Maven Clover
> plugin, but I can't figure out how to specify the license file. How is
> this supposed to be done? I couldn't really find much on the net about
> it.
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to