You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2003/12/07 18:00:51 UTC

cvs commit: jakarta-commons-sandbox/threadpool checkstyle.xml project.properties project.xml maven.xml

dirkv       2003/12/07 09:00:51

  Modified:    threadpool project.properties project.xml
  Added:       threadpool checkstyle.xml
  Removed:     threadpool maven.xml
  Log:
  cleanup project
  
  Revision  Changes    Path
  1.2       +23 -15    jakarta-commons-sandbox/threadpool/project.properties
  
  Index: project.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/threadpool/project.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.properties	10 Oct 2002 20:05:20 -0000	1.1
  +++ project.properties	7 Dec 2003 17:00:51 -0000	1.2
  @@ -1,15 +1,23 @@
  -# -------------------------------------------------------------------
  -# B U I L D  P R O P E R T I E S
  -# -------------------------------------------------------------------
  -# These properties are used by the maven Torque build, you may override
  -# any of these default values by placing property values in
  -# your build.properties file.
  -# -------------------------------------------------------------------
  -
  -jarResources.basedir = src/java
  -
  -maven.junit.fork = true
  -
  -compile.debug = on
  -compile.optimize = off
  -compile.deprecation = off
  +maven.checkstyle.properties = checkstyle.xml
  +
  +# uncomment the next line to work in offline mode (no jar download & no linkcheck)
  +#maven.mode.online=
  +
  +maven.javadoc.author=false
  +maven.javadoc.links=http://java.sun.com/products/jdk/1.4/docs/api
  +
  +maven.xdoc.date=bottom
  +maven.xdoc.version=${pom.currentVersion}
  +maven.xdoc.developmentProcessUrl=http://jakarta.apache.org/commons/charter.html
  +
  +maven.compile.debug=on
  +maven.compile.deprecation=off
  +maven.compile.optimize=off
  +
  +maven.jarResources.basedir=src/java
  +maven.jar.excludes=**/package.html
  +maven.junit.fork=true
  +maven.junit.sysproperties=org.xml.sax.driver
  +org.xml.sax.driver=org.apache.xerces.parsers.SAXParser
  +
  +clover.excludes=**/Test*.java
  
  
  
  1.3       +13 -55    jakarta-commons-sandbox/threadpool/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/threadpool/project.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xml	13 May 2003 07:51:31 -0000	1.2
  +++ project.xml	7 Dec 2003 17:00:51 -0000	1.3
  @@ -1,82 +1,40 @@
   <?xml version="1.0"?>
   <project>
  -  
  -  <version>3</version>
  -  <name>commons-threadpool</name>
  +  <extend>../../jakarta-commons/xdocs/maven/project-base.xml</extend>
  +  <name>Commons Threadpool</name>
     <id>commons-threadpool</id>
  -  <currentVersion>1.0-dev</currentVersion>
  -
  -  <organization>
  -    <name>Apache Software Foundation</name>
  -    <url>http://www.apache.org</url>
  -    <logo>/images/jakarta-logo-blue.gif</logo>
  -  </organization>
  -  <logo>/images/logo.jpg</logo>
  -
  +  <logo>/images/threadpool-logo-blue.jpg</logo>
  +  <url>http://jakarta.apache.org/commons/sandbox/threadpool/</url>
     <inceptionYear>2002</inceptionYear>
  -  <package>org.apache.commons.threadpool</package>
  -
  -  <shortDescription>Thread Pool Component</shortDescription>
  -
  -  <!-- Gump integration -->
  -  <gumpRepositoryId>jakarta</gumpRepositoryId>
  -
  -  <description>
  -    A simple thread pool component.
  -  </description>
  -
  -  <url>http://jakarta.apache.org/commons/threadpool/</url>
  -  <cvsWebUrl>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/threadpool/</cvsWebUrl>
  -  <issueTrackingUrl>http://nagoya.apache.org:8080/scarab/servlet/scarab/</issueTrackingUrl>
  -  <siteAddress>jakarta.apache.org</siteAddress>
  -  <siteDirectory>/www/jakarta.apache.org/commons/sandbox/threadpool/</siteDirectory>
  -  <distributionDirectory>/www/jakarta.apache.org/builds/jakarta-commons-sandbox/threadpool/</distributionDirectory>
  +  <shortDescription>Commons Threadpool</shortDescription>
  +  <description>Commons Threadpool</description>
   
  -  <mailingLists>
  -    <mailingList>
  -      <name>Commons User List</name>
  -      <subscribe>commons-user-subscribe@jakarta.apache.org</subscribe>
  -      <unsubscribe>commons-user-unsubscribe@jakarta.apache.org</unsubscribe>
  -      <archive>http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listName=commons-user@jakarta.apache.org</archive>
  -    </mailingList>
  -    <mailingList>
  -      <name>Commons Developer List</name>
  -      <subscribe>commons-dev-subscribe@jakarta.apache.org</subscribe>
  -      <unsubscribe>commons-dev-unsubscribe@jakarta.apache.org</unsubscribe>
  -      <archive>http://nagoya.apache.org:8080/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>
  -    </mailingList>
  -  </mailingLists>
  +  <currentVersion>1.0-dev</currentVersion>
  +  <versions>
  +  </versions>
  +  <branches>
  +  </branches>
   
     <developers>
  -
       <developer>
         <name>James Strachan</name>
         <id>jstrachan</id>
         <email>jstrachan@apache.org</email>
         <organization>SpiritSoft, Inc.</organization>
       </developer>
  -
     </developers>
   
   
     <!-- Need to mark these as compile-time/run-time -->
   
     <dependencies>
  -
       <dependency>
         <id>commons-logging</id>
         <version>1.0.1</version>
       </dependency>
  -	</dependencies>
  +  </dependencies>
   	
  -	<build>
  -
  -    <nagEmailAddress>commons-dev@jakarta.apache.org</nagEmailAddress>
  -    <sourceDirectory>src/java</sourceDirectory>
  -    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
  -    <integrationUnitTestSourceDirectory/>
  -    <aspectSourceDirectory/>
  -
  +  <build>
       <!-- Unit test classes -->
       <unitTest>
         <includes>
  
  
  
  1.1                  jakarta-commons-sandbox/threadpool/checkstyle.xml
  
  Index: checkstyle.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE module PUBLIC
      "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
      "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
  
  <!--
    Checkstyle checks configured for Maven.
  -->
  
  <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 -->
          <!-- ************************************************************** -->
          <module name="Header">
              <property name="headerFile" value="${basedir}/LICENSE.txt"/>
              <property name="ignoreLines" value="2,3,4,10"/>
          </module>
          <property name="tabWidth" value="4"/>
          <module name="LeftCurly">
            <property name="option" value="eol"/>
          </module>
          <module name="RightCurly">
            <property name="option" value="alone"/>
          </module>
          <module name="LineLength">
            <property name="max" value="132"/>
          </module>
          <module name="MethodLength">
            <property name="max" value="175"/>
          </module>
          <!-- No Paren pad check
          <module name="ParenPad"/>
          -->
          <module name="ConstantName">
            <property name="format" value="log|^[a-zA-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"/>
          <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="ParameterName"/>
          <module name="StaticVariableName"/>
          <module name="TypeName"/>
          <module name="MemberName"/>
  
          <!-- 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="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="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="AvoidInlineConditionals"/>
          <module name="DoubleCheckedLocking"/>
          <module name="EmptyStatement"/>
          <module name="EqualsHashCode"/>
          <module name="HiddenField"/>
          <module name="IllegalInstantiation"/>
          <module name="InnerAssignment"/>
          <module name="MagicNumber"/>
          <module name="MissingSwitchDefault"/>
          <module name="RedundantThrows">
              <property name="allowUnchecked" value="true"/>   <!-- DISABLED -->
              <property name="allowSubclasses" value="true"/>   <!-- DISABLED -->
          </module>
          <module name="SimplifyBooleanExpression"/>
          <module name="SimplifyBooleanReturn"/>
  
          <!-- Checks for class design                         -->
          <!-- See http://checkstyle.sf.net/config_design.html -->
          <module name="DesignForExtension">
              <property name="severity" value="ignore"/>   <!-- DISABLED -->
          </module>
          <module name="FinalClass"/>
          <module name="HideUtilityClassConstructor"/>
          <module name="InterfaceIsType"/>
          <module name="VisibilityModifier"/>
  
  
          <!-- Miscellaneous other checks.                   -->
          <!-- See http://checkstyle.sf.net/config_misc.html -->
          <module name="ArrayTypeStyle"/>
          <module name="FinalParameters">
              <property name="severity" value="ignore"/>   <!-- DISABLED -->
          </module>
          <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>
  
  
  

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