Hello!

I was using trunk-devs, but I should use trunks-users instead (thanks Vincent Massol for the tip).
I checked out the user sources and, as I already had maven installed and the settings.xml in its folder, I ran mvn install (accordingly to http://www.xwiki.org/xwiki/bin/view/Community/Building) but got the following errors:

Running the mvn install in ..\LocalTrunksUsers

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: unknown

Reason: Could not find the model file 'D:\FEUP\Mestrado\XWiki\Desenvolvimento\XW
ikiUserSource\xwiki-platform-core\pom.xml'.


Running the mvn install in ..\LocalTrunksUsers\xwiki-platform-core

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot execute mojo: resources. It requires a project with an existing po
m.xml, but the build is not using one.


Running the mvn install in ..\LocalTrunksUsers\xwiki-platform-core\xwiki-core

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to construct build plan for: com.xpn.xwiki.platform:xwiki-core:jar
:1.2-SNAPSHOT (  task-segment: [install] ). Reason: Failed to load plugin: Plugi
n [org.apache.maven.plugins:maven-checkstyle-plugin]. Reason: Failed to load plu
gin. Reason: The plugin ' org.apache.maven.plugins:maven-checkstyle-plugin' does
not exist or no valid version could be found


Errors 1 and 2 are caused by the miss of a Pom file in xwiki-platform-core. Is this normal?
Error 3 is due to the missing plugin... how can I get it?

Thanks again for your support!
Best regards,

Ricardo.

On 8/22/07, xwicaforrica@gmail.com < xwicaforrica@gmail.com> wrote:
Greetings!

I'm currently working on my master thesis, I've chosen XWiki as the wiki system that will support my platform.

I used the Windows Installer in http://www.xwiki.org/xwiki/bin/view/Main/Download and easily set up a local xwiki instance, in order to explore it and learn how it works.

But I shall probably have to adapt or create some functionality related to the Audit requirements I have defined (I'll save this for future posts ;) ), so I'd like to set up a development xwiki project using Eclipse.

I followed the instructions in  http://www.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse: I checked out the source from the trunks-devs, ran mvn eclipse:eclipse and created a new eclipse workspace, which I included in a new variable M2_REPO. Finally I created a java project and did an import from the folder with all the code (xwiki-platform-tools, xwiki-platform-core, xwiki-platform-web, xwiki-platform-plugins and the others). The result was 22070 errors and 390 warnings in the 'Problems' tab!

I think I must have missing something related to the building process.. being my first experience with eclipse, besides the tutorials, surely doesn't help!
Could you guys help me?

Thanks in advance and congratulations for the xwiki platform. I hope I can contribute with some code or plugins :)
Best regards,

Ricardo Pinto.

Ps: By the way, I'm using Windows XP, Eclipse 3.2, JDK 1.5.10, Tortoise SVN (and will use mySQL after setting up the IDE environment).



--
You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto: sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws