You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Costin Caraivan <cc...@axway.com> on 2008/12/04 16:35:15 UTC

Eclipse plugin versions wrong in mvn eclipse:make-artifacts

Hello,

I'm using eclipse:make-artifacts to install some plugins in the local
repository. I want the artifacts to look like this:
<groupId>org.eclipse.core</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<version>3.4.0-v2008051</version>
I want the dependencies to have the same structure (including exact
versions, not ranges of versions).

The command I use is this:
mvn eclipse:make-artifacts -DeclipseDir="D:\eclipse" -DstripQualifier=false
-DresolveVersionRanges=true

I use it on a Eclipse 3.4 install. The result is this:
<groupId>org.eclipse.core</groupId>
  <artifactId>org.eclipse.core.runtime</artifactId>
  <name>Core Runtime</name>
  <version>3.4.0-v2008051</version> 
  <dependencies>
    <dependency>
      <groupId>org.eclipse.osgi</groupId>
      <artifactId>org.eclipse.osgi</artifactId>
      <version>[3.2.0,4.0.0)</version>
    </dependency>


I don't like the dependency range. It looks like DresolveVersionRanges=true
is not working.

Is it a bug in maven-eclipse-plugin, or am I doing something wrong?

Thank you,
Costin.
-- 
View this message in context: http://www.nabble.com/Eclipse-plugin-versions-wrong-in-mvn-eclipse%3Amake-artifacts-tp20835865p20835865.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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