That is really a maven question. As lng as you can do that from the command line it should also work in eclipse plugin.
Variable substitution should work anywhere in pom. So, you may try -Dyourver=1.999.999. If that works from command line, then you can use params in launch configuration to specify your version.
However these params won't be used by Eclipse compiler. Meaning that classpath container currently does not support neither profiles nor custom propertis.
regards, Eugene Zvi Rahamim wrote:
Sorry, maven plugin for eclipse. I saw that I can add parameters to the m2 build execution. Can I levarage this for using another dependency version? On 11/4/06, * Eugene Kuleshov* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Zvi Rahamim wrote: > I would like to build my project using my eclipse plugin for maven. Your eclipse plugin for maven? Then you must be in a wrong mailing list. > In my pom the version of junit is 3.8.1. > What I want to do is specify, for a specific build (not in the pom > file), to use another version. > Can you help me do it? We can't build it for you. But you can change your pom to use maven's profiles. Then you'll just pick profile you need at the build time. regards, Eugene --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email <http://xircles.codehaus.org/manage_email>
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
