maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/artifact/collector DefaultArtifactCollector.java
Date Fri, 02 Jul 2004 02:33:13 GMT
jvanzyl     2004/07/01 19:33:13

  Modified:    maven-core/src/main/java/org/apache/maven/artifact/collector
                        DefaultArtifactCollector.java
  Log:
  o MNG-23
  
  Revision  Changes    Path
  1.11      +1 -26     maven-components/maven-core/src/main/java/org/apache/maven/artifact/collector/DefaultArtifactCollector.java
  
  Index: DefaultArtifactCollector.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/artifact/collector/DefaultArtifactCollector.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultArtifactCollector.java	30 Jun 2004 22:03:37 -0000	1.10
  +++ DefaultArtifactCollector.java	2 Jul 2004 02:33:13 -0000	1.11
  @@ -118,9 +118,6 @@
           return result;
       }
   
  -    // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  -    // This is hiding exceptions with POMs which it not good.
  -    // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       private Set getDependencies( Dependency dependency, String localRepository, List repositories,
MavenProjectBuilder projectBuilder )
               throws Exception
       {
  @@ -142,28 +139,6 @@
   	        catch ( ProjectBuildingException e )
   	        {
                   throw new Exception( "POM for dependency: " + dependency + " exists in
local repository but cannot be parsed", e );
  -/*
  -                // RECOVERING
  -                // pom could not be parsed and most probably it is dammaged
  -                // so  we wil delete a file and try to
  -                // get it one more time from remote repo(s)
  -                if ( pomArtifact.getFile().delete() )
  -                {
  -                    pomArtifact = artifactResolver.getPomArtifact( dependency, localRepository,
repositories );
  -
  -                    if ( pomArtifact != null )
  -                    {
  -                        try
  -                        {
  -                            retValue = projectBuilder.build( pomArtifact.getFile(), true,
false );
  -                        }
  -                        catch ( ProjectBuildingException e1 )
  -                        {
  -                            throw new Exception( "POM for dependency: " + dependency +
" exists in local repository but cannot be parsed", e );
  -                        }
  -                    }
  -                }
  -*/
   	        }
           }
   
  
  
  

Mime
View raw message