Wayne Fay wrote:
> 
> 
> No, you were so close before, did you read what I wrote?
> 
> Try this:
>  <reporting>
>    <plugins>
>      <plugin>
>        <groupId>org.apache.maven.plugins</groupId>
>        <artifactId>maven-changelog-plugin</artifactId>
> <!-- best practice is to add the version for your plugin here -->
>          <dependencies>
>            <dependency>
>              <groupId>org.apache.maven.scm</groupId>
>              <artifactId>maven-scm-provider-gitexe</artifactId>
>              <version>1.2</version>
>            </dependency>
>          </dependencies>
>      </plugin>
>    </plugins>
>  </reporting>
> 

I did try that, but that is illegal syntax, based on the POM 4.0.0 XML
schema definition (at http://maven.apache.org/maven-v4_0_0.xsd), the
relevant parts of which I have paraphrased below:

...
<xs:complexType name="ReportPlugin">
<xs:all>
<xs:element name="groupId" minOccurs="0" type="xs:string"
default="org.apache.maven.plugins">
<xs:element name="artifactId" minOccurs="0" type="xs:string">
<xs:element name="version" minOccurs="0" type="xs:string">
<xs:element name="inherited" minOccurs="0" type="xs:string">
<xs:element name="configuration" minOccurs="0">
<xs:element name="reportSets" minOccurs="0">
</xs:all>
</xs:complexType>
...

Running Maven with the POM as you have described it in your above post
results in a parse error.

By the way, my output from "mvn --version" is as follows:
<snip>
Apache Maven 2.2.1 (rdebian-1)
Java version: 1.6.0_0
Java home: /usr/lib/jvm/java-6-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-16-generic" arch: "i386" Family: "unix"
</snip>
-- 
View this message in context: 
http://old.nabble.com/No-such-provider%3A-%27git%27-tp26859089p26865475.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to