From: Per O. <po...@no...> - 2004-04-12 13:49:38
|
Hi Andy, > Put in a placeholder in your repository for it ... there are many others > like this ... its because Maven doesn't support the idea of having a > runtime dependency. You just need to have a file there ... no matter what > it is! Okay, thanks. I updated your fix to maven.xml, and I get further. But I seem to be hit by some other problem, which seems to only happen with rc2 of maven. I get a "null" exception: BUILD FAILED File...... file:/home/polesen/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly Element... j:include Line...... 345 Column.... 54 null:-1:-1: <null> Could not parse Jelly script com.werken.werkz.UnattainableGoalException: Unable to obtain goal [multiproject:site] -- file:/home/polesen/.maven/plugins/maven-xdoc-plugin-1.6/plugin.jelly:345:54: <j:include> could not include jelly script: file://home/polesen/.maven/plugins/maven-xdoc-plugin-1.6/plugin-resources/site.jsl. Reason: org.apache.commons.jelly.JellyException: null:-1:-1: <null> Could not parse Jelly script at com.werken.werkz.Goal.fire(Goal.java:646) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) If I run with "-X", I get additional exception in chain, which says it is in parsing an xml, that I get a "UnknownHostException: home". My guess is, that i get some "file://home/.." or, from the stacktrace "ftp://home/.." but I simply can't find out where. Here is (some of) the unknownhost stacktrace: Root cause java.net.UnknownHostException: home at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at sun.net.NetworkClient.doConnect(NetworkClient.java:139) at sun.net.NetworkClient.openServer(NetworkClient.java:118) at sun.net.ftp.FtpClient.openServer(FtpClient.java:423) at sun.net.ftp.FtpClient.<init>(FtpClient.java:692) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:175) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:257) at java.net.URL.openStream(URL.java:913) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.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:357) at org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:489) Any ideas? Others able to build with a rc2-distribution without problems? Per |