On 04/21/2011 02:40 PM, Andreas Hahn wrote: > Am 21.04.2011 09:58, schrieb Thomas Mortagne: >> On Thu, Apr 21, 2011 at 09:47, Andreas Hahn<[email protected]> wrote: >>> Once again ... this time with context - sorry :( >>> >>> Am 02.03.2011 17:48, schrieb Fabio Mancinelli: >>>> Actually the tutorial seems a bit out of date because now it is much >>>> simpler to setup such an environment. >>>> >>>> 1) Install Eclipse Helios JEE >>>> 2) Install M2Eclipse >>>> 3) svn co http://svn.xwiki.org/svnroot/xwiki/platform/trunks/ platform >>>> in your Workspace directory >>>> 4) Import the platform/tools/xem-web-debug-eclipse as an *existing >>>> eclipse project* >>>> 5) Wait for M2Eclipse to resolve all the dependencies, build indexes, >>>> etc. (this can take a while) >>> Fabio, >>> >>> just followed your step-by-step tutorial and got the following error >>> message (during step 5): >>> >>> Project *build* error: Non-resolvable parent POM: Failure to find >>> org.xwiki.enterprise:xwiki-enterprise-parent:pom:3.1-SNAPSHOT in >>> http://repository.jboss.org/maven2/ was cached in the local repository, >>> resolution will not be reattempted until the update interval of JBOSS >>> has elapsed or updates are forced and 'parent.relativePath' points at >>> wrong local POM >>> >>> I must be doing something wrong here but your instructions are pretty >>> straightforward. >> Actually no you are not, just a bad timing :) >> >> XWiki svn repository is pretty much abandoned and does not really work >> on trunk now. You have to go to https://github.com/xwiki/ now to get >> sources. >> >> I just updated >> http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse >> page. > > Ok, I downloaded and installed git as in > http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse#HGetthesourceforXWiki > (cloned xwiki-platform.git). > > In the next section "Setting Eclipse" I wonder what is the default project. > Is it the top-level pom ? I tried that but I'm still getting the same > errors. > BTW in 'The best way to get the debug project is to clone it from git > <http://dev.xwiki.org/xwiki/bin/view/Community/git> and look at the > README file instructions' the link to 'git' is broken. > > I tried other poms also but no success - - still same ? error: > > Description Resource Path Location Type > Project build error: Non-resolvable parent POM for > org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find > org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in > http://caucho.com/m2/ was cached in the local repository, resolution > will not be reattempted until the update interval of > maven2-repository.caucho.com has elapsed or updates are forced and > 'parent.relativePath' points at wrong local POM pom.xml > /xwiki-platform-rendering-macro-php line 1 Maven pom Loading Problem > Project build error: Non-resolvable parent POM for > org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find > org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in > http://download.java.net/maven/2 was cached in the local repository, > resolution will not be reattempted until the update interval of > maven2-repository.dev.java.net.2 has elapsed or updates are forced and > 'parent.relativePath' points at wrong local POM pom.xml > /xwiki-platform-oldcore line 1 Maven pom Loading Problem > Project build error: Non-resolvable parent POM for > org.xwiki.platform:xwiki-platform:3.1-SNAPSHOT: Failure to find > org.xwiki.commons:xwiki-commons-pom:pom:3.1-SNAPSHOT in > http://download.java.net/maven/2 was cached in the local repository, > resolution will not be reattempted until the update interval of > maven2-repository.dev.java.net.2 has elapsed or updates are forced and > 'parent.relativePath' points at wrong local POM pom.xml > /xwiki-platform-rendering-macro-rss line 1 Maven pom Loading Problem > > Eclipse Ide shows 159 projects starting with 'xwiki-platform'. > Is it assumed to be this way ? > > Hmm - They are all flagged as erroneous. > > Somewhere seems I have taken the wrong direction .... > > thanks > > Andreas
Did you add the XWiki repositories to the maven settings? http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

