Thank you, Simone, very much. :-) I think that the analyse is very helpful, but I guess that I have an another case. :-(
I've looked at http://repo1.maven.org/maven2/org/eclipse/equinox/registry/ There are two artefact versions there: 3.2.1-R32x_v20060814 and 3.3.0-v20070522. I.e. exactly those ones that is displayed in the error. But the correct version of org.eclipse.equinox.registry, 3.4.0-v20080516-0950, exists only in my local repository and it's conform with the range [3.4.0,4.0.0). Also Maven is looking for in the remote repository and ignoring the version of the local one. Why? 8-O 8-O 8-O Simone Gianni-2 wrote: > > Hi Buters, > seems like it is not searching for equinox-common-3.2.* but for > equinox-common-3.4.x, and fails to find a 3.4 or higher version, cause > only 3.2.1 and 3.3.0 are present, both under the 3.4-4.0 range. > > Probably some other dependency is raising the minimum version range, and > Maven will always try to fetch a recent version (3.4.x in this case) to > avoid errors. > > You could try using mvn dependency:analyze goal to perform an analysis > of all dependencies and see who is requiring equinox-common version 3.4 > or better. See http://maven.apache.org/plugins/maven-dependency-plugin/ > for more deails on how dependency plugin works. > > Also, running maven with the -X switch will give you detailed > informations (debug stuff) where you can find why it decides to search > for 3.4 instead of 3.2. > > Hope this helps, > Simone > > > buters wrote: >> Hi all, >> >> http://www.nabble.com/file/p19825141/rcp_err.png >> >> There is org.eclipse.equinox.registry-3.4.0-v20080516-0950.jar In my >> local >> repository. >> There is one dependency in its pom.xml: >> <dependencies> >> <dependency> >> <groupId>org.eclipse.equinox</groupId> >> <artifactId>common</artifactId> >> <version>[3.2.0,4.0.0)</version> >> </dependency> >> </dependencies> >> >> The question: where should I search for [3.2.1-R32x_v20060814, >> 3.3.0-v20070522] and [3.4.0,4.0.0)??? >> :confused::confused::confused: >> >> Thanks beforehand, >> regards, buters >> > > > -- > Simone Gianni CEO Semeru s.r.l. Apache Committer > MALE human being programming a computer http://www.simonegianni.it/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/%22Couldn%27t-find-a-version%22-error-tp19825141p19826277.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
