Locked History Actions

Diff for "TeiAPI"

Differences between revisions 11 and 12
Revision 11 as of 2012-05-07 16:48:45
Size: 947
Editor: MichalLenart
Comment:
Revision 12 as of 2012-05-07 16:49:06
Size: 974
Editor: MichalLenart
Comment:
Deletions are marked like this. Additions are marked like this.
Line 46: Line 46:
Example file: [[attachment:pom.xml]] More complicated real-life example file: [[attachment:pom.xml]]

TEI API

This page describes TeiAPI - a java library for parsing NKJP-compatible TEI P5 files.

Usage

With Maven

In your pom.xml file:

  • add repository information:

   1 <repositories>
   2 
   3   <repository>
   4   ...
   5   </repository>
   6 
   7   <repository>
   8     <releases>
   9       <enabled>true</enabled>
  10       <updatePolicy>always</updatePolicy>
  11       <checksumPolicy>fail</checksumPolicy>
  12     </releases>
  13     <id>mlenart</id>
  14     <name>mlenart</name>
  15     <url>http://chopin.ipipan.waw.pl/~mlenart/maven2</url>
  16     <layout>default</layout>
  17   </repository>
  18 
  19 </repositories>
  • and dependency information:

   1 <dependencies>
   2  ...
   3  <dependency>
   4   <groupId>ipipan</groupId>
   5   <artifactId>teiapi</artifactId>
   6   <version>1.0-SNAPSHOT</version>
   7  </dependency>
   8 
   9 </dependencies>

More complicated real-life example file: pom.xml

Without Maven