You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Roland Weber <os...@dubioso.net> on 2007/07/19 19:15:28 UTC
[HttpClient] Maven 2 packaging problem
Hi folks,
I'm trying to re-sync the client code with the changes in core.
I fixed the code all right, then I changed the pom.xml dependency
to core-alpha6-SNAPSHOT. Maven now compiles and runs the tests,
but fails when packaging:
[INFO] [jar:jar]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error assembling JAR
Embedded error: The attribute "Implementation-Version" may not occur more than
once in the same section
Any suggestions?
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
RE: [HttpClient] Maven 2 packaging problem
Posted by Anders Wallgren <an...@electric-cloud.com>.
FWIW, I ran into this _exact_ problem a few weeks ago, and the solution
was the same: blow away the m2 repository.
anders
-----Original Message-----
From: Roland Weber [mailto:ossfwot@dubioso.net]
Sent: Thursday, July 19, 2007 10:57 AM
To: HttpComponents Project
Subject: Re: [HttpClient] Maven 2 packaging problem
Hi Oleg,
>>
------------------------------------------------------------------------
>> [INFO] Error assembling JAR
>>
>> Embedded error: The attribute "Implementation-Version" may not occur
>> more than
>> once in the same section
I solved the problem by deleting ~/.m2/repository/
Heaven knows what I deployed there in my ignorance.
> Weird. Anyways, go ahead and commit the changes. I'll also try to take
a
> look
Done.
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail:
httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
httpcomponents-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
Re: [HttpClient] Maven 2 packaging problem
Posted by Roland Weber <os...@dubioso.net>.
Hi Oleg,
>> ------------------------------------------------------------------------
>> [INFO] Error assembling JAR
>>
>> Embedded error: The attribute "Implementation-Version" may not occur
>> more than
>> once in the same section
I solved the problem by deleting ~/.m2/repository/
Heaven knows what I deployed there in my ignorance.
> Weird. Anyways, go ahead and commit the changes. I'll also try to take a
> look
Done.
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
Re: [HttpClient] Maven 2 packaging problem
Posted by Oleg Kalnichevski <ol...@apache.org>.
Roland Weber wrote:
> Hi folks,
>
> I'm trying to re-sync the client code with the changes in core.
> I fixed the code all right, then I changed the pom.xml dependency
> to core-alpha6-SNAPSHOT. Maven now compiles and runs the tests,
> but fails when packaging:
>
> [INFO] [jar:jar]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error assembling JAR
>
> Embedded error: The attribute "Implementation-Version" may not occur more than
> once in the same section
>
>
> Any suggestions?
>
>
Weird. Anyways, go ahead and commit the changes. I'll also try to take a
look
Oleg
> cheers,
> Roland
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org