You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bill Dudney (JIRA)" <ji...@codehaus.org> on 2007/03/27 17:38:34 UTC
[jira] Created: (MNG-2906) version ranges don't work after a day
has passed
version ranges don't work after a day has passed
------------------------------------------------
Key: MNG-2906
URL: http://jira.codehaus.org/browse/MNG-2906
Project: Maven 2
Issue Type: Bug
Reporter: Bill Dudney
dependency A has a range dependency on B
my project has a dependency on A (not directly on B)
I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
B's latest is downloaded as expected
the next morning I rebuild my project and I get error messages that no suitable version can be found;
No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Commented: (MNG-2906) version ranges don't work after a day
has passed
Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106455 ]
Maria Odea Ching commented on MNG-2906:
---------------------------------------
This has been mentioned a lot of times in the mailing list as well, so will leave this is 2.1..
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Reporter: Bill Dudney
> Fix For: 2.1
>
> Attachments: example.tar.gz, example.X.output.txt
>
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Commented: (MNG-2906) version ranges don't work after a day
has passed
Posted by "Lautaro Mazzitelli (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95588 ]
Lautaro Mazzitelli commented on MNG-2906:
-----------------------------------------
Somethin on this issue?
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Reporter: Bill Dudney
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Commented: (MNG-2906) version ranges don't work after a day
has passed
Posted by "Paul Smith (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105586 ]
Paul Smith commented on MNG-2906:
---------------------------------
If I manually 'mvn install:install-file' commons-collections 2.1 into my local repository (which is the minimum in the specified range), it then works, but only because I already have the _other_ version ranged dependencies (such as commons-digester) already installed. I have verified this on multiple computers in the same office. If one computer does not have the specified minimum version as part of a dependency, even if they have later versions, this project fails.
This is extremely painful.
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Reporter: Bill Dudney
> Fix For: 2.1.x
>
> Attachments: example.tar.gz, example.X.output.txt
>
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Issue Comment Edited: (MNG-2906) version ranges don't work
after a day has passed
Posted by "Lautaro Mazzitelli (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95588 ]
Lautaro Mazzitelli edited comment on MNG-2906 at 5/10/07 3:20 PM:
------------------------------------------------------------------
Something on this issue?
was:
Somethin on this issue?
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Reporter: Bill Dudney
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Commented: (MNG-2906) version ranges don't work after a day
has passed
Posted by "Paul Smith (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105587 ]
Paul Smith commented on MNG-2906:
---------------------------------
This could be a dupe of MNG-2742
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Reporter: Bill Dudney
> Fix For: 2.1.x
>
> Attachments: example.tar.gz, example.X.output.txt
>
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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-2906) version ranges don't work after a day
has passed
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-2906:
------------------------------
Fix Version/s: (was: Reviewed Pending Version Assignment)
2.1.x
Component/s: Artifacts and Repositories
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Reporter: Bill Dudney
> Fix For: 2.1.x
>
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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-2906) version ranges don't work after a day
has passed
Posted by "Paul Smith (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Smith updated MNG-2906:
----------------------------
Attachment: example.X.output.txt
Attached 'mvn -X clean compile' output.
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Reporter: Bill Dudney
> Fix For: 2.1.x
>
> Attachments: example.tar.gz, example.X.output.txt
>
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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-2906) version ranges don't work after a day
has passed
Posted by "Paul Smith (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Smith updated MNG-2906:
----------------------------
Attachment: example.tar.gz
Here's a generated maven project using 2.0.6 that exhibits this sort of behaviour. It was simply created as follows:
1) mvn archetype:create -DgroupId=com.foo -DartifactId=bar -Dversion=1.0-SNAPSHOT -Dpackaging=jar
2) Edit pom.xml, add dependency to latest jasperreports distribution
3) mvn clean package
*thud*
Paul-Smiths-Computer:/temp/bar paulsmith$ mvn clean package
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building bar
[INFO] task-segment: [clean, package]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /temp/bar/target
[INFO] Deleting directory /temp/bar/target/classes
[INFO] Deleting directory /temp/bar/target/test-classes
[INFO] Deleting directory /temp/bar/target/site
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
No versions are present in the repository for the artifact with a range [2.1,)
commons-collections:commons-collections:jar:null
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Aug 23 17:46:27 EST 2007
[INFO] Final Memory: 3M/6M
[INFO] ------------------------------------------------------------------------
***********************************************************
This is regardless of using Archiva or standard central repo usage.
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Reporter: Bill Dudney
> Fix For: 2.1.x
>
> Attachments: example.tar.gz, example.X.output.txt
>
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Commented: (MNG-2906) version ranges don't work after a day
has passed
Posted by "Damon Jacobsen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98055 ]
Damon Jacobsen commented on MNG-2906:
-------------------------------------
It appears I was getting this message due to my Maven proxy server being down. This is a realy bad message for what is going on however.
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Reporter: Bill Dudney
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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] Commented: (MNG-2906) version ranges don't work after a day
has passed
Posted by "Damon Jacobsen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-2906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_97774 ]
Damon Jacobsen commented on MNG-2906:
-------------------------------------
I also have this issue now. I am using JasperReports with the same dependency of com.lowagie.itext [1.02b,)
> version ranges don't work after a day has passed
> ------------------------------------------------
>
> Key: MNG-2906
> URL: http://jira.codehaus.org/browse/MNG-2906
> Project: Maven 2
> Issue Type: Bug
> Reporter: Bill Dudney
>
> dependency A has a range dependency on B
> my project has a dependency on A (not directly on B)
> I build my project with a fresh clean repo (i.e. rm -rf ~/.m2/repository)
> B's latest is downloaded as expected
> the next morning I rebuild my project and I get error messages that no suitable version can be found;
> No versions are present in the repository for the artifact with a range [1.02b,) com.lowagie:itext-null.jar
> the particulars are jfreereports depending on [1.02b,) of lowagie.
--
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