A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/796.html
Document ID: 796
Branch: main
Language: default
Name: BD: Tutorial: Creating, extending and running a block (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 2/11/06 1:00:20 PM
Updated by: Reinhard Pötz
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 7157 bytes (previous version: 7445 bytes)
Content diff:
(173 equal lines skipped)
<p class="fixme">[TBD]</p>
--- <p>So far you have only been using the block skeleton provided by the Maven
--- archetype. That's fine but I'm sure you want to do more. So let's extend the
--- existing block a bit and also implement a Cocoon action.<br/>
--- If you have compile-time dependencies on the required blocks, you also have
to
--- add the dependency to pom.xml:</p>
+++ <p>If you have compile-time dependencies on the required blocks, you also
have
+++ to add the dependency to pom.xml:</p>
--- <pre><project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
--- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+++ <pre><project>
...
<dependencies>
--- <dependency>
+++ <strong> <dependency>
<groupId>my-group</groupId>
<artifactId>my-artifact</artifactId>
<version>1.0.2</version>
<scope>test</scope>
--- </dependency>
+++ </dependency></strong>
<dependency>
</dependencies>
...
(3 equal lines skipped)
<p class="note">If your block doesn't have a compile-time dependency, you
don't
need to add it as Maven dependency.</p>
+++ <p class="note">You have to run <em>mvn eclipse:eclipse</em> again, if you
+++ change dependencies.</p>
+++
<h1>Further readings</h1>
<p>If you want to know more about Maven 2 than this document explains, have
a
(10 equal lines skipped)
Fields
======
no changes
Links
=====
no changes
Custom Fields
=============
no changes
Collections
===========
no changes