directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oer...@apache.org
Subject svn commit: r510296 [6/14] - in /directory/sandbox/oersoy/documentation.checklist.parent: ./ documentation.checklist.archetype/ documentation.checklist.archetype/src/ documentation.checklist.archetype/src/main/ documentation.checklist.archetype/src/mai...
Date Wed, 21 Feb 2007 23:05:34 GMT
Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.v100/text/description.txt
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.v100/text/description.txt?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.v100/text/description.txt (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.v100/text/description.txt Wed Feb 21 15:05:11 2007
@@ -0,0 +1,42 @@
+Model Model
+
+This model description is not a real EMF artifact. It was generated by the
+org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's
+code generator can be extended.
+This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+
+Package checklist <http://maven.apache.org/documentation/checklists/1.0.0>
+
+  Class CheckItem
+    Attribute label : String
+    Attribute required : Boolean
+    Reference separator : Separator
+    Attribute recipeReferenceId : String
+
+  Class CheckGroup
+    Reference checkItems : CheckItem<<1..*>>
+    Attribute id : String
+    Attribute label : String
+    Operation getFileName() : EString
+
+  Class Checklist
+    Reference packagingTarget : PackagingTarget<<1..1>>
+    Reference checkGroups : CheckGroup<<1..*>>
+    Attribute name : EString
+    Attribute recipeMap : EMap
+
+  Class DocumentRoot
+    Attribute mixed : EFeatureMapEntry<<0..*>>
+    Reference xMLNSPrefixMap : EStringToStringMapEntry<<0..*>>
+    Reference xSISchemaLocation : EStringToStringMapEntry<<0..*>>
+    Reference /checklist : Checklist
+
+  Class PackagingTarget
+    Attribute label : String
+    Attribute type : String
+
+  Class Separator
+    Attribute tagName : EString<<1..1>>
+    Attribute tagBody : EString<<1..1>>
+
+  DataType EMap <org.eclipse.emf.common.util.EMap>

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.classpath?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.classpath (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.classpath Wed Feb 21 15:05:11 2007
@@ -0,0 +1,4 @@
+<classpath>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+</classpath>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.project?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.project (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.project Wed Feb 21 15:05:11 2007
@@ -0,0 +1,14 @@
+<projectDescription>
+  <name>documentation.checklist.model.xsd.v100</name>
+  <comment/>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/.settings/org.eclipse.jdt.core.prefs Wed Feb 21 15:05:11 2007
@@ -0,0 +1,5 @@
+#Wed Feb 14 13:57:09 CST 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/model/checklist-schema.xsd
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/model/checklist-schema.xsd?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/model/checklist-schema.xsd (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/model/checklist-schema.xsd Wed Feb 21 15:05:11 2007
@@ -0,0 +1,148 @@
+<?xml version="1.0"?>
+<xs:schema
+   xmlns:xs="http://www.w3.org/2001/XMLSchema"
+   elementFormDefault="qualified"
+   targetNamespace="http://maven.apache.org/documentation/checklists/1.0.0"
+   xmlns="http://maven.apache.org/documentation/checklists/1.0.0">
+   <xs:element
+      name="checklist"
+      type="Checklist">
+   </xs:element>
+   <xs:complexType name="Checklist">
+      <xs:annotation>
+         <xs:documentation source="version">1.0.0</xs:documentation>
+         <xs:documentation source="description">
+            The &lt;code&gt;&amp;lt;checklist&amp;gt;&lt;/code&gt;
+            element is the root of the descriptor. The following table
+            lists all of the possible child elements.
+         </xs:documentation>
+      </xs:annotation>
+      <xs:all>
+         <xs:element
+            name="packagingTarget"
+            minOccurs="1"
+            maxOccurs="1"
+            type="PackagingTarget">
+         </xs:element>
+         <xs:element
+            name="checkItems"
+            minOccurs="1"
+            type="CheckItems">
+         </xs:element>
+      </xs:all>
+   </xs:complexType>
+
+   <xs:complexType name="PackagingTarget">
+      <xs:annotation>
+         <xs:documentation source="version">1.0.0</xs:documentation>
+         <xs:documentation source="description">
+            The type of maven artifact (jar, war, etc.) that this
+            checklist is for.
+         </xs:documentation>
+      </xs:annotation>
+      <xs:attribute
+         name="type"
+         type="xs:string" />
+      <xs:attribute
+         name="label"
+         type="xs:string" />
+   </xs:complexType>
+   
+   <xs:complexType name="CheckItems">
+      <xs:annotation>
+         <xs:documentation source="version">1.0.0</xs:documentation>
+         <xs:documentation source="description">
+            A container for a group of checks that should
+            be performed on the artifact deliverable.
+         </xs:documentation>
+      </xs:annotation>
+      <xs:all>
+         <xs:element
+            name="checkItem"
+            minOccurs="1"
+            type="CheckItem">
+         </xs:element>
+      </xs:all>
+      <xs:attribute
+         name="directory"
+         type="xs:string" />
+      <xs:attribute
+         name="label"
+         type="xs:string" />
+      
+   </xs:complexType>
+
+   <xs:complexType name="CheckItem">
+      <xs:annotation>
+         <xs:documentation source="version">1.0.0</xs:documentation>
+         <xs:documentation source="description">
+            A single check for this artifact type.
+         </xs:documentation>
+      </xs:annotation>
+      <xs:all>
+         <xs:element
+            name="recipe"
+            minOccurs="1"
+            maxOccurs="1"
+            type="Recipe">
+         </xs:element>
+      </xs:all>
+      <xs:attribute
+         name="required"
+         type="xs:boolean" />
+      <xs:attribute
+         name="label"
+         type="xs:string" />
+   </xs:complexType>
+   
+   <xs:complexType name="Recipe">
+      <xs:annotation>
+         <xs:documentation source="version">1.0.0</xs:documentation>
+         <xs:documentation source="description">
+            A single check for this artifact type.
+         </xs:documentation>
+      </xs:annotation>
+      <xs:all>
+         <xs:element
+            name="challenge"
+            minOccurs="1"
+            maxOccurs="1"
+            type="xs:string">
+         </xs:element>
+         <xs:element
+            name="solution"
+            minOccurs="1"
+            maxOccurs="1"
+            type="xs:string">
+         </xs:element>
+         <xs:element
+            name="discussion"
+            minOccurs="1"
+            maxOccurs="1"
+            type="xs:string">
+         </xs:element>
+         <xs:element
+            name="relatedChallenges"
+            minOccurs="1"
+            maxOccurs="1"
+            type="RelatedChallenges">
+         </xs:element>
+      </xs:all>
+    </xs:complexType>
+
+   <xs:complexType name="RelatedChallenges">
+      <xs:annotation>
+         <xs:documentation source="version">1.0.0</xs:documentation>
+         <xs:documentation source="description">
+            A single check for this artifact type.
+         </xs:documentation>
+      </xs:annotation>
+      <xs:all>
+         <xs:element
+            name="challengeReference"
+            minOccurs="1"
+            type="xs:string">
+         </xs:element>
+      </xs:all>
+    </xs:complexType>
+</xs:schema>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/pom.xml?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/pom.xml (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/pom.xml Wed Feb 21 15:05:11 2007
@@ -0,0 +1,13 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>documentation.checklist.parent</artifactId>
+    <groupId>org.apache.maven</groupId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven</groupId>
+  <artifactId>documentation.checklist.model.xsd.v100</artifactId>
+  <name></name>
+  <version>1.0-SNAPSHOT</version>
+  <url></url>
+</project>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/target/documentation.checklist.model.xsd.v100-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/target/documentation.checklist.model.xsd.v100-1.0-SNAPSHOT.jar?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.model.xsd.v100/target/documentation.checklist.model.xsd.v100-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.classpath?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.classpath (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.classpath Wed Feb 21 15:05:11 2007
@@ -0,0 +1,48 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/java"/>
+  <classpathentry kind="src" path="src/main/resources"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-rose/2.3.0-M4/importer-rose-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change-edit/2.3.0-M4/ecore-change-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen/2.3.0-M4/codegen-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-xmi/2.3.0-M4/ecore-xmi-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-edit/2.3.0-M4/ecore-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo-edit/2.3.0-M4/ecore-sdo-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/exporter/2.3.0-M4/exporter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common-ui/2.3.0-M4/common-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/commonj-sdo/2.3.0-M4/commonj-sdo-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml/2.3.0-M4/mapping-ecore2xml-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/xsd/2.3.0-M4/xsd-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change/2.3.0-M4/ecore-change-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore-ui/2.3.0-M4/codegen-ecore-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore/2.3.0-M4/codegen-ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore-editor/2.3.0-M4/mapping-xsd2ecore-editor-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore/2.3.0-M4/mapping-ecore2ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml-ui/2.3.0-M4/mapping-ecore2xml-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore-editor/2.3.0-M4/mapping-ecore2ecore-editor-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping/2.3.0-M4/mapping-2.3.0-M4.jar"/>
+  <classpathentry kind="src" path="/documentation.recipe.model.v100"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-java/2.3.0-M4/importer-java-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-importer/2.3.0-M4/ecore-importer-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore/2.3.0-M4/mapping-xsd2ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ui/2.3.0-M4/mapping-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/emf/2.3.0-M4/emf-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common/2.3.0-M4/common-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/converter/2.3.0-M4/converter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit-ui/2.3.0-M4/edit-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.2/commons-lang-2.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-exporter/2.3.0-M4/ecore-exporter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer/2.3.0-M4/importer-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-ecore/2.3.0-M4/importer-ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ui/2.3.0-M4/codegen-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/2.3.0-M4/ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="src" path="/documentation.checklist.model.v100"/>
+  <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.2/commons-io-1.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ant/2.3.0-M4/ant-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo/2.3.0-M4/ecore-sdo-2.3.0-M4.jar"/>
+</classpath>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.jetproperties
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.jetproperties?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.jetproperties (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.jetproperties Wed Feb 21 15:05:11 2007
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jet-settings>
+	<template-container>templates</template-container>	<source-container>src/main/java</source-container>
+</jet-settings>

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.project?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.project (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.project Wed Feb 21 15:05:11 2007
@@ -0,0 +1,22 @@
+<projectDescription>
+  <name>documentation.checklist.mojo</name>
+  <comment/>
+  <projects>
+    <project>documentation.recipe.model.v100</project>
+    <project>documentation.checklist.model.v100</project>
+  </projects>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.emf.codegen.JETBuilder</name>
+      <arguments/>
+    </buildCommand>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.emf.codegen.jet.IJETNature</nature>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/.settings/org.eclipse.jdt.core.prefs Wed Feb 21 15:05:11 2007
@@ -0,0 +1,5 @@
+#Fri Feb 16 00:50:40 CST 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/pom.xml?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/pom.xml (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/pom.xml Wed Feb 21 15:05:11 2007
@@ -0,0 +1,198 @@
+<?xml version="1.0"?>
+<project>
+   <parent>
+      <artifactId>documentation.checklist.parent</artifactId>
+      <groupId>org.apache.maven</groupId>
+      <version>1.0-SNAPSHOT</version>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>org.apache.maven</groupId>
+   <artifactId>documentation.checklist.mojo</artifactId>
+   <packaging>maven-plugin</packaging>
+   <name>documentation.checklist.mojo Maven Mojo</name>
+   <version>1.0-SNAPSHOT</version>
+   <url>http://maven.apache.org</url>
+   <dependencies>
+   
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>documentation.recipe.model.v100</artifactId>
+      <version>1.0-SNAPSHOT</version>
+    </dependency>
+    
+      <dependency>
+         <groupId>commons-io</groupId>
+         <artifactId>commons-io</artifactId>
+         <version>1.2</version>
+         <scope>compile</scope>
+      </dependency>
+   
+      <dependency>
+         <groupId>commons-lang</groupId>
+         <artifactId>commons-lang</artifactId>
+         <version>2.2</version>
+         <scope>compile</scope>
+      </dependency>
+      
+      <dependency>
+         <artifactId>documentation.checklist.model.v100</artifactId>
+         <groupId>org.apache.maven</groupId>
+         <version>1.0-SNAPSHOT</version>
+         <scope>compile</scope>
+      </dependency>
+
+      <dependency>
+         <groupId>org.apache.maven</groupId>
+         <artifactId>maven-plugin-api</artifactId>
+         <version>2.0</version>
+      </dependency>
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ant</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen-ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen-ecore-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>common</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>commonj-sdo</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>common-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>converter</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-change</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-change-edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-sdo</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-sdo-edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-xmi</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>edit-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>emf</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>exporter</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer-ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer-java</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer-rose</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2ecore-editor</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2xml</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2xml-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-xsd2ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-xsd2ecore-editor</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>ecore-exporter</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>ecore-importer</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>xsd</artifactId>
+      </dependency>
+   </dependencies>
+</project>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.java?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.java (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.java Wed Feb 21 15:05:11 2007
@@ -0,0 +1,91 @@
+package org.apache.maven.plugins.documentation.checklist.mojo;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+import org.apache.maven.model.emf.documentation.checklist.Checklist;
+import org.apache.maven.model.emf.documentation.recipe.Recipes;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+
+import java.io.File;
+import java.util.List;
+
+/**
+ * Goal which generates a eclipse checklist documentation plugin
+ *
+ * @goal generate
+ * @phase generate
+ */
+public class ChecklistMojo
+    extends AbstractMojo implements ChecklistMojoConstants
+{
+    private List<File> directoryFileList = null;
+    
+    public void execute()
+        throws MojoExecutionException
+    {
+        ResourceSet resourceSet = ChecklistMojoHelper.createResourceSet();
+
+        Resource recipeResource = 
+            ChecklistMojoHelper.loadResource(
+                RECIPE_SOURCE_RESOURCE_PATH, 
+            resourceSet);
+
+        Recipes recipes = ( Recipes ) recipeResource.getEObject("//@recipes"); 
+        
+        recipes.getInitializedRecipeMap();
+        
+        Resource checklistResource       = 
+            ChecklistMojoHelper.loadResource(
+            CHECKLIST_SOURCE_RESOURCE_PATH, 
+            resourceSet);
+//TODO - Put the fragments on the constants
+        Checklist checklist   = (Checklist) checklistResource.getEObject( "//@checklist" );
+        checklist.setRecipeMap( recipes.getRecipeMap() );
+        
+        if (directoryFileList==null)
+        {
+            directoryFileList = ChecklistMojoHelper.createDirectoryFiles();    
+        }
+        
+        ChecklistMojoHelper.deleteFiles(directoryFileList);
+        ChecklistMojoHelper.createFiles(directoryFileList);
+        
+        ChecklistMojoHelper.generateChecklists( new File(CHECKLIST_ROOT_DIRECTORY_PATH), checklist );
+        ChecklistMojoHelper.generateRecipes( new File(RECIPE_ROOT_DIRECTORY_PATH), checklist );
+        ChecklistMojoHelper.generateTOC(checklist);
+        
+        /*
+              
+        EList checkGroups           = checklist.getCheckGroups();
+        
+        Iterator iterator           = checkGroups.iterator();
+        while(iterator.hasNext())
+        {
+            CheckGroup checkGroup   = ( CheckGroup ) iterator.next();
+            ChecklistHTMLGenerator checklistHTMLGenerator 
+                                    = new ChecklistHTMLGenerator();
+            String page             = checklistHTMLGenerator.generate( checkGroup );
+            getLog().info(page);
+        }
+        */
+    }
+}
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.java?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.java (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.java Wed Feb 21 15:05:11 2007
@@ -0,0 +1,44 @@
+
+package org.apache.maven.plugins.documentation.checklist.mojo;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+public interface ChecklistMojoConstants
+{
+    String HTML_RESOURCE_EXTENSION = "html";
+
+    String XML_RESOURCE_EXTENSION = "xml";
+    
+    String RECIPE_NAME_STRING = "recipe";
+    
+    String CHECKLIST_SOURCE_RESOURCE_PATH   = 
+        "source/checklist.xml";
+
+    String RECIPE_SOURCE_RESOURCE_PATH   = 
+        "source/recipes.xml";
+
+    String ROOT_HTML_DIRECTORY_PATH         = 
+        "target/html/";
+    
+    String CHECKLIST_ROOT_DIRECTORY_PATH    = 
+        ROOT_HTML_DIRECTORY_PATH + "checklists/";
+    
+    String RECIPE_ROOT_DIRECTORY_PATH       = 
+        ROOT_HTML_DIRECTORY_PATH + "recipes/";
+    
+    String TOC_FILE_NAME                    = "toc.xml";
+}

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.java?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.java (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.java Wed Feb 21 15:05:11 2007
@@ -0,0 +1,293 @@
+
+package org.apache.maven.plugins.documentation.checklist.mojo;
+
+/*
+ * Copyright 2001-2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.apache.commons.io.FileUtils;
+import org.apache.maven.model.emf.documentation.checklist.CheckGroup;
+import org.apache.maven.model.emf.documentation.checklist.CheckItem;
+import org.apache.maven.model.emf.documentation.checklist.Checklist;
+import org.apache.maven.model.emf.documentation.checklist.ChecklistFactory;
+import org.apache.maven.model.emf.documentation.checklist.ChecklistPackage;
+import org.apache.maven.model.emf.documentation.recipe.Recipe;
+import org.apache.maven.model.emf.documentation.recipe.RecipePackage;
+import org.apache.maven.model.emf.documentation.recipe.util.RecipeResourceFactoryImpl;
+import org.apache.maven.model.emf.documentation.checklist.util.ChecklistResourceFactoryImpl;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugins.documentation.checklist.mojo.templates.ChecklistHTMLGenerator;
+import org.apache.maven.plugins.documentation.checklist.mojo.templates.RecipeHTMLGenerator;
+import org.apache.maven.plugins.documentation.checklist.mojo.templates.TOCGenerator;
+
+public class ChecklistMojoHelper 
+implements ChecklistMojoConstants
+{
+    /*
+     * TODO
+     */
+    public static ResourceSet createResourceSet()
+    {
+        
+        ResourceSet resourceSet = new ResourceSetImpl();
+
+        resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put
+        (XML_RESOURCE_EXTENSION, 
+         new ChecklistResourceFactoryImpl());
+
+        resourceSet.getPackageRegistry().put
+        (       
+            ChecklistPackage.eNS_URI, 
+            ChecklistPackage.eINSTANCE
+        );
+     
+        resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put
+        (XML_RESOURCE_EXTENSION, 
+         new RecipeResourceFactoryImpl());
+
+        resourceSet.getPackageRegistry().put
+        (
+            RecipePackage.eNS_URI, 
+            RecipePackage.eINSTANCE
+        );
+        
+        return resourceSet;
+    }
+    
+    /*
+     * TODO Move to utility
+     */
+    public static Resource loadResource(String resourcePath, ResourceSet resourceSet)
+    {
+        File file = new File(resourcePath);
+        URI fileURI = URI.createFileURI(file.getAbsolutePath());
+        return resourceSet.getResource(fileURI, true);
+    }
+    
+    public static List<File> createDirectoryFiles()
+    {
+        List<File> directoryFileList  = new ArrayList<File>();
+        
+        File rootHtmlDirectory  = new File(ROOT_HTML_DIRECTORY_PATH);
+        File checklistDirectory = new File(CHECKLIST_ROOT_DIRECTORY_PATH);
+        File recipesDirectory   = new File(RECIPE_ROOT_DIRECTORY_PATH);
+        
+        directoryFileList.add(rootHtmlDirectory);
+        directoryFileList.add(checklistDirectory);
+        directoryFileList.add(recipesDirectory);
+        
+        return directoryFileList;
+    }
+    
+    public static void deleteFiles(List<File> list) 
+    throws MojoExecutionException
+    {
+        Iterator<File> iterator = list.iterator();
+        
+        while(iterator.hasNext())
+        {
+            File file = iterator.next();
+            try
+            {
+                FileUtils.deleteDirectory( file );
+            }
+            catch ( IOException e )
+            {
+                e.printStackTrace();
+                throw new MojoExecutionException("TODO -Sexy Message");
+            }
+        }
+    }
+    
+    public static void createFiles(List<File> list)
+    {
+        Iterator<File> iterator = list.iterator();
+        
+        while(iterator.hasNext())
+        {
+            File file = iterator.next();
+            file.mkdirs();
+        }
+    }
+
+    public static void generateChecklists(
+        File checklistRootDirectory, 
+        Checklist checklist) 
+    throws MojoExecutionException
+    {
+        EList checkGroups           = checklist.getCheckGroups();
+        
+        Iterator iterator           = checkGroups.iterator();
+
+        while(iterator.hasNext())
+        {
+            CheckGroup checkGroup   = ( CheckGroup ) iterator.next();
+            
+            File checklistDirectory = new File(checklistRootDirectory, checkGroup.getId());
+            
+            try
+            {
+                FileUtils.deleteDirectory( checklistDirectory );
+            }
+            catch ( IOException e )
+            {
+                e.printStackTrace();
+                throw new MojoExecutionException("TODO -Sexy Message");
+            }
+            
+            checklistDirectory.mkdirs();
+            
+            ChecklistHTMLGenerator checklistHTMLGenerator 
+                                    = new ChecklistHTMLGenerator();
+            
+            generateChecklist(checkGroup, checklistHTMLGenerator, checklistDirectory);
+            
+        }
+    }
+    
+    public static void generateChecklist(
+        CheckGroup checkGroup, 
+        ChecklistHTMLGenerator checklistHTMLGenerator,
+        File checklistDirectory) 
+    throws MojoExecutionException
+    {
+        String checklistString   = checklistHTMLGenerator.generate( checkGroup );
+        
+        String checklistFileName = checkGroup.getFileName();
+        
+        File checklistFile       = new File(checklistDirectory, checklistFileName);
+        checklistFile.delete();
+        
+        try {
+            FileWriter fileWriter = new FileWriter(checklistFile);
+            fileWriter.write(checklistString);
+            fileWriter.close();
+        } catch (IOException e) {
+             throw new MojoExecutionException("Could not checklist file to: "+ checklistFile.getAbsolutePath());
+        }
+    }
+    
+    
+    public static void generateRecipes(
+        File recipeRootDirectory, 
+        Checklist checklist) 
+    throws MojoExecutionException
+    {
+        EList<CheckGroup> checkGroups           = checklist.getCheckGroups();
+        
+        Iterator<CheckGroup> iterator           = checkGroups.iterator();
+
+        while(iterator.hasNext())
+        {
+            CheckGroup checkGroup   = ( CheckGroup ) iterator.next();
+            
+            File recipeDirectory = new File(recipeRootDirectory, checkGroup.getId());
+            
+            try
+            {
+                FileUtils.deleteDirectory( recipeDirectory );
+            }
+            catch ( IOException e )
+            {
+                e.printStackTrace();
+                throw new MojoExecutionException("TODO -Sexy Message");
+            }
+            
+            recipeDirectory.mkdirs();
+            
+            RecipeHTMLGenerator recipeHTMLGenerator 
+                                    = new RecipeHTMLGenerator();
+
+            EList<CheckItem> checkItems = checkGroup.getCheckItems();
+            CheckItem checkItem = null;
+            
+            for (int i = 0; i < checkItems.size(); i++)
+            {
+                checkItem = checkItems.get(i);
+                generateRecipe(
+                    checkItem, 
+                    recipeHTMLGenerator, 
+                    recipeDirectory);
+            }       
+        }
+    }
+
+    
+    /*
+     * TODO Consider catching NPE's from trying to access recipes that are non existant on the recipeMap
+     * This can occur when there's an invalid recipeReferenceId on a CheckItem.
+     * Also, I have to get the recipe both here and in the template.
+     * It would be sexier if I just had to get it in one place.
+     */
+    
+    
+    public static void generateRecipe(
+        CheckItem checkItem, 
+        RecipeHTMLGenerator recipeHTMLGenerator,
+        File recipeDirectory) throws MojoExecutionException 
+    {
+        String recipeString = recipeHTMLGenerator.generate( checkItem );
+        
+        
+        Checklist checklist = (Checklist) checkItem.eResource().getEObject("//@checklist");
+        EMap<Integer, Recipe> recipeMap = checklist.getRecipeMap();
+        Recipe recipe = recipeMap.get(checkItem.getRecipeReferenceId());
+        
+        File recipeFile     = new File(recipeDirectory, recipe.getFileName());
+        
+        recipeFile.delete();
+        
+        try 
+        {
+            FileWriter fileWriter = new FileWriter(recipeFile);
+            fileWriter.write(recipeString);
+            fileWriter.close();
+        } catch (IOException e) 
+        {
+             throw new MojoExecutionException("Could not write recipe file to: "+ recipeFile.getAbsolutePath());
+        } 
+    }
+    
+    public static void generateTOC(
+        Checklist checklist) throws MojoExecutionException
+    {
+        TOCGenerator tocGenerator = new TOCGenerator();
+        String tocString = tocGenerator.generate(checklist);
+        File tocFile = new File(TOC_FILE_NAME);
+        tocFile.delete();
+        try 
+        {
+            FileWriter fileWriter = new FileWriter(tocFile);
+            fileWriter.write(tocString);
+            fileWriter.close();
+        } catch (IOException e) 
+        {
+             throw new MojoExecutionException("Could not write toc file to: " + tocFile.getAbsolutePath());
+        }    
+    }
+}
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.java?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.java (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.java Wed Feb 21 15:05:11 2007
@@ -0,0 +1,105 @@
+package org.apache.maven.plugins.documentation.checklist.mojo.templates;
+
+import org.apache.maven.model.emf.documentation.checklist.Checklist;
+import org.apache.maven.model.emf.documentation.checklist.CheckGroup;
+import org.apache.maven.model.emf.documentation.checklist.CheckItem;
+import org.apache.maven.model.emf.documentation.recipe.Recipe;
+import org.apache.maven.model.emf.documentation.checklist.Separator;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.EMap;
+import org.apache.commons.lang.StringUtils;
+import java.util.Iterator;
+
+public class ChecklistHTMLGenerator
+{
+  protected static String nl;
+  public static synchronized ChecklistHTMLGenerator create(String lineSeparator)
+  {
+    nl = lineSeparator;
+    ChecklistHTMLGenerator result = new ChecklistHTMLGenerator();
+    nl = null;
+    return result;
+  }
+
+  protected final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+  protected final String TEXT_1 = " ";
+  protected final String TEXT_2 = NL + "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">" + NL + "<html>" + NL + "<head>" + NL + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" + NL + "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">" + NL + "<html>" + NL + "<head>" + NL + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" + NL + "<title>";
+  protected final String TEXT_3 = "</title>" + NL + "<link href=\"../../../../src/main/resources/css/book.css\" rel=\"stylesheet\" type=\"text/css\">" + NL + "<link href=\"../../../../src/main/resources/css/checklist.css\" rel=\"stylesheet\" type=\"text/css\">" + NL + "<body>" + NL + "<h2>Checklist</h2>" + NL + "" + NL + "<h3>";
+  protected final String TEXT_4 = "</h3>" + NL;
+  protected final String TEXT_5 = NL + "<";
+  protected final String TEXT_6 = "> ";
+  protected final String TEXT_7 = " </";
+  protected final String TEXT_8 = ">";
+  protected final String TEXT_9 = NL + NL + "<table ";
+  protected final String TEXT_10 = " class=\"notRequired\" ";
+  protected final String TEXT_11 = ">" + NL + "\t<tbody>" + NL + "\t\t<tr>" + NL + "\t\t\t<td>" + NL + "    \t\t\t<a" + NL + "    \t\t\t\thref=\"../../recipes/";
+  protected final String TEXT_12 = "/";
+  protected final String TEXT_13 = "\">" + NL + "    \t\t\t\t<img" + NL + "    \t\t\t\t\tborder=\"0\" " + NL + "    \t\t\t\t\ttitle=\"";
+  protected final String TEXT_14 = "\"" + NL + "    \t\t\t\t\talt=\"";
+  protected final String TEXT_15 = "\"" + NL + "    \t\t\t\t\tsrc=\"../../../../src/main/resources/images/123.png\">" + NL + "    \t\t\t</a>" + NL + "\t\t\t</td>" + NL + "\t\t\t<td>";
+  protected final String TEXT_16 = "</td>" + NL + "\t\t</tr>" + NL + "\t</tbody>" + NL + "</table>";
+  protected final String TEXT_17 = NL + "</body>" + NL + "</html>";
+
+  public String generate(Object argument)
+  {
+    final StringBuffer stringBuffer = new StringBuffer();
+    stringBuffer.append(TEXT_1);
+    
+	CheckGroup checkGroup			= (CheckGroup) argument;
+	Checklist checklist				= (Checklist) checkGroup.eContainer();
+	EList<CheckItem> checkItems		= checkGroup.getCheckItems();
+	EMap<String, Recipe> recipeMap	= checklist.getRecipeMap();
+
+    stringBuffer.append(TEXT_2);
+    stringBuffer.append(checkGroup.getLabel());
+    stringBuffer.append(TEXT_3);
+    stringBuffer.append(checkGroup.getLabel());
+    stringBuffer.append(TEXT_4);
+    
+CheckItem checkItem = null;
+Recipe recipe = null;
+String recipeId = null;
+Separator separator = null;
+
+for (int i = 0; i < checkItems.size(); i++)
+{
+	checkItem = checkItems.get(i);
+	recipeId = checkItem.getRecipeReferenceId();
+	
+	recipe		= recipeMap.get(recipeId);
+	separator	= checkItem.getSeparator();
+	if (separator != null)
+	{
+
+    stringBuffer.append(TEXT_5);
+    stringBuffer.append(separator.getTagName());
+    stringBuffer.append(TEXT_6);
+    stringBuffer.append(separator.getTagBody());
+    stringBuffer.append(TEXT_7);
+    stringBuffer.append(separator.getTagName());
+    stringBuffer.append(TEXT_8);
+    
+	}
+
+    stringBuffer.append(TEXT_9);
+    if (!checkItem.isRequired() ) {
+    stringBuffer.append(TEXT_10);
+    }
+    stringBuffer.append(TEXT_11);
+    stringBuffer.append(checkGroup.getId());
+    stringBuffer.append(TEXT_12);
+    stringBuffer.append(recipe.getFileName());
+    stringBuffer.append(TEXT_13);
+    stringBuffer.append(recipe.getChallenge());
+    stringBuffer.append(TEXT_14);
+    stringBuffer.append(recipe.getChallenge());
+    stringBuffer.append(TEXT_15);
+    stringBuffer.append(checkItem.getLabel());
+    stringBuffer.append(TEXT_16);
+    
+}
+
+    stringBuffer.append(TEXT_17);
+    return stringBuffer.toString();
+  }
+}

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.java?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.java (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.java Wed Feb 21 15:05:11 2007
@@ -0,0 +1,98 @@
+package org.apache.maven.plugins.documentation.checklist.mojo.templates;
+
+import org.apache.maven.model.emf.documentation.checklist.Checklist;
+import org.apache.maven.model.emf.documentation.checklist.CheckGroup;
+import org.apache.maven.model.emf.documentation.checklist.CheckItem;
+import org.apache.maven.model.emf.documentation.recipe.Recipes;
+import org.apache.maven.model.emf.documentation.recipe.Recipe;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.common.util.EList;
+import org.apache.commons.lang.StringUtils;
+import java.util.Iterator;
+
+public class RecipeHTMLGenerator
+{
+  protected static String nl;
+  public static synchronized RecipeHTMLGenerator create(String lineSeparator)
+  {
+    nl = lineSeparator;
+    RecipeHTMLGenerator result = new RecipeHTMLGenerator();
+    nl = null;
+    return result;
+  }
+
+  protected final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+  protected final String TEXT_1 = " ";
+  protected final String TEXT_2 = NL + "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">" + NL + "<html>" + NL + "  <head>" + NL + "  <title>";
+  protected final String TEXT_3 = "</title>" + NL + "   \t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" + NL + "\t<link href=\"../../../../src/main/resources/css/book.css\" rel=\"stylesheet\" type=\"text/css\">" + NL + "\t<link href=\"../../../../src/main/resources/css/checklist.css\" rel=\"stylesheet\" type=\"text/css\">" + NL + "  </head>" + NL + "<body>" + NL + "" + NL + "<h2>Challenge</h2>" + NL + "" + NL + "<div class=\"content\">" + NL + "\t<p>";
+  protected final String TEXT_4 = "</p>" + NL + "</div>" + NL + "" + NL + "<h2>Solution</h2>" + NL + "" + NL + "<div class=\"content\">" + NL + "\t<p>";
+  protected final String TEXT_5 = "</p>" + NL + "</div>" + NL + "" + NL + "<h2>Discussion</h2>" + NL + "" + NL + "<div class=\"content\">" + NL + "<p>";
+  protected final String TEXT_6 = "</p>" + NL;
+  protected final String TEXT_7 = NL + NL + "<h2>Related Challenges</h2>" + NL + "" + NL + "<table>" + NL + "\t<tbody>";
+  protected final String TEXT_8 = NL + NL + "\t\t<tr>" + NL + "\t\t\t<td>" + NL + "    \t\t\t<a" + NL + "    \t\t\t\thref=\"../../recipes/";
+  protected final String TEXT_9 = "/";
+  protected final String TEXT_10 = "\">" + NL + "    \t\t\t\t<img" + NL + "    \t\t\t\t\tborder=\"0\" " + NL + "    \t\t\t\t\ttitle=\"";
+  protected final String TEXT_11 = "\"" + NL + "    \t\t\t\t\talt=\"";
+  protected final String TEXT_12 = "\"" + NL + "    \t\t\t\t\tsrc=\"../../../../src/main/resources/images/123.png\">" + NL + "    \t\t\t</a>" + NL + "\t\t\t</td>" + NL + "\t\t\t<td>";
+  protected final String TEXT_13 = "</td>" + NL + "\t\t</tr>";
+  protected final String TEXT_14 = NL + NL + "\t</tbody>" + NL + "</table>";
+  protected final String TEXT_15 = NL + NL + NL + "</body>" + NL + "</html>";
+
+  public String generate(Object argument)
+  {
+    final StringBuffer stringBuffer = new StringBuffer();
+    stringBuffer.append(TEXT_1);
+    
+	CheckItem checkItem		= (CheckItem) argument;
+	CheckGroup checkGroup	= (CheckGroup) checkItem.eContainer();
+	Checklist checklist 	= (Checklist) checkItem.eResource().getEObject("//@checklist");
+	EMap<Integer, Recipe> recipeMap 
+							= checklist.getRecipeMap();
+	Recipe recipe 			= recipeMap.get(checkItem.getRecipeReferenceId());
+	
+	EList relatedRecipeIDs = recipe.getRelatedRecipeIDs();
+
+    stringBuffer.append(TEXT_2);
+    stringBuffer.append(recipe.getChallenge());
+    stringBuffer.append(TEXT_3);
+    stringBuffer.append(recipe.getChallenge());
+    stringBuffer.append(TEXT_4);
+    stringBuffer.append(recipe.getSolution());
+    stringBuffer.append(TEXT_5);
+    stringBuffer.append(recipe.getDiscussion());
+    stringBuffer.append(TEXT_6);
+    
+if (relatedRecipeIDs.size() > 0)
+{
+
+    stringBuffer.append(TEXT_7);
+    
+Recipe relatedRecipe = null;
+for (int i = 0; i < relatedRecipeIDs.size(); i++)
+{
+	String id = (String) relatedRecipeIDs.get(i);
+	relatedRecipe = recipeMap.get(id);
+
+    stringBuffer.append(TEXT_8);
+    stringBuffer.append(checkGroup.getId());
+    stringBuffer.append(TEXT_9);
+    stringBuffer.append(relatedRecipe.getFileName());
+    stringBuffer.append(TEXT_10);
+    stringBuffer.append(relatedRecipe.getChallenge());
+    stringBuffer.append(TEXT_11);
+    stringBuffer.append(relatedRecipe.getChallenge());
+    stringBuffer.append(TEXT_12);
+    stringBuffer.append(relatedRecipe.getChallenge());
+    stringBuffer.append(TEXT_13);
+    
+}
+
+    stringBuffer.append(TEXT_14);
+    
+}
+
+    stringBuffer.append(TEXT_15);
+    return stringBuffer.toString();
+  }
+}

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.java?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.java (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/java/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.java Wed Feb 21 15:05:11 2007
@@ -0,0 +1,109 @@
+package org.apache.maven.plugins.documentation.checklist.mojo.templates;
+
+import org.apache.maven.model.emf.documentation.checklist.Checklist;
+import org.apache.maven.model.emf.documentation.checklist.CheckGroup;
+import org.apache.maven.model.emf.documentation.checklist.CheckItem;
+import org.apache.maven.model.emf.documentation.recipe.Recipe;
+import org.apache.maven.model.emf.documentation.checklist.PackagingTarget;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.EMap;
+import org.apache.commons.lang.StringUtils;
+import java.util.Iterator;
+
+public class TOCGenerator
+{
+  protected static String nl;
+  public static synchronized TOCGenerator create(String lineSeparator)
+  {
+    nl = lineSeparator;
+    TOCGenerator result = new TOCGenerator();
+    nl = null;
+    return result;
+  }
+
+  protected final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
+  protected final String TEXT_1 = " ";
+  protected final String TEXT_2 = NL + "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + NL + "<?NLS TYPE=\"org.eclipse.help.toc\"?>" + NL + "" + NL + "<toc label=\"";
+  protected final String TEXT_3 = "\">" + NL + "\t<topic label=\"";
+  protected final String TEXT_4 = "\">" + NL + "\t\t<topic label=\"Recipes\">";
+  protected final String TEXT_5 = "\t" + NL + "\t\t\t<topic label=\"";
+  protected final String TEXT_6 = "\">";
+  protected final String TEXT_7 = NL + "\t\t\t\t<topic label=\"";
+  protected final String TEXT_8 = "\" href=\"target/html/recipes/";
+  protected final String TEXT_9 = "/";
+  protected final String TEXT_10 = "\"/>";
+  protected final String TEXT_11 = NL + "\t\t\t</topic>";
+  protected final String TEXT_12 = NL + "\t\t</topic>" + NL + "\t\t<topic label=\"Checklists\">";
+  protected final String TEXT_13 = "\t" + NL + "\t\t\t<topic label=\"";
+  protected final String TEXT_14 = "\" href=\"target/html/checklists/";
+  protected final String TEXT_15 = "/";
+  protected final String TEXT_16 = "\"/>";
+  protected final String TEXT_17 = NL + "\t\t</topic>" + NL + "\t</topic>" + NL + "</toc>";
+
+  public String generate(Object argument)
+  {
+    final StringBuffer stringBuffer = new StringBuffer();
+    stringBuffer.append(TEXT_1);
+    
+	Checklist checklist				= (Checklist) argument;
+	EMap<String, Recipe> recipeMap	= checklist.getRecipeMap();
+	PackagingTarget packagingTarget = checklist.getPackagingTarget();
+	EList<CheckGroup> checkGroups	= checklist.getCheckGroups();
+
+    stringBuffer.append(TEXT_2);
+    stringBuffer.append(checklist.getName());
+    stringBuffer.append(TEXT_3);
+    stringBuffer.append(packagingTarget.getLabel());
+    stringBuffer.append(TEXT_4);
+    
+Iterator<CheckGroup> checkGroupsIterator1 = checkGroups.iterator();
+while (checkGroupsIterator1.hasNext())
+{
+	CheckGroup checkGroup = checkGroupsIterator1.next();
+
+    stringBuffer.append(TEXT_5);
+    stringBuffer.append(checkGroup.getLabel());
+    stringBuffer.append(TEXT_6);
+    			
+			Iterator<CheckItem> checkItemsIterator = checkGroup.getCheckItems().iterator();
+			while (checkItemsIterator.hasNext())
+			{
+				CheckItem checkItem = checkItemsIterator.next();
+				Recipe recipe = recipeMap.get( checkItem.getRecipeReferenceId() );
+				
+
+    stringBuffer.append(TEXT_7);
+    stringBuffer.append(recipe.getChallenge());
+    stringBuffer.append(TEXT_8);
+    stringBuffer.append(checkGroup.getId());
+    stringBuffer.append(TEXT_9);
+    stringBuffer.append(recipe.getFileName());
+    stringBuffer.append(TEXT_10);
+    
+			}
+
+    stringBuffer.append(TEXT_11);
+    
+}
+
+    stringBuffer.append(TEXT_12);
+    
+Iterator<CheckGroup> checkGroupsIterator2 = checkGroups.iterator();
+while (checkGroupsIterator2.hasNext())
+{
+	CheckGroup checkGroup = checkGroupsIterator2.next();
+
+    stringBuffer.append(TEXT_13);
+    stringBuffer.append(checkGroup.getLabel());
+    stringBuffer.append(TEXT_14);
+    stringBuffer.append(checkGroup.getId());
+    stringBuffer.append(TEXT_15);
+    stringBuffer.append(checkGroup.getFileName());
+    stringBuffer.append(TEXT_16);
+    
+}
+
+    stringBuffer.append(TEXT_17);
+    return stringBuffer.toString();
+  }
+}

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/resources/META-INF/plexus/component.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/resources/META-INF/plexus/component.xml?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/resources/META-INF/plexus/component.xml (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/src/main/resources/META-INF/plexus/component.xml Wed Feb 21 15:05:11 2007
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+      <role-hint>documentation.checklist</role-hint>
+      <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+      <configuration>
+        <phases>
+          <generate-sources>org.apache.maven:documentation.checklist.plugin:generate</generate-sources>
+          <package>org.codehaus.plexus:plexus-maven-plugin:app</package>
+          <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+          <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+        </phases>
+      </configuration>
+    </component>
+  </components>
+</component-set>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/META-INF/plexus/component.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/META-INF/plexus/component.xml?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/META-INF/plexus/component.xml (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/META-INF/plexus/component.xml Wed Feb 21 15:05:11 2007
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component-set>
+  <components>
+    <component>
+      <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+      <role-hint>documentation.checklist</role-hint>
+      <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+      <configuration>
+        <phases>
+          <generate-sources>org.apache.maven:documentation.checklist.plugin:generate</generate-sources>
+          <package>org.codehaus.plexus:plexus-maven-plugin:app</package>
+          <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+          <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+        </phases>
+      </configuration>
+    </component>
+  </components>
+</component-set>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.class?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojo.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.class?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoConstants.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.class?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/ChecklistMojoHelper.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.class?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/ChecklistHTMLGenerator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.class?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/RecipeHTMLGenerator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.class?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/classes/org/apache/maven/plugins/documentation/checklist/mojo/templates/TOCGenerator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/documentation.checklist.mojo-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/documentation.checklist.mojo-1.0-SNAPSHOT.jar?view=auto&rev=510296
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/target/documentation.checklist.mojo-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/ChecklistHTMLGenerator.javajet
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/ChecklistHTMLGenerator.javajet?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/ChecklistHTMLGenerator.javajet (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/ChecklistHTMLGenerator.javajet Wed Feb 21 15:05:11 2007
@@ -0,0 +1,77 @@
+<%@ jet package="org.apache.maven.plugins.documentation.checklist.mojo.templates"
+		class="ChecklistHTMLGenerator"
+		imports="	org.apache.maven.model.emf.documentation.checklist.Checklist
+					org.apache.maven.model.emf.documentation.checklist.CheckGroup		
+					org.apache.maven.model.emf.documentation.checklist.CheckItem
+					org.apache.maven.model.emf.documentation.recipe.Recipe
+					org.apache.maven.model.emf.documentation.checklist.Separator
+					org.eclipse.emf.common.util.EList
+					org.eclipse.emf.common.util.EMap
+					org.apache.commons.lang.StringUtils
+					java.util.Iterator
+					"%> 
+<%
+	CheckGroup checkGroup			= (CheckGroup) argument;
+	Checklist checklist				= (Checklist) checkGroup.eContainer();
+	EList<CheckItem> checkItems		= checkGroup.getCheckItems();
+	EMap<String, Recipe> recipeMap	= checklist.getRecipeMap();
+%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<title><%=checkGroup.getLabel()%></title>
+<link href="../../../../src/main/resources/css/book.css" rel="stylesheet" type="text/css">
+<link href="../../../../src/main/resources/css/checklist.css" rel="stylesheet" type="text/css">
+<body>
+<h2>Checklist</h2>
+
+<h3><%=checkGroup.getLabel()%></h3>
+
+<%
+CheckItem checkItem = null;
+Recipe recipe = null;
+String recipeId = null;
+Separator separator = null;
+
+for (int i = 0; i < checkItems.size(); i++)
+{
+	checkItem = checkItems.get(i);
+	recipeId = checkItem.getRecipeReferenceId();
+	
+	recipe		= recipeMap.get(recipeId);
+	separator	= checkItem.getSeparator();
+	if (separator != null)
+	{
+%>
+<<%=separator.getTagName()%>> <%=separator.getTagBody()%> </<%=separator.getTagName()%>>
+<%
+	}
+%>
+
+<table <%if (!checkItem.isRequired() ) {%> class="notRequired" <%}%>>
+	<tbody>
+		<tr>
+			<td>
+    			<a
+    				href="../../recipes/<%=checkGroup.getId()%>/<%=recipe.getFileName()%>">
+    				<img
+    					border="0" 
+    					title="<%=recipe.getChallenge()%>"
+    					alt="<%=recipe.getChallenge()%>"
+    					src="../../../../src/main/resources/images/123.png">
+    			</a>
+			</td>
+			<td><%=checkItem.getLabel()%></td>
+		</tr>
+	</tbody>
+</table>
+<%
+}
+%>
+</body>
+</html>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/RecipeHTMLGenerator.javajet
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/RecipeHTMLGenerator.javajet?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/RecipeHTMLGenerator.javajet (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/RecipeHTMLGenerator.javajet Wed Feb 21 15:05:11 2007
@@ -0,0 +1,93 @@
+<%@ jet package="org.apache.maven.plugins.documentation.checklist.mojo.templates"
+		class="RecipeHTMLGenerator"
+		imports="	org.apache.maven.model.emf.documentation.checklist.Checklist
+					org.apache.maven.model.emf.documentation.checklist.CheckGroup		
+					org.apache.maven.model.emf.documentation.checklist.CheckItem
+					org.apache.maven.model.emf.documentation.recipe.Recipes
+					org.apache.maven.model.emf.documentation.recipe.Recipe
+					org.eclipse.emf.common.util.EMap
+					org.eclipse.emf.ecore.resource.Resource
+					org.eclipse.emf.common.util.EList
+					org.apache.commons.lang.StringUtils
+					java.util.Iterator
+					"%> 
+<%
+	CheckItem checkItem		= (CheckItem) argument;
+	CheckGroup checkGroup	= (CheckGroup) checkItem.eContainer();
+	Checklist checklist 	= (Checklist) checkItem.eResource().getEObject("//@checklist");
+	EMap<Integer, Recipe> recipeMap 
+							= checklist.getRecipeMap();
+	Recipe recipe 			= recipeMap.get(checkItem.getRecipeReferenceId());
+	
+	EList relatedRecipeIDs = recipe.getRelatedRecipeIDs();
+%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+  <title><%=recipe.getChallenge()%></title>
+   	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+	<link href="../../../../src/main/resources/css/book.css" rel="stylesheet" type="text/css">
+	<link href="../../../../src/main/resources/css/checklist.css" rel="stylesheet" type="text/css">
+  </head>
+<body>
+
+<h2>Challenge</h2>
+
+<div class="content">
+	<p><%=recipe.getChallenge()%></p>
+</div>
+
+<h2>Solution</h2>
+
+<div class="content">
+	<p><%=recipe.getSolution()%></p>
+</div>
+
+<h2>Discussion</h2>
+
+<div class="content">
+<p><%=recipe.getDiscussion()%></p>
+
+<%
+if (relatedRecipeIDs.size() > 0)
+{
+%>
+
+<h2>Related Challenges</h2>
+
+<table>
+	<tbody>
+<%
+Recipe relatedRecipe = null;
+for (int i = 0; i < relatedRecipeIDs.size(); i++)
+{
+	String id = (String) relatedRecipeIDs.get(i);
+	relatedRecipe = recipeMap.get(id);
+%>
+
+		<tr>
+			<td>
+    			<a
+    				href="../../recipes/<%=checkGroup.getId()%>/<%=relatedRecipe.getFileName()%>">
+    				<img
+    					border="0" 
+    					title="<%=relatedRecipe.getChallenge()%>"
+    					alt="<%=relatedRecipe.getChallenge()%>"
+    					src="../../../../src/main/resources/images/123.png">
+    			</a>
+			</td>
+			<td><%=relatedRecipe.getChallenge()%></td>
+		</tr>
+<%
+}
+%>
+
+	</tbody>
+</table>
+<%
+}
+%>
+
+
+</body>
+</html>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/TOCGenerator.xmljet
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/TOCGenerator.xmljet?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/TOCGenerator.xmljet (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.mojo/templates/TOCGenerator.xmljet Wed Feb 21 15:05:11 2007
@@ -0,0 +1,62 @@
+<%@ jet package="org.apache.maven.plugins.documentation.checklist.mojo.templates"
+		class="TOCGenerator"
+		imports="	org.apache.maven.model.emf.documentation.checklist.Checklist
+					org.apache.maven.model.emf.documentation.checklist.CheckGroup		
+					org.apache.maven.model.emf.documentation.checklist.CheckItem
+					org.apache.maven.model.emf.documentation.recipe.Recipe
+					org.apache.maven.model.emf.documentation.checklist.PackagingTarget
+					org.eclipse.emf.common.util.EList
+					org.eclipse.emf.common.util.EMap
+					org.apache.commons.lang.StringUtils
+					java.util.Iterator"
+%> 
+<%
+	Checklist checklist				= (Checklist) argument;
+	EMap<String, Recipe> recipeMap	= checklist.getRecipeMap();
+	PackagingTarget packagingTarget = checklist.getPackagingTarget();
+	EList<CheckGroup> checkGroups	= checklist.getCheckGroups();
+%>
+<?xml version="1.0" encoding="UTF-8"?>
+<?NLS TYPE="org.eclipse.help.toc"?>
+
+<toc label="<%=checklist.getName()%>">
+	<topic label="<%=packagingTarget.getLabel()%>">
+		<topic label="Recipes">
+<%
+Iterator<CheckGroup> checkGroupsIterator1 = checkGroups.iterator();
+while (checkGroupsIterator1.hasNext())
+{
+	CheckGroup checkGroup = checkGroupsIterator1.next();
+%>	
+			<topic label="<%=checkGroup.getLabel()%>">
+<%			
+			Iterator<CheckItem> checkItemsIterator = checkGroup.getCheckItems().iterator();
+			while (checkItemsIterator.hasNext())
+			{
+				CheckItem checkItem = checkItemsIterator.next();
+				Recipe recipe = recipeMap.get( checkItem.getRecipeReferenceId() );
+				
+%>
+				<topic label="<%=recipe.getChallenge()%>" href="target/html/recipes/<%=checkGroup.getId()%>/<%=recipe.getFileName()%>"/>
+<%
+			}
+%>
+			</topic>
+<%
+}
+%>
+		</topic>
+		<topic label="Checklists">
+<%
+Iterator<CheckGroup> checkGroupsIterator2 = checkGroups.iterator();
+while (checkGroupsIterator2.hasNext())
+{
+	CheckGroup checkGroup = checkGroupsIterator2.next();
+%>	
+			<topic label="<%=checkGroup.getLabel()%>" href="target/html/checklists/<%=checkGroup.getId()%>/<%=checkGroup.getFileName()%>"/>
+<%
+}
+%>
+		</topic>
+	</topic>
+</toc>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.classpath?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.classpath (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.classpath Wed Feb 21 15:05:11 2007
@@ -0,0 +1,4 @@
+<classpath>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+</classpath>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.project?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.project (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.project Wed Feb 21 15:05:11 2007
@@ -0,0 +1,14 @@
+<projectDescription>
+  <name>documentation.checklist.test</name>
+  <comment/>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/.settings/org.eclipse.jdt.core.prefs Wed Feb 21 15:05:11 2007
@@ -0,0 +1,5 @@
+#Fri Feb 16 13:48:12 CST 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/pom.xml?view=auto&rev=510296
==============================================================================
--- directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/pom.xml (added)
+++ directory/sandbox/oersoy/documentation.checklist.parent/documentation.checklist.test/pom.xml Wed Feb 21 15:05:11 2007
@@ -0,0 +1,28 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>documentation.checklist.parent</artifactId>
+    <groupId>org.apache.maven</groupId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>documentation.checklist.test</artifactId>
+  <version>1.0.0</version>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven</groupId>
+        <artifactId>documentation.checklist.mojo</artifactId>
+        <version>1.0-SNAPSHOT</version>
+        <extensions>true</extensions>
+        <executions>
+          <execution>
+            <id>generate</id>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>



Mime
View raw message