You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gabriel Peter (JIRA)" <ji...@codehaus.org> on 2011/04/27 10:04:22 UTC

[jira] Commented: (MCHANGES-237) The goal jira-report always results in HTTP 400 error when accessing https://*.jira.com

    [ http://jira.codehaus.org/browse/MCHANGES-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264881#action_264881 ] 

Gabriel Peter commented on MCHANGES-237:
----------------------------------------

Excerpt from pom.xml:
<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-changes-plugin</artifactId>
				<version>2.4</version>
				<reportSets>
					<reportSet>
						<reports>
							<!--<report>changes-report</report>-->
							<report>jira-report</report>
						</reports>
					</reportSet>
				</reportSets>
				<configuration>
					<issueManagementSystems>
 					 <issueManagementSystem>JIRA</issueManagementSystem>
					</issueManagementSystems>

					<jiraUser>***</jiraUser>
					<jiraPassword>***</jiraPassword>
				</configuration>
			</plugin>

		</plugins>
	</reporting>


	<issueManagement>
		<system>JIRA</system>
		<url>https://davinci.jira.com/browse/***</url>
	</issueManagement>

> The goal jira-report always results in HTTP 400 error when accessing https://*.jira.com
> ---------------------------------------------------------------------------------------
>
>                 Key: MCHANGES-237
>                 URL: http://jira.codehaus.org/browse/MCHANGES-237
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>    Affects Versions: 2.4
>            Reporter: Gabriel Peter
>            Priority: Blocker
>
> The http-client used by plugin, rejects one of the cookies from https://company.jira.com and the missing cookie is the culprit of the 400 error. Maven 2.2.1 used. See extract below: 
> 27.4.2011 9:52:50 org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
> WARNING: Cookie rejected: "$Version=0; studio.crowd.tokenkey=; $Path=/; $Domain=.davinci.jira.com". Illegal domain attribute ".davinci.jira.com". Domain of origin: "davinci.jira.com"
> 27.4.2011 9:52:50 org.apache.commons.httpclient.HttpMethodBase processResponseHeaders
> WARNING: Cookie rejected: "$Version=0; studio.crowd.tokenkey=M2peMiHnn4NggIbmyHpKEQ00; $Path=/; $Domain=.davinci.jira.com". Illegal domain attribute ".davinci.jira.com". Domain of origin: "davinci.jira.com"
> 27.4.2011 9:52:51 org.apache.commons.httpclient.HttpMethodBase getResponseBody
> WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira