Thanks. A further question: If a file I don't want to put into jar but only want to filtering, how to write pom file?
hermod.opstvedt wrote: > > Hi > > Try using filtering > > Hermod > > -----Original Message----- > From: wanyna [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 02, 2007 9:38 AM > To: users@maven.apache.org > Subject: how to auto replace jar name in resource file? > > > > In my projects, all jars add build time in its name, like > aaa-1.0-snapshot-20070731.jar. > Some project's artifact is eclipse plugin jar and depends other jars. > > In eclipse plugin's MANIFEST.MF file, specify depend jars: > > Bundle-ClassPath: ./, > lib/aaa-1.0-snapshot-20070731.jar., > ... > > Since the jar name is different in each build, this file should alos be > modified in each build. > How to auto modify this file? > > > -- > View this message in context: > http://www.nabble.com/how-to-auto-replace-jar-name-in-resource-file--tf4204607s177.html#a11959825 > Sent from the Maven - Users mailing list archive at Nabble.com. > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * > > This email with attachments is solely for the use of the individual or > entity to whom it is addressed. Please also be aware that the DnB NOR > Group > cannot accept any payment orders or other legally binding correspondence > with > customers as a part of an email. > > This email message has been virus checked by the anti virus programs used > in the DnB NOR Group. > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/how-to-auto-replace-jar-name-in-resource-file--tf4204609s177.html#a12049639 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]