{"issue":{"title":"Improve build system","user":{"login":"tiry","id":593112,"url":"https://api.github.com/users/tiry","avatar_url":"https://secure.gravatar.com/avatar/5b1aa1bdcced043c264a3897b54dd7dc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5b1aa1bdcced043c264a3897b54dd7dc"},"created_at":"2011-12-28T13:46:12Z","milestone":null,"state":"open","updated_at":"2011-12-28T13:46:12Z","labels":[],"id":2671270,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/easysoa/EasySOA/issues/80","body":"\r\nI just did a fresh build on a clean computer and had some issues.\r\n\r\nMay be it's my fault, but anyway, it always good to share this kind of feedback, so here I go.\r\n\r\nThe main problems were on Frascati.\r\nThe build maven plugins used by Frascati are 1.5 SNAPSHOT are not available anywhere.\r\n\r\nSo I build frascati source code (trunk).\r\nI tried to build only the maven plugins but that was not enought, so I built everything.\r\n\r\nFor that I had to remove the http://www.openarchitectureware.org/m2 repository that is very very very slow (if not down for real), but it seems to be directly referenced from some of the frascati artifacts poms ...\r\n\r\n=> I had to add www.openarchitectureware.org to my /etc/hosts to make it resolve to 127.0.0.1 because I did not want to spend all day waiting for mvn to complete timeout\r\n\r\nIn addition of pointing eclipse repo to 127.0.0.1, I also had to add the Maven Nuxeo repo to be able to get the eclipses deps.\r\n\r\n=> With that in place, I have a frasacti build working\r\n\r\nOn Easy SOA Build there seem to be some issues too.\r\n\r\nFor example :\r\n\r\n<pre>\r\n[INFO] Building EasySOA HTTP Discovery Proxy\r\n[INFO]    task-segment: [install]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] [resources:resources {execution: default-resources}]\r\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\r\n[INFO] Copying 14 resources\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] BUILD ERROR\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Failed to resolve artifact.\r\n\r\nMissing:\r\n----------\r\n1) org.easysoa.registry:easysoa-registry-api:jar:0.4-SNAPSHOT\r\n</pre>\r\n\r\n=> I changed the pom to point to org.easysoa.registry.api:easysoa-registry-api-core + remote and added JSOn dep\r\n\r\nLooks like there are also some api changes, so I changed quickly the code so that I can build.\r\n\r\n==> I get a EasySOA build working\r\n\r\n==> I can mvn eclipse:eclipse and import the projects into eclipse :) \r\n\r\nSo, I got everthing building in command line and in Eclipse at about 4:30 PM :)\r\n\r\nI am clearly not a Maven expert, but I spent several hours to try to get the build to run.\r\n\r\n=> If needed I can ask our devops to have a look at this when he is back ...\r\n\r\nNB : in the CI chain, it may be worth adding a build from a clean repository : this helps finding out this kind of problem that you probably don't have in local (we did that for Nuxeo for the exact same reason).\r\n\r\n - because the old artifact org.easysoa.registry:easysoa-registry-api:jar:0.4-SNAPSHOT probably existed at some point in time\r\n\r\n - because you have installed a lot of frascati stuffs \r\n\r\n","number":80,"url":"https://api.github.com/repos/easysoa/EasySOA/issues/80","comments":0,"assignee":{"login":"mdutoo","id":690874,"url":"https://api.github.com/users/mdutoo","avatar_url":"https://secure.gravatar.com/avatar/f77387e0f855a6045d4f82bd4dcab8be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f77387e0f855a6045d4f82bd4dcab8be"}},"action":"opened"}