[66] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <!-- |
---|
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
| 4 | contributor license agreements. See the NOTICE file distributed with |
---|
| 5 | this work for additional information regarding copyright ownership. |
---|
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
| 7 | (the "License"); you may not use this file except in compliance with |
---|
| 8 | the License. You may obtain a copy of the License at |
---|
| 9 | |
---|
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
| 11 | |
---|
| 12 | Unless required by applicable law or agreed to in writing, software |
---|
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
| 15 | See the License for the specific language governing permissions and |
---|
| 16 | limitations under the License. |
---|
| 17 | --> |
---|
| 18 | <plugin |
---|
| 19 | id="ontology" |
---|
| 20 | name="Ontology Plug-in" |
---|
| 21 | version="1.0.0" |
---|
| 22 | provider-name="nutch.org"> |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | <runtime> |
---|
| 26 | <library name="ontology.jar"> |
---|
| 27 | <export name="*"/> |
---|
| 28 | </library> |
---|
| 29 | |
---|
| 30 | <library name="commons-logging-1.0.3.jar"/> |
---|
| 31 | <library name="jena-2.1.jar"/> |
---|
| 32 | |
---|
| 33 | </runtime> |
---|
| 34 | |
---|
| 35 | <requires> |
---|
| 36 | <import plugin="nutch-extensionpoints"/> |
---|
| 37 | </requires> |
---|
| 38 | |
---|
| 39 | <!-- attribute "point" is the plugin interface class --> |
---|
| 40 | <!-- seems kinda redundant to have to define the point here too --> |
---|
| 41 | <extension id="org.apache.nutch.ontology.jena" |
---|
| 42 | name="Ontology Model Loader" |
---|
| 43 | point="org.apache.nutch.ontology.Ontology"> |
---|
| 44 | |
---|
| 45 | <!-- define all the classes that implement the point defined above --> |
---|
| 46 | <implementation id="org.apache.nutch.ontology.jena.OntologyImpl" |
---|
| 47 | class="org.apache.nutch.ontology.jena.OntologyImpl"> |
---|
| 48 | <parameter name="pathSuffix" value=""/> |
---|
| 49 | </implementation> |
---|
| 50 | |
---|
| 51 | </extension> |
---|
| 52 | |
---|
| 53 | </plugin> |
---|