Hi,
i'm using the maven-changes-plugin to get a list of issues from our
jira-instance.
The plugin configuration in my pom.xml looks like this:

<build>
        <plugins>
                <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-changes-plugin</artifactId>
                        <version>2.3</version>
                        
                        <configuration>
                                <webUser>username</webUser>
                                <webPassword>password</webPassword>
                                <statusIds>10004</statusIds>
                                <onlyCurrentVersion>true</onlyCurrentVersion>
                                
<filter>resolutionIds=1&amp;created%3Aafter=01.10.10&amp;sorter/field=created&amp;sorter/order=DESC&amp;sorter/field=priority&amp;sorter/order=DESC</filter>
                                <sortColumnNames>created</sortColumnNames>
                                <maxEntries>1500</maxEntries>
                                
<generateJiraAnnouncement>true</generateJiraAnnouncement>
                                <smtpHost>smtpserver</smtpHost>
                                <smtpPort 
implementation="java.lang.Integer">25</smtpPort>
                                <toAddresses>
                                        <toAddress
implementation="java.lang.String">recipie...@mycompany</toAddress>
                                        <toAddress
implementation="java.lang.String">recipie...@mycompany</toAddress>
                                </toAddresses>
                        </configuration>
                </plugin>
        </plugins>
</build>

If i run "mvn changes:jira-report" the file jira-report.html
containing the issues for my current version is correctly generated.
The output is:

[INFO] --- maven-changes-plugin:2.3:jira-report (default-cli) @
protokollarchivierung ---
[INFO] Downloading from JIRA at:
https://jiraserver/jiraTest/secure/IssueNavigator.jspa?view=rss&pid=10080&resolutionIds=1&created%3Aafter=01.10.10&sorter/field=created&sorter/order=DESC&sorter/field=priority&sorter/order=DESC&tempMax=1500&reset=true&decorator=none
[INFO] The JIRA Report will contain issues only for the current version.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS


If i run "mvn changes:announcement-generate", i get the following maven output:

[INFO] [changes:announcement-generate {execution: default-cli}]
[ERROR] maven-changes-plugin: None of the configured sortColumnNames
'null' are correct.
[INFO] Downloading from JIRA at:
https://jiraserver/jiraTest/secure/IssueNavigator.jspa?view=rss&pid=10080&resolutionIds=1&tempMax=1500&reset=true&decorator=none
11.10.2010 09:33:13
org.apache.commons.httpclient.auth.AuthChallengeProcessor
selectAuthScheme
INFO: basic authentication scheme selected
11.10.2010 09:33:13 org.apache.commons.httpclient.HttpMethodDirector
processWWWAuthChallenge
INFO: No credentials available for BASIC 'Jira'@jiraserver:443
[WARNING] Downloading from JIRA failed. Received: [401]
[WARNING] jira file
E:\Softwareentwicklung\Workspaces\workspace_sts\protokollarchivierung\target\jira-announcement.xml
doesn't exists
[INFO] Creating announcement file from JIRA releases...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Couldn't find the release '2.0.1' among the supplied releases.



As you can see in the query-url, announcement-generate ignores
completely my configuration. I tested my pom.xml with maven 2.2.1 and
maven 3, same results at both instances.
Do you have any ideas?

Regards,
Manuel Doninger

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to