dirkv       2003/12/02 13:05:13

  Modified:    compress project.xml
  Added:       compress .cvsignore checkstyle.xml project.properties
  Log:
  mavenize project
  
  Revision  Changes    Path
  1.2       +53 -143   jakarta-commons-sandbox/compress/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/compress/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml       23 Nov 2003 20:07:46 -0000      1.1
  +++ project.xml       2 Dec 2003 21:05:12 -0000       1.2
  @@ -1,147 +1,57 @@
   <?xml version="1.0"?>
   <project>
  -
  -    <pomVersion>3</pomVersion>
  -
  -    <id>${pom.groupId}-${pom.name}</id>
  -    <name>compress</name>
  -    <groupId>jakarta-commons</groupId>
  -
  -    <currentVersion>SNAPSHOT</currentVersion>
  -
  -    <organization>
  -        <name>Apache Software Foundation</name>
  -        <url>http://www.apache.org</url>
  -        <logo>http://jakarta.apache.org/commons/images/jakarta-logo-blue.gif</logo>
  -    </organization>
  -
  -    <inceptionYear>2002</inceptionYear>
  -    <package>org.apache.commons.io</package>
  -    <logo>/images/logo.jpg</logo>
  -
  -    <!-- Gump integration -->
  -    <gumpRepositoryId>jakarta-compress</gumpRepositoryId>
  -
  -    <description>
  -        Commons.Compress is a sleeping component that contains Tar, Zip and 
  -        possibly at some point BZip2 packages. They were loitering in Commons-IO
  -        and this is their new home.
  -    </description>
  -
  -    <shortDescription>Java Common Compress Components</shortDescription>
  -
  -    <url>http://jakarta.apache.org/commons/compress/</url>
  -
  -    <issueTrackingUrl>
  -        http://nagoya.apache.org:8080/scarab/servlet/scarab/
  -    </issueTrackingUrl>
  -
  -    <siteAddress>jakarta.apache.org</siteAddress>
  -    <siteDirectory>/www/jakarta.apache.org/commons/sandbox/compress/</siteDirectory>
  -
  -    <distributionDirectory>
  -        /www/jakarta.apache.org/builds/jakarta-commons-sandbox/compress/
  -    </distributionDirectory>
  -
  -    <repository>
  -        <connection>
  -            scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:jakarta-commons-sandbox/io
  -        </connection>
  -
  -        <url>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/compress/</url>
  -    </repository>
  -
  -    <mailingLists>
  -        <mailingList>
  -            <name>Commons User List</name>
  -
  -            <subscribe>
  -                [EMAIL PROTECTED]
  -            </subscribe>
  -
  -            <unsubscribe>
  -                [EMAIL PROTECTED]
  -            </unsubscribe>
  -
  -            <archive>
  -                http://nagoya.apache.org:8080/eyebrowse/[EMAIL PROTECTED]
  -            </archive>
  -        </mailingList>
  -
  -        <mailingList>
  -            <name>Commons Developer List</name>
  -            <subscribe>[EMAIL PROTECTED]</subscribe>
  -            <unsubscribe>[EMAIL PROTECTED]</unsubscribe>
  -            <archive>
  -                http://nagoya.apache.org:8080/eyebrowse/[EMAIL PROTECTED]
  -            </archive>
  -        </mailingList>
  -    </mailingLists>
  -
  -    <developers>
  -
  -        <developer>
  -            <!-- In that I moved them to their new location -->
  -            <name>Henri Yandell</name>
  -            <id>bayard</id>
  -            <email>[EMAIL PROTECTED]</email>
  -            <organization></organization>
  -            <roles>
  -                <role>Java Developer</role>
  -            </roles>
  -        </developer>
  -
  -    </developers>
  +  <extend>../../jakarta-commons/xdocs/maven/project-base.xml</extend>
  +  <name>Commons Compress</name>
  +  <id>commons-compress</id>
  +  <logo>/images/compress-logo-blue.jpg</logo>
  +  <url>http://jakarta.apache.org/commons/compress/</url>
  +  <inceptionYear>2002</inceptionYear>
  +  <shortDescription>Commons Compress</shortDescription>
  +  <description>
  +    Commons Compress is a component that contains Tar, Zip and BZip2 packages.
  +  </description>
  +
  +  <currentVersion>0.1-dev</currentVersion>
  +  <versions>
  +  </versions>
  +  <branches>
  +  </branches>
  +
  +  <developers>
  +    <developer>
  +      <!-- In that I moved them to their new location -->
  +      <name>Henri Yandell</name>
  +      <id>bayard</id>
  +      <email>[EMAIL PROTECTED]</email>
  +      <organization></organization>
  +      <roles>
  +        <role>Java Developer</role>
  +      </roles>
  +    </developer>
  +    <developer>
  +      <name>Dirk Verbeeck</name>
  +      <id>dirkv</id>
  +      <email></email>
  +      <organization></organization>
  +      <roles>
  +        <role>Java Developer</role>
  +      </roles>
  +    </developer>
  +  </developers>
       
  -    <!-- Need to mark these as compile-time/run-time -->
  -    <dependencies>
  -        <dependency>
  -            <id>junit</id>
  -            <version>3.8.1</version>
  -        </dependency>
  -    </dependencies>
  -
  -    <build>
  -        <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
  -        <sourceDirectory>src/java</sourceDirectory>
  -        <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
  -        <integrationUnitTestSourceDirectory/>
  -        <aspectSourceDirectory/>
  -
  -        <!-- Unit test classes -->
  -        <!-- TODO Organize test inclusions and exclusions -->
  -        <unitTest>
  -            <includes>
  -                <include>**/*Test*</include>
  -            </includes>
  -        </unitTest>
  -
  -        <!-- J A R  R E S O U R C E S -->
  -        <!-- Resources that are packaged up inside the JAR file -->
  -        <resources>
  -            <resource>
  -                <includes>
  -                    <include>**/*.properties</include>
  -                </includes>
  -            </resource>
  -        </resources>
  -    </build>
  -
  -    <reports>
  -        <report>maven-javadoc-plugin</report>
  -        <report>maven-junit-report-plugin</report>
  -        <report>maven-jxr-plugin</report>
  -
  -        <report>maven-checkstyle-plugin</report>
  -        <report>maven-clover-plugin</report>
  -        <report>maven-linkcheck-plugin</report>
  -        <report>maven-pmd-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-statcvs-plugin</report>
  -    </reports>
  -
  +  <!-- Need to mark these as compile-time/run-time -->
  +  <dependencies>
  +    <dependency>
  +      <id>junit</id>
  +      <version>3.8.1</version>
  +    </dependency>
  +  </dependencies>
  +
  +  <build>
  +    <unitTest>
  +      <includes>
  +        <include>**/*Test*</include>
  +      </includes>
  +    </unitTest>
  +  </build>
   </project>
  
  
  
  1.1                  jakarta-commons-sandbox/compress/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  build.properties
  dist
  .classpath
  .project
  .checkstyle
  target
  maven.log
  velocity.log
  eclipse_classes
  
  
  
  1.1                  jakarta-commons-sandbox/compress/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>
  
  
  
  1.1                  jakarta-commons-sandbox/compress/project.properties
  
  Index: project.properties
  ===================================================================
  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,http://jakarta.apache.org/commons/dbcp/apidocs
  
  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
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to