[Building Sakai] Query on Installing Sakai

David Horwitz david.horwitz at uct.ac.za
Fri Feb 18 07:03:52 PST 2011


Hi Paul,

it should be able to download that automatically. The possible cause is
that maven is not configured to connect through your proxy to the sakai
repository,

Regards

David Horwitz

On 02/18/2011 05:00 PM, Paul Mungai wrote:
> I downloaded the required jar from
> http://source.sakaiproject.org/maven2/org/sakaiproject/maven/plugins/sakai/1.2.0/sakai-1.2.0.jar
>
>
>   
> Is this correct? and how do I automate this?
>
> On Fri, Feb 18, 2011 at 4:45 PM, Paul Mungai <paulwando at gmail.com
> <mailto:paulwando at gmail.com>> 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
>
>
>
>
> -- 
> Regards,
> Paul Mungai
>
> Skype: pwando
> Twitter: pwando
> Facebook: paulwando
> Blog: http://pmungai.wordpress.com
> Flickr: http://bit.ly/b84lip
>
> "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/fce9ec29/attachment.html 


More information about the sakai-dev mailing list