[Building Sakai] m2eclipse and sakai dependencies

Erik Froese erik.froese at gmail.com
Tue Mar 1 08:36:43 PST 2011


How did you add the dependencies? If you use the pom.xml graphical
editor it should update the project dependencies and the code editor.

Try right-clicking on the project, go to Maven -> Update Project Configuration.

https://docs.sonatype.org/display/M2ECLIPSE/Eclipse+project+configuration

Erik

On Tue, Mar 1, 2011 at 4:56 AM, 50600822 at stu.hcmut.edu.vn
<50600822 at stu.hcmut.edu.vn> wrote:
> Hi, everybody
>
>   When I created a project with SakaiAppBuilder and re-configured dependencies with new coordinate, whatever I do, the dependencies aren't added to the build path. I'm sure I do it right, I take a look from other tool pom.xml and ultimately when I compile with "mvn clean install sakai:deploy" it workd fine, the tool is running properly after deploy. I even opened the WAR to see if the dependencies were there(yes they are).
> But as long as the pom do not apply itself to build path, there is no code suggestion, and a lot of red-cross mark appear during coding. Can somebody tell me how use m2eclipse the right way?
>
> When I try eclipse:eclipse on existing tool in Sakai then import the project into eclipse, the build path is full with dependency in the pom.xml. I don't know what I did wrong with my project T_T .
> I am now have to add JAR manually even though they were specified in the pom... somebody help me X< ...
>
> Thanks in advance.
> _______________________________________________
> 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