You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Anders Wallgren <an...@electric-cloud.com> on 2007/06/05 00:51:41 UTC

Problem building latest SVN head

I've pulled the latest SVN head (revision 544315) and I'm running into a
problem - the jar fails with an error:

 

------------------------------

C:\java\jakarta-httpcomponents\httpcore\module-main>mvn clean install

[INFO] Scanning for projects...

[INFO]
------------------------------------------------------------------------
----

[INFO] Building HttpCore (base module)

[INFO]    task-segment: [clean, install]

[INFO]
------------------------------------------------------------------------
----

[INFO] [clean:clean]

[INFO] Deleting directory
C:\java\jakarta-httpcomponents\httpcore\module-main\target

[INFO] [resources:resources]

[INFO] Using default encoding to copy filtered resources.

[INFO] [compiler:compile]

Compiling 127 source files to
C:\java\jakarta-httpcomponents\httpcore\module-main\target\classes

[INFO] [resources:testResources]

[INFO] Using default encoding to copy filtered resources.

[INFO] [compiler:testCompile]

Compiling 64 source files to
C:\java\jakarta-httpcomponents\httpcore\module-main\target\test-classes

[INFO] [surefire:test]

[INFO] Setting reports dir:
C:\java\jakarta-httpcomponents\httpcore\module-main\target/surefire-repo
rts

 

-------------------------------------------------------

 T E S T S

-------------------------------------------------------

[surefire] Running org.apache.http.TestAll

[surefire] Tests run: 369, Failures: 0, Errors: 0, Time elapsed: 0.007
sec

 

Results :

[surefire] Tests run: 369, Failures: 0, Errors: 0

 

[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

[INFO]
------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 5 seconds

[INFO] Finished at: Mon Jun 04 15:47:36 PDT 2007

[INFO] Final Memory: 6M/19M

[INFO]
------------------------------------------------------------------------

----------------------

 

Any clues as to what I might be doing wrong?

 

anders


RE: Problem building latest SVN head

Posted by Anders Wallgren <an...@electric-cloud.com>.
Quick follow-up: I deleted my .m2 repository and that cleared up this
error.

anders

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Tuesday, June 05, 2007 12:36 AM
To: HttpComponents Project
Subject: Re: Problem building latest SVN head

On Mon, 2007-06-04 at 15:51 -0700, Anders Wallgren wrote:
> I've pulled the latest SVN head (revision 544315) and I'm running into
a
> problem - the jar fails with an error:
> 
>  

Hi Anders,

I am unable to reproduce the problem locally. The latest SVN snapshot
(revision 544413) builds just fine for me. What maven and JDK version
are you using?

You may also want to try running the build with -cpu to force update
check for any relevant registered plugins

mvn -cpu install

Hope this helps

Oleg


> 
> ------------------------------
> 
> C:\java\jakarta-httpcomponents\httpcore\module-main>mvn clean install
> 
> [INFO] Scanning for projects...
> 
> [INFO]
>
------------------------------------------------------------------------
> ----
> 
> [INFO] Building HttpCore (base module)
> 
> [INFO]    task-segment: [clean, install]
> 
> [INFO]
>
------------------------------------------------------------------------
> ----
> 
> [INFO] [clean:clean]
> 
> [INFO] Deleting directory
> C:\java\jakarta-httpcomponents\httpcore\module-main\target
> 
> [INFO] [resources:resources]
> 
> [INFO] Using default encoding to copy filtered resources.
> 
> [INFO] [compiler:compile]
> 
> Compiling 127 source files to
> C:\java\jakarta-httpcomponents\httpcore\module-main\target\classes
> 
> [INFO] [resources:testResources]
> 
> [INFO] Using default encoding to copy filtered resources.
> 
> [INFO] [compiler:testCompile]
> 
> Compiling 64 source files to
>
C:\java\jakarta-httpcomponents\httpcore\module-main\target\test-classes
> 
> [INFO] [surefire:test]
> 
> [INFO] Setting reports dir:
>
C:\java\jakarta-httpcomponents\httpcore\module-main\target/surefire-repo
> rts
> 
>  
> 
> -------------------------------------------------------
> 
>  T E S T S
> 
> -------------------------------------------------------
> 
> [surefire] Running org.apache.http.TestAll
> 
> [surefire] Tests run: 369, Failures: 0, Errors: 0, Time elapsed: 0.007
> sec
> 
>  
> 
> Results :
> 
> [surefire] Tests run: 369, Failures: 0, Errors: 0
> 
>  
> 
> [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
> 
> [INFO]
>
------------------------------------------------------------------------
> 
> [INFO] For more information, run Maven with the -e switch
> 
> [INFO]
>
------------------------------------------------------------------------
> 
> [INFO] Total time: 5 seconds
> 
> [INFO] Finished at: Mon Jun 04 15:47:36 PDT 2007
> 
> [INFO] Final Memory: 6M/19M
> 
> [INFO]
>
------------------------------------------------------------------------
> 
> ----------------------
> 
>  
> 
> Any clues as to what I might be doing wrong?
> 
>  
> 
> anders
> 


---------------------------------------------------------------------
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: Problem building latest SVN head

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Mon, 2007-06-04 at 15:51 -0700, Anders Wallgren wrote:
> I've pulled the latest SVN head (revision 544315) and I'm running into a
> problem - the jar fails with an error:
> 
>  

Hi Anders,

I am unable to reproduce the problem locally. The latest SVN snapshot
(revision 544413) builds just fine for me. What maven and JDK version
are you using?

You may also want to try running the build with -cpu to force update
check for any relevant registered plugins

mvn -cpu install

Hope this helps

Oleg


> 
> ------------------------------
> 
> C:\java\jakarta-httpcomponents\httpcore\module-main>mvn clean install
> 
> [INFO] Scanning for projects...
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] Building HttpCore (base module)
> 
> [INFO]    task-segment: [clean, install]
> 
> [INFO]
> ------------------------------------------------------------------------
> ----
> 
> [INFO] [clean:clean]
> 
> [INFO] Deleting directory
> C:\java\jakarta-httpcomponents\httpcore\module-main\target
> 
> [INFO] [resources:resources]
> 
> [INFO] Using default encoding to copy filtered resources.
> 
> [INFO] [compiler:compile]
> 
> Compiling 127 source files to
> C:\java\jakarta-httpcomponents\httpcore\module-main\target\classes
> 
> [INFO] [resources:testResources]
> 
> [INFO] Using default encoding to copy filtered resources.
> 
> [INFO] [compiler:testCompile]
> 
> Compiling 64 source files to
> C:\java\jakarta-httpcomponents\httpcore\module-main\target\test-classes
> 
> [INFO] [surefire:test]
> 
> [INFO] Setting reports dir:
> C:\java\jakarta-httpcomponents\httpcore\module-main\target/surefire-repo
> rts
> 
>  
> 
> -------------------------------------------------------
> 
>  T E S T S
> 
> -------------------------------------------------------
> 
> [surefire] Running org.apache.http.TestAll
> 
> [surefire] Tests run: 369, Failures: 0, Errors: 0, Time elapsed: 0.007
> sec
> 
>  
> 
> Results :
> 
> [surefire] Tests run: 369, Failures: 0, Errors: 0
> 
>  
> 
> [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
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] For more information, run Maven with the -e switch
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Total time: 5 seconds
> 
> [INFO] Finished at: Mon Jun 04 15:47:36 PDT 2007
> 
> [INFO] Final Memory: 6M/19M
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> ----------------------
> 
>  
> 
> Any clues as to what I might be doing wrong?
> 
>  
> 
> anders
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org