RE: Dependency - If version is not specified, should it consider '-' or not?
-Original Message- From: Veerasamy, Thirumalai (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 2:36 PM To: Maven Users List Subject: Dependency - If version is not specified, should it consider '-' or not? Hi, I specify a dependency like given below. dependency groupIdgroup/groupid artifactIdartifact/artifactId /dependency Though I didn't specify a version for that file it still expects as group/group-artifact-.jar. Is this the expected behaviour? Yes it is expected behaviour. Shouldn't it ignore '-' if version is not specified. No! all artifacts in the repository must be versioned. Michal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependency - If version is not specified, should it consider '-' or not?
Assume you have yourstuff-1.1.jar, a versioned library dependency groupIdyourstuff/groupId artifactIdyoursetuff/groupId version1.2/version /dependency Now assume you have yourstuff.jar, a non-versioned library. dependency groupIdyourstuff/groupId artifactIdyoursetuff/groupId jaryourstuff.jar/jar /dependency Maczka Michal wrote: -Original Message- From: Veerasamy, Thirumalai (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 2:36 PM To: Maven Users List Subject: Dependency - If version is not specified, should it consider '-' or not? Hi, I specify a dependency like given below. dependency groupIdgroup/groupid artifactIdartifact/artifactId /dependency Though I didn't specify a version for that file it still expects as group/group-artifact-.jar. Is this the expected behaviour? Yes it is expected behaviour. Shouldn't it ignore '-' if version is not specified. No! all artifacts in the repository must be versioned. Michal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependency - If version is not specified, should it consider '-' or not?
oops, a typo dependency groupIdyourstuff/groupId artifactIdyoursetuff/artifactId version1.2/version /dependency Now assume you have yourstuff.jar, a non-versioned library. dependency groupIdyourstuff/groupId artifactIdyoursetuff/artifactId jaryourstuff.jar/jar /dependency Kevin Hagel wrote: Assume you have yourstuff-1.1.jar, a versioned library dependency groupIdyourstuff/groupId artifactIdyoursetuff/groupId version1.2/version /dependency Now assume you have yourstuff.jar, a non-versioned library. dependency groupIdyourstuff/groupId artifactIdyoursetuff/groupId jaryourstuff.jar/jar /dependency Maczka Michal wrote: -Original Message- From: Veerasamy, Thirumalai (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 2:36 PM To: Maven Users List Subject: Dependency - If version is not specified, should it consider '-' or not? Hi, I specify a dependency like given below. dependency groupIdgroup/groupid artifactIdartifact/artifactId /dependency Though I didn't specify a version for that file it still expects as group/group-artifact-.jar. Is this the expected behaviour? Yes it is expected behaviour. Shouldn't it ignore '-' if version is not specified. No! all artifacts in the repository must be versioned. Michal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]