You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by jv...@apache.org on 2004/06/08 21:31:47 UTC

cvs commit: maven-components/maven-core/src/main/java/org/apache/maven MavenCli.java

jvanzyl     2004/06/08 12:31:47

  Modified:    maven-core/src/main/java/org/apache/maven MavenCli.java
  Log:
  o starting using "pom.xml" to signify the use of a v4.0.0+ POM.
  
  Revision  Changes    Path
  1.8       +5 -2      maven-components/maven-core/src/main/java/org/apache/maven/MavenCli.java
  
  Index: MavenCli.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/MavenCli.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MavenCli.java	28 May 2004 11:32:09 -0000	1.7
  +++ MavenCli.java	8 Jun 2004 19:31:47 -0000	1.8
  @@ -39,7 +39,7 @@
   {
       public static final String POM_FILE_NAME = "project.xml";
   
  -    public static final String POM_VERSION_4_FILE_NAME = "project2.xml";
  +    public static final String POM_VERSION_4_FILE_NAME = "pom.xml";
   
       public static void main( String[] args, ClassWorld classWorld )
           throws Exception
  @@ -84,6 +84,9 @@
           if ( commandLine.hasOption( CLIManager.VERSION ) )
           {
               // TODO: create some sane output.
  +            // Take this info from generated piece of meta data which uses
  +            // the POM itself as the source. We don't want to get into the same
  +            // bullshit of manually updating some constant in the source.
               System.out.println( "Maven version: " );
   
               return;
  
  
  

Re: cvs commit: maven-components/maven-core/src/main/java/org/apache/maven MavenCli.java

Posted by Jerome Lacoste <je...@coffeebreaks.org>.
On Tue, 2004-06-08 at 15:31, jvanzyl@apache.org wrote:
> jvanzyl     2004/06/08 12:31:47
> 
>   Modified:    maven-core/src/main/java/org/apache/maven MavenCli.java

[..]

>            if ( commandLine.hasOption( CLIManager.VERSION ) )
>            {
>                // TODO: create some sane output.
>   +            // Take this info from generated piece of meta data which uses
>   +            // the POM itself as the source. We don't want to get into the same
>   +            // bullshit of manually updating some constant in the source.
                    ^^^^^^^^

this one wouldn't pass a slang language checker pre-commit hook ;)

Jerome