55 < meta name ="generator " content ="pandoc " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0, user-scalable=yes " />
77 < title > Metafacture – Getting started</ title >
8- < style type ="text/css ">
9- code {white-space : pre-wrap;}
10- span .smallcaps {font-variant : small-caps;}
11- span .underline {text-decoration : underline;}
12- div .column {display : inline-block; vertical-align : top; width : 50% ;}
13- </ style >
14- < style type ="text/css ">
15- a .sourceLine { display : inline-block; line-height : 1.25 ; }
16- a .sourceLine { pointer-events : none; color : inherit; text-decoration : inherit; }
17- a .sourceLine : empty { height : 1.2em ; }
18- .sourceCode { overflow : visible; }
19- code .sourceCode { white-space : pre; position : relative; }
20- div .sourceCode { margin : 1em 0 ; }
21- pre .sourceCode { margin : 0 ; }
22- @media screen {
23- div .sourceCode { overflow : auto; }
24- }
25- @media print {
26- code .sourceCode { white-space : pre-wrap; }
27- a .sourceLine { text-indent : -1em ; padding-left : 1em ; }
28- }
29- pre .numberSource a .sourceLine
30- { position : relative; left : -4em ; }
31- pre .numberSource a .sourceLine ::before
32- { content : attr (title);
33- position : relative; left : -1em ; text-align : right; vertical-align : baseline;
34- border : none; pointer-events : all; display : inline-block;
35- -webkit-touch-callout : none; -webkit-user-select : none;
36- -khtml-user-select : none; -moz-user-select : none;
37- -ms-user-select : none; user-select : none;
38- padding : 0 4px ; width : 4em ;
39- color : # aaaaaa ;
40- }
41- pre .numberSource { margin-left : 3em ; border-left : 1px solid # aaaaaa ; padding-left : 4px ; }
42- div .sourceCode
43- { }
44- @media screen {
45- a .sourceLine ::before { text-decoration : underline; }
46- }
47- code span .al { color : # ff0000 ; font-weight : bold; } /* Alert */
48- code span .an { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Annotation */
49- code span .at { color : # 7d9029 ; } /* Attribute */
50- code span .bn { color : # 40a070 ; } /* BaseN */
51- code span .bu { } /* BuiltIn */
52- code span .cf { color : # 007020 ; font-weight : bold; } /* ControlFlow */
53- code span .ch { color : # 4070a0 ; } /* Char */
54- code span .cn { color : # 880000 ; } /* Constant */
55- code span .co { color : # 60a0b0 ; font-style : italic; } /* Comment */
56- code span .cv { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* CommentVar */
57- code span .do { color : # ba2121 ; font-style : italic; } /* Documentation */
58- code span .dt { color : # 902000 ; } /* DataType */
59- code span .dv { color : # 40a070 ; } /* DecVal */
60- code span .er { color : # ff0000 ; font-weight : bold; } /* Error */
61- code span .ex { } /* Extension */
62- code span .fl { color : # 40a070 ; } /* Float */
63- code span .fu { color : # 06287e ; } /* Function */
64- code span .im { } /* Import */
65- code span .in { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Information */
66- code span .kw { color : # 007020 ; font-weight : bold; } /* Keyword */
67- code span .op { color : # 666666 ; } /* Operator */
68- code span .ot { color : # 007020 ; } /* Other */
69- code span .pp { color : # bc7a00 ; } /* Preprocessor */
70- code span .sc { color : # 4070a0 ; } /* SpecialChar */
71- code span .ss { color : # bb6688 ; } /* SpecialString */
72- code span .st { color : # 4070a0 ; } /* String */
73- code span .va { color : # 19177c ; } /* Variable */
74- code span .vs { color : # 4070a0 ; } /* VerbatimString */
75- code span .wa { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Warning */
8+ < style >
9+ code {white-space : pre-wrap;}
10+ span .smallcaps {font-variant : small-caps;}
11+ span .underline {text-decoration : underline;}
12+ div .column {display : inline-block; vertical-align : top; width : 50% ;}
13+ div .hanging-indent {margin-left : 1.5em ; text-indent : -1.5em ;}
14+ ul .task-list {list-style : none;}
15+ pre > code .sourceCode { white-space : pre; position : relative; }
16+ pre > code .sourceCode > span { display : inline-block; line-height : 1.25 ; }
17+ pre > code .sourceCode > span : empty { height : 1.2em ; }
18+ code .sourceCode > span { color : inherit; text-decoration : inherit; }
19+ div .sourceCode { margin : 1em 0 ; }
20+ pre .sourceCode { margin : 0 ; }
21+ @media screen {
22+ div .sourceCode { overflow : auto; }
23+ }
24+ @media print {
25+ pre > code .sourceCode { white-space : pre-wrap; }
26+ pre > code .sourceCode > span { text-indent : -5em ; padding-left : 5em ; }
27+ }
28+ pre .numberSource code
29+ { counter-reset : source-line 0 ; }
30+ pre .numberSource code > span
31+ { position : relative; left : -4em ; counter-increment : source-line; }
32+ pre .numberSource code > span > a : first-child ::before
33+ { content : counter (source-line);
34+ position : relative; left : -1em ; text-align : right; vertical-align : baseline;
35+ border : none; display : inline-block;
36+ -webkit-touch-callout : none; -webkit-user-select : none;
37+ -khtml-user-select : none; -moz-user-select : none;
38+ -ms-user-select : none; user-select : none;
39+ padding : 0 4px ; width : 4em ;
40+ color : # aaaaaa ;
41+ }
42+ pre .numberSource { margin-left : 3em ; border-left : 1px solid # aaaaaa ; padding-left : 4px ; }
43+ div .sourceCode
44+ { }
45+ @media screen {
46+ pre > code .sourceCode > span > a : first-child ::before { text-decoration : underline; }
47+ }
48+ code span .al { color : # ff0000 ; font-weight : bold; } /* Alert */
49+ code span .an { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Annotation */
50+ code span .at { color : # 7d9029 ; } /* Attribute */
51+ code span .bn { color : # 40a070 ; } /* BaseN */
52+ code span .bu { } /* BuiltIn */
53+ code span .cf { color : # 007020 ; font-weight : bold; } /* ControlFlow */
54+ code span .ch { color : # 4070a0 ; } /* Char */
55+ code span .cn { color : # 880000 ; } /* Constant */
56+ code span .co { color : # 60a0b0 ; font-style : italic; } /* Comment */
57+ code span .cv { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* CommentVar */
58+ code span .do { color : # ba2121 ; font-style : italic; } /* Documentation */
59+ code span .dt { color : # 902000 ; } /* DataType */
60+ code span .dv { color : # 40a070 ; } /* DecVal */
61+ code span .er { color : # ff0000 ; font-weight : bold; } /* Error */
62+ code span .ex { } /* Extension */
63+ code span .fl { color : # 40a070 ; } /* Float */
64+ code span .fu { color : # 06287e ; } /* Function */
65+ code span .im { } /* Import */
66+ code span .in { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Information */
67+ code span .kw { color : # 007020 ; font-weight : bold; } /* Keyword */
68+ code span .op { color : # 666666 ; } /* Operator */
69+ code span .ot { color : # 007020 ; } /* Other */
70+ code span .pp { color : # bc7a00 ; } /* Preprocessor */
71+ code span .sc { color : # 4070a0 ; } /* SpecialChar */
72+ code span .ss { color : # bb6688 ; } /* SpecialString */
73+ code span .st { color : # 4070a0 ; } /* String */
74+ code span .va { color : # 19177c ; } /* Variable */
75+ code span .vs { color : # 4070a0 ; } /* VerbatimString */
76+ code span .wa { color : # 60a0b0 ; font-weight : bold; font-style : italic; } /* Warning */
7677 </ style >
7778 < link rel ="stylesheet " href ="github-pandoc.css " />
79+ <!--[if lt IE 9]>
80+ <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
81+ <![endif]-->
7882 < link rel ="Metafacture Icon " type ="image/x-icon " href ="./img/metafacture-icon.png ">
7983</ head >
8084< body >
97101   
98102 </ br >
99103 < a href ='https://openbiblio.social/@metafacture '> < img src ='./img/Mastodon.png '/> </ a >
100-
101- < a href ='https://twitter.com/metafacture '> < img src ='./img/Twitter.png '/> </ a >
102104 < a href ='https://github.com/metafacture '> < img src ='./img/GitHub.png '/> </ a >
103105 </ b >
104106</ center >
@@ -119,11 +121,11 @@ <h2 id="using-metafacture-as-a-java-library">Using Metafacture as a Java library
119121< p > If you want to use Metafacture in your own Java projects all you need is to add some dependencies to your project. As of Metafacture 5, the single metafacture-core package has been replaced with a number of domain-specific packages. You can find the list of packages on < a href ="https://search.maven.org/search?q=g:org.metafacture "> Maven Central</ a > .</ p >
120122< p > Alternatively, you can simply guess the package names from the top-level folders in the source code repository – they are the same.</ p >
121123< p > For instance, if you want to use the < code > metafacture-io</ code > library in your project, simply add the following dependency to your < code > pom.xml</ code > :</ p >
122- < div class ="sourceCode " id ="cb1 "> < pre class ="sourceCode xml "> < code class ="sourceCode xml "> < a class =" sourceLine " id ="cb1-1 " title =" 1 "> < span class ="kw "> <dependency></ span > </ a >
123- < a class =" sourceLine " id ="cb1-2 " title =" 2 "> < span class ="kw "> <groupId></ span > org.metafacture< span class ="kw "> </groupId></ span > </ a >
124- < a class =" sourceLine " id ="cb1-3 " title =" 3 "> < span class ="kw "> <artifactId></ span > metafacture-io< span class ="kw "> </artifactId></ span > </ a >
125- < a class =" sourceLine " id ="cb1-4 " title =" 4 "> < span class ="kw "> <version></ span > $VERSION< span class ="kw "> </version></ span > </ a >
126- < a class =" sourceLine " id ="cb1-5 " title =" 5 "> < span class ="kw "> </dependency></ span > </ a > </ code > </ pre > </ div >
124+ < div class ="sourceCode " id ="cb1 "> < pre class ="sourceCode xml "> < code class ="sourceCode xml "> < span id ="cb1-1 "> < a href =" #cb1- 1 "> </ a > < span class ="kw "> <dependency></ span > </ span >
125+ < span id ="cb1-2 "> < a href =" #cb1- 2 "> </ a > < span class ="kw "> <groupId></ span > org.metafacture< span class ="kw "> </groupId></ span > </ span >
126+ < span id ="cb1-3 "> < a href =" #cb1- 3 "> </ a > < span class ="kw "> <artifactId></ span > metafacture-io< span class ="kw "> </artifactId></ span > </ span >
127+ < span id ="cb1-4 "> < a href =" #cb1- 4 "> </ a > < span class ="kw "> <version></ span > $VERSION< span class ="kw "> </version></ span > </ span >
128+ < span id ="cb1-5 "> < a href =" #cb1- 5 "> </ a > < span class ="kw "> </dependency></ span > </ span > </ code > </ pre > </ div >
127129< p > or if Gradle is your build tool of choice use:</ p >
128130< pre class ="groovy "> < code > dependencies {
129131 implementation 'org.metafacture:metafacture-io:$VERSION'
0 commit comments