请使用Maven更改插件查看我的pom.xml
。
使用以下插件,我将获得JIRA-report.html并接收邮件。
但是问题是在relesae邮件中,没有问题列表总是空白。
发布邮件中不包含JIRA问题
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.11</version>
<executions>
<execution>
<id>include-announcement-file</id>
<phase>generate-resources</phase>
<goals>
<goal>announcement-generate</goal>
</goals>
</execution>
</executions>
<configuration>
<issueManagementSystems>
<issueManagementSystem>JIRA</issueManagementSystem>
</issueManagementSystems>
<onlyCurrentVersion>true</onlyCurrentVersion>
<resolutionIds>Fixed</resolutionIds>
<statusIds>Resolved</statusIds>
<webUser>user</webUser>
<webPassword>password</webPassword>
<smtpHost>SMTP.xxx.xxxx/smtpHost>
<smtpPort implementation="java.lang.Integer">xx</smtpPort>
<mailSender>
<name>Release Notification</name>
<email>dev@company.com</email>
</mailSender>
<toAddresses>
<toAddress implementation="java.lang.String"xxxxx@gmail.com</toAddress>
</toAddresses>
<subject>Release Notification</subject>
</configuration>
</plugin>
</plugins>
</build>
<issueManagement>
<system>JIRA</system>
<url>https://jira.xxxxxx.com/browse/xxxx</url>
</issueManagement>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.11</version>
<reportSets>
<reportSet>
<reports>
<report>jira-report</report>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>