[ http://issues.apache.org/jira/browse/NUTCH-347?page=comments#action_12427729 ] Sami Siren commented on NUTCH-347: ----------------------------------
Those warnings are ok - there's not any harm happening. There are some plug-ins (lib-log4j for example) that don't generate any .jar that is supposed to be "deployed" during the build process to be available to plug-ins that depend on that plug-in. Anyone wan't to try and reimplement the build with m2 :) Attached patch takes care of those warnings and only tries to copy files that really exist. > Build: plugins' Jars not found > ------------------------------ > > Key: NUTCH-347 > URL: http://issues.apache.org/jira/browse/NUTCH-347 > Project: Nutch > Issue Type: Bug > Affects Versions: 0.8 > Reporter: Otis Gospodnetic > > While building Nutch, I noticed several places where various Jars from > plugins' lib directories could not be found, for example: > $ ant package > ... > deploy: > [copy] Warning: Could not find file > /home/otis/dev/repos/lucene/nutch/trunk/build/lib-log4j/lib-log4j.jar to copy. > init: > init-plugin: > compile: > jar: > deps-test: > deploy: > [copy] Warning: Could not find file > /home/otis/dev/repos/lucene/nutch/trunk/build/lib-nekohtml/lib-nekohtml.jar > to copy. > ... > The problem is, these "lib-XXXX.jar" files do not exist. Instead, those Jars > are typically named with a version in the name, like log4j-1.2.11.jar. I > could not find where this "lib-" prefix comes from, nor where the version is > dropped from the name. Anyone knows? > In order to avoid these errors I had to make symbolic links and fake things: > e.g. > ln -s log4j-1.2.11.jar lib-log4j.jar > But this should really be fixed somewhere, I just can't see where... :( > Note that this doesn't completely break the build, but missing Jars can't be > a good thing. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
