On Mon, 2004-10-18 at 13:13, Felipe Leme wrote: > Hi all, > > I've started fixing MPJAVA-8, and have a question: is the propertie > maven.final.name still valid or is it deprecated and I should just use > pom.artifactId instead? And if it is still valid, where is it defined?
It's still valid, it gives the user the only way to change the resultant name of the generated artifact. It is highly recommended not to change this but people still need to do it for some reason. http://cvs.apache.org/viewcvs.cgi/maven/src/conf/driver.properties?rev=1.8&view=auto > I'm asking because I don't want to fix this bug leaving some plugins > inconsistent. For instance, maven-war sets: > > maven.war.final.name = ${pom.artifactId}.war Why on earth does that not have the version in it? > but maven-ejb uses: > > maven.ejb.final.name = ${maven.final.name}.jar > > So, which one should be used? By default the maven.final.name should always follow what's laid out in driver.properties (at least as far as m1 goes, it's generated internally in m2) which is ${pom.artifactId}-${pom.currentVersion}. > -- Felipe > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]