You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/06/17 08:46:19 UTC

[jira] Created: (MNG-480) fix it0023, it0026

fix it0023, it0026
------------------

         Key: MNG-480
         URL: http://jira.codehaus.org/browse/MNG-480
     Project: Maven 2
        Type: Bug
    Reporter: Brett Porter
 Assigned to: John Casey 
     Fix For: 2.0-rc1


disabled not due to failure, but needing to know the local repository in settings.xml. Force local repository for integration tests via a sys property instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-480) fix it0023, it0026

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-480?page=all ]
     
John Casey closed MNG-480:
--------------------------

    Resolution: Fixed

> fix it0023, it0026
> ------------------
>
>          Key: MNG-480
>          URL: http://jira.codehaus.org/browse/MNG-480
>      Project: Maven 2
>         Type: Bug
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-rc1

>
>
> disabled not due to failure, but needing to know the local repository in settings.xml. Force local repository for integration tests via a sys property instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-480) fix it0023, it0026

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-480?page=comments#action_41478 ] 

John Casey commented on MNG-480:
--------------------------------

In fact, this is how these two ITs originally worked. It's the only way the ever could have worked. Now, even this is not possible.

Here's why:

When we bootstrap m2, it builds all of the plugins into whatever local repository you have specified on your local machine. When it0023 and it0026 run, they re-specify the settings, and wind up using the default location for the local repository - ~/.m2/repository. This means that they will inevitably try to find the maven-compiler-plugin (among others) in the remote repository, since we didn't install it into ~/.m2/repository. This is where things fall apart, and there are only three ways to fix it:

1. Require that everyone bootstrapping m2 use the default local repository, so that the alternate settings in these ITs will incidentally use the same location for the local repository.

2. Set the local repository to some concrete value in these ITs, and force everyone to bootstrap using that location.

3. Setup a system property for overriding the local repository from the CLI, and somehow rig the IT verifier to pass this system property in through the bootstrap script, through the verifier, and on to the IT runtime. This might be feasible; I'll explore it today.

I originally put the system properties into the settings builder specifically to allow these two ITs to run, but I think it's no longer enough.

For me, the bottom line is that these ITs were merely testing inheritance of global settings into user settings, and I believe we have (or can build) a unit test to take care of the same concerns. I'm not at all convinced that jumping through all these hoops for these two tests is worthwhile.

> fix it0023, it0026
> ------------------
>
>          Key: MNG-480
>          URL: http://jira.codehaus.org/browse/MNG-480
>      Project: Maven 2
>         Type: Bug
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-rc1

>
>
> disabled not due to failure, but needing to know the local repository in settings.xml. Force local repository for integration tests via a sys property instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-480) fix it0023, it0026

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-480?page=comments#action_41492 ] 

John Casey commented on MNG-480:
--------------------------------

implementing #3.

I need to wake up more before commenting :)

> fix it0023, it0026
> ------------------
>
>          Key: MNG-480
>          URL: http://jira.codehaus.org/browse/MNG-480
>      Project: Maven 2
>         Type: Bug
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-rc1

>
>
> disabled not due to failure, but needing to know the local repository in settings.xml. Force local repository for integration tests via a sys property instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-480) fix it0023, it0026

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-480?page=all ]
     
Brett Porter closed MNG-480:
----------------------------

     Resolution: Fixed
    Fix Version:     (was: 2.0-rc1)
                 2.0-alpha-3

> fix it0023, it0026
> ------------------
>
>          Key: MNG-480
>          URL: http://jira.codehaus.org/browse/MNG-480
>      Project: Maven 2
>         Type: Bug
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-3

>
>
> disabled not due to failure, but needing to know the local repository in settings.xml. Force local repository for integration tests via a sys property instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Reopened: (MNG-480) fix it0023, it0026

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-480?page=all ]
     
Brett Porter reopened MNG-480:
------------------------------


reopen to fix version

> fix it0023, it0026
> ------------------
>
>          Key: MNG-480
>          URL: http://jira.codehaus.org/browse/MNG-480
>      Project: Maven 2
>         Type: Bug
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 2.0-alpha-3

>
>
> disabled not due to failure, but needing to know the local repository in settings.xml. Force local repository for integration tests via a sys property instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org