Re: [m2] depend on version-less jars?
Hi Joe, http://maven.apache.org/faq.html#unversioned-jars Basically, unless the JAR will never change, it doesn't make sense to have it unversioned in the repository. I've never seen a product that only ever had one release :) I'd be giving these version 4.0 by the sounds of it. - Brett On 8/4/05, Joe Futrelle [EMAIL PROTECTED] wrote: My project depends on Globus jars, many of which have no version information. For the moment I've taken the Globus COG4 project's m1 repository and converted it to an m2 repository using bogus version numbers for all the version-less jars. Is there a better way, now that the jar tag for dependencies has been removed in m2? Apologies if the answer is staring me in the face. -- Joe Futrelle Digital Library Technologies, NCSA http://www.ncsa.uiuc.edu/People/futrelle - 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: [m2] depend on version-less jars?
This is unfortunately a common issue. Two cases I usually have: - library is not created versioned - I have to customize something and need to keep a local copy. What I usually to in order is: try and find the version I'm using, and add it to the JAR. Create a bogus version (can be any text). append the project name to the existing version number if there is one, and I have a local modification. It's completely flexible so I don't think you need to worry to much... best thing to do is create a private repository where you can dump all this stuff, maybe use a version of 0.0.CHECKME or something to make it easy to identify libs that will need later review. - Brill Pappin Joe Futrelle wrote: My project depends on Globus jars, many of which have no version information. For the moment I've taken the Globus COG4 project's m1 repository and converted it to an m2 repository using bogus version numbers for all the version-less jars. Is there a better way, now that the jar tag for dependencies has been removed in m2? Apologies if the answer is staring me in the face. -- Joe Futrelle Digital Library Technologies, NCSA http://www.ncsa.uiuc.edu/People/futrelle - 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]