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/11/30 16:17:02 UTC

cvs commit: jakarta-commons/launcher project.properties checkstyle.xml project.xml .cvsignore build-maven.xml

dirkv       2003/11/30 07:17:02

  Modified:    launcher project.xml .cvsignore
  Added:       launcher project.properties checkstyle.xml
  Removed:     launcher build-maven.xml
  Log:
  fix maven build
  
  Revision  Changes    Path
  1.2       +50 -96    jakarta-commons/launcher/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/launcher/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	25 Oct 2002 09:03:16 -0000	1.1
  +++ project.xml	30 Nov 2003 15:17:02 -0000	1.2
  @@ -1,127 +1,86 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -
   <project>
  -  <pomVersion>3</pomVersion>
  -  <name>commons-launcher</name>
  +  <extend>../../jakarta-commons/xdocs/maven/project-base.xml</extend>
  +  <name>Commons Launcher</name>
     <id>commons-launcher</id>
  -  <currentVersion>1.0-dev-0</currentVersion>
  -  <organization>
  -    <name>Apache Software Foundation</name>
  -    <url>http://www.apache.org</url>
  -  </organization>
  +  <logo>/images/launcher-logo-blue.jpg</logo>
  +  <url>http://jakarta.apache.org/commons/launcher/</url>
     <inceptionYear>2002</inceptionYear>
  -  <package>org.apache.commons.launcher</package>
     <shortDescription>Commons Launcher</shortDescription>
  -
  -  <!-- Gump integration -->
  -  <gumpRepositoryId>jakarta</gumpRepositoryId>
  -  
     <description>
           Launcher are a set of Java classes which aim at making a cross
           platform Java application launcher.
     </description>
  -  
  -  <url>http://jakarta.apache.org/commons/sandbox/launcher/</url>
  -  <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
  -  <siteAddress>jakarta.apache.org</siteAddress>
  -  <siteDirectory>/www/jakarta.apache.org/commons/sandbox/launcher/</siteDirectory>
  -  <distributionDirectory>/www/jakarta.apache.org/builds/jakarta-commons-sandbox/launcher/</distributionDirectory>
  -  <repository>
  -    <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:jakarta-commons-sandbox/launcher</connection>
  -    <url>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/launcher/</url>
  -  </repository>
  -  
  +
  +  <currentVersion>1.0-dev</currentVersion>
     <versions>
  -    <version>
  -      <id>b0</id>
  -      <name>0.0-b0</name>
  -      <tag>HEAD</tag>
  -    </version>
     </versions>
  -  <branches></branches>
  -  
  -  <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://archives.apache.org/eyebrowse/SummarizeList?listName=commons-user@jakarta.apache.org</archive>
  -    </mailingList>
  -    <mailingList>
  -      <name>Commons Dev List</name>
  -      <subscribe>commons-dev-subscribe@jakarta.apache.org</subscribe>
  -      <unsubscribe>commons-dev-unsubscribe@jakarta.apache.org</unsubscribe>
  -      <archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>
  -    </mailingList>
  -  </mailingLists>
  -  
  +  <branches>
  +  </branches>
  +
     <developers>
  -    <!-- I have just put myself for the moment -->
  +    <developer>
  +      <name>Patrick Luby</name>
  +      <id>patrickl</id>
  +      <email></email>
  +      <organization></organization>
  +    </developer>
  +    <developer>
  +      <name>Costin Manolache</name>
  +      <id>costin</id>
  +      <email></email>
  +      <organization></organization>
  +    </developer>
  +    <developer>
  +      <name>Remy Maucherat</name>
  +      <id>remm</id>
  +      <email></email>
  +      <organization></organization>
  +    </developer>
       <developer>
         <name>Jean-Frederic Clere</name>
         <id>jfclere</id>
         <email>jfrederic.clere@fujitsu-siemens.com</email>
         <organization>FSC</organization>
       </developer>
  -
  -  </developers>
  +    <developer>
  +      <name>Dirk Verbeeck</name>
  +      <id>dirkv</id>
  +      <email></email>
  +      <organization></organization>
  +    </developer>  </developers>
   
     <dependencies>
  -    
  -    <!-- for doclets -->
       <dependency>
  -      <id>javadoc</id>
  -      <version>1.3</version>
  +      <groupId>ant</groupId>
  +      <artifactId>ant</artifactId>
  +      <version>1.5.3-1</version>
       </dependency>
  -    
       <dependency>
  -      <name>xmlParseAPIs</name>
  -      <type>required</type>
  -      <version>2.0.2</version>
  -      <jar>xmlParserAPIs-2.0.2.jar</jar>
  +      <groupId>ant</groupId>
  +      <artifactId>ant-optional</artifactId>
  +      <version>1.5.3-1</version>
       </dependency>
  -    
       <dependency>
  -      <name>xercesImpl</name>
  -      <type>required</type>
  -      <version>2.0.2</version>
  -      <jar>xercesImpl-2.0.2.jar</jar>
  +      <id>commons-logging</id>
  +      <version>1.0.3</version>
       </dependency>
  -    
       <dependency>
  -      <name>ant</name>
  -      <version>1.4.1</version>
  -      <jar>ant-1.4.1.jar</jar>
  +      <id>commons-collections</id>
  +      <version>2.1</version>
       </dependency>
  -    
       <dependency>
  -      <name>ant-optional</name>
  -      <version>1.4.1</version>
  -      <jar>ant-optional-1.4.1.jar</jar>
  +      <id>junit</id>
  +      <version>3.8.1</version>
       </dependency>
  +    <!-- these two are required by maven -->
  +    <dependency><id>xml-apis</id><version>2.0.2</version></dependency>
  +    <dependency><id>xerces</id><version>2.0.2</version></dependency>
  +    <!-- /these two are required by maven -->
  +  </dependencies>
   
  -    <dependency>
  -      <name>commons-logging</name>
  -      <type>required</type>
  -      <version>1.0</version>
  -      <jar>commons-logging-1.0.jar</jar>
  -    </dependency>
   
  -    <dependency>
  -      <name>commons-collections</name>
  -      <type>required</type>
  -      <version>2.0</version>
  -      <jar>commons-collections-2.0.jar</jar>
  -    </dependency>
  -  </dependencies>
     <build>
  -    <nagEmailAddress>commons-dev@jakarta.apache.org</nagEmailAddress>
  -    <sourceDirectory>src/java</sourceDirectory>
  -    <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
  -    <integrationUnitTestSourceDirectory/>
  -    <aspectSourceDirectory/>
  -    <!-- Unit test classes -->
  -
       <unitTestPatterns>
         <unitTestPattern>**/Test*.java</unitTestPattern>
       </unitTestPatterns>
  @@ -131,12 +90,7 @@
           <include>**/Test*.java</include>
         </includes>
       </unitTest>
  -
       
  -    <!-- Integration unit test classes -->
  -
  -    <integrationUnitTestPatterns></integrationUnitTestPatterns>
  -
       <!-- J A R  R E S O U R C E S -->
       <!-- Resources that are packaged up inside the JAR file -->
       <resources>
  
  
  
  1.2       +6 -1      jakarta-commons/launcher/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/launcher/.cvsignore,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- .cvsignore	25 Oct 2002 09:03:15 -0000	1.1
  +++ .cvsignore	30 Nov 2003 15:17:02 -0000	1.2
  @@ -1,4 +1,9 @@
   build.properties
   dist
  -release
  +.classpath
  +.project
  +.checkstyle
   target
  +maven.log
  +velocity.log
  +eclipse_classes
  
  
  
  1.1                  jakarta-commons/launcher/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
  
  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.1                  jakarta-commons/launcher/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