You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marc Harris (JIRA)" <ji...@codehaus.org> on 2008/06/23 16:58:26 UTC

[jira] Created: (MNG-3628) When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository

When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository
-----------------------------------------------------------------------------------------------------------------------

                 Key: MNG-3628
                 URL: http://jira.codehaus.org/browse/MNG-3628
             Project: Maven 2
          Issue Type: Bug
            Reporter: Marc Harris
         Attachments: maven-offline-snapshot-problem.tar

When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository. This happens when attempting to depend on a snapshot version of a module downloaded from a repository. If the snapshot version of the module is built and installed locally, the problem goes away.

I will attach two projects (in a tar file) that have minimal external dependencies, and the debug output of trying to build. Here are the steps to reproduce:

Environment:
Maven 2.0.8
Linux 2.6.18
Artifactory 1.2.5 (rev. 1154)
(this has also been reproduced by a colleague on a Windows machine).

Preliminary steps:
1) Modify the pom files to refer to your actual repository instead of http://localhost:8081/artifactory/jumptap-snapshots
2) Build maven-test-project1
3) Upload the pom and jar for maven-test-project1 to your repository.

Steps that cause the error to happen:
1) Delete maven-test-project1 from the local repository.
2) Build maven-test-project2 without the offline flag (mvn install). This build is successful (and downloads maven-test-project1 to the local repository).
3) Build maven-test-project2 with the offline flag (mvn -o install). This build fails, unable to resolve the maven-test-project1 artifact.

Steps that cause the error not to happen
1) Build maven-test-project1 locally. This build is successful.
2) Build maven-test-project2 without the offline flag (mvn install). This build is successful.
3) Build maven-test-project2 with the offline flag (mvn -o install). This build is successful.


-- 
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

        

[jira] Updated: (MNG-3628) When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3628:
-----------------------------------

    Affects Version/s: 2.0.8

> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3628
>                 URL: http://jira.codehaus.org/browse/MNG-3628
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Marc Harris
>             Fix For: 2.0.x
>
>         Attachments: maven-offline-snapshot-problem.tar
>
>
> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository. This happens when attempting to depend on a snapshot version of a module downloaded from a repository. If the snapshot version of the module is built and installed locally, the problem goes away.
> I will attach two projects (in a tar file) that have minimal external dependencies, and the debug output of trying to build. Here are the steps to reproduce:
> Environment:
> Maven 2.0.8
> Linux 2.6.18
> Artifactory 1.2.5 (rev. 1154)
> (this has also been reproduced by a colleague on a Windows machine).
> Preliminary steps:
> 1) Modify the pom files to refer to your actual repository instead of http://localhost:8081/artifactory/jumptap-snapshots
> 2) Build maven-test-project1
> 3) Upload the pom and jar for maven-test-project1 to your repository.
> Steps that cause the error to happen:
> 1) Delete maven-test-project1 from the local repository.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful (and downloads maven-test-project1 to the local repository).
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build fails, unable to resolve the maven-test-project1 artifact.
> Steps that cause the error not to happen
> 1) Build maven-test-project1 locally. This build is successful.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful.
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build is successful.

-- 
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

        

[jira] Updated: (MNG-3628) When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3628:
------------------------------

    Fix Version/s:     (was: 2.1.0)
                       (was: 2.0.10)

> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3628
>                 URL: http://jira.codehaus.org/browse/MNG-3628
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Marc Harris
>            Assignee: Benjamin Bentmann
>         Attachments: maven-offline-snapshot-problem.tar
>
>
> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository. This happens when attempting to depend on a snapshot version of a module downloaded from a repository. If the snapshot version of the module is built and installed locally, the problem goes away.
> I will attach two projects (in a tar file) that have minimal external dependencies, and the debug output of trying to build. Here are the steps to reproduce:
> Environment:
> Maven 2.0.8
> Linux 2.6.18
> Artifactory 1.2.5 (rev. 1154)
> (this has also been reproduced by a colleague on a Windows machine).
> Preliminary steps:
> 1) Modify the pom files to refer to your actual repository instead of http://localhost:8081/artifactory/jumptap-snapshots
> 2) Build maven-test-project1
> 3) Upload the pom and jar for maven-test-project1 to your repository.
> Steps that cause the error to happen:
> 1) Delete maven-test-project1 from the local repository.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful (and downloads maven-test-project1 to the local repository).
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build fails, unable to resolve the maven-test-project1 artifact.
> Steps that cause the error not to happen
> 1) Build maven-test-project1 locally. This build is successful.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful.
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build is successful.

-- 
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

        

[jira] Updated: (MNG-3628) When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3628:
-----------------------------------

    Fix Version/s: 2.1.0-M2

> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3628
>                 URL: http://jira.codehaus.org/browse/MNG-3628
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Marc Harris
>            Assignee: Benjamin Bentmann
>             Fix For: 2.0.10, 2.1.0-M2
>
>         Attachments: maven-offline-snapshot-problem.tar
>
>
> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository. This happens when attempting to depend on a snapshot version of a module downloaded from a repository. If the snapshot version of the module is built and installed locally, the problem goes away.
> I will attach two projects (in a tar file) that have minimal external dependencies, and the debug output of trying to build. Here are the steps to reproduce:
> Environment:
> Maven 2.0.8
> Linux 2.6.18
> Artifactory 1.2.5 (rev. 1154)
> (this has also been reproduced by a colleague on a Windows machine).
> Preliminary steps:
> 1) Modify the pom files to refer to your actual repository instead of http://localhost:8081/artifactory/jumptap-snapshots
> 2) Build maven-test-project1
> 3) Upload the pom and jar for maven-test-project1 to your repository.
> Steps that cause the error to happen:
> 1) Delete maven-test-project1 from the local repository.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful (and downloads maven-test-project1 to the local repository).
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build fails, unable to resolve the maven-test-project1 artifact.
> Steps that cause the error not to happen
> 1) Build maven-test-project1 locally. This build is successful.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful.
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build is successful.

-- 
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

        

[jira] Closed: (MNG-3628) When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-3628.
----------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Duplicate
    Fix Version/s:     (was: 2.0.x)
                   2.0.10

> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3628
>                 URL: http://jira.codehaus.org/browse/MNG-3628
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Marc Harris
>            Assignee: Benjamin Bentmann
>             Fix For: 2.0.10
>
>         Attachments: maven-offline-snapshot-problem.tar
>
>
> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository. This happens when attempting to depend on a snapshot version of a module downloaded from a repository. If the snapshot version of the module is built and installed locally, the problem goes away.
> I will attach two projects (in a tar file) that have minimal external dependencies, and the debug output of trying to build. Here are the steps to reproduce:
> Environment:
> Maven 2.0.8
> Linux 2.6.18
> Artifactory 1.2.5 (rev. 1154)
> (this has also been reproduced by a colleague on a Windows machine).
> Preliminary steps:
> 1) Modify the pom files to refer to your actual repository instead of http://localhost:8081/artifactory/jumptap-snapshots
> 2) Build maven-test-project1
> 3) Upload the pom and jar for maven-test-project1 to your repository.
> Steps that cause the error to happen:
> 1) Delete maven-test-project1 from the local repository.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful (and downloads maven-test-project1 to the local repository).
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build fails, unable to resolve the maven-test-project1 artifact.
> Steps that cause the error not to happen
> 1) Build maven-test-project1 locally. This build is successful.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful.
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build is successful.

-- 
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

        

[jira] Updated: (MNG-3628) When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3628:
------------------------------

    Fix Version/s: 2.0.x

> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3628
>                 URL: http://jira.codehaus.org/browse/MNG-3628
>             Project: Maven 2
>          Issue Type: Bug
>            Reporter: Marc Harris
>             Fix For: 2.0.x
>
>         Attachments: maven-offline-snapshot-problem.tar
>
>
> When running offline, snapshot artifcats cannot be resolved even if they have previously be dowloaded from a repository. This happens when attempting to depend on a snapshot version of a module downloaded from a repository. If the snapshot version of the module is built and installed locally, the problem goes away.
> I will attach two projects (in a tar file) that have minimal external dependencies, and the debug output of trying to build. Here are the steps to reproduce:
> Environment:
> Maven 2.0.8
> Linux 2.6.18
> Artifactory 1.2.5 (rev. 1154)
> (this has also been reproduced by a colleague on a Windows machine).
> Preliminary steps:
> 1) Modify the pom files to refer to your actual repository instead of http://localhost:8081/artifactory/jumptap-snapshots
> 2) Build maven-test-project1
> 3) Upload the pom and jar for maven-test-project1 to your repository.
> Steps that cause the error to happen:
> 1) Delete maven-test-project1 from the local repository.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful (and downloads maven-test-project1 to the local repository).
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build fails, unable to resolve the maven-test-project1 artifact.
> Steps that cause the error not to happen
> 1) Build maven-test-project1 locally. This build is successful.
> 2) Build maven-test-project2 without the offline flag (mvn install). This build is successful.
> 3) Build maven-test-project2 with the offline flag (mvn -o install). This build is successful.

-- 
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