You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by new_to_sakai <va...@gmail.com> on 2008/03/07 05:08:32 UTC

Build Issues with Maven

Hi,
I'm building SAKAI(2.4) using Maven 1.1 . When I try to build the SAKAI,
I get the following error :

Unable to download Dependencies for Tomcat 5.5.23 :zip from the site
http://source.sakaiproject.org/maven

Unable to download Dependencies for sakai2.2:plugin  from the site
http://source.sakaiproject.org/maven
 Can anyone please help me out :

-- 
View this message in context: http://www.nabble.com/Build-Issues-with-Maven-tp15889556s177p15889556.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build Issues with Maven

Posted by new_to_sakai <va...@gmail.com>.
I'm using a Maven 1.1 version for sakai 2.4.0 , the Tomcat version is 5.5.26

I am getting the follwing error while  building  it.... also, My
build.properties file contains :

 maven.repo.remote =
http://source.sakaiproject.org/maven/,http://repo1.maven.org/maven/

maven.tomcat.home = C:/apache-tomcat-5.5.26/

I have placed the build.properties file in the same folder where .maven
exists ... is this a problem? 
I have placed sakai source code also in the folder where my user name exists
i.e. c:/Documents and Settings/kp61152   .... 

The error Iam getting is 
The build cannot continue because of unsatisfied dependencies
-sakaiproject:sakai:2.2:plugin
-tomcat:apache-tomcat:5.5.23:zip

I have tried to download those files but I'm not sure where to place
this.......

Please I need immediate help

I have tried  for a solution by reading the forum threads, but I'm still not
able to resolve


Lukas Theussl-3 wrote:
> 
> The artifacts are in the repo, did you add 
> http://source.sakaiproject.org/maven/ to maven.repo.remote? What command 
> are you running and what is the full error message you get (the message 
> below is not one that I recognize from m1.1, it should say 'The build 
> cannot continue because of the following unsatisfied dependency:'...)?
> 
> -Lukas
> 
> 
> new_to_sakai wrote:
>> Hi,
>> I'm building SAKAI(2.4) using Maven 1.1 . When I try to build the SAKAI,
>> I get the following error :
>> 
>> Unable to download Dependencies for Tomcat 5.5.23 :zip from the site
>> http://source.sakaiproject.org/maven
>> 
>> Unable to download Dependencies for sakai2.2:plugin  from the site
>> http://source.sakaiproject.org/maven
>>  Can anyone please help me out :
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-Issues-with-Maven-tp15889556s177p15950567.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build Issues with Maven

Posted by Lukas Theussl <lt...@apache.org>.
plugin:download works for me, see below. I'd guess from the wagon 
timeout that you are behind a proxy, in that case you should review the 
maven proxy properties: 
http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties

HTH,
-Lukas



maven plugin:download -DgroupId=sakaiproject -DartifactId=sakai 
-Dversion=2.2 -Dmaven.repo.remote=http://source.sakaiproject.org/maven/
  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1

WARNING: No pom file was found, assuming default settings!

build:start:

plugin:download-artifact:
     [mkdir] Created dir: /home/lukas/.maven/repository/sakaiproject/plugins
     [echo] repo is 'http://source.sakaiproject.org/maven/'
     [echo] trying to download 
http://source.sakaiproject.org/maven//sakaiproject/plugins/sakai-2.2.jar
.................... (4K)

plugin:download:
     [delete] /home/lukas/.maven/plugins not found.
     [copy] Copying 1 file to /home/lukas/local/java/maven/maven-1.1/plugins
-------------------------------------------------------------------------------
BUILD SUCCESSFUL
-------------------------------------------------------------------------------


new_to_sakai wrote:
> The command that I'm using is         maven  bld dpl....  This is the error I 
> get
> 
> C:\Documents and Settings\kp61152\sakai-src>maven bld dpl
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1
> 
> Trying to get missing dependencies (and updated snapshots) required by
> Sakai:
> - Attempting to download sakaiproject:sakai:2.2:plugin from
> http://source.sakaip
> roject.org/maven/
> Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
> org.apac
> he.maven.wagon.TransferFailedException: Connection timed out: connect
> - Attempting to download tomcat:apache-tomcat:5.5.20:zip from
> http://source.saka
> iproject.org/maven/
> Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
> org.apac
> he.maven.wagon.TransferFailedException: Connection timed out: connect
> -------------------------------------------------------------------------------
> 
>>>The build cannot continue because of the following unsatisfied
>>>dependencies:
> 
> - sakaiproject:sakai:2.2:plugin
> - tomcat:apache-tomcat:5.5.20:zip
> 
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time   : 2 minutes 58 seconds
> Finished at  : Monday, March 10, 2008 10:59:40 AM GMT+05:30
> Final Memory : 1M/3M
> -------------------------------------------------------------------------------
> 
> 
> 
> I  also tried this .....
> 
> 
> C:\Documents and Settings\kp61152\sakai-src>maven plugin:download
> -DgroupId=saka
> iproject -DartifactId=sakai -Dversion=2.2
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.1
> 
> Trying to get missing dependencies (and updated snapshots) required by
> Sakai:
> - Attempting to download sakaiproject:sakai:2.2:plugin from
> http://source.sakaip
> roject.org/maven/
> Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
> org.apac
> he.maven.wagon.TransferFailedException: Connection timed out: connect
> - Attempting to download tomcat:apache-tomcat:5.5.20:zip from
> http://source.saka
> iproject.org/maven/
> Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
> org.apac
> he.maven.wagon.TransferFailedException: Connection timed out: connect
> -------------------------------------------------------------------------------
> 
>>>The build cannot continue because of the following unsatisfied
>>>dependencies:
> 
> - sakaiproject:sakai:2.2:plugin
> - tomcat:apache-tomcat:5.5.20:zip
> 
> -------------------------------------------------------------------------------
> BUILD FAILED
> -------------------------------------------------------------------------------
> Total time   : 2 minutes 57 seconds
> Finished at  : Monday, March 10, 2008 11:19:47 AM GMT+05:30
> Final Memory : 1M/3M
> -------------------------------------------------------------------------------
> 
> C:\Documents and Settings\kp61152\sakai-src>
> 
>  I have a controlled and restricted access to certain  sites  from the
> network I work in... Does this pose any problem?
> 
> 
> 
> 
> 
> 
> The error message is 
> 
> Lukas Theussl-3 wrote:
> 
>>The artifacts are in the repo, did you add 
>>http://source.sakaiproject.org/maven/ to maven.repo.remote? What command 
>>are you running and what is the full error message you get (the message 
>>below is not one that I recognize from m1.1, it should say 'The build 
>>cannot continue because of the following unsatisfied dependency:'...)?
>>
>>-Lukas
>>
>>
>>new_to_sakai wrote:
>>
>>>Hi,
>>>I'm building SAKAI(2.4) using Maven 1.1 . When I try to build the SAKAI,
>>>I get the following error :
>>>
>>>Unable to download Dependencies for Tomcat 5.5.23 :zip from the site
>>>http://source.sakaiproject.org/maven
>>>
>>>Unable to download Dependencies for sakai2.2:plugin  from the site
>>>http://source.sakaiproject.org/maven
>>> Can anyone please help me out :
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build Issues with Maven

Posted by new_to_sakai <va...@gmail.com>.
The command that I'm using is         maven  bld dpl....  This is the error I 
get

C:\Documents and Settings\kp61152\sakai-src>maven bld dpl
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1

Trying to get missing dependencies (and updated snapshots) required by
Sakai:
- Attempting to download sakaiproject:sakai:2.2:plugin from
http://source.sakaip
roject.org/maven/
Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
org.apac
he.maven.wagon.TransferFailedException: Connection timed out: connect
- Attempting to download tomcat:apache-tomcat:5.5.20:zip from
http://source.saka
iproject.org/maven/
Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
org.apac
he.maven.wagon.TransferFailedException: Connection timed out: connect
-------------------------------------------------------------------------------
>> The build cannot continue because of the following unsatisfied
>> dependencies:
- sakaiproject:sakai:2.2:plugin
- tomcat:apache-tomcat:5.5.20:zip

-------------------------------------------------------------------------------
BUILD FAILED
-------------------------------------------------------------------------------
Total time   : 2 minutes 58 seconds
Finished at  : Monday, March 10, 2008 10:59:40 AM GMT+05:30
Final Memory : 1M/3M
-------------------------------------------------------------------------------



I  also tried this .....


C:\Documents and Settings\kp61152\sakai-src>maven plugin:download
-DgroupId=saka
iproject -DartifactId=sakai -Dversion=2.2
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1

Trying to get missing dependencies (and updated snapshots) required by
Sakai:
- Attempting to download sakaiproject:sakai:2.2:plugin from
http://source.sakaip
roject.org/maven/
Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
org.apac
he.maven.wagon.TransferFailedException: Connection timed out: connect
- Attempting to download tomcat:apache-tomcat:5.5.20:zip from
http://source.saka
iproject.org/maven/
Error retrieving artifact from [http://source.sakaiproject.org/maven/]:
org.apac
he.maven.wagon.TransferFailedException: Connection timed out: connect
-------------------------------------------------------------------------------
>> The build cannot continue because of the following unsatisfied
>> dependencies:
- sakaiproject:sakai:2.2:plugin
- tomcat:apache-tomcat:5.5.20:zip

-------------------------------------------------------------------------------
BUILD FAILED
-------------------------------------------------------------------------------
Total time   : 2 minutes 57 seconds
Finished at  : Monday, March 10, 2008 11:19:47 AM GMT+05:30
Final Memory : 1M/3M
-------------------------------------------------------------------------------

C:\Documents and Settings\kp61152\sakai-src>

 I have a controlled and restricted access to certain  sites  from the
network I work in... Does this pose any problem?






The error message is 

Lukas Theussl-3 wrote:
> 
> The artifacts are in the repo, did you add 
> http://source.sakaiproject.org/maven/ to maven.repo.remote? What command 
> are you running and what is the full error message you get (the message 
> below is not one that I recognize from m1.1, it should say 'The build 
> cannot continue because of the following unsatisfied dependency:'...)?
> 
> -Lukas
> 
> 
> new_to_sakai wrote:
>> Hi,
>> I'm building SAKAI(2.4) using Maven 1.1 . When I try to build the SAKAI,
>> I get the following error :
>> 
>> Unable to download Dependencies for Tomcat 5.5.23 :zip from the site
>> http://source.sakaiproject.org/maven
>> 
>> Unable to download Dependencies for sakai2.2:plugin  from the site
>> http://source.sakaiproject.org/maven
>>  Can anyone please help me out :
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-Issues-with-Maven-tp15889556s177p15950570.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Build Issues with Maven

Posted by Lukas Theussl <lt...@apache.org>.
The artifacts are in the repo, did you add 
http://source.sakaiproject.org/maven/ to maven.repo.remote? What command 
are you running and what is the full error message you get (the message 
below is not one that I recognize from m1.1, it should say 'The build 
cannot continue because of the following unsatisfied dependency:'...)?

-Lukas


new_to_sakai wrote:
> Hi,
> I'm building SAKAI(2.4) using Maven 1.1 . When I try to build the SAKAI,
> I get the following error :
> 
> Unable to download Dependencies for Tomcat 5.5.23 :zip from the site
> http://source.sakaiproject.org/maven
> 
> Unable to download Dependencies for sakai2.2:plugin  from the site
> http://source.sakaiproject.org/maven
>  Can anyone please help me out :
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org