0
|
1 # Licensed to the Apache Software Foundation (ASF) under one or more
|
|
2 # contributor license agreements. See the NOTICE file distributed with
|
|
3 # this work for additional information regarding copyright ownership.
|
|
4 # The ASF licenses this file to You under the Apache License, Version 2.0
|
|
5 # (the "License"); you may not use this file except in compliance with
|
|
6 # the License. You may obtain a copy of the License at
|
|
7 #
|
|
8 # http://www.apache.org/licenses/LICENSE-2.0
|
|
9 #
|
|
10 # Unless required by applicable law or agreed to in writing, software
|
|
11 # distributed under the License is distributed on an "AS IS" BASIS,
|
|
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13 # See the License for the specific language governing permissions and
|
|
14 # limitations under the License.
|
|
15
|
|
16 name=apache-nutch
|
|
17 version=1.7-SNAPSHOT
|
|
18 final.name=${name}-${version}
|
|
19 year=2012
|
|
20
|
|
21 basedir = ./
|
|
22 src.dir = ./src/java
|
|
23 lib.dir = ./lib
|
|
24 conf.dir = ./conf
|
|
25 plugins.dir = ./src/plugin
|
|
26
|
|
27 build.dir = ./build
|
|
28 build.classes = ${build.dir}/classes
|
|
29 build.plugins = ${build.dir}/plugins
|
|
30 build.javadoc = ${build.dir}/docs/api
|
|
31 build.encoding = UTF-8
|
|
32 build.ivy.dir=${build.dir}/ivy
|
|
33 build.lib.dir=${build.dir}/lib
|
|
34
|
|
35 test.src.dir = ./src/test
|
|
36 test.build.dir = ${build.dir}/test
|
|
37 test.build.data = ${test.build.dir}/data
|
|
38 test.build.classes = ${test.build.dir}/classes
|
|
39 test.build.javadoc = ${test.build.dir}/docs/api
|
|
40
|
|
41 # Proxy Host and Port to use for building JavaDoc
|
|
42 javadoc.proxy.host=-J-DproxyHost=
|
|
43 javadoc.proxy.port=-J-DproxyPort=
|
|
44 javadoc.link.java=http://java.sun.com/javase/6/docs/api/
|
|
45 javadoc.link.lucene=http://lucene.apache.org/java/2_9_1/api/all
|
|
46 javadoc.link.hadoop=http://hadoop.apache.org/common/docs/r0.20.2/api/
|
|
47 javadoc.packages=org.apache.nutch.*
|
|
48
|
|
49 dist.dir=./dist
|
|
50 src.dist.version.dir=${dist.dir}/${final.name}-src
|
|
51 bin.dist.version.dir=${dist.dir}/${final.name}-bin
|
|
52
|
|
53 javac.debug=on
|
|
54 javac.optimize=on
|
|
55 javac.deprecation=on
|
|
56 javac.version= 1.6
|
|
57
|
|
58 runtime.dir=./runtime
|
|
59 runtime.deploy=${runtime.dir}/deploy
|
|
60 runtime.local=${runtime.dir}/local
|
|
61
|
|
62 ivy.version=2.2.0
|
|
63 ivy.dir=${basedir}/ivy
|
|
64 ivy.file=${ivy.dir}/ivy.xml
|
|
65 ivy.jar=${ivy.dir}/ivy-${ivy.version}.jar
|
|
66 ivy.repo.url=http://repo2.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar
|
|
67
|
|
68 ivy.local.default.root=${ivy.default.ivy.user.dir}/local
|
|
69 ivy.local.default.ivy.pattern=[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
|
|
70 ivy.local.default.artifact.pattern=[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
|
|
71
|
|
72 ivy.shared.default.root=${ivy.default.ivy.user.dir}/shared
|
|
73 ivy.shared.default.ivy.pattern=[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
|
|
74 ivy.shared.default.artifact.pattern=[organisation]/[module]/[revision]/[type]s/[artifact].[ext]
|
|
75
|
|
76 #
|
|
77 # Plugins API
|
|
78 #
|
|
79 plugins.api=\
|
|
80 org.apache.nutch.protocol.http.api*:\
|
|
81 org.apache.nutch.urlfilter.api*
|
|
82
|
|
83 #
|
|
84 # Protocol Plugins
|
|
85 #
|
|
86 plugins.protocol=\
|
|
87 org.apache.nutch.protocol.file*:\
|
|
88 org.apache.nutch.protocol.ftp*:\
|
|
89 org.apache.nutch.protocol.http*:\
|
|
90 org.apache.nutch.protocol.httpclient*
|
|
91
|
|
92 #
|
|
93 # URL Filter Plugins
|
|
94 #
|
|
95 plugins.urlfilter=\
|
|
96 org.apache.nutch.urlfilter.automaton*:\
|
|
97 org.apache.nutch.urlfilter.domain*:\
|
|
98 org.apache.nutch.urlfilter.domainblacklist*:\
|
|
99 org.apache.nutch.urlfilter.prefix*:\
|
|
100 org.apache.nutch.urlfilter.regex*\
|
|
101 org.apache.nutch.urlfilter.suffix*:\
|
|
102 org.apache.nutch.urlfilter.validator*
|
|
103
|
|
104 #
|
|
105 # URL Normalizer Plugins
|
|
106 #
|
|
107 plugins.urlfilter=\
|
|
108 org.apache.nutch.net.urlnormalizer.basic*:\
|
|
109 org.apache.nutch.net.urlnormalizer.pass*:\
|
|
110 org.apache.nutch.net.urlnormalizer.regex*
|
|
111
|
|
112 #
|
|
113 # Scoring Plugins
|
|
114 #
|
|
115 plugins.scoring=\
|
|
116 org.apache.nutch.scoring.link*:\
|
|
117 org.apache.nutch.scoring.opic*:\
|
|
118 org.apache.nutch.scoring.tld*:\
|
|
119 org.apache.nutch.scoring.urlmeta*
|
|
120
|
|
121 #
|
|
122 # Parse Plugins
|
|
123 #
|
|
124 plugins.parse=\
|
|
125 org.apache.nutch.parse.ext*:\
|
|
126 org.apache.nutch.parse.feed*:\
|
|
127 org.apache.nutch.parse.html*:\
|
|
128 org.apache.nutch.parse.js:\
|
|
129 org.apache.nutch.parse.swf*:\
|
|
130 org.apache.nutch.parse.tika:\
|
|
131 org.apache.nutch.parse.zip
|
|
132
|
|
133 #
|
|
134 # Parse Filter Plugins
|
|
135 #
|
|
136 plugins.parse=\
|
|
137 org.apache.nutch.parse.headings*
|
|
138
|
|
139 #
|
|
140 # Indexing Filter Plugins
|
|
141 #
|
|
142 plugins.index=\
|
|
143 org.apache.nutch.indexer.anchor*:\
|
|
144 org.apache.nutch.indexer.basic*:\
|
|
145 org.apache.nutch.indexer.feed*:\
|
|
146 org.apache.nutch.indexer.metadata*:\
|
|
147 org.apache.nutch.indexer.static*:\
|
|
148 org.apache.nutch.indexer.subcollection*:\
|
|
149 org.apache.nutch.indexer.tld*:\
|
|
150 org.apache.nutch.indexer.urlmeta*
|
|
151
|
|
152 #
|
|
153 # Misc. Plugins
|
|
154 #
|
|
155 # (gathers plugins that cannot be dispatched
|
|
156 # in any category, mainly because they contains
|
|
157 # many extension points)
|
|
158 #
|
|
159 plugins.misc=\
|
|
160 org.apache.nutch.collection*:\
|
|
161 org.apache.nutch.analysis.lang*:\
|
|
162 org.creativecommons.nutch*
|
|
163 org.apache.nutch.microformats.reltag*:\
|
|
164
|