|
1 | 1 | 
|
2 | 2 |
|
3 |
| -metafacture-core |
4 |
| -================ |
| 3 | +Metafacture is a toolkit for processing semi-structured data with a focus on library metadata. It provides a versatile set of tools for reading, writing and transforming data. Metafacture can be used as a stand-alone application or as a java library in other applications. The name Metafacture is a portmanteau of the words *meta* data and manu*facture*. |
5 | 4 |
|
6 |
| -Metafacture is a toolkit for processing semi-structured data with a focus on library metadata. It provides tools for reading, writing and transforming data. Metafacture can be used as a stand-alone application or as a java library. |
| 5 | +Metafacture consists of a core library and a number of plugin packages and satellite projects which build on the core library and extend it with additional tools and features. This page describes the core package. Have a look at the [Plugins and Tools page](https://github.com/culturegraph/metafacture-core/wiki/Plugins-and-Tools) on the wiki for an overview of the supplementary packages and projects. |
7 | 6 |
|
8 |
| -See the wiki for more information: https://github.com/culturegraph/metafacture-core/wiki<br /> |
9 |
| -For support and discussion join the mailing list: http://lists.dnb.de/mailman/listinfo/metafacture |
| 7 | +Originally, Metafacture was developed as part of the [Culturegraph](http://culturegraph.org) platform but its now used by others, too: [see who uses Metafacture](https://github.com/culturegraph/metafacture-core/wiki/Who-uses-Metafacture). |
| 8 | + |
| 9 | +# Getting started |
| 10 | + |
| 11 | +You can use Metafacture either as a stand-alone application or as a Java library in your own projects. |
| 12 | + |
| 13 | +## Metafacture as a stand-alone application |
| 14 | + |
| 15 | +As of version 2.0.0 the stand-alone application is no longer part of the core library package. The application package can now be found at [culturegraph/metafacture-runner](https://github.com/culturegraph/metafacture-runner). If you are only interested in running Flux scripts without doing any Java programming you should head over there. |
| 16 | + |
| 17 | +## Using Metafacture as a Java libary |
| 18 | + |
| 19 | +If you want use Metafacture in your own Java projects all you need to do is to include the metafacture-core package as a dependency in your project. metafacture-core is available from [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.culturegraph%22). To use it, add the following dependency declaration to your `pom.xml`: |
| 20 | + |
| 21 | + <dependency> |
| 22 | + <groupId>org.culturegraph</groupId> |
| 23 | + <artifactId>metafacture-core</artifactId> |
| 24 | + <version>2.0.0</version> |
| 25 | + </dependency> |
| 26 | + |
| 27 | +Our integration server automatically publishes successful builds of the master branch as snapshot versions on [Sonatype OSS Repository](https://oss.sonatype.org/index.html#nexus-search;quick~culturegraph). |
| 28 | + |
| 29 | +<!-- |
| 30 | +TODO: Add |
| 31 | +
|
| 32 | +* Link to getting started tutorial |
| 33 | +* Mention the application-archetype |
| 34 | +--> |
| 35 | + |
| 36 | +# Building metafacture-core from source |
| 37 | + |
| 38 | +Building metafacture-core from source is easy. All you need is git and [maven](http://maven.apache.org/): |
| 39 | + |
| 40 | +1. Clone the metafacture-core repository: |
| 41 | + |
| 42 | + $ git clone https://github.com/culturegraph/metafacture-core.git |
| 43 | + |
| 44 | +2. Build and install in your local repository: |
| 45 | + |
| 46 | + $ mvn clean install |
| 47 | + |
| 48 | + It is important to perform this step *before* importing the project into your IDE because it generates the lexer and parser sources for Flux from antlr grammar definitions. Otherwise your IDE will fail to compile the sources if it has integrated background compilation (like Eclipse has, for instance). |
| 49 | + |
| 50 | +See [Code Quality and Style](https://github.com/culturegraph/metafacture-core/wiki/Code-Quality-and-Style) on the wiki for further information on the sources. |
| 51 | + |
| 52 | +<!-- |
| 53 | +TODO: Include a link to a page which explains how to write plugins |
| 54 | +--> |
| 55 | + |
| 56 | +# Stay updated |
| 57 | + |
| 58 | +For support and discussion join the [mailing list](http://lists.dnb.de/mailman/listinfo/metafacture). |
0 commit comments