A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/756.html
Document ID: 756
Branch: main
Language: default
Name: Cocoon's Mavenization (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 10/23/05 8:45:25 PM
Updated by: Jorg Heymans
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 3782 bytes (previous version: 4132 bytes)
Content diff:
(19 equal lines skipped)
<h2>Current Structure</h2>
<p>/repository-root<br/>
--- <strong>pom.xml </strong>-> defines all modules <br/>
+++ <strong>pom.xml </strong>-> defines all modules <br/>
/core<br/>
--- <strong>pom.xml </strong>-> cocoon-core definition<br/>
--- /webapp<br/>
--- <strong>pom.xml</strong> -> webapp definition<br/>
--- /src/blocks<br/>
--- /apples<br/>
--- <strong>pom.xml </strong>-> block definition
--- <br/>
--- /authentication-fw<br/>
--- <strong>pom.xml</strong></p>
+++ <strong>pom.xml </strong>-> cocoon-core definition<br/>
+++ /webapp<br/>
+++ <strong>pom.xml</strong> -> webapp definition<br/>
+++ /src/blocks<br/>
+++ /apples<br/>
+++ <strong>pom.xml </strong>-> block definition <br/>
+++ /authentication-fw<br/>
+++ <strong>pom.xml</strong></p>
<h2>Good to know if you want to try out M10N</h2>
(17 equal lines skipped)
<h5>switch-off testing</h5>
--- <p>maven by default runs tests, use <tt>-Dmaven.test.skip=true </tt>to
disable
+++ <p>maven by default runs tests, use <tt>-Dmaven.test.skip=true </tt>to
disable
them</p>
<h5>build offline</h5>
(17 equal lines skipped)
need to do at this point is add the following to pom.xml of the module</p>
<p><tt><dependency><br/>
--- <groupId>cglib</groupId> ---> corresponds to the name
of
--- the directory under URL above<br/>
--- <artifactId>cglib</artifactId> ---> corresponds to
the
+++ <groupId>cglib</groupId> ---> corresponds to the name of the
+++ directory under URL above<br/>
+++ <artifactId>cglib</artifactId> ---> corresponds to the
subdirectory of the groupId, which in this case is the same<br/>
--- <version>2.1</version><br/>
+++ <version>2.1</version><br/>
</dependency></tt></p>
<p>The next goal execution will trigger a download of this module with all
its
(16 equal lines skipped)
<p>After this, you can go ahead and add the dependency to your cocoon
block</p>
<p><tt> <dependency><br/>
--- <groupId>jdbigroupId> <br/>
--- <artifactId>jdbi</artifactId> <br/>
--- <version>3.0.1beta</version><br/>
+++ <groupId>jdbigroupId> <br/>
+++ <artifactId>jdbi</artifactId> <br/>
+++ <version>3.0.1beta</version><br/>
</dependency><br/>
</tt><br/>
Now package your block again to verify that maven downloads the dependency
(7 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes