RE: Struts TLDs dependencies
I haven't found a way to get it to, so I compensated by having the web.xml file specify the versions in the taglib-location and then the JSPs only need the actual URI. In a way, it also makes sure you have the correct dependencies. Here's an example: taglib taglib-uristruts-tiles.tld/taglib-uri taglib-location/WEB-INF/tld/struts-tiles-1.1.tld/taglib-location /taglib taglib taglib-uristruts-bean.tld/taglib-uri taglib-location/WEB-INF/tld/struts-bean-1.1.tld/taglib-location /taglib Hope this helps, Chris Hi, I've got a struts application described by maven, in my dependencies I add all the struts 1.1 TLDS. When I build the war (maven war), maven copy all the TLDs in my webapp but it's keeping the version suffix (struts-html-1.1.tld). How can I tell maven to remove the version suffix in my webapp structure (WEB_INF/tld/*) ? Here the declaration : dependency groupIdstruts/groupId artifactIdstruts-nested/artifactId version1.1/version typetld/type properties war.bundletrue/war.bundle /properties /dependency Thx, -emmanuel - 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]
Maven b10 refusing to download remote jars
Hi all, I'm using b10, and maven refuses to download the remote jars necessary to do anything (in particular the commons-jelly and antlr jars) on my Win2k box. I've tried the following steps: 1. Clearing all the environment variables and resetting them. 2. Passing the maven.repo.* properties directly on the command line. 3. Starting with a completely clean repository. This same project builds flawlessly in our build environment (fortunately on linux) but refuses to build on Win2k both in cygwin and at the command prompt. Please help!!! Here's the debugging info I get: [02:03 PM][~/projects/glossary] maven -X -Dmaven.repo.remote.enable=true -Dmaven.repo.remote=http://www.ibiblio.org/maven -Dmaven.repo.local=../repo java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-beta-10 [DEBUG] Adding reference: maven.dependency.classpath - [available] [VERBOSE] Found: src\java [available] [VERBOSE] Found: src\test [DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.compile.src.set - [DEBUG] Adding reference: maven.test.compile.src.set - [DEBUG] Adding reference: maven.dependency.classpath - C:\Documents and Settings\cginn\.maven\plugins\repo\ant\jars\ant-1.5.1.jar;C:\Documents and Settings\cginn\.maven\plugins\repo\commons-jelly\jars\commons-jelly-tags-antlr-20030211.143720.jar;C:\Documents and Settings\cginn\.maven\plugins\repo\commons-lang\jars\commons-lang-1.0-b1.1.jar;C:\Documents and Settings\cginn\.maven\plugins\repo\antlr\jars\antlr-2.7.2.jar[DEBUG] Adding reference: maven-classpath - [DEBUG] Adding reference: maven.compile.src.set - [DEBUG] Adding reference: maven.test.compile.src.set - java.lang.ClassNotFoundException: antlr at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1039) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:207) at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:174) at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:111) at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139) at org.apache.maven.plugin.PluginManager.loadPlugin(PluginManager.java:734) at org.apache.maven.plugin.PluginManager.loadPlugins(PluginManager.java:766) at org.apache.maven.plugin.PluginManager.prepForCallbacks(PluginManager.java:554) at org.apache.maven.plugin.PluginManager.prepForGoal(PluginManager.java:525) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:415) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:525) at org.apache.maven.cli.App.main(App.java:1088) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) java.lang.ClassNotFoundException: antlr at org.apache.commons.jelly.parser.XMLParser.createSAXException(XMLParser.java:1234) at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1044) at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:647) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at