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>



-- 
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092

Mein Strom kommt von http://www.greenpeace-energy.de und
http://www.naturstrom.de. Für eine saubere Zukunft!

Reply via email to