You should be using org.apache.maven.plugins:maven-changes-plugin:2.0 instead of org.codehaus.mojo:changes-maven-plugin:2.0-beta-1.
See http://maven.apache.org/plugins/maven-changes-plugin/faq.html#question1 Fred Hauschel wrote: > Hey All, > 1. The only release I found is 2.0-beta-1 in jira there are 2.0-beta-2, > 2.0-beta-3 and 2.0 What are the latest release? And where can I find it? > > 2. [MultiModule project!] With 2.0-beta-1 I've problems with "Using a Custom > Announcement Template". If I follow the how-to > http://maven.apache.org/plugins/maven-changes-plugin/examples/using-a-custom-announcement-template.htmlin > my submodule > The resourceloader could'not find the xxx.vm template. The > changes-maven-plugin is configured in parentPom PlugInManagement (see > bottom). > In the submodule under build.plugins I've overwrite the configuration like > this: > > <build> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>changes-maven-plugin</artifactId> > <configuration> > <template>announcement.vm</template> > <templateDirectory>announcements</templateDirectory> > <toAddresses> > <toAddress > implementation="java.lang.String">removed</toAddress> > </toAddresses> > </configuration> > </plugin> > ... > > If the template is located in the submodule > /src/main/resources/announcements/announcement.vm The resourceLoader cannot > find the template. If I locate the template with the same path in the parent > project it works. Is this a feature or a bugt? > > Thanks Fredy > > ParentPom config: > > </pluginManagement> > </plugins> > ... > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>changes-maven-plugin</artifactId> > <version>2.0-beta-1</version> > <executions> > <execution> > <phase>deploy</phase> > <goals> > <goal>announcement-generate</goal> > </goals> > <id>announcement-generate</id> > </execution> > <execution> > <phase>deploy</phase> > <goals> > <goal>announcement-mail</goal> > </goals> > <id>announcement-mail</id> > </execution> > </executions> > <configuration> > <xmlPath>${basedir}/src/changes</xmlPath> > <smtpHost>xxxxxx</smtpHost> > <from> > <item > implementation="java.lang.String">removed</item> > </from> > <toAddresses> > <toAddress > implementation="java.lang.String">removed</toAddress> > <toAddress > implementation="java.lang.String">removed</toAddress> > <toAddress > implementation="java.lang.String">removed</toAddress> > </toAddresses> > </configuration> > </plugin> > </plugins> > </pluginManagement> > > > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
