Very straight forward and simple. I would like to leave here some minor issues i've encountered in case someone else comes across the same situation. They are probably due to configurations and similar. I am using Ubuntu and eclipse.
1. Following instructions, when you create the dependency: you only create <groupId> and <artifactId>. When i did it, eclipse complained about the <version>. I just copied and pasted from pom.xml file at Nexus <version>2.7</version> and Eclipse stopped complaining about this. 2. files with extension ...jar.lastversion: once i added the dependency, i did a 'maven > update project...' and i got this error: The container 'Maven Dependencies' references non existing library '/home/USER_FOLDER/.m2/repository/info/magnolia/standard-templating-kit/2.7/standard-templating-kit-2.7.jar'. So i checked the folder and i saw the files with the extension: '.lastUpdated'. Then i googled the error and i saw this entry (http://stackoverflow.com/questions/2529218/maven-downloads-have-lastupdated-as-extension) in stack overflow where Jörn Guy Süß explains that 'These files indicate to Maven that it attempted to obtain the archive by download, but was unsuccessful...' he also recommend to run maven -U, but i got more errors... Other guy (carlspring) mentions the possibility of an incorrect routing rule definition when you are working with Nexus... which i honestly don't know what he means... Basically you got to make sure that eclipse got what it wants and where it wants it. If you have problems getting the files via eclipse, you can try to download files from Nexus to the folder where eclipse is looking for them. ... and clean, and build, and restart,... Once these two issues were sorted i got my stk-module installed and running. Thank you. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=92acfea5-b760-4b68-829f-be8dba9d7407 ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
