On 2/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
First of all, I know this isn't 'very good', but we really need this. When we run mvn install, we want to have a jar in the repository with no version attached to the filename. finalName only influences the naming of the jar in the target-folder. I've looked around on the net, but haven't found a solution yet. The reason why we want to do this, is we want to reference the jar-file in our web.xml for a tld. Otherwise we have to change the web.xml every time we have a new version (and it's not very likely that version will increment in the future). Is there a way to configure the jar-plugin or any other thing?
Can you give an example of what you have in web.xml? I don't see why you'd need the jar file name in the <taglib> element. In fact, unless you're working with Servlet 2.2/JSP 1.1, you typically don't need <taglib> elements at all. The container will discover tlds contained in jar files, all you need to do us use the correct uri. I doubt you can change the filename in the repository, but you can get Maven to filter properties into web.xml so things match. Or try renaming the jar after it lands in target/webappname/WEB-INF/lib, but before it gets packaged. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
