Hi! You need to add the dependency of the gitexe provider to the maven-changelog-plugin and not to the build.
Maven is basically a container like you know from a ServletEngine: it separates classloaders of different plugins from each other - and the <build> for compile and test are 2 others of that kind. Which means: if you add a dependency (of <scope>compile) to your <build> section, this will not be available on the classpath of your plugin. Instead, as mentioned above, you have to add the dependency to the plugin itself (you might need a <pluginManagement> section in your case). LieGrue, strub --- jfinkels <[email protected]> schrieb am Sa, 19.12.2009: > Von: jfinkels <[email protected]> > Betreff: No such provider: 'git' > An: [email protected] > Datum: Samstag, 19. Dezember 2009, 23:16 > > I am unable to generate a changelog report using a git > provider. > > I have set up my POM with the following sections: > ... > <build> > <plugins> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-scm-plugin</artifactId> > <configuration> > > <connectionType>connection</connectionType> > </configuration> > <dependencies> > <dependency> > > <groupId>org.apache.maven.scm</groupId> > > <artifactId>maven-scm-provider-gitexe</artifactId> > > <version>1.2</version> > </dependency> > </dependencies> > </plugin> > </plugins> > </build> > > <reporting> > <plugins> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-changelog-plugin</artifactId> > </plugin> > </plugins> > </reporting> > > <scm> > > <connection>scm:git:git://github.com/jfinkels/jmona.git</connection> > <url>http://github.com/jfinkels/jmona</url> > </scm> > ... > > But I get the following error when trying to generate a > report with "mvn > site": > > "Embedded error: Error rendering Maven report: > Cannot run changelog > command : > No such provider: 'git'." > > There is a thread from June 2008 related to this topic > here: > http://www.mail-archive.com/[email protected]/msg00055.html > > How can I get a changelog report using git? > -- > View this message in context: > http://old.nabble.com/No-such-provider%3A-%27git%27-tp26859089p26859089.html > Sent from the Maven - Users mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
