You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by pjackson <pa...@boeing.com> on 2007/09/17 14:51:40 UTC

Problems building with Maven

I tried compiling the ActiveMQ 4.1.1 source with Maven 2.0.4 and 2.0.7 and
get this error.  Can't figure out how to fix maven to get past this.  Any
help appreciated. 

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn clean install
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Mon Sep 17 07:45:43 CDT 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn --version
Maven version: 2.0.7
Java version: 1.5.0_11
OS name: "windows xp" version: "5.1" arch: "x86"

C:\_tools\ActiveMq\apache-activemq-4.1.1>
-- 
View this message in context: http://www.nabble.com/Problems-building-with-Maven-tf4466474s2354.html#a12735153
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Problems building with Maven

Posted by Guillaume Nodet <gn...@gmail.com>.
This error comes from garbage in your local repo.
Just delete it and retry.
     rm -Rf ~/.m2/repository

On 9/17/07, pjackson <pa...@boeing.com> wrote:
>
>
> I tried compiling the ActiveMQ 4.1.1 source with Maven 2.0.4 and 2.0.7 and
> get this error.  Can't figure out how to fix maven to get past this.  Any
> help appreciated.
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [clean, install]
> [INFO]
>
> ----------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does not
> exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Mon Sep 17 07:45:43 CDT 2007
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
>
> C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn --version
> Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
>
> C:\_tools\ActiveMq\apache-activemq-4.1.1>
> --
> View this message in context:
> http://www.nabble.com/Problems-building-with-Maven-tf4466474s2354.html#a12735153
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: Problems building with Maven

Posted by pjackson <pa...@boeing.com>.
I was connected to the internet, but behind a firewall.  Perhaps that is the
problem.  I guess I could try it at home instead of at work.  I'm not
worried about this problem as I got my program running using the existing
jar files.  I tried to build ActiveMQ using eclipse, but there were a lot of
jar files I was missing.  I guess Maven would be able to find these on the
internet.  Anyway, I'm not too concerned about getting the Maven build
working.  Thanks for responding.

Paul



Daryl Richter-3 wrote:
> 
> Hmmm.  This works for me.
> 
> Are you connected to the internet?  Maven expects you to be, at least  
> the first time.  It needs to downloads boatloads of stuff.
> 
> After that you can use '-o' for offline.
> 
> 
> On Sep 17, 2007, at 8:51 AM, pjackson wrote:
> 
>>
>> I tried compiling the ActiveMQ 4.1.1 source with Maven 2.0.4 and  
>> 2.0.7 and
>> get this error.  Can't figure out how to fix maven to get past  
>> this.  Any
>> help appreciated.
>>
>> Microsoft Windows XP [Version 5.1.2600]
>> (C) Copyright 1985-2001 Microsoft Corp.
>>
>> C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn clean install
>> [INFO] Scanning for projects...
>> [INFO]
>> ---------------------------------------------------------------------- 
>> ------
>> [INFO] Building Maven Default Project
>> [INFO]    task-segment: [clean, install]
>> [INFO]
>> ---------------------------------------------------------------------- 
>> ------
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin'  
>> does not
>> exist or no valid version could be found
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] For more information, run Maven with the -e switch
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Mon Sep 17 07:45:43 CDT 2007
>> [INFO] Final Memory: 1M/3M
>> [INFO]
>> ---------------------------------------------------------------------- 
>> --
>>
>> C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn --version
>> Maven version: 2.0.7
>> Java version: 1.5.0_11
>> OS name: "windows xp" version: "5.1" arch: "x86"
>>
>> C:\_tools\ActiveMq\apache-activemq-4.1.1>
>> -- 
>> View this message in context: http://www.nabble.com/Problems- 
>> building-with-Maven-tf4466474s2354.html#a12735153
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> --
> Daryl
> http://itsallsemantics.com
> 
> "I see this as coming down to mutual respect. I want to respect the  
> others I communicate with enough to tell them my truth without  
> reservation and I want to respect them enough to listen to their  
> truth. I want to respect their good intentions enough to believe that  
> we can work past our disagreements."
> 
>      -- Kent Beck, 2006
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-building-with-Maven-tf4466474s2354.html#a12756681
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Problems building with Maven

Posted by Daryl Richter <ng...@comcast.net>.
Hmmm.  This works for me.

Are you connected to the internet?  Maven expects you to be, at least  
the first time.  It needs to downloads boatloads of stuff.

After that you can use '-o' for offline.


On Sep 17, 2007, at 8:51 AM, pjackson wrote:

>
> I tried compiling the ActiveMQ 4.1.1 source with Maven 2.0.4 and  
> 2.0.7 and
> get this error.  Can't figure out how to fix maven to get past  
> this.  Any
> help appreciated.
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ---------------------------------------------------------------------- 
> ------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [clean, install]
> [INFO]
> ---------------------------------------------------------------------- 
> ------
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin'  
> does not
> exist or no valid version could be found
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ---------------------------------------------------------------------- 
> --
> [INFO] Total time: < 1 second
> [INFO] Finished at: Mon Sep 17 07:45:43 CDT 2007
> [INFO] Final Memory: 1M/3M
> [INFO]
> ---------------------------------------------------------------------- 
> --
>
> C:\_tools\ActiveMq\apache-activemq-4.1.1>mvn --version
> Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows xp" version: "5.1" arch: "x86"
>
> C:\_tools\ActiveMq\apache-activemq-4.1.1>
> -- 
> View this message in context: http://www.nabble.com/Problems- 
> building-with-Maven-tf4466474s2354.html#a12735153
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

--
Daryl
http://itsallsemantics.com

"I see this as coming down to mutual respect. I want to respect the  
others I communicate with enough to tell them my truth without  
reservation and I want to respect them enough to listen to their  
truth. I want to respect their good intentions enough to believe that  
we can work past our disagreements."

     -- Kent Beck, 2006