hi Jeff Jensen
thanks to replay ,yes you are write i have to use 1.5 in version
but i need some think that i have not to mention the version no. and it
will download the latestes jar file from the repository ,i am sure that to
do this work we have to use snapshot in version but how i can use in my
maven 1.0.2 i have no ideya ,if you understand my actuall problem then
please replay
Thanks in advances
Regards
Neeraj
On 9/1/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:
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]