cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Cocoon's Mavenization
Date Sun, 23 Oct 2005 20:45:32 GMT
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>-&gt; defines all modules <br/>
+++ <strong>pom.xml </strong>-&gt; defines all modules <br/>
    /core<br/>
---             <strong>pom.xml  </strong>-&gt; cocoon-core definition<br/>
---      /webapp<br/>
---             <strong>pom.xml</strong>    -&gt; webapp definition<br/>
---      /src/blocks<br/>
---                     /apples<br/>
---                           <strong>pom.xml   </strong>-&gt;
block definition
--- <br/>
---                    /authentication-fw<br/>
---                           <strong>pom.xml</strong></p>
+++ <strong>pom.xml </strong>-&gt; cocoon-core definition<br/>
+++ /webapp<br/>
+++ <strong>pom.xml</strong> -&gt; webapp definition<br/>
+++ /src/blocks<br/>
+++ /apples<br/>
+++ <strong>pom.xml </strong>-&gt; 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>&lt;dependency&gt;<br/>
---       &lt;groupId&gt;cglib&lt;/groupId&gt;  ---&gt; corresponds
to the name of
--- the directory under URL above<br/>
---       &lt;artifactId&gt;cglib&lt;/artifactId&gt;   ---&gt;
corresponds to the
+++ &lt;groupId&gt;cglib&lt;/groupId&gt; ---&gt; corresponds to the name
of the
+++ directory under URL above<br/>
+++ &lt;artifactId&gt;cglib&lt;/artifactId&gt; ---&gt; corresponds to
the
    subdirectory of the groupId, which in this case is the same<br/>
---       &lt;version&gt;2.1&lt;/version&gt;<br/>
+++ &lt;version&gt;2.1&lt;/version&gt;<br/>
    &lt;/dependency&gt;</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> &lt;dependency&gt;<br/>
---       &lt;groupId&gt;jdbigroupId&gt;  <br/>
---       &lt;artifactId&gt;jdbi&lt;/artifactId&gt;   <br/>
---       &lt;version&gt;3.0.1beta&lt;/version&gt;<br/>
+++ &lt;groupId&gt;jdbigroupId&gt; <br/>
+++ &lt;artifactId&gt;jdbi&lt;/artifactId&gt; <br/>
+++ &lt;version&gt;3.0.1beta&lt;/version&gt;<br/>
    &lt;/dependency&gt;<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

Mime
View raw message