On Fri, 2003-12-12 at 10:51, St�phane Philippart wrote: > Hi, > > I am in a case where I don't want version number on my deliverable files > but i want to be able to use the install targets to install my app in > the repository to refence the file with the dependency tag. > > When I don't put a tag <currentVersion> in my project.xml (or put the > tag <currentVersion/>) the generated file are all with a '-' at the end > of the file name name, like foo-j.jar. How can i generate (and reuse in > depedency) files without '-' like foo.jar.
I really don't think there are many good reasons not to have a version in the name of the JAR but in fact Maven itself does it to avoid some bootstrap complexity. You can use the maven.final.name property to name the produced artifact. Look at Maven's own build. But again as Emmanuel said it's not recommended and certainly wouldn't be considered a best practice. > Steph > > Thanks > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
