[jboss-svn-commits] JBL Code SVN: r6254 - in labs/jbosslabs/trunk/portal-extensions/forge-common/src: java/org/jboss/forge/common/projects/test web/WEB-INF

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sat Sep 16 21:01:15 EDT 2006


Author: unibrew
Date: 2006-09-16 21:01:03 -0400 (Sat, 16 Sep 2006)
New Revision: 6254

Added:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Documentation.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/DocumentationType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTrackerType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportType.java
Modified:
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
   labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
Log:
[JBLAB-754] Adding xml parsing POJOs for new project.xml data definition capabilities.

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Categories.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,36 +1,39 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import java.util.ArrayList;
 import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
 /**
  * 
  *         Class for keeping information about download categories.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -43,6 +46,7 @@
 })
 public class Categories {
 
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<Category> category;
 
     /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Category.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
@@ -29,9 +30,10 @@
 
 /**
  * 
- *         Class for keeping information about download category.
- *         @author Ryszard Kozmik
- *                 
+ *             Class for keeping information about download category.
+ *             PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * 
  * 
@@ -42,11 +44,15 @@
 })
 public class Category {
 
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String id;
+    @XmlElement(namespace = "http://jboss.org")
     protected String name;
+    @XmlElement(namespace = "http://jboss.org")
     protected String description;
+    @XmlElement(namespace = "http://jboss.org")
     protected Files files;
+    @XmlElement(namespace = "http://jboss.org")
     protected Categories categories;
 
     /**

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Documentation.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Documentation.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Documentation.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * 
+ *         Class for keeping links to project's documentation.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *         @author Ryszard Kozmik
+ *                 
+ * 
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "documentation", propOrder = {
+    "value"
+})
+public class Documentation {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected DocumentationType type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link DocumentationType }
+     *     
+     */
+    public DocumentationType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link DocumentationType }
+     *     
+     */
+    public void setType(DocumentationType value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/DocumentationType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/DocumentationType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/DocumentationType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ * 
+ *             Enum describing types of documentation.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
+ * 
+ * <p>Java class for DocumentationType.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="DocumentationType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="manual"/>
+ *     &lt;enumeration value="FAQ"/>
+ *     &lt;enumeration value="quickStart"/>
+ *     &lt;enumeration value="wiki"/>
+ *     &lt;enumeration value="installation"/>
+ *     &lt;enumeration value="javadoc"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+ at XmlEnum
+public enum DocumentationType {
+
+    FAQ("FAQ"),
+    @XmlEnumValue("installation")
+    INSTALLATION("installation"),
+    @XmlEnumValue("javadoc")
+    JAVADOC("javadoc"),
+    @XmlEnumValue("manual")
+    MANUAL("manual"),
+    @XmlEnumValue("quickStart")
+    QUICK_START("quickStart"),
+    @XmlEnumValue("wiki")
+    WIKI("wiki");
+    private final String value;
+
+    DocumentationType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static DocumentationType fromValue(String v) {
+        for (DocumentationType c: DocumentationType.values()) {
+            if (c.value.equals(v)) {
+                return c;
+            }
+        }
+        throw new IllegalArgumentException(v.toString());
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Downloads.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,34 +1,38 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
+import org.jboss.forge.common.projects.test.Downloads.Counters;
 
 
 /**
  * 
  *         Class for keeping information about project's downloads.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -41,10 +45,15 @@
 })
 public class Downloads {
 
+    @XmlElement(namespace = "http://jboss.org")
     protected Categories categories;
+    @XmlElement(namespace = "http://jboss.org")
     protected String name;
+    @XmlElement(namespace = "http://jboss.org")
     protected String description;
-    protected Downloads.Counters counters;
+    @XmlElement(namespace = "http://jboss.org")
+    protected Counters counters;
+    @XmlElement(namespace = "http://jboss.org")
     protected Files files;
 
     /**
@@ -124,10 +133,10 @@
      * 
      * @return
      *     possible object is
-     *     {@link Downloads.Counters }
+     *     {@link Counters }
      *     
      */
-    public Downloads.Counters getCounters() {
+    public Counters getCounters() {
         return counters;
     }
 
@@ -136,10 +145,10 @@
      * 
      * @param value
      *     allowed object is
-     *     {@link Downloads.Counters }
+     *     {@link Counters }
      *     
      */
-    public void setCounters(Downloads.Counters value) {
+    public void setCounters(Counters value) {
         this.counters = value;
     }
 
@@ -195,7 +204,9 @@
     })
     public static class Counters {
 
+        @XmlElement(namespace = "http://jboss.org")
         protected Sorting sorting;
+        @XmlElement(namespace = "http://jboss.org")
         protected Boolean visible;
 
         /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/File.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import java.util.ArrayList;
@@ -28,13 +29,15 @@
 import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
+import org.jboss.forge.common.projects.test.File.Button;
 
 
 /**
  * 
- *         Class for keeping information about one file available for download.
- *         @author Ryszard Kozmik
- *                 
+ *                 Class for keeping information about one file available for download.
+ *                 PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *                 @author Ryszard Kozmik
+ *                         
  * 
  * 
  * 
@@ -47,24 +50,27 @@
     "size",
     "license",
     "release",
+    "type",
     "button"
 })
 public class File {
 
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String id;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String name;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String description;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String size;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String license;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String release;
-    @XmlElement(required = true)
-    protected List<File.Button> button;
+    @XmlElement(namespace = "http://jboss.org")
+    protected String type;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<Button> button;
     @XmlAttribute
     protected Boolean visible;
 
@@ -213,6 +219,30 @@
     }
 
     /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setType(String value) {
+        this.type = value;
+    }
+
+    /**
      * Gets the value of the button property.
      * 
      * <p>
@@ -230,13 +260,13 @@
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
-     * {@link File.Button }
+     * {@link Button }
      * 
      * 
      */
-    public List<File.Button> getButton() {
+    public List<Button> getButton() {
         if (button == null) {
-            button = new ArrayList<File.Button>();
+            button = new ArrayList<Button>();
         }
         return this.button;
     }
@@ -299,10 +329,11 @@
     })
     public static class Button {
 
-        @XmlElement(required = true)
+        @XmlElement(namespace = "http://jboss.org", required = true)
         protected String id;
-        @XmlElement(required = true)
+        @XmlElement(namespace = "http://jboss.org", required = true)
         protected String name;
+        @XmlElement(namespace = "http://jboss.org")
         protected boolean freezone;
 
         /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Files.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import java.util.ArrayList;
@@ -26,14 +27,16 @@
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
 /**
  * 
- *         Class for keeping information about files available to download.
- *         @author Ryszard Kozmik
- *                 
+ *             Class for keeping information about files available to download.
+ *             PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * 
  * 
@@ -44,6 +47,7 @@
 })
 public class Files {
 
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<File> file;
     @XmlAttribute
     protected Sorting sorting;

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Forums.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * 
+ *         Class for keeping links to project's forums.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *         @author Ryszard Kozmik
+ *                 
+ * 
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "forums", propOrder = {
+    "value"
+})
+public class Forums {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected ForumsType type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link ForumsType }
+     *     
+     */
+    public ForumsType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link ForumsType }
+     *     
+     */
+    public void setType(ForumsType value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ForumsType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ * 
+ *             Enum describing types of forums.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
+ * 
+ * <p>Java class for ForumsType.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="ForumsType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="user"/>
+ *     &lt;enumeration value="dev"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+ at XmlEnum
+public enum ForumsType {
+
+    @XmlEnumValue("dev")
+    DEV("dev"),
+    @XmlEnumValue("user")
+    USER("user");
+    private final String value;
+
+    ForumsType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static ForumsType fromValue(String v) {
+        for (ForumsType c: ForumsType.values()) {
+            if (c.value.equals(v)) {
+                return c;
+            }
+        }
+        throw new IllegalArgumentException(v.toString());
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTracker.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
@@ -31,6 +32,7 @@
 /**
  * 
  *         Class for keeping information about project's issue tracker.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -45,8 +47,8 @@
 
     @XmlValue
     protected String value;
-    @XmlAttribute(required = true)
-    protected String type;
+    @XmlAttribute
+    protected IssueTrackerType type;
 
     /**
      * Gets the value of the value property.
@@ -77,11 +79,15 @@
      * 
      * @return
      *     possible object is
-     *     {@link String }
+     *     {@link IssueTrackerType }
      *     
      */
-    public String getType() {
-        return type;
+    public IssueTrackerType getType() {
+        if (type == null) {
+            return IssueTrackerType.JIRA;
+        } else {
+            return type;
+        }
     }
 
     /**
@@ -89,10 +95,10 @@
      * 
      * @param value
      *     allowed object is
-     *     {@link String }
+     *     {@link IssueTrackerType }
      *     
      */
-    public void setType(String value) {
+    public void setType(IssueTrackerType value) {
         this.type = value;
     }
 

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTrackerType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTrackerType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/IssueTrackerType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ * 
+ *             Enum describing types of possbile issue trackers.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
+ * 
+ * <p>Java class for IssueTrackerType.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="IssueTrackerType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="jira"/>
+ *     &lt;enumeration value="bugzilla"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+ at XmlEnum
+public enum IssueTrackerType {
+
+    @XmlEnumValue("bugzilla")
+    BUGZILLA("bugzilla"),
+    @XmlEnumValue("jira")
+    JIRA("jira");
+    private final String value;
+
+    IssueTrackerType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static IssueTrackerType fromValue(String v) {
+        for (IssueTrackerType c: IssueTrackerType.values()) {
+            if (c.value.equals(v)) {
+                return c;
+            }
+        }
+        throw new IllegalArgumentException(v.toString());
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Link.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
@@ -30,9 +31,10 @@
 
 /**
  * 
- *         Class for keeping information about one of predefined links for project's navigation menu.
- *         @author Ryszard Kozmik
- *                 
+ *             Class for keeping information about one of predefined links for project's navigation menu.
+ *             PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * 
  * 
@@ -47,8 +49,6 @@
     protected String value;
     @XmlAttribute
     protected String display;
-    @XmlAttribute(required = true)
-    protected LinkType type;
 
     /**
      * Gets the value of the value property.
@@ -98,28 +98,4 @@
         this.display = value;
     }
 
-    /**
-     * Gets the value of the type property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link LinkType }
-     *     
-     */
-    public LinkType getType() {
-        return type;
-    }
-
-    /**
-     * Sets the value of the type property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link LinkType }
-     *     
-     */
-    public void setType(LinkType value) {
-        this.type = value;
-    }
-
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/LinkType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlEnum;
@@ -49,10 +50,10 @@
 @XmlEnum
 public enum LinkType {
 
+    @XmlEnumValue("issue-tracker")
+    ISSUE_TRACKER("issue-tracker"),
     @XmlEnumValue("repository")
     REPOSITORY("repository"),
-    @XmlEnumValue("issue-tracker")
-    ISSUE_TRACKER("issue-tracker"),
     @XmlEnumValue("repo-monitor")
     REPO_MONITOR("repo-monitor");
     private final String value;

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Menu.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,36 +1,45 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import java.util.ArrayList;
 import java.util.List;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
+import org.jboss.forge.common.projects.test.Menu.Documentation;
+import org.jboss.forge.common.projects.test.Menu.Forums;
+import org.jboss.forge.common.projects.test.Menu.IssueTracker;
+import org.jboss.forge.common.projects.test.Menu.RepoMonitor;
+import org.jboss.forge.common.projects.test.Menu.SupportServices;
 
 
 /**
  * 
  *         Class for keeping information about project's navigation menu.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -40,12 +49,26 @@
 @XmlAccessorType(XmlAccessType.FIELD)
 @XmlType(name = "menu", propOrder = {
     "page",
-    "link"
+    "documentation",
+    "supportServices",
+    "forums",
+    "issueTracker",
+    "repoMonitor"
 })
 public class Menu {
 
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<Page> page;
-    protected List<Link> link;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<Documentation> documentation;
+    @XmlElement(name = "support-services", namespace = "http://jboss.org", required = true)
+    protected List<SupportServices> supportServices;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<Forums> forums;
+    @XmlElement(name = "issue-tracker", namespace = "http://jboss.org")
+    protected IssueTracker issueTracker;
+    @XmlElement(name = "repo-monitor", namespace = "http://jboss.org", required = true)
+    protected List<RepoMonitor> repoMonitor;
 
     /**
      * Gets the value of the page property.
@@ -77,32 +100,398 @@
     }
 
     /**
-     * Gets the value of the link property.
+     * Gets the value of the documentation property.
      * 
      * <p>
      * This accessor method returns a reference to the live list,
      * not a snapshot. Therefore any modification you make to the
      * returned list will be present inside the JAXB object.
-     * This is why there is not a <CODE>set</CODE> method for the link property.
+     * This is why there is not a <CODE>set</CODE> method for the documentation property.
      * 
      * <p>
      * For example, to add a new item, do as follows:
      * <pre>
-     *    getLink().add(newItem);
+     *    getDocumentation().add(newItem);
      * </pre>
      * 
      * 
      * <p>
      * Objects of the following type(s) are allowed in the list
-     * {@link Link }
+     * {@link Documentation }
      * 
      * 
      */
-    public List<Link> getLink() {
-        if (link == null) {
-            link = new ArrayList<Link>();
+    public List<Documentation> getDocumentation() {
+        if (documentation == null) {
+            documentation = new ArrayList<Documentation>();
         }
-        return this.link;
+        return this.documentation;
     }
 
+    /**
+     * Gets the value of the supportServices property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the supportServices property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getSupportServices().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link SupportServices }
+     * 
+     * 
+     */
+    public List<SupportServices> getSupportServices() {
+        if (supportServices == null) {
+            supportServices = new ArrayList<SupportServices>();
+        }
+        return this.supportServices;
+    }
+
+    /**
+     * Gets the value of the forums property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the forums property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getForums().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Forums }
+     * 
+     * 
+     */
+    public List<Forums> getForums() {
+        if (forums == null) {
+            forums = new ArrayList<Forums>();
+        }
+        return this.forums;
+    }
+
+    /**
+     * Gets the value of the issueTracker property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link IssueTracker }
+     *     
+     */
+    public IssueTracker getIssueTracker() {
+        return issueTracker;
+    }
+
+    /**
+     * Sets the value of the issueTracker property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link IssueTracker }
+     *     
+     */
+    public void setIssueTracker(IssueTracker value) {
+        this.issueTracker = value;
+    }
+
+    /**
+     * Gets the value of the repoMonitor property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the repoMonitor property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getRepoMonitor().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link RepoMonitor }
+     * 
+     * 
+     */
+    public List<RepoMonitor> getRepoMonitor() {
+        if (repoMonitor == null) {
+            repoMonitor = new ArrayList<RepoMonitor>();
+        }
+        return this.repoMonitor;
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="type" use="required" type="{http://jboss.org}DocumentationType" />
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class Documentation {
+
+        @XmlAttribute(required = true)
+        protected DocumentationType type;
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link DocumentationType }
+         *     
+         */
+        public DocumentationType getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link DocumentationType }
+         *     
+         */
+        public void setType(DocumentationType value) {
+            this.type = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="type" use="required" type="{http://jboss.org}ForumsType" />
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class Forums {
+
+        @XmlAttribute(required = true)
+        protected ForumsType type;
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link ForumsType }
+         *     
+         */
+        public ForumsType getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link ForumsType }
+         *     
+         */
+        public void setType(ForumsType value) {
+            this.type = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="type" use="required" type="{http://jboss.org}IssueTrackerType" />
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class IssueTracker {
+
+        @XmlAttribute(required = true)
+        protected IssueTrackerType type;
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link IssueTrackerType }
+         *     
+         */
+        public IssueTrackerType getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link IssueTrackerType }
+         *     
+         */
+        public void setType(IssueTrackerType value) {
+            this.type = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="type" use="required" type="{http://jboss.org}RepoType" />
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class RepoMonitor {
+
+        @XmlAttribute(required = true)
+        protected RepoType type;
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link RepoType }
+         *     
+         */
+        public RepoType getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link RepoType }
+         *     
+         */
+        public void setType(RepoType value) {
+            this.type = value;
+        }
+
+    }
+
+
+    /**
+     * <p>Java class for anonymous complex type.
+     * 
+     * <p>The following schema fragment specifies the expected content contained within this class.
+     * 
+     * <pre>
+     * &lt;complexType>
+     *   &lt;complexContent>
+     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       &lt;attribute name="type" use="required" type="{http://jboss.org}SupportType" />
+     *     &lt;/restriction>
+     *   &lt;/complexContent>
+     * &lt;/complexType>
+     * </pre>
+     * 
+     * 
+     */
+    @XmlAccessorType(XmlAccessType.FIELD)
+    @XmlType(name = "")
+    public static class SupportServices {
+
+        @XmlAttribute(required = true)
+        protected SupportType type;
+
+        /**
+         * Gets the value of the type property.
+         * 
+         * @return
+         *     possible object is
+         *     {@link SupportType }
+         *     
+         */
+        public SupportType getType() {
+            return type;
+        }
+
+        /**
+         * Sets the value of the type property.
+         * 
+         * @param value
+         *     allowed object is
+         *     {@link SupportType }
+         *     
+         */
+        public void setType(SupportType value) {
+            this.type = value;
+        }
+
+    }
+
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/MonitorType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlEnum;
@@ -27,9 +28,10 @@
 
 /**
  * 
- *         Enum describing types of possbile repository-monitors.
- *         @author Ryszard Kozmik
- *                 
+ *             Enum describing types of possbile repository-monitors.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * <p>Java class for MonitorType.
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/ObjectFactory.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,27 +1,30 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlRegistry;
+import org.jboss.forge.common.projects.test.Downloads.Counters;
+import org.jboss.forge.common.projects.test.File.Button;
 
 
 /**
@@ -50,38 +53,86 @@
     }
 
     /**
-     * Create an instance of {@link Poll }
+     * Create an instance of {@link Page }
      * 
      */
-    public Poll createPoll() {
-        return new Poll();
+    public Page createPage() {
+        return new Page();
     }
 
     /**
-     * Create an instance of {@link Categories }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.SupportServices }
      * 
      */
-    public Categories createCategories() {
-        return new Categories();
+    public org.jboss.forge.common.projects.test.Menu.SupportServices createMenuSupportServices() {
+        return new org.jboss.forge.common.projects.test.Menu.SupportServices();
     }
 
     /**
-     * Create an instance of {@link Category }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Forums }
      * 
      */
-    public Category createCategory() {
-        return new Category();
+    public org.jboss.forge.common.projects.test.Forums createForums() {
+        return new org.jboss.forge.common.projects.test.Forums();
     }
 
     /**
-     * Create an instance of {@link IssueTracker }
+     * Create an instance of {@link Counters }
      * 
      */
-    public IssueTracker createIssueTracker() {
-        return new IssueTracker();
+    public Counters createDownloadsCounters() {
+        return new Counters();
     }
 
     /**
+     * Create an instance of {@link org.jboss.forge.common.projects.test.IssueTracker }
+     * 
+     */
+    public org.jboss.forge.common.projects.test.IssueTracker createIssueTracker() {
+        return new org.jboss.forge.common.projects.test.IssueTracker();
+    }
+
+    /**
+     * Create an instance of {@link Repository }
+     * 
+     */
+    public Repository createRepository() {
+        return new Repository();
+    }
+
+    /**
+     * Create an instance of {@link Menu }
+     * 
+     */
+    public Menu createMenu() {
+        return new Menu();
+    }
+
+    /**
+     * Create an instance of {@link Downloads }
+     * 
+     */
+    public Downloads createDownloads() {
+        return new Downloads();
+    }
+
+    /**
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.IssueTracker }
+     * 
+     */
+    public org.jboss.forge.common.projects.test.Menu.IssueTracker createMenuIssueTracker() {
+        return new org.jboss.forge.common.projects.test.Menu.IssueTracker();
+    }
+
+    /**
+     * Create an instance of {@link org.jboss.forge.common.projects.test.SupportServices }
+     * 
+     */
+    public org.jboss.forge.common.projects.test.SupportServices createSupportServices() {
+        return new org.jboss.forge.common.projects.test.SupportServices();
+    }
+
+    /**
      * Create an instance of {@link File }
      * 
      */
@@ -90,91 +141,99 @@
     }
 
     /**
-     * Create an instance of {@link Project }
+     * Create an instance of {@link Poll }
      * 
      */
-    public Project createProject() {
-        return new Project();
+    public Poll createPoll() {
+        return new Poll();
     }
 
     /**
-     * Create an instance of {@link Repository }
+     * Create an instance of {@link Button }
      * 
      */
-    public Repository createRepository() {
-        return new Repository();
+    public Button createFileButton() {
+        return new Button();
     }
 
     /**
-     * Create an instance of {@link Polls }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Forums }
      * 
      */
-    public Polls createPolls() {
-        return new Polls();
+    public org.jboss.forge.common.projects.test.Menu.Forums createMenuForums() {
+        return new org.jboss.forge.common.projects.test.Menu.Forums();
     }
 
     /**
-     * Create an instance of {@link Page }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.Documentation }
      * 
      */
-    public Page createPage() {
-        return new Page();
+    public org.jboss.forge.common.projects.test.Menu.Documentation createMenuDocumentation() {
+        return new org.jboss.forge.common.projects.test.Menu.Documentation();
     }
 
     /**
-     * Create an instance of {@link Downloads }
+     * Create an instance of {@link Categories }
      * 
      */
-    public Downloads createDownloads() {
-        return new Downloads();
+    public Categories createCategories() {
+        return new Categories();
     }
 
     /**
-     * Create an instance of {@link Downloads.Counters }
+     * Create an instance of {@link Polls }
      * 
      */
-    public Downloads.Counters createDownloadsCounters() {
-        return new Downloads.Counters();
+    public Polls createPolls() {
+        return new Polls();
     }
 
     /**
-     * Create an instance of {@link Link }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Documentation }
      * 
      */
-    public Link createLink() {
-        return new Link();
+    public org.jboss.forge.common.projects.test.Documentation createDocumentation() {
+        return new org.jboss.forge.common.projects.test.Documentation();
     }
 
     /**
-     * Create an instance of {@link RepoMonitor }
+     * Create an instance of {@link Project }
      * 
      */
-    public RepoMonitor createRepoMonitor() {
-        return new RepoMonitor();
+    public Project createProject() {
+        return new Project();
     }
 
     /**
-     * Create an instance of {@link File.Button }
+     * Create an instance of {@link Category }
      * 
      */
-    public File.Button createFileButton() {
-        return new File.Button();
+    public Category createCategory() {
+        return new Category();
     }
 
     /**
-     * Create an instance of {@link Files }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.Menu.RepoMonitor }
      * 
      */
-    public Files createFiles() {
-        return new Files();
+    public org.jboss.forge.common.projects.test.Menu.RepoMonitor createMenuRepoMonitor() {
+        return new org.jboss.forge.common.projects.test.Menu.RepoMonitor();
     }
 
     /**
-     * Create an instance of {@link Menu }
+     * Create an instance of {@link org.jboss.forge.common.projects.test.RepoMonitor }
      * 
      */
-    public Menu createMenu() {
-        return new Menu();
+    public org.jboss.forge.common.projects.test.RepoMonitor createRepoMonitor() {
+        return new org.jboss.forge.common.projects.test.RepoMonitor();
     }
 
+    /**
+     * Create an instance of {@link Files }
+     * 
+     */
+    public Files createFiles() {
+        return new Files();
+    }
+
 }

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Page.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
@@ -30,9 +31,10 @@
 
 /**
  * 
- *         Class for keeping information about one of pages for project's navigation menu.
- *         @author Ryszard Kozmik
- *                 
+ *             Class for keeping information about one of pages for project's navigation menu.
+ *             PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Poll.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import java.util.ArrayList;
@@ -31,9 +32,10 @@
 
 /**
  * 
- *         Class for keeping information about one poll.
- *         @author Ryszard Kozmik
- *                 
+ *             Class for keeping information about one poll.
+ *             PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * 
  * 
@@ -45,9 +47,9 @@
 })
 public class Poll {
 
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String question;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<String> answer;
 
     /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Polls.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,34 +1,37 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
 /**
  * 
  *         Class for keeping information about polls.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -41,6 +44,7 @@
 })
 public class Polls {
 
+    @XmlElement(namespace = "http://jboss.org")
     protected Poll poll;
 
     /**

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Project.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import java.util.ArrayList;
@@ -33,6 +34,7 @@
 /**
  * 
  *         Root class describing whole project.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -50,6 +52,9 @@
     "repository",
     "repoMonitor",
     "issueTracker",
+    "supportServices",
+    "forums",
+    "documentation",
     "menu",
     "downloads",
     "polls"
@@ -57,22 +62,35 @@
 @XmlRootElement(name = "project")
 public class Project {
 
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String id;
-    @XmlElement(required = true)
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected String name;
-    @XmlElement(name = "company-name")
+    @XmlElement(name = "company-name", namespace = "http://jboss.org")
     protected String companyName;
+    @XmlElement(namespace = "http://jboss.org")
     protected String logo;
+    @XmlElement(namespace = "http://jboss.org")
     protected String description;
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<String> jems;
+    @XmlElement(namespace = "http://jboss.org", required = true)
     protected List<Repository> repository;
-    @XmlElement(name = "repo-monitor")
+    @XmlElement(name = "repo-monitor", namespace = "http://jboss.org", required = true)
     protected List<RepoMonitor> repoMonitor;
-    @XmlElement(name = "issue-tracker")
+    @XmlElement(name = "issue-tracker", namespace = "http://jboss.org", required = true)
     protected List<IssueTracker> issueTracker;
+    @XmlElement(name = "support-services", namespace = "http://jboss.org", required = true)
+    protected List<SupportServices> supportServices;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<Forums> forums;
+    @XmlElement(namespace = "http://jboss.org", required = true)
+    protected List<Documentation> documentation;
+    @XmlElement(namespace = "http://jboss.org")
     protected Menu menu;
+    @XmlElement(namespace = "http://jboss.org")
     protected Downloads downloads;
+    @XmlElement(namespace = "http://jboss.org")
     protected Polls polls;
 
     /**
@@ -312,6 +330,93 @@
     }
 
     /**
+     * Gets the value of the supportServices property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the supportServices property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getSupportServices().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link SupportServices }
+     * 
+     * 
+     */
+    public List<SupportServices> getSupportServices() {
+        if (supportServices == null) {
+            supportServices = new ArrayList<SupportServices>();
+        }
+        return this.supportServices;
+    }
+
+    /**
+     * Gets the value of the forums property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the forums property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getForums().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Forums }
+     * 
+     * 
+     */
+    public List<Forums> getForums() {
+        if (forums == null) {
+            forums = new ArrayList<Forums>();
+        }
+        return this.forums;
+    }
+
+    /**
+     * Gets the value of the documentation property.
+     * 
+     * <p>
+     * This accessor method returns a reference to the live list,
+     * not a snapshot. Therefore any modification you make to the
+     * returned list will be present inside the JAXB object.
+     * This is why there is not a <CODE>set</CODE> method for the documentation property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getDocumentation().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link Documentation }
+     * 
+     * 
+     */
+    public List<Documentation> getDocumentation() {
+        if (documentation == null) {
+            documentation = new ArrayList<Documentation>();
+        }
+        return this.documentation;
+    }
+
+    /**
      * Gets the value of the menu property.
      * 
      * @return

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoMonitor.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
@@ -31,6 +32,7 @@
 /**
  * 
  *         Class for keeping information about project's repository monitor.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/RepoType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlEnum;
@@ -27,9 +28,10 @@
 
 /**
  * 
- *         Enum describing types of possbile repositories.
- *         @author Ryszard Kozmik
- *                 
+ *             Enum describing types of possbile repositories.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
  * 
  * <p>Java class for RepoType.
  * 
@@ -48,10 +50,10 @@
 @XmlEnum
 public enum RepoType {
 
+    @XmlEnumValue("cvs")
+    CVS("cvs"),
     @XmlEnumValue("svn")
-    SVN("svn"),
-    @XmlEnumValue("cvs")
-    CVS("cvs");
+    SVN("svn");
     private final String value;
 
     RepoType(String v) {

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Repository.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,35 +1,38 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
 
 
 /**
  * 
  *         Class for keeping information about project's repository type.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -37,13 +40,41 @@
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
- at XmlType(name = "repository")
+ at XmlType(name = "repository", propOrder = {
+    "value"
+})
 public class Repository {
 
+    @XmlValue
+    protected String value;
     @XmlAttribute(required = true)
     protected RepoType type;
 
     /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
      * Gets the value of the type property.
      * 
      * @return

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/Sorting.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,24 +1,25 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
 package org.jboss.forge.common.projects.test;
 
 import javax.xml.bind.annotation.XmlEnum;
@@ -28,6 +29,7 @@
 /**
  * 
  *         Enum describing types of possbile sorting orders for downloads showing purposes.
+ *         PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
  *         @author Ryszard Kozmik
  *                 
  * 
@@ -53,14 +55,14 @@
 
     @XmlEnumValue("asc")
     ASC("asc"),
+    @XmlEnumValue("ascending")
+    ASCENDING("ascending"),
     @XmlEnumValue("desc")
     DESC("desc"),
+    @XmlEnumValue("descending")
+    DESCENDING("descending"),
     @XmlEnumValue("random")
-    RANDOM("random"),
-    @XmlEnumValue("ascending")
-    ASCENDING("ascending"),
-    @XmlEnumValue("descending")
-    DESCENDING("descending");
+    RANDOM("random");
     private final String value;
 
     Sorting(String v) {

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportServices.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlValue;
+
+
+/**
+ * 
+ *         Class for keeping information about support services provided by project.
+ *         PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+ *         @author Ryszard Kozmik
+ *                 
+ * 
+ * 
+ * 
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "support-services", propOrder = {
+    "value"
+})
+public class SupportServices {
+
+    @XmlValue
+    protected String value;
+    @XmlAttribute(required = true)
+    protected SupportType type;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setValue(String value) {
+        this.value = value;
+    }
+
+    /**
+     * Gets the value of the type property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link SupportType }
+     *     
+     */
+    public SupportType getType() {
+        return type;
+    }
+
+    /**
+     * Sets the value of the type property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link SupportType }
+     *     
+     */
+    public void setType(SupportType value) {
+        this.type = value;
+    }
+
+}

Added: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportType.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportType.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/SupportType.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.jboss.forge.common.projects.test;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+
+
+/**
+ * 
+ *             Enum describing types of possbile support services.
+ *             PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+ *             @author Ryszard Kozmik
+ *                     
+ * 
+ * <p>Java class for SupportType.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="SupportType">
+ *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     &lt;enumeration value="support"/>
+ *     &lt;enumeration value="training"/>
+ *   &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ * 
+ */
+ at XmlEnum
+public enum SupportType {
+
+    @XmlEnumValue("support")
+    SUPPORT("support"),
+    @XmlEnumValue("training")
+    TRAINING("training");
+    private final String value;
+
+    SupportType(String v) {
+        value = v;
+    }
+
+    public String value() {
+        return value;
+    }
+
+    public static SupportType fromValue(String v) {
+        for (SupportType c: SupportType.values()) {
+            if (c.value.equals(v)) {
+                return c;
+            }
+        }
+        throw new IllegalArgumentException(v.toString());
+    }
+
+}

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/java/org/jboss/forge/common/projects/test/package-info.java	2006-09-17 01:01:03 UTC (rev 6254)
@@ -1,23 +1,24 @@
- /*
-  * JBoss, Home of Professional Open Source
-  * Copyright 2005, JBoss Inc., and individual contributors as indicated
-  * by the @authors tag. See the copyright.txt in the distribution for a
-  * full listing of individual contributors.
-  *
-  * This is free software; you can redistribute it and/or modify it
-  * under the terms of the GNU Lesser General Public License as
-  * published by the Free Software Foundation; either version 2.1 of
-  * the License, or (at your option) any later version.
-  *
-  * This software is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  * Lesser General Public License for more details.
-  *
-  * You should have received a copy of the GNU Lesser General Public
-  * License along with this software; if not, write to the Free
-  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-  */
- at javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://jboss.org")
 package org.jboss.forge.common.projects.test;

Modified: labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd
===================================================================
--- labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd	2006-09-16 20:17:49 UTC (rev 6253)
+++ labs/jbosslabs/trunk/portal-extensions/forge-common/src/web/WEB-INF/project.xsd	2006-09-17 01:01:03 UTC (rev 6254)
@@ -40,6 +40,7 @@
             <jxb:class>
                 <jxb:javadoc>
         Root class describing whole project.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -56,6 +57,9 @@
             <xs:element name="repository" minOccurs="0" maxOccurs="unbounded" type="repository" />
             <xs:element name="repo-monitor" minOccurs="0" maxOccurs="unbounded" type="repo-monitor" />
             <xs:element name="issue-tracker" minOccurs="0" maxOccurs="unbounded" type="issue-tracker" />
+	    <xs:element name="support-services" minOccurs="0" maxOccurs="unbounded" type="support-services" />
+            <xs:element name="forums" minOccurs="0" maxOccurs="unbounded" type="forums" />
+            <xs:element name="documentation" minOccurs="0" maxOccurs="unbounded" type="documentation" />
             <xs:element name="menu" type="menu" minOccurs="0" maxOccurs="1" />
             <xs:element name="downloads" minOccurs="0" maxOccurs="1" type="downloads" />
             <xs:element name="polls" minOccurs="0" maxOccurs="1" type="polls" />
@@ -68,43 +72,50 @@
 <!--        REPOSITORY AND TASKTRACKERS          -->
 <!--                                             -->
 
-<xs:complexType name="repository" >
+<xs:complexType name="repository" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
         Class for keeping information about project's repository type.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
         </xs:appinfo>
     </xs:annotation>
-    <xs:attribute name="type" use="required" type="RepoType" />
+    <xs:simpleContent>
+        <xs:extension base="xs:string" >
+            <xs:attribute name="type" use="required" type="RepoType" />
+        </xs:extension>
+    </xs:simpleContent>
 </xs:complexType>
 
-<xs:simpleType name="RepoType" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:typesafeEnumClass>
-                <jxb:javadoc>
-        Enum describing types of possbile repositories.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:typesafeEnumClass>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:restriction base="xs:string">
-        <xs:enumeration value="svn"/>
-        <xs:enumeration value="cvs"/>
-    </xs:restriction>
-</xs:simpleType>
+    <xs:simpleType name="RepoType" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:typesafeEnumClass>
+                    <jxb:javadoc>
+            Enum describing types of possbile repositories.
+            PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:typesafeEnumClass>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="svn"/>
+            <xs:enumeration value="cvs"/>
+        </xs:restriction>
+    </xs:simpleType>
 
-<xs:complexType name="repo-monitor" >
+<xs:complexType name="repo-monitor" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
         Class for keeping information about project's repository monitor.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -117,29 +128,31 @@
     </xs:simpleContent>
 </xs:complexType>
 
-<xs:simpleType name="MonitorType" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:typesafeEnumClass>
-                <jxb:javadoc>
-        Enum describing types of possbile repository-monitors.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:typesafeEnumClass>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:restriction base="xs:string">
-        <xs:enumeration value="fisheye"/>
-        <xs:enumeration value="viewvc"/>
-    </xs:restriction>
-</xs:simpleType>
+    <xs:simpleType name="MonitorType" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:typesafeEnumClass>
+                    <jxb:javadoc>
+            Enum describing types of possbile repository-monitors.
+            PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:typesafeEnumClass>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="fisheye"/>
+            <xs:enumeration value="viewvc"/>
+        </xs:restriction>
+    </xs:simpleType>
 
-<xs:complexType name="issue-tracker" >
+<xs:complexType name="issue-tracker" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
         Class for keeping information about project's issue tracker.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -147,39 +160,84 @@
     </xs:annotation>
     <xs:simpleContent>
         <xs:extension base="xs:string">
-            <xs:attribute name="type" use="required" />
+            <xs:attribute name="type" default="jira" type="IssueTrackerType" />
         </xs:extension>
     </xs:simpleContent>
 </xs:complexType>
 
+    <xs:simpleType name="IssueTrackerType" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:typesafeEnumClass>
+                    <jxb:javadoc>
+            Enum describing types of possbile issue trackers.
+            PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:typesafeEnumClass>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="jira"/>
+            <xs:enumeration value="bugzilla"/>
+        </xs:restriction>
+    </xs:simpleType>
 
+
+
 <!--                                             -->
-<!--              NAVIGATION MENU                -->
+<!--                 SUPPORT                     -->
 <!--                                             -->
 
-<xs:complexType name="menu" >
+<xs:complexType name="support-services" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
-        Class for keeping information about project's navigation menu.
+        Class for keeping information about support services provided by project.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
         </xs:appinfo>
     </xs:annotation>
-    <xs:sequence>
-        <xs:element name="page" type="page" minOccurs="0" maxOccurs="unbounded" />
-        <xs:element name="link" type="link" minOccurs="0" maxOccurs="unbounded" />
-    </xs:sequence>
+    <xs:simpleContent>
+        <xs:extension base="xs:string" >
+            <xs:attribute name="type" use="required" type="SupportType" />
+        </xs:extension>
+    </xs:simpleContent>
 </xs:complexType>
 
-<xs:complexType name="page" >
+    <xs:simpleType name="SupportType" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:typesafeEnumClass>
+                    <jxb:javadoc>
+            Enum describing types of possbile support services.
+            PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:typesafeEnumClass>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="support"/>
+            <xs:enumeration value="training"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+
+<!--                                             -->
+<!--                  FORUMS                     -->
+<!--                                             -->
+
+<xs:complexType name="forums" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
-        Class for keeping information about one of pages for project's navigation menu.
+        Class for keeping links to project's forums.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -187,17 +245,41 @@
     </xs:annotation>
     <xs:simpleContent>
         <xs:extension base="xs:string" >
-            <xs:attribute name="display" type="xs:string" use="optional" />
+            <xs:attribute name="type" use="required" type="ForumsType" />
         </xs:extension>
     </xs:simpleContent>
 </xs:complexType>
 
-<xs:complexType name="link" >
+    <xs:simpleType name="ForumsType" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:typesafeEnumClass>
+                    <jxb:javadoc>
+            Enum describing types of forums.
+            PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:typesafeEnumClass>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="user"/>
+            <xs:enumeration value="dev"/>
+        </xs:restriction>
+    </xs:simpleType>
+
+
+<!--                                             -->
+<!--               DOCUMENTATION                 -->
+<!--                                             -->
+
+<xs:complexType name="documentation" mixed="true" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
-        Class for keeping information about one of predefined links for project's navigation menu.
+        Class for keeping links to project's documentation.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -205,69 +287,139 @@
     </xs:annotation>
     <xs:simpleContent>
         <xs:extension base="xs:string" >
-            <xs:attribute name="display" type="xs:string" use="optional" />
-            <xs:attribute name="type" use="required" type="LinkType" />
+            <xs:attribute name="type" use="required" type="DocumentationType" />
         </xs:extension>
     </xs:simpleContent>
 </xs:complexType>
 
-<xs:simpleType name="LinkType" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:typesafeEnumClass>
-                <jxb:javadoc>
-        Enum describing types of possbile repository-monitors.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:typesafeEnumClass>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:restriction base="xs:string">
-        <xs:enumeration value="repository"/>
-        <xs:enumeration value="issue-tracker"/>
-        <xs:enumeration value="repo-monitor"/>
-    </xs:restriction>
-</xs:simpleType>
+    <xs:simpleType name="DocumentationType" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:typesafeEnumClass>
+                    <jxb:javadoc>
+            Enum describing types of documentation.
+            PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:typesafeEnumClass>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:restriction base="xs:string">
+            <xs:enumeration value="manual"/>
+            <xs:enumeration value="FAQ"/>
+            <xs:enumeration value="quickStart"/>
+            <xs:enumeration value="wiki"/>
+            <xs:enumeration value="installation"/>
+            <xs:enumeration value="javadoc"/>
+        </xs:restriction>
+    </xs:simpleType>
 
-
 <!--                                             -->
-<!--                    POLLS                    -->
+<!--              NAVIGATION MENU                -->
 <!--                                             -->
 
-<xs:complexType name="polls" >
+<xs:complexType name="menu" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
-        Class for keeping information about polls.
+        Class for keeping information about project's navigation menu.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
         </xs:appinfo>
     </xs:annotation>
     <xs:sequence>
-        <xs:element name="poll" minOccurs="0" maxOccurs="1" type="poll" />
+        <xs:element name="page" type="page" minOccurs="0" maxOccurs="unbounded" />
+        <xs:element name="documentation" minOccurs="0" maxOccurs="unbounded" >
+        <xs:complexType mixed="false" >
+                <xs:attribute name="type" use="required" type="DocumentationType" />
+        </xs:complexType>
+        </xs:element>
+        <xs:element name="support-services"  minOccurs="0" maxOccurs="unbounded" >
+            <xs:complexType mixed="false" >
+                <xs:attribute name="type" use="required" type="SupportType" />
+            </xs:complexType>
+        </xs:element>
+        <xs:element name="forums" minOccurs="0" maxOccurs="unbounded" >
+            <xs:complexType mixed="false" >
+                <xs:attribute name="type" use="required" type="ForumsType" />
+            </xs:complexType>
+        </xs:element>
+        <xs:element name="issue-tracker" minOccurs="0" maxOccurs="1" >
+            <xs:complexType mixed="false" >
+                <xs:attribute name="type" use="required" type="IssueTrackerType" />
+            </xs:complexType>
+        </xs:element>
+        <xs:element name="repo-monitor" minOccurs="0" maxOccurs="unbounded" >
+            <xs:complexType>
+                <xs:attribute name="type" use="required" type="RepoType" />
+            </xs:complexType>
+        </xs:element>
     </xs:sequence>
 </xs:complexType>
 
-<xs:complexType name="poll" >
+    <xs:complexType name="page" mixed="true" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:class>
+                    <jxb:javadoc>
+            Class for keeping information about one of pages for project's navigation menu.
+            PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:class>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:simpleContent>
+            <xs:extension base="xs:string" >
+                <xs:attribute name="display" type="xs:string" use="optional" />
+            </xs:extension>
+        </xs:simpleContent>
+    </xs:complexType>
+
+
+<!--                                             -->
+<!--                    POLLS                    -->
+<!--                                             -->
+
+<xs:complexType name="polls" >
     <xs:annotation>
         <xs:appinfo>
             <jxb:class>
                 <jxb:javadoc>
-        Class for keeping information about one poll.
+        Class for keeping information about polls.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
         </xs:appinfo>
     </xs:annotation>
     <xs:sequence>
-        <xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string" />
-        <xs:element name="answer" minOccurs="1" maxOccurs="unbounded" type="xs:string" />
+        <xs:element name="poll" minOccurs="0" maxOccurs="1" type="poll" />
     </xs:sequence>
 </xs:complexType>
 
+    <xs:complexType name="poll" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:class>
+                    <jxb:javadoc>
+            Class for keeping information about one poll.
+            PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:class>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="question" minOccurs="1" maxOccurs="1" type="xs:string" />
+            <xs:element name="answer" minOccurs="1" maxOccurs="unbounded" type="xs:string" />
+        </xs:sequence>
+    </xs:complexType>
 
+
 <!--                                             -->
 <!--                  DOWNLOADS                  -->
 <!--                                             -->
@@ -278,6 +430,7 @@
             <jxb:class>
                 <jxb:javadoc>
         Class for keeping information about project's downloads.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -299,56 +452,66 @@
     </xs:all>
 </xs:complexType>
 
-<xs:complexType name="files" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:class>
-                <jxb:javadoc>
-        Class for keeping information about files available to download.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:class>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:sequence>
-        <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="file" />
-    </xs:sequence>
-    <xs:attribute name="visible" type="xs:boolean" use="optional" default="true" />
-    <xs:attribute name="sorting" type="sorting" use="optional" default="random" />
-</xs:complexType>
+    <xs:complexType name="files" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:class>
+                    <jxb:javadoc>
+            Class for keeping information about files available to download.
+            PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:class>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:sequence>
+            <xs:element name="file" minOccurs="0" maxOccurs="unbounded" type="file" />
+        </xs:sequence>
+        <xs:attribute name="visible" type="xs:boolean" use="optional" default="true" />
+        <xs:attribute name="sorting" type="sorting" use="optional" default="random" />
+    </xs:complexType>
+    
+        <xs:complexType name="file" >
+            <xs:annotation>
+                <xs:appinfo>
+                    <jxb:class>
+                        <jxb:javadoc>
+                Class for keeping information about one file available for download.
+                PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+                @author Ryszard Kozmik
+                        </jxb:javadoc>
+                    </jxb:class>
+                </xs:appinfo>
+            </xs:annotation>
+            <xs:sequence>
+                <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
+                <xs:element name="name" type="xs:string" maxOccurs="1" />
+                <xs:element name="description" type="xs:string" maxOccurs="1" />
+                <xs:element name="size" type="xs:string" maxOccurs="1" />
+                <xs:element name="license" type="xs:string" maxOccurs="1" />
+                <xs:element name="release" type="xs:string" maxOccurs="1" />
+                <xs:element name="type" minOccurs="0" maxOccurs="1" >
+                    <xs:simpleType>
+                        <xs:restriction base="xs:string">
+                            <xs:enumeration value="source"/>
+                            <xs:enumeration value="binary"/>
+                        </xs:restriction>
+                    </xs:simpleType>
+                </xs:element>
+                <xs:element name="button" minOccurs="1" maxOccurs="unbounded" >
+                    <xs:complexType>
+                        <xs:sequence>
+                            <xs:element name="id" type="xs:string" />
+                            <xs:element name="name" type="xs:string" />
+                            <xs:element name="freezone" type="xs:boolean" />
+                        </xs:sequence>
+                    </xs:complexType>
+                </xs:element>
+            </xs:sequence>
+            <xs:attribute name="visible" type="xs:boolean" default="true" />
+        </xs:complexType>
 
-<xs:complexType name="file" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:class>
-                <jxb:javadoc>
-        Class for keeping information about one file available for download.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:class>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:sequence>
-        <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
-        <xs:element name="name" type="xs:string" maxOccurs="1" />
-        <xs:element name="description" type="xs:string" maxOccurs="1" />
-        <xs:element name="size" type="xs:string" maxOccurs="1" />
-        <xs:element name="license" type="xs:string" maxOccurs="1" />
-        <xs:element name="release" type="xs:string" maxOccurs="1" />
-        <xs:element name="button" minOccurs="1" maxOccurs="unbounded" >
-            <xs:complexType>
-                <xs:sequence>
-                    <xs:element name="id" type="xs:string" />
-                    <xs:element name="name" type="xs:string" />
-                    <xs:element name="freezone" type="xs:boolean" />
-                </xs:sequence>
-            </xs:complexType>
-        </xs:element>
-    </xs:sequence>
-    <xs:attribute name="visible" type="xs:boolean" default="true" />
-</xs:complexType>
 
-
 <!--                                             -->
 <!--           DOWNLOAD CATEGORIES               -->
 <!--                                             -->
@@ -359,6 +522,7 @@
             <jxb:class>
                 <jxb:javadoc>
         Class for keeping information about download categories.
+        PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:class>
@@ -369,25 +533,26 @@
     </xs:sequence>
 </xs:complexType>
 
-<xs:complexType name="category" >
-    <xs:annotation>
-        <xs:appinfo>
-            <jxb:class>
-                <jxb:javadoc>
-        Class for keeping information about download category.
-        @author Ryszard Kozmik
-                </jxb:javadoc>
-            </jxb:class>
-        </xs:appinfo>
-    </xs:annotation>
-    <xs:all>
-        <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
-        <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
-        <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
-        <xs:element name="files" type="files" minOccurs="0" maxOccurs="1" />
-        <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
-    </xs:all>
-</xs:complexType>
+    <xs:complexType name="category" >
+        <xs:annotation>
+            <xs:appinfo>
+                <jxb:class>
+                    <jxb:javadoc>
+            Class for keeping information about download category.
+            PLEASE, DO NOT MODIFY THIS CLASS UNLESS YOU KNOW JAXB.
+            @author Ryszard Kozmik
+                    </jxb:javadoc>
+                </jxb:class>
+            </xs:appinfo>
+        </xs:annotation>
+        <xs:all>
+            <xs:element name="id" type="xs:string" minOccurs="1" maxOccurs="1" />
+            <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
+            <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
+            <xs:element name="files" type="files" minOccurs="0" maxOccurs="1" />
+            <xs:element name="categories" minOccurs="0" maxOccurs="1" type="categories" />
+        </xs:all>
+    </xs:complexType>
 
 
 <!--                                             -->
@@ -400,6 +565,7 @@
             <jxb:typesafeEnumClass>
                 <jxb:javadoc>
         Enum describing types of possbile sorting orders for downloads showing purposes.
+        PLEASE, DO NOT MODIFY THIS ENUM UNLESS YOU KNOW JAXB.
         @author Ryszard Kozmik
                 </jxb:javadoc>
             </jxb:typesafeEnumClass>




More information about the jboss-svn-commits mailing list