{"id":159,"date":"2006-05-13T18:39:00","date_gmt":"2006-05-13T22:39:00","guid":{"rendered":"http:\/\/www.dr-chuck.com\/wordpress\/?p=159"},"modified":"2011-12-17T12:19:46","modified_gmt":"2011-12-17T16:19:46","slug":"dont-compile-sakai-with-maven-1-0-use-1-02-at-least","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2006\/05\/dont-compile-sakai-with-maven-1-0-use-1-02-at-least\/","title":{"rendered":"Don&#8217;t compile Sakai with maven 1.0 &#8211; use 1.02 at least"},"content":{"rendered":"<p>If you see a bunch of messages that look like this:<br \/>\nBUILD FAILED<br \/>\nFile&#8230;&#8230; \/Users\/csev\/.maven\/cache\/sakai-2.0.0\/plugin.jelly<br \/>\nElement&#8230; maven:reactor<br \/>\nLine&#8230;&#8230; 34<br \/>\nColumn&#8230;. 6<br \/>\nThe build cannot continue because of the following unsatisfied dependencies:<br \/>\nsakai-gradebook-app-business-.jar<br \/>\nsakai-gradebook-service-api-.jar<br \/>\nsakai-gradebook-service-hibernate-.jar<br \/>\nsakai-gradebook-service-impl-.jar<br \/>\nsakai-sections-api-.jar<br \/>\nsakai<br \/>\nThen you need to upgrade your maven to at least 1.0.2.<br \/>\nThe problem is that the file<br \/>\n~\/dev\/sakai\/gradebook\/app\/proect.xml<br \/>\nExtends<br \/>\n~\/dev\/sakai\/gradebook\/project.xml<br \/>\nWhich extends<br \/>\n~\/dev\/sakai\/master\/project.xml<br \/>\nWhich reads<br \/>\n~\/dev\/sakai\/master\/project.properties<br \/>\nAnd finds this property:<br \/>\nsakai.version=dev<br \/>\nThe problem is that in Maven 1.0 the inheritance path does not find the properties and so the jars are improperly named.<br \/>\nIn Maven 1.0.2 this all works.<br \/>\nI was scratching my head for a few days on this one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you see a bunch of messages that look like this: BUILD FAILED File&#8230;&#8230; \/Users\/csev\/.maven\/cache\/sakai-2.0.0\/plugin.jelly Element&#8230; maven:reactor Line&#8230;&#8230; 34 Column&#8230;. 6 The build cannot continue because of the following unsatisfied dependencies: sakai-gradebook-app-business-.jar sakai-gradebook-service-api-.jar sakai-gradebook-service-hibernate-.jar sakai-gradebook-service-impl-.jar sakai-sections-api-.jar sakai Then you need to upgrade your maven to at least 1.0.2. The problem is that the file ~\/dev\/sakai\/gradebook\/app\/proect.xml [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-159","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":2,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":2265,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/159\/revisions\/2265"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}