You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Roland Oertig <ro...@dplanet.ch> on 2005/12/20 00:11:11 UTC

Compile error usinf m2 in actural svn repository at apache.org

Hi all

Using m2:

E:\eclipse_3.1\workspace\servicemix\trunk>mvn install

[INFO] Scanning for projects...

[INFO] Reactor build order:

[INFO]   ServiceMix

[INFO]   ServiceMix :: JBI

[INFO]   ServiceMix Container

[INFO]   ServiceMix :: Components

[INFO]   ServiceMix :: Common

[INFO]   ServiceMix :: Console

[INFO]   ServiceMix :: GBeans

[INFO]   ServiceMix :: JMS

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

[INFO] Building ServiceMix

[INFO]    task-segment: [install]

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

 

It seams to me that m2 cannot reach the repository to download the jar(s). 

Here the dir defined in the pom.xml



 

The pom defines:

<repository>

      <id>apache</id>

      <name>Apache Repository</name>

      <url>http://cvs.apache.org/repository</url>

      <layout>legacy</layout>

    </repository>

 

That's where m2 try to get the jar, see e.g. runtime error:

Downloading: http://dist.codehaus.org/javax.transaction/jars/jta-1.0.1B.jar

[WARNING] Unable to get resource from repository codehaus
(http://dist.codehaus.org)

Downloading:
http://cvs.apache.org/repository/javax.transaction/jars/jta-1.0.1B.jar

[WARNING] Unable to get resource from repository apache
(http://cvs.apache.org/repository)

Downloading:
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar

[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)

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

[ERROR] BUILD ERROR

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

[INFO] Failed to resolve artifact.

 

Does one have an idea? Or can someone please tell me what I'm doing wrong.

Thanks for help and info.

Cheers

Roland

 


RE: Compile error usinf m2 in actural svn repository at apache.org

Posted by Roland Oertig <ro...@dplanet.ch>.
Hi Joseph
Thanks for the info. If I can help somewhere let me know.
Cheers
Roland

-----Original Message-----
From: Joseph Dennis Gapuz [mailto:jgapuz@exist.com] 
Sent: Mittwoch, 21. Dezember 2005 02:40
To: servicemix-users@geronimo.apache.org
Subject: Re: Compile error usinf m2 in actural svn repository at apache.org

Hi Roland,

We are still working on running M2 for Servicemix, please use Maven 1 
instead for now.

We'll update you as soon as M2 is working on building Servicemix.

Regards,
Joseph

Roland Oertig wrote:

> Hi all
>
> *Using m2:*
>
> E:\eclipse_3.1\workspace\servicemix\trunk>mvn install
>
> [INFO] Scanning for projects...
>
> [INFO] Reactor build order:
>
> [INFO]   ServiceMix
>
> [INFO]   ServiceMix :: JBI
>
> [INFO]   ServiceMix Container
>
> [INFO]   ServiceMix :: Components
>
> [INFO]   ServiceMix :: Common
>
> [INFO]   ServiceMix :: Console
>
> [INFO]   ServiceMix :: GBeans
>
> [INFO]   ServiceMix :: JMS
>
> [INFO] 
>
----------------------------------------------------------------------------
>
> [INFO] Building ServiceMix
>
> [INFO]    task-segment: [install]
>
> [INFO] 
>
----------------------------------------------------------------------------
>
>  
>
> It seams to me that m2 cannot reach the repository to download the 
> jar(s).
>
> Here the dir defined in the pom.xml
>
>  
>
> *The pom defines:*
>
> <repository>
>
>       <id>apache</id>
>
>       <name>Apache Repository</name>
>
>       <url>http://cvs.apache.org/repository</url>
>
>       <layout>legacy</layout>
>
>     </repository>
>
>  
>
> *That's where m2 try to get the jar, see e.g. runtime error:*
>
> Downloading: 
> http://dist.codehaus.org/javax.transaction/jars/jta-1.0.1B.jar
>
> [WARNING] Unable to get resource from repository codehaus 
> (http://dist.codehaus.org)
>
> Downloading: 
> http://cvs.apache.org/repository/javax.transaction/jars/jta-1.0.1B.jar
>
> [WARNING] Unable to get resource from repository apache 
> (http://cvs.apache.org/repository)
>
> Downloading: 
> http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
>
> [INFO] 
>
----------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO] 
>
----------------------------------------------------------------------------
>
> [INFO] Failed to resolve artifact.
>
>  
>
> Does one have an idea? Or can someone please tell me what I'm doing wrong.
>
> Thanks for help and info.
>
> Cheers
>
> Roland
>
>  
>



Re: Compile error usinf m2 in actural svn repository at apache.org

Posted by Joseph Dennis Gapuz <jg...@exist.com>.
Hi Roland,

We are still working on running M2 for Servicemix, please use Maven 1 
instead for now.

We'll update you as soon as M2 is working on building Servicemix.

Regards,
Joseph

Roland Oertig wrote:

> Hi all
>
> *Using m2:*
>
> E:\eclipse_3.1\workspace\servicemix\trunk>mvn install
>
> [INFO] Scanning for projects...
>
> [INFO] Reactor build order:
>
> [INFO]   ServiceMix
>
> [INFO]   ServiceMix :: JBI
>
> [INFO]   ServiceMix Container
>
> [INFO]   ServiceMix :: Components
>
> [INFO]   ServiceMix :: Common
>
> [INFO]   ServiceMix :: Console
>
> [INFO]   ServiceMix :: GBeans
>
> [INFO]   ServiceMix :: JMS
>
> [INFO] 
> ----------------------------------------------------------------------------
>
> [INFO] Building ServiceMix
>
> [INFO]    task-segment: [install]
>
> [INFO] 
> ----------------------------------------------------------------------------
>
>  
>
> It seams to me that m2 cannot reach the repository to download the 
> jar(s).
>
> Here the dir defined in the pom.xml
>
>  
>
> *The pom defines:*
>
> <repository>
>
>       <id>apache</id>
>
>       <name>Apache Repository</name>
>
>       <url>http://cvs.apache.org/repository</url>
>
>       <layout>legacy</layout>
>
>     </repository>
>
>  
>
> *That's where m2 try to get the jar, see e.g. runtime error:*
>
> Downloading: 
> http://dist.codehaus.org/javax.transaction/jars/jta-1.0.1B.jar
>
> [WARNING] Unable to get resource from repository codehaus 
> (http://dist.codehaus.org)
>
> Downloading: 
> http://cvs.apache.org/repository/javax.transaction/jars/jta-1.0.1B.jar
>
> [WARNING] Unable to get resource from repository apache 
> (http://cvs.apache.org/repository)
>
> Downloading: 
> http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
>
> [INFO] 
> ----------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO] 
> ----------------------------------------------------------------------------
>
> [INFO] Failed to resolve artifact.
>
>  
>
> Does one have an idea? Or can someone please tell me what I'm doing wrong.
>
> Thanks for help and info.
>
> Cheers
>
> Roland
>
>  
>