You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jeroen Lankheet <je...@lankheet.com> on 2008/03/18 09:10:45 UTC
Couldn't find a version when building pde-maven-plugin
Hi,
I need to change the Ant build target for the pde-maven-plugin.
So I checked out the trunk, changed version 2.0.9-SNAPSHOT into 2.0.8 in the
POM
and did a mvn clean install.
The following error came up:
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Couldn't find a version in [3.3.0-v20070604, 3.2.1-R32x_v20060914] to match
range [3.3.0,4.0.0)
org.eclipse.core:resources:jar:null
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2),
internal
(file:////notorious.ehv.apptech.philips.com/aurora/MavenRepository)
The org.eclipse.core.resources plugin has version 3.3.0-v20070604.
That is a match isn't it?
Regards,
Jeroen Lankheet
--
View this message in context: http://www.nabble.com/Couldn%27t-find-a-version-when-building-pde-maven-plugin-tp16116114s177p16116114.html
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Couldn't find a version when building pde-maven-plugin
Posted by Richard van Nieuwenhoven <ri...@gmx.at>.
Hi,
i did hit the same problem and found that there is a difference in the
version range handling between maven and eclipse plugins.
My solution was rather "ugly" i used the maven-eclipse-plugin in the
version 2.4 to create a local repository. because that version of the
plugin ignores the version ranges and makes hard links between the versions.
mvn org.apache.maven.plugins:maven-eclipse-plugin:2.4:to-maven
But the real question will be for Carlos Sanchez (who wrote new version
ranges as far as i know). How to resolve these version ranges with maven
in the correct way. Maven rules specify that the version 3.3.0-v20070604
is before 3.3.0 and not after, as eclipse resolves them....
Carlos what do you say to this problem?
regards,
Ritchie
Jeroen Lankheet wrote:
> Hi,
>
> I need to change the Ant build target for the pde-maven-plugin.
> So I checked out the trunk, changed version 2.0.9-SNAPSHOT into 2.0.8 in the
> POM
> and did a mvn clean install.
> The following error came up:
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Couldn't find a version in [3.3.0-v20070604, 3.2.1-R32x_v20060914] to match
> range [3.3.0,4.0.0)
> org.eclipse.core:resources:jar:null
>
> from the specified remote repositories:
> codehaus.org (http://snapshots.repository.codehaus.org),
> central (http://repo1.maven.org/maven2),
> internal
> (file:////notorious.ehv.apptech.philips.com/aurora/MavenRepository)
>
> The org.eclipse.core.resources plugin has version 3.3.0-v20070604.
> That is a match isn't it?
>
> Regards,
> Jeroen Lankheet
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org