[Building Sakai] Build problems with 2.9 on Centos
Steve Swinsburg
steve.swinsburg at gmail.com
Wed Mar 27 05:01:12 PDT 2013
What version maven?
On 27/03/2013, at 10:45 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
> Actually I see that Java 1.6 is also installed(?);
> [root at theta sakai]# yum install java-1.6.0
> Loaded plugins: fastestmirror, refresh-packagekit, security
> Loading mirror speeds from cached hostfile
> * base: centos.mbni.med.umich.edu
> * extras: mirror.linux.duke.edu
> * rpmforge: mirror.us.leaseweb.net
> * updates: mirror.team-cymru.org
> Setting up Install Process
> Package 1:java-1.6.0-openjdk-1.6.0.0-1.57.1.11.9.el6_4.i686 already installed and latest version
> Nothing to do
>
> I also see that Maven gives a bunch of other not-found errors, but I don't know if they are critical or not.
>
> Downloading: http://source.sakaiproject.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom
> 2K downloaded (maven-dependency-plugin-2.0.pom)
> Downloading: http://source.sakaiproject.org/maven2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom
> [INFO] Unable to find resource 'org.apache.maven.plugins:maven-plugins:pom:10' in repository Sakai Plugin Repo (http://source.sakaiproject.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/10/maven-plugins-10.pom
> 7K downloaded (maven-plugins-10.pom)
> Downloading: http://source.sakaiproject.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-parent:pom:7' in repository Sakai Plugin Repo (http://source.sakaiproject.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-parent/7/maven-parent-7.pom
> 20K downloaded (maven-parent-7.pom)
> Downloading: http://source.sakaiproject.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.jar
> 87K downloaded (maven-dependency-plugin-2.0.jar)
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sakai Master
> [INFO] task-segment: [dependency:tree]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://source.sakaiproject.org/maven2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom
> [INFO] Unable to find resource 'org.apache.maven:maven-artifact:pom:2.0.8' in repository Sakai Plugin Repo (http://source.sakaiproject.org/maven2)
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.8/maven-artifact-2.0.8.pom
> 1K downloaded (maven-artifact-2.0.8.pom)
> Downloading: http://source.sakaiproject.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom
> [INFO] Unable to find resource 'org.codehaus.plexus:plexus-utils:pom:1.4.6' in repository Sakai Plugin Repo (http://source.sakaiproject.org/maven2)
> Downloading: http://source.sakaiproject.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom
> -------------------------------------------
> Dr. Gregory Guthrie
>
> Computer Science Department
> Dean, and Professor of Computer Science
> School of Computer Science & Mathematics
> Maharishi University of Management
> -------------------------------------------
>
>
>> -----Original Message-----
>> From: Gregory Guthrie
>> Sent: Monday, March 25, 2013 12:02 PM
>> To: sakai-dev at collab.sakaiproject.org
>> Subject: Build problems with 2.9 on Centos
>>
>> I tried a build on Centos(6) of Sakai 2.9, and get this error (below).
>>
>> I wonder if it is because of some local confusion on the version of Java installed?
>> I do have JAVA_HOME et. all set, and followed all the instructions on Confluence (I hope!).
>>
>> Java reports 1.6, Linux reports 1.5.
>>
>> [root at theta sakai]# yum install java
>> Loaded plugins: fastestmirror, refresh-packagekit, security
>> Loading mirror speeds from cached hostfile
>> * base: centos.netnitco.net
>> * extras: mirror.linux.duke.edu
>> * rpmforge: mirror.us.leaseweb.net
>> * updates: centos.corenetworks.net
>> Setting up Install Process
>> Package java-1.5.0-gcj-1.5.0.0-29.1.el6.i686 already installed and latest version
>> Nothing to do
>>
>> [root at theta sakai]# java -version
>> java version "1.6.0_24"
>> OpenJDK Runtime Environment (IcedTea6 1.11.9) (rhel-1.57.1.11.9.el6_4-i386)
>> OpenJDK Client VM (build 20.0-b12, mixed mode)
>>
>> Ah, for the glorious future of having "yum install sakai"! :-)
>>
>>
>> https://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkt
>> hrough
>> ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Failed to resolve artifact.
>>
>> Missing:
>> ----------
>> 1) com.sun:tools:jar:1.5.0
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -
>> Dpackaging=jar -Dfile=/ path/to/file
>>
>> Alternatively, if you host your own repository you can deploy the file there:
>> mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools -Dversion=1.5.0 -
>> Dpackaging=jar -Dfile=/pa th/to/file -Durl=[url] -DrepositoryId=[id]
>>
>> Path to dependency:
>> 1) org.sakaiproject.kernel:sakai-component-manager:jar:1.3.0
>> 2) com.sun:tools:jar:1.5.0
>>
>> ----------
>> 1 required artifact is missing.
>>
>> for artifact:
>> org.sakaiproject.kernel:sakai-component-manager:jar:1.3.0
>>
>> from the specified remote repositories:
>> default (http://repo1.maven.org/maven2),
>> central (http://repo1.maven.org/maven2),
>> sakai-maven (http://source.sakaiproject.org/maven2),
>> sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
>> -------------------------------------------
> _______________________________________________
> 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"
More information about the sakai-dev
mailing list