From: <sta...@us...> - 2007-03-21 17:19:02
|
Revision: 1622 http://archive-access.svn.sourceforge.net/archive-access/?rev=1622&view=rev Author: stack-sf Date: 2007-03-21 10:06:07 -0700 (Wed, 21 Mar 2007) Log Message: ----------- * nutchwax-plugins/pom.xml Comment on why packaging has to be jar though no real maven product produced by this module. * nutchwax-core/pom.xml Set scope on when nutchwax-thirdparty is needed. * nutchwax-thirdparty/pom.xml Updated comment on packaging type. * pom.xml Add in mention of plugins module. * .classpath Removed some plugins and added in conf and plugin dirs. * nutchwax-job/src/main/assembly/assemble-job.xml Do not include plugins empty jar in assembly. * nutchwax-job/pom.xml Add dependency on plugins and fastutil. Modified Paths: -------------- trunk/archive-access/projects/nutchwax/.classpath trunk/archive-access/projects/nutchwax/nutchwax-core/pom.xml trunk/archive-access/projects/nutchwax/nutchwax-job/pom.xml trunk/archive-access/projects/nutchwax/nutchwax-job/src/main/assembly/assemble-job.xml trunk/archive-access/projects/nutchwax/nutchwax-plugins/pom.xml trunk/archive-access/projects/nutchwax/nutchwax-thirdparty/pom.xml trunk/archive-access/projects/nutchwax/pom.xml Modified: trunk/archive-access/projects/nutchwax/.classpath =================================================================== --- trunk/archive-access/projects/nutchwax/.classpath 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/.classpath 2007-03-21 17:06:07 UTC (rev 1622) @@ -10,58 +10,26 @@ <classpathentry kind="src" path="src/plugin/query-title/src/java"/> <classpathentry kind="src" path="src/plugin/query-wax/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/analysis-de/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/analysis-fr/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/clustering-carrot2/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/clustering-carrot2/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/creativecommons/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/creativecommons/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/index-basic/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/index-more/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/languageidentifier/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/languageidentifier/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/lib-http/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/lib-http/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/lib-parsems/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/lib-regex-filter/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/lib-regex-filter/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/microformats-reltag/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/ontology/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/ontology/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-ext/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-ext/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-html/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-html/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-js/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-msexcel/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-msexcel/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-mspowerpoint/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-mspowerpoint/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-msword/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-msword/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-oo/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-oo/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-pdf/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-pdf/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-rss/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-rss/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-swf/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-swf/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-text/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-zip/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/parse-zip/src/test"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/protocol-file/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/protocol-ftp/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/protocol-http/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/protocol-httpclient/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/query-basic/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/query-more/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/query-site/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/query-url/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/query-url/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/scoring-opic/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/subcollection/src/java"/> - <classpathentry kind="src" path="third-party/nutch/src/plugin/subcollection/src/test"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/summary-basic/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/summary-lucene/src/java"/> <classpathentry kind="src" path="third-party/nutch/src/plugin/urlfilter-automaton/src/java"/> @@ -268,5 +236,7 @@ <classpathentry kind="lib" path="third-party/nutch/src/plugin/urlfilter-automaton/lib/automaton.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> + <classpathentry kind="lib" path="third-party/nutch/build"/> + <classpathentry kind="lib" path="third-party/nutch/conf"/> <classpathentry kind="output" path="target"/> </classpath> Modified: trunk/archive-access/projects/nutchwax/nutchwax-core/pom.xml =================================================================== --- trunk/archive-access/projects/nutchwax/nutchwax-core/pom.xml 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/nutchwax-core/pom.xml 2007-03-21 17:06:07 UTC (rev 1622) @@ -14,6 +14,7 @@ <dependency> <groupId>org.archive.nutchwax</groupId> <artifactId>nutchwax-thirdparty</artifactId> + <scope>compile</scope> </dependency> </dependencies> <build> Modified: trunk/archive-access/projects/nutchwax/nutchwax-job/pom.xml =================================================================== --- trunk/archive-access/projects/nutchwax/nutchwax-job/pom.xml 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/nutchwax-job/pom.xml 2007-03-21 17:06:07 UTC (rev 1622) @@ -65,6 +65,15 @@ <groupId>org.archive.nutchwax</groupId> <artifactId>nutchwax-core</artifactId> </dependency> + <dependency> + <groupId>org.archive.nutchwax</groupId> + <artifactId>nutchwax-plugins</artifactId> + </dependency> + <dependency> + <groupId>it.unimi.dsi</groupId> + <artifactId>fastutil</artifactId> + <version>5.0.3</version> + </dependency> </dependencies> <distributionManagement> <site> Modified: trunk/archive-access/projects/nutchwax/nutchwax-job/src/main/assembly/assemble-job.xml =================================================================== --- trunk/archive-access/projects/nutchwax/nutchwax-job/src/main/assembly/assemble-job.xml 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/nutchwax-job/src/main/assembly/assemble-job.xml 2007-03-21 17:06:07 UTC (rev 1622) @@ -108,6 +108,7 @@ <exclude>junit:junit</exclude> <exclude>javax.servlet:servlet-api</exclude> <exclude>org.archive.nutchwax:nutchwax-thirdparty</exclude> + <exclude>org.archive.nutchwax:nutchwax-plugins</exclude> </excludes> </dependencySet> </dependencySets> Modified: trunk/archive-access/projects/nutchwax/nutchwax-plugins/pom.xml =================================================================== --- trunk/archive-access/projects/nutchwax/nutchwax-plugins/pom.xml 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/nutchwax-plugins/pom.xml 2007-03-21 17:06:07 UTC (rev 1622) @@ -9,9 +9,15 @@ <groupId>org.archive.nutchwax</groupId> <artifactId>nutchwax-plugins</artifactId> <!--This project compiles the nutchwax plugins. - It does not produce any product. + It does not produce any product. It has a + packaging of type jar so there will be an + empty jar, but it is just ignored. I tried + setting the type to pom having downstream + modules depend on a pom, but maven doesn't + seem to like that. You cannot depend + on a pom; must be jar (or war I suppose). --> - <packaging>pom</packaging> + <packaging>jar</packaging> <name>NutchWAX Plugins</name> <build> <plugins> Modified: trunk/archive-access/projects/nutchwax/nutchwax-thirdparty/pom.xml =================================================================== --- trunk/archive-access/projects/nutchwax/nutchwax-thirdparty/pom.xml 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/nutchwax-thirdparty/pom.xml 2007-03-21 17:06:07 UTC (rev 1622) @@ -13,9 +13,13 @@ jar and then reference it in later projects but looking at maven with debug enabled, it does not actually use the jars produced by earlier modules, it instead puts the - target/classes directory on the classpath instead. So, - below, after building nutch, we copy the nutch classes + target/classes directory on the classpath. So, below, + after building nutch, we copy the nutch classes to target/classes so later modules can find them. + + The packaging needs to be jar and not pom since + it doesn not seem like you can have downstream modules + depend on a pom (only on a jar). --> <packaging>jar</packaging> <name>NutchWAX Third-party Dependencies</name> Modified: trunk/archive-access/projects/nutchwax/pom.xml =================================================================== --- trunk/archive-access/projects/nutchwax/pom.xml 2007-03-21 04:51:07 UTC (rev 1621) +++ trunk/archive-access/projects/nutchwax/pom.xml 2007-03-21 17:06:07 UTC (rev 1622) @@ -361,6 +361,11 @@ <artifactId>nutchwax-webapp</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.archive.nutchwax</groupId> + <artifactId>nutchwax-plugins</artifactId> + <version>${project.version}</version> + </dependency> </dependencies> </dependencyManagement> <modules> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |