A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/756.html
Document ID: 756 Branch: main Language: default Name: Cocoon and Maven2 (aka "Mavenization of Cocoon" aka "M10N") (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 10/2/06 9:08:48 AM Updated by: Helma van der Linden A new version has been created, state: publish Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 12473 bytes (previous version: 13481 bytes) Content diff: (119 equal lines skipped) <p>This will produce artifacts for all blocks in your local repository.</p> --- <h2>How to mount the projects in eclipse</h2> --- --- <p>From /trunk, run <tt>$mvn clean install eclipse:clean eclipse:eclipse</tt>. --- </p> --- --- <p>Normally it would have been sufficient to just run <tt>mvn eclipse:clean --- eclipse:eclipse </tt>but a bug in the plugin prevents it from generating correct --- eclipse project references during a reactor build if the projects are not --- installed during the same run.</p> --- --- <p>Next go to eclipse, and make sure you haven't got trunk mounted as a<br/> --- project already. Do File-Import->Existing projects into workspace, then<br/> --- point to your trunk directory and it should detect the newly created<br/> --- blocks as projects.</p> --- --- <p>Note that you need to declare the M2_REPO classpath variable in your<br/> --- workspace, it should point to your local m2 repository.</p> --- --- <p>You can also get eclipse to download the sources of the dependent libraries --- (if available) and attach them<br/> --- to the jars in eclipse :</p> --- --- <p><tt>$ mvn -Declipse.downloadSources=true eclipse:eclipse</tt></p> --- <h2>How to convert an existing block to a maven managed block</h2> <p>For this example to work, you should make sure you have maven 2.0.1 or latest (184 equal lines skipped)