[Building Sakai] Please help me import sakai into eclipse
Steven Githens
swgithen at mtu.edu
Tue Mar 23 11:46:04 PDT 2010
chuot con wrote:
> Hi
>
> I'm trying to set up the development environment by following the
> steps listed in
> http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
>
> Step 11 must be required ? What is its purpose ?
>
Hi Thinh,
Step 11 is what builds the actual Sakai project that you will be
installed in a tomcat, so it's required in order to run the sakai server.
I think the following errors below are Ok. It might take Eclipse a few
tries in order to figure everything out with the source code. But
again, the actual build for the server it what you're running on the
command line in step 11 and then step 12, so the rest in just for
editing Sakai (not to say it's not important to get the errors out of
Eclipse.)
-Steve
>
> When I got to step 17:
> mvn eclipse:clean => Build successful
> mvn eclipse:eclipse => Build successful
> mvn eclipse:m2eclipse => Build FAILURE
> [INFO] Required goal not found: eclipse:m2eclipse in
> org.apache.maven.plugins:ma
> ven-eclipse-plugin:2.8
>
> When I got to step 17.h.iii, I received note:
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR] The project org.sakaiproject:master:2.6.2
> (C:\sakai\master\pom.xml) has 2 errors
> [ERROR]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: javax.jcr:jcr:jar -> version 1.0 vs ${sakai.jcr.version}
> [ERROR]
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
> must be unique: org.sakaiproject:sakai-contentreview-service-api:jar
> -> duplicate declaration of version ${sakai.version}
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>
> Please help me. I'm crazy.
>
> Thanks for your helping.
>
> Thinh.
>
>
>
> I'
> <http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough>
> <http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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