You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by he...@apache.org on 2005/08/04 23:30:38 UTC

svn commit: r227497 - in /jakarta/turbine/stratum/trunk: conf/ conf/turbine-checkstyle.xml project.xml

Author: henning
Date: Thu Aug  4 14:30:34 2005
New Revision: 227497

URL: http://svn.apache.org/viewcvs?rev=227497&view=rev
Log:
- Update Header and Logos
- Update Site address for site deploy
- Update SCM to Subversion
- Update Mailing Lists to mod_mbox
- Update dependencies to maven POM3 style
- Add maven-plugins that can work with Subversion
- Add project reports


Added:
    jakarta/turbine/stratum/trunk/conf/
    jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml   (with props)
Modified:
    jakarta/turbine/stratum/trunk/project.xml

Added: jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml
URL: http://svn.apache.org/viewcvs/jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml?rev=227497&view=auto
==============================================================================
--- jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml (added)
+++ jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml Thu Aug  4 14:30:34 2005
@@ -0,0 +1,213 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+
+<!DOCTYPE module PUBLIC
+    "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
+    "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
+
+<!--
+
+  Checkstyle configuration that checks the sun coding conventions from:
+
+    - the Java Language Specification at
+      http://java.sun.com/docs/books/jls/second_edition/html/index.html
+
+    - the Sun Code Conventions at http://java.sun.com/docs/codeconv/
+
+    - the Javadoc guidelines at
+      http://java.sun.com/j2se/javadoc/writingdoccomments/index.html
+
+    - the JDK Api documentation http://java.sun.com/j2se/docs/api/index.html
+
+    - some best practices
+
+  Checkstyle is very configurable. Be sure to read the documentation at
+  http://checkstyle.sf.net (or in your downloaded distribution).
+
+  Most Checks are configurable, be sure to consult the documentation.
+
+  To completely disable a check, just comment it out or delete it from the file.
+
+  Finally, it is worth reading the documentation.
+
+-->
+
+<module name="Checker">
+
+    <!-- Checks that a package.html file exists for each package.     -->
+    <!-- See http://checkstyle.sf.net/config_javadoc.html#PackageHtml -->
+    <module name="PackageHtml"/>
+
+    <!-- Checks whether files end with a new line.                        -->
+    <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
+    <module name="NewlineAtEndOfFile"/>
+
+    <!-- Checks that property files contain the same keys.         -->
+    <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
+    <module name="Translation"/>
+
+    <module name="TreeWalker">
+
+        <property name="cacheFile" value="${checkstyle.cache.file}"/>
+
+        <!-- ************************************************************** -->
+        <!-- Checks that are different from the sun coding conventions ones -->
+        <!-- ************************************************************** -->
+        <property name="tabWidth" value="4"/>
+        <module name="LeftCurly">
+          <property name="option" value="nl"/>
+        </module>
+        <module name="RightCurly">
+          <property name="option" value="alone"/>
+        </module>
+        <module name="LineLength">
+          <property name="ignorePattern" value="@version"/>
+          <property name="max" value="132"/>
+        </module>
+        <module name="MemberName">
+          <property name="format" value="^[a-z]+_*[a-zA-Z0-9]*$"/>
+        </module>
+        <module name="StaticVariableName">
+          <property name="format" value="^[a-z]+_*[a-zA-Z0-9]*$"/>
+        </module>
+        <module name="ConstantName">
+          <property name="format" value="^(([A-Z][A-Z0-9]*(_[A-Z0-9]+)*)|log)$"/>
+        </module>
+        <module name="ParameterName">
+          <property name="format" value="^[a-z]+_*[a-zA-Z0-9]*$"/>
+        </module>
+
+        <!-- ************************************************************** -->
+        <!-- Default Sun coding conventions checks                          -->
+        <!-- ************************************************************** -->
+
+        <!-- Checks for Javadoc comments.                     -->
+        <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+        <module name="JavadocMethod">
+          <property name="excludeScope" value="private"/>
+        </module>
+        <module name="JavadocType"/>
+        <module name="JavadocVariable"/>
+
+
+        <!-- Checks for Naming Conventions.                  -->
+        <!-- See http://checkstyle.sf.net/config_naming.html -->
+        <module name="LocalFinalVariableName"/>
+        <module name="LocalVariableName"/>
+        <module name="MethodName"/>
+        <module name="PackageName"/>
+        <module name="TypeName"/>
+
+
+        <!-- Checks for Headers                              -->
+        <!-- See http://checkstyle.sf.net/config_header.html -->
+        <module name="Header">
+            <!-- The follow property value demonstrates the ability     -->
+            <!-- to have access to ANT properties. In this case it uses -->
+            <!-- the ${basedir} property to allow Checkstyle to be run  -->
+            <!-- from any directory within a project.                   -->
+            <property name="headerFile" value="${checkstyle.header.file}"/>
+            <property name="ignoreLines" value="1,6"/>
+        </module>
+
+        <!-- Following interprets the header file as regular expressions. -->
+        <!-- <module name="RegexpHeader"/>                                -->
+
+
+        <!-- Checks for imports                              -->
+        <!-- See http://checkstyle.sf.net/config_import.html -->
+        <module name="AvoidStarImport"/>
+        <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
+        <module name="RedundantImport"/>
+        <module name="UnusedImports"/>
+
+
+        <!-- Checks for Size Violations.                    -->
+        <!-- See http://checkstyle.sf.net/config_sizes.html -->
+        <module name="FileLength"/>
+        <module name="MethodLength"/>
+        <module name="ParameterNumber"/>
+
+
+        <!-- Checks for whitespace                               -->
+        <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+        <module name="EmptyForIteratorPad"/>
+        <module name="NoWhitespaceAfter"/>
+        <module name="NoWhitespaceBefore"/>
+        <module name="OperatorWrap"/>
+        <module name="ParenPad"/>
+        <module name="TabCharacter"/>
+        <module name="WhitespaceAfter"/>
+        <module name="WhitespaceAround"/>
+
+
+        <!-- Modifier Checks                                    -->
+        <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+        <module name="ModifierOrder"/>
+        <module name="RedundantModifier"/>
+
+
+        <!-- Checks for blocks. You know, those {}'s         -->
+        <!-- See http://checkstyle.sf.net/config_blocks.html -->
+        <module name="AvoidNestedBlocks"/>
+        <module name="EmptyBlock"/>
+        
+        <module name="NeedBraces"/>
+
+
+        <!-- Checks for common coding problems               -->
+        <!-- See http://checkstyle.sf.net/config_coding.html -->
+        <module name="DoubleCheckedLocking"/>    <!-- MY FAVOURITE -->
+        <module name="EmptyStatement"/>
+        <module name="EqualsHashCode"/>
+        <module name="FallThrough"/>
+        <module name="HiddenField"/>
+        <module name="IllegalInstantiation"/>
+        <module name="InnerAssignment"/>
+        <module name="MagicNumber"/>
+        <module name="MissingSwitchDefault"/>
+<!--        <module name="OneMethodPrivateField" /> -->
+        <module name="RedundantThrows"/>
+        <module name="SimplifyBooleanExpression"/>
+        <module name="SimplifyBooleanReturn"/>
+
+        <!-- Checks for class design                         -->
+        <!-- See http://checkstyle.sf.net/config_design.html -->
+        <module name="FinalClass"/>
+        <module name="HideUtilityClassConstructor"/>
+        <module name="VisibilityModifier">
+        <module name="MissingSwitchDefault"/>
+          <property name="protectedAllowed" value="true"/>
+        </module>
+
+
+        <!-- Miscellaneous other checks.                   -->
+        <!-- See http://checkstyle.sf.net/config_misc.html -->
+        <module name="ArrayTypeStyle"/>
+<!--         <module name="FinalParameters"/> -->
+        <module name="GenericIllegalRegexp">
+            <property name="format" value="\s+$"/>
+            <property name="message" value="Line has trailing spaces."/>
+        </module>
+        <module name="TodoComment"/>
+        <module name="UpperEll"/>
+
+    </module>
+
+</module>

Propchange: jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/turbine/stratum/trunk/conf/turbine-checkstyle.xml
------------------------------------------------------------------------------
    svn:keywords = Id Author

Modified: jakarta/turbine/stratum/trunk/project.xml
URL: http://svn.apache.org/viewcvs/jakarta/turbine/stratum/trunk/project.xml?rev=227497&r1=227496&r2=227497&view=diff
==============================================================================
--- jakarta/turbine/stratum/trunk/project.xml (original)
+++ jakarta/turbine/stratum/trunk/project.xml Thu Aug  4 14:30:34 2005
@@ -8,11 +8,11 @@
   <organization>
     <name>Apache Software Foundation</name>
     <url>http://jakarta.apache.org/</url>
-    <logo>/images/jakarta-logo-blue.gif</logo>
+    <logo>/images/jakarta.png</logo>
   </organization>
+  <logo>/images/logo.gif</logo>
   <inceptionYear>2002</inceptionYear>
   <package>org.apache.stratum</package>
-  <logo>/images/blue-logo.gif</logo>
 
   <shortDescription>Turbine Components</shortDescription>
 
@@ -21,14 +21,15 @@
   <description>Turbine Components</description>
   <url>http://jakarta.apache.org/turbine/stratum/</url>
   <issueTrackingUrl>http://issues.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
-  <siteAddress>jakarta.apache.org</siteAddress>
-  <siteDirectory>/www/jakarta.apache.org/turbine/stratum/</siteDirectory>
+  <siteAddress>people.apache.org</siteAddress>
+  <siteDirectory>/www/jakarta.apache.org/turbine/turbine/stratum/</siteDirectory>
   <distributionSite>www.apache.org</distributionSite>
   <distributionDirectory>/www/www.apache.org/dist/java-repository/</distributionDirectory>
 
   <repository>
-    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-turbine-stratum</connection>
-    <url>http://cvs.apache.org/viewcvs/jakarta-turbine-stratum/</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/turbine/stratum/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jakarta/turbine/stratum/trunk</developerConnection>
+    <url>http://cvs.apache.org/viewcvs.cgi/jakarta/turbine/stratum/trunk/?root=Apache-SVN</url>
   </repository>
 
   <mailingLists>
@@ -36,13 +37,13 @@
       <name>Turbine User List</name>
       <subscribe>turbine-user-subscribe@jakarta.apache.org</subscribe>
       <unsubscribe>turbine-user-unsubscribe@jakarta.apache.org</unsubscribe>
-      <archive>http://mail-archives.apache.org/eyebrowse/SummarizeList?listName=turbine-user@jakarta.apache.org</archive>
+      <archive>http://mail-archives.apache.org/mod_mbox/jakarta-turbine-user/</archive>
     </mailingList>
     <mailingList>
       <name>Turbine Developer List</name>
-      <subscribe>mailto:turbine-dev-subscribe@jakarta.apache.org</subscribe>
-      <unsubscribe>mailto:turbine-dev-unsubscribe@jakarta.apache.org</unsubscribe>
-      <archive>http://mail-archives.apache.org/eyebrowse/SummarizeList?listName=turbine-dev@jakarta.apache.org</archive>
+      <subscribe>turbine-dev-subscribe@jakarta.apache.org</subscribe>
+      <unsubscribe>turbine-dev-unsubscribe@jakarta.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/jakarta-turbine-dev/</archive>
     </mailingList>
   </mailingLists>
 
@@ -103,69 +104,101 @@
 
   <dependencies>
     <dependency>
-      <id>commons-beanutils</id>
+      <groupId>commons-betwixt</groupId>
+      <artifactId>commons-betwixt</artifactId>
+      <version>1.0-dev</version>
+      <url>http://jakarta.apache.org/commons/betwixt/</url>
+      <type>jar</type>
+    </dependency>
+    <dependency>
+      <groupId>commons-beanutils</groupId>
+      <artifactId>commons-beanutils</artifactId>
       <version>1.6.1</version>
-      <url>http://jakarta.apache.org/commons/beanutils.html</url>
+      <url>http://jakarta.apache.org/commons/beanutils/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>commons-collections</id>
+      <groupId>commons-collections</groupId>
+      <artifactId>commons-collections</artifactId>
       <version>3.0</version>
-      <url>http://jakarta.apache.org/commons/collections.html</url>
+      <url>http://jakarta.apache.org/commons/collections/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>commons-configuration</id>
-      <version>1.0-rc1</version>
+      <groupId>commons-configuration</groupId>
+      <artifactId>commons-configuration</artifactId>
+      <version>1.0</version>
       <url>http://jakarta.apache.org/commons/configuration/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>commons-lang</id>
-      <version>2.0</version>
-      <url>http://jakarta.apache.org/commons/lang</url>
-    </dependency>
-    <dependency>
-      <id>commons-logging</id>
-      <version>1.0.4</version>
-      <url>http://jakarta.apache.org/commons/logging</url>
+      <groupId>commons-digester</groupId>
+      <artifactId>commons-digester</artifactId>
+      <version>1.5</version>
+      <url>http://jakarta.apache.org/commons/digester/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>log4j</id>
-      <version>1.2.8</version>
-      <url>http://logging.apache.org/log4j/docs/</url>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+      <version>2.0</version>
+      <url>http://jakarta.apache.org/commons/lang/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>quartz</id>
-      <version>1.0-b4</version>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.0.4</version>
+      <url>http://jakarta.apache.org/commons/logging/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>commons-betwixt</id>
+      <groupId>commons-messenger</groupId>
+      <artifactId>commons-messenger</artifactId>
       <version>1.0-dev</version>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>commons-digester</id>
-      <version>1.5</version>
+      <groupId>jms</groupId>
+      <artifactId>jms</artifactId>
+      <version>1.1</version>
+      <url>http://java.sun.com/products/jms/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>ojb</id>
-      <version>0.5.200</version>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.8</version>
+      <url>http://logging.apache.org/log4j/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>commons-messenger</id>
-      <version>1.0-dev</version>
+      <groupId>mockobjects</groupId>
+      <artifactId>mockobjects</artifactId>
+      <version>0.1</version>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>jms</id>
-      <version>1.0.2b</version>
+      <groupId>ojb</groupId>
+      <artifactId>ojb</artifactId>
+      <version>0.5.200</version>
+      <type>jar</type>
     </dependency>
     <dependency>
-      <id>mockobjects</id>
-      <version>0.1</version>
+      <groupId>quartz</groupId>
+      <artifactId>quartz</artifactId>
+      <version>1.0-b4</version>
+      <type>jar</type>
     </dependency>
 
 <!-- needed for testing, if maven.junit.fork = true  -->
 
     <dependency>
-      <id>junit</id>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
       <version>3.8.1</version>
+      <url>http://www.junit.org/</url>
+      <type>jar</type>
     </dependency>
     <dependency>
       <groupId>xerces</groupId>
@@ -181,6 +214,91 @@
       <url>http://xml.apache.org/commons/</url>
       <type>jar</type>
     </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-ant-plugin</artifactId>
+      <version>1.9</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-artifact-plugin</artifactId>
+      <version>1.5.2</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-changelog-plugin</artifactId>
+      <version>1.8.2</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-developer-activity-plugin</artifactId>
+      <version>1.5.2</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-file-activity-plugin</artifactId>
+      <version>1.5.2</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency> 
+      <groupId>maven-plugins</groupId> 
+      <artifactId>maven-findbugs-plugin</artifactId> 
+      <version>0.9.1</version> 
+      <url>http://maven-plugins.sourceforge.net/maven-findbugs-plugin/</url> 
+      <type>plugin</type>
+    </dependency> 
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-jar-plugin</artifactId>
+      <version>1.7</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-plugin-plugin</artifactId>
+      <version>1.6</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-scm-plugin</artifactId>
+      <version>1.5</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-site-plugin</artifactId>
+      <version>1.6.1</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-tasklist-plugin</artifactId>
+      <version>2.4</version>
+      <type>plugin</type>
+    </dependency>
+
+    <dependency>
+      <groupId>maven</groupId>
+      <artifactId>maven-xdoc-plugin</artifactId>
+      <version>1.9.2</version>
+      <type>plugin</type>
+    </dependency>
   </dependencies>
 
   <build>
@@ -197,4 +315,22 @@
     <resources></resources>
     <jars></jars>
   </build>
+
+  <reports>    
+    <report>maven-jdepend-plugin</report>
+    <report>maven-checkstyle-plugin</report>
+    <report>maven-changes-plugin</report>
+    <report>maven-changelog-plugin</report>
+    <report>maven-developer-activity-plugin</report>
+    <report>maven-file-activity-plugin</report>
+    <report>maven-javadoc-plugin</report>
+    <report>maven-jxr-plugin</report>
+    <report>maven-junit-report-plugin</report>
+    <report>maven-license-plugin</report>
+    <report>maven-tasklist-plugin</report>
+    <report>maven-pmd-plugin</report>
+    <report>maven-simian-plugin</report>
+    <report>maven-jcoverage-plugin</report>
+    <report>maven-findbugs-plugin</report> 
+  </reports>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org