Skip to content
4F2E4A2E edited this page Mar 31, 2015 · 4 revisions

This page contains information about Maven Support for Tess4J. For how to use tess4j, we recommend you to take a look at the Tess4J usage page and if you need more information about a specific Release we recommend you to take a look at the Release page.

Available Maven Dependency Release Versions

Available Release Versions on Maven Central

<dependency>
    <groupId>net.sourceforge.tess4j</groupId>
    <artifactId>tess4j</artifactId>
    <version>X.X.X</version>
</dependency>

Available Maven Dependency Snapshot Versions

Available Snapshots Versions on Maven Central

<dependency>
    <groupId>net.sourceforge.tess4j</groupId>
    <artifactId>tess4j</artifactId>
    <version>X.X.X-SNAPSHOT</version>
</dependency>

Snapshot Usage

SNAPSHOT versions are not synchronized to the Central Repository. If you wish your users to consume your SNAPSHOT versions, they would need to add the snapshot repository to their Nexus, settings.xml, or pom.xml. Successfully deployed SNAPSHOT versions will be found in https://oss.sonatype.org/content/repositories/snapshots/ Source: http://central.sonatype.org/pages/apache-maven.html#performing-a-snapshot-deployment

So go ahead and add this to your pom.xml:

<profiles>
	<profile>
		<id>allow-snapshots</id>
		<activation>
			<activeByDefault>true</activeByDefault>
		</activation>
		<repositories>
			<repository>
				<id>snapshots-repo</id>
				<url>https://oss.sonatype.org/content/repositories/snapshots</url>
				<releases>
					<enabled>true</enabled>
				</releases>
				<snapshots>
					<enabled>true</enabled>
				</snapshots>
			</repository>
		</repositories>
	</profile>
</profiles>