jvanzyl     2002/11/26 17:39:49

  Modified:    src/java/org/apache/maven/app ProjectVerifier.java
  Log:
  o Fixing the hardcoding of maven.local.repo in the project verifier. ouch.
  
  Revision  Changes    Path
  1.23      +3 -6      
jakarta-turbine-maven/src/java/org/apache/maven/app/ProjectVerifier.java
  
  Index: ProjectVerifier.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/app/ProjectVerifier.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ProjectVerifier.java      27 Nov 2002 01:24:00 -0000      1.22
  +++ ProjectVerifier.java      27 Nov 2002 01:39:49 -0000      1.23
  @@ -311,11 +311,8 @@
       private void verifySettings()
           throws Exception
       {
  -        //!! Why is this value being lost?
  -        String localRepoProp = (String) getContext()
  -            .getVariable( MavenConstants.REPO_LOCAL );
  -        // We seem to have to force it.
  -        localRepoProp = (String) getContext().getVariable( MavenConstants.HOME ) + 
"/repository";
  +        // Get local repo property.
  +        String localRepoProp = (String) getContext().getVariable( 
MavenConstants.REPO_LOCAL );
   
           if ( localRepoProp == null )
           {
  
  
  

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

Reply via email to