I'm a bit confused by your email description.  What happens when you change
the version number?  You didn't state how you are trying to get version 1.5,
and the dependency example you gave shows 1.2.

Additionally, I suggest these changes to your example, based on what I
understand from your email:
    <dependency>
      <groupId>com.daffodil.dak.gwt</groupId>
      <artifactId>dakhar</artifactId>
      <version>1.5</version>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>

(set the version to the one you want)

Maven assembles the parts to determine the filename.  See the dependency
element doc (contains examples):
http://maven.apache.org/maven-1.x/reference/project-descriptor.html#class_De
pendency


-----Original Message-----
From: neeraj daffodil [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 01, 2006 9:03 AM
To: Maven Users List
Subject: snapshot - maven 1.0.2

hi all
       i am using maven 1.0.2 and i want to use latest version of jar which
are defines in the project.xml , i mean to say that in our remote repository
there are 4 to 5 version of jar but i want to use the latest version
(i.efrom remote repository only latest version will download but i am not
able to do this ) i know from searching that to do this process there is
somthing like SNAPSHOT but i am unable to define in my project.xml ,it might
be like this <dependency>
      <groupId>com.daffodil.dak.gwt</groupId>
      <artifactId>user</artifactId>
      <version>dakhar-1.2.jar</version>
      <jar>dakhar-1.2.jar</jar>
      <type>jar</type>
      <properties>
        <war.bundle>true</war.bundle>
      </properties>
    </dependency>
here i am using  dakhar-1.2.jar but in our repository we have
dakhar-1.5.jarand dakhar-1.2.jar but i want to download that dakhar-1.5.jar
by maven 1.0.2 but all the time it is downloaded the dakhar-1.2.jar jar file

can any one tell me where i am wrong and how should i can achieve this

Regards
Neeraj


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to