struberg wrote:
>
> 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).
>
I'm not really sure that I understood what you were trying to say, but I've
changed my POM and I still get the same error:
...
<build>
<pluginManagement>
<plugins>
<plugin
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
</plugin>
</plugins>
</reporting>
...
--
View this message in context:
http://old.nabble.com/No-such-provider%3A-%27git%27-tp26859089p26860457.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]