You are viewing a plain text version of this content. The canonical link for it is here.
Posted to repository@apache.org by Lukasz Lenart <lu...@googlemail.com> on 2010/06/27 15:29:04 UTC

Error code 400

Hi,

I'm trying to upload a Struts 2 release to repository with mvn
release:perform command but I'm getting:

[INFO] Error deploying artifact: Failed to transfer file:
https://repository.apache.org/service/local/staging/deploy/maven2/com/opensymphony/xwork-core/2.2.0/xwork-core-2.2.0.jar.
Return code is: 400

Can it be related to the xwork package naming? XWork became part of
Struts 2 some time ago but it still have its own package naming
structure.
I didn't find anything useful with the System feeds.


Thanks in advance
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Error code 400

Posted by Lukasz Lenart <lu...@googlemail.com>.
It works after changing groupId for XWork!


Thanks
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Error code 400

Posted by Lukasz Lenart <lu...@googlemail.com>.
2010/6/28 Juven Xu <ju...@sonatype.com>:
> I added a new pattern expression to support com.opensymphony.xwork*
>
> please try deploy again

Doesn't work, still the same:

Error
06/28/2010 08:54 PM
Got exception during processing request "PUT
http://repository.apache.org/service/local/staging/deploy/maven2/com/opensymphony/xwork-core/2.2.0/xwork-core-2.2.0.jar":
Cannot find a matching staging profile!

JIRA ticket is here:
https://issues.apache.org/jira/browse/INFRA-2828


Kind regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl

Re: Error code 400

Posted by Juven Xu <ju...@sonatype.com>.
I added a new pattern expression to support com.opensymphony.xwork*

please try deploy again

On Mon, Jun 28, 2010 at 10:56 PM, Juven Xu <ju...@sonatype.com> wrote:

> what are all the groupId you will use? the repository target needs to be
> updated. currently it only allows org.apache.struts.*
>
>
> On Sun, Jun 27, 2010 at 9:29 PM, Lukasz Lenart <
> lukasz.lenart@googlemail.com> wrote:
>
>> Hi,
>>
>> I'm trying to upload a Struts 2 release to repository with mvn
>> release:perform command but I'm getting:
>>
>> [INFO] Error deploying artifact: Failed to transfer file:
>>
>> https://repository.apache.org/service/local/staging/deploy/maven2/com/opensymphony/xwork-core/2.2.0/xwork-core-2.2.0.jar
>> .
>> Return code is: 400
>>
>> Can it be related to the xwork package naming? XWork became part of
>> Struts 2 some time ago but it still have its own package naming
>> structure.
>> I didn't find anything useful with the System feeds.
>>
>>
>> Thanks in advance
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>> Kapituła Javarsovia 2010 http://javarsovia.pl
>>
>
>
>
> --
> - juven
>



-- 
- juven

Re: Error code 400

Posted by Juven Xu <ju...@sonatype.com>.
what are all the groupId you will use? the repository target needs to be
updated. currently it only allows org.apache.struts.*

On Sun, Jun 27, 2010 at 9:29 PM, Lukasz Lenart <lukasz.lenart@googlemail.com
> wrote:

> Hi,
>
> I'm trying to upload a Struts 2 release to repository with mvn
> release:perform command but I'm getting:
>
> [INFO] Error deploying artifact: Failed to transfer file:
>
> https://repository.apache.org/service/local/staging/deploy/maven2/com/opensymphony/xwork-core/2.2.0/xwork-core-2.2.0.jar
> .
> Return code is: 400
>
> Can it be related to the xwork package naming? XWork became part of
> Struts 2 some time ago but it still have its own package naming
> structure.
> I didn't find anything useful with the System feeds.
>
>
> Thanks in advance
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Kapituła Javarsovia 2010 http://javarsovia.pl
>



-- 
- juven

Re: Error code 400

Posted by Brian Fox <br...@sonatype.com>.
You should file an INFRA ticket for this and I'll add the groupId. I'll note
that it's unusual for com.* to be coming from Apache however and the rsync
scripts would need to be updated.

On Sun, Jun 27, 2010 at 9:29 AM, Lukasz Lenart <lukasz.lenart@googlemail.com
> wrote:

> Hi,
>
> I'm trying to upload a Struts 2 release to repository with mvn
> release:perform command but I'm getting:
>
> [INFO] Error deploying artifact: Failed to transfer file:
>
> https://repository.apache.org/service/local/staging/deploy/maven2/com/opensymphony/xwork-core/2.2.0/xwork-core-2.2.0.jar
> .
> Return code is: 400
>
> Can it be related to the xwork package naming? XWork became part of
> Struts 2 some time ago but it still have its own package naming
> structure.
> I didn't find anything useful with the System feeds.
>
>
> Thanks in advance
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> Kapituła Javarsovia 2010 http://javarsovia.pl
>