Hi Nils,

I've tried following exactly Grégory's tutorial as well as the "Working with 
Maven" and "Automated Project Setup" sections of the Magnolia Acedemy.

If you follow either of them the first problem you'll hit is that the maven 
project simply won't build. 
I posted a comment on the "module quick start" page of the Wiki describing the 
issue, but the basic problem is that there is no repository declared for the 
Vaadin dependencies. For anyone not comfortable with Maven this would probably 
be so frustrating they'd just give up at that point. Even once that's fixed 
Maven still issues a warning because of a malformed POM file (it'll still 
build, but this is confusing for someone coming to the project new).

Once the basic project build you'll hit the problem I'm getting now, which is 
that when you try to declare a dependency on the STK module you can build the 
project but it won't launch because the modules declare dependencies on other 
modules (specifically the fckeditor). If you try to add those to a project that 
has been set up according to either of the tutorials you mention above you'll 
hit the problem that the Magnolia maven repository seems to be behaving 
strangely. Even though newer versions of (for instance) the fckeditor appear in 
the Nexus browser for the repository, they don't seem to be able to be declared 
in the project. Check out this URL :

 
[url=http://nexus.magnolia-cms.com/content/groups/public/info/magnolia/magnolia-editor-fckeditor/]http://nexus.magnolia-cms.com/content/groups/public/info/magnolia/magnolia-editor-fckeditor/[/url]

that's what you get if you follow the magnolia maven repository declaration 
specified in the project archetype - you'll see that the latest version of the 
module is 3.5.9 - that's the latest version I can declare a dependency on, but 
Magnolia 5 STK requires version 4.1.2.

I suspect that these are problems magnolia devs don't see because they already 
have different repository set ups on their machines. Try following the tutorial 
instructions on a virgin machine to reproduce the problem.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=d5a32076-0bd8-443d-b54c-24d5da9e0731

You are invited to Magnolia Conference. Less than a month to go! Register now: 
http://www.magnolia-cms.com/conference/register.html


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to