maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r740172 - in /maven/doxia/doxia-tools/trunk/doxia-converter/src/main: assembly/jar.xml java/org/apache/maven/doxia/cli/ConverterCli.java
Date Tue, 03 Feb 2009 00:55:45 GMT
Author: vsiveton
Date: Tue Feb  3 00:55:44 2009
New Revision: 740172

URL: http://svn.apache.org/viewvc?rev=740172&view=rev
Log:
o fixed assembly
o add help as default parameter

Modified:
    maven/doxia/doxia-tools/trunk/doxia-converter/src/main/assembly/jar.xml
    maven/doxia/doxia-tools/trunk/doxia-converter/src/main/java/org/apache/maven/doxia/cli/ConverterCli.java

Modified: maven/doxia/doxia-tools/trunk/doxia-converter/src/main/assembly/jar.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-converter/src/main/assembly/jar.xml?rev=740172&r1=740171&r2=740172&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-converter/src/main/assembly/jar.xml (original)
+++ maven/doxia/doxia-tools/trunk/doxia-converter/src/main/assembly/jar.xml Tue Feb  3 00:55:44
2009
@@ -33,12 +33,14 @@
         <exclude>junit:junit</exclude>
         <exclude>junit-addons:junit-addons</exclude>
         <exclude>javax.servlet:servlet-api</exclude>
+        <exclude>org.apache.maven.doxia:doxia-converter</exclude>
       </excludes>
     </dependencySet>
   </dependencySets>
   <fileSets>
     <fileSet>
       <directory>target/classes</directory>
+      <outputDirectory>/</outputDirectory>
     </fileSet>
   </fileSets>
 </assembly>
\ No newline at end of file

Modified: maven/doxia/doxia-tools/trunk/doxia-converter/src/main/java/org/apache/maven/doxia/cli/ConverterCli.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-tools/trunk/doxia-converter/src/main/java/org/apache/maven/doxia/cli/ConverterCli.java?rev=740172&r1=740171&r2=740172&view=diff
==============================================================================
--- maven/doxia/doxia-tools/trunk/doxia-converter/src/main/java/org/apache/maven/doxia/cli/ConverterCli.java
(original)
+++ maven/doxia/doxia-tools/trunk/doxia-converter/src/main/java/org/apache/maven/doxia/cli/ConverterCli.java
Tue Feb  3 00:55:44 2009
@@ -54,6 +54,10 @@
      */
     public static void main( String[] args )
     {
+        if ( args == null || args.length == 0 )
+        {
+            args = new String[] { "-h" };
+        }
         System.exit( ConverterCli.doMain( args ) );
     }
 



Mime
View raw message