[Building Sakai] Query on Installing Sakai
Anthony Whyte
arwhyte at umich.edu
Fri Feb 18 07:12:50 PST 2011
I suspect you are sitting behind a proxy server and need to add or reconfigure your proxy settings in your local settings.xml file.
Something like:
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net,some.host.com</nonProxyHosts>
</proxy>
</proxies>
Cheers,
Anthony
On Feb 18, 2011, at 9:45 AM, Paul Mungai wrote:
> Could someone explain how to work around this (setting it to point to correct repo's). I tried downloading and installing using mvn:install but still.....
>
> Comes as a result of issuing
>
> Desktop:/opt/apache-tomcat-5.5.30/sakai/master$ mvn clean install
>
> Downloading: http://snapshots.repository.codehaus.org//org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.jar
> [INFO] Unable to find resource 'org.sakaiproject.maven.
> plugins:sakai:maven-plugin:1.2.0' in repository codehaus snapshot repository (http://snapshots.repository.codehaus.org/)
> Downloading: http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.jar
> [WARNING] Unable to get resource 'org.sakaiproject.maven.plugins:sakai:maven-plugin:1.2.0' from repository Sakai Plugin Repo (http://source.sakaiproject.org/maven2): Error transferring file: Server redirected too many times (20)
> Downloading: http://repo1.maven.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.jar
> [INFO] Unable to find resource 'org.sakaiproject.maven.plugins:sakai:maven-plugin:1.2.0' in repository central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.sakaiproject.maven.plugins -DartifactId=sakai -Dversion=1.2.0 -Dpackaging=maven-plugin -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.sakaiproject.maven.plugins -DartifactId=sakai -Dversion=1.2.0 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
> org.sakaiproject.maven.plugins:sakai:maven-plugin:1.2.0
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> Sakai Plugin Repo (http://source.sakaiproject.org/maven2),
> codehaus snapshot repository (http://snapshots.repository.codehaus.org/)
>
>
> org.sakaiproject.maven.plugins:sakai:maven-plugin:1.2.0
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2),
> Sakai Plugin Repo (http://source.sakaiproject.org/maven2),
> codehaus snapshot repository (http://snapshots.repository.codehaus.org/)
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18 seconds
> [INFO] Finished at: Fri Feb 18 16:34:47 SAST 2011
> [INFO] Final Memory: 47M/392M
> [INFO] ------------------------------------------------------------------------
>
>
> --
> Regards,
> Paul Mungai
>
> "Ability is what youre capable of doing. Motivation determines what you do. Attitude determines how well you do it" By Lou Holtz, Notre Dame Football Coach
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110218/da6e3cd4/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3829 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110218/da6e3cd4/attachment.bin
More information about the sakai-dev
mailing list