Skip to content

Use TASSEL as a Library (Maven / Gradle)

TASSEL is published to Maven Central, so you can add it to any JVM project (Java or Kotlin) and call its APIs directly instead of shelling out to the command line.

Coordinates

Coordinate Value
Group net.maizegenetics
Artifact tassel
Latest version 5.2.98

Each release publishes four artifacts:

Artifact Classifier Use
tassel-<version>.jar (none) The library. Dependencies resolve through the POM.
tassel-<version>-jar-with-dependencies.jar jar-with-dependencies Self-contained "fat" JAR with every dependency bundled, for environments without dependency resolution.
tassel-<version>-sources.jar sources Sources, for IDE navigation and debugging.
tassel-<version>-javadoc.jar javadoc API documentation.

Skip 5.2.97

The 5.2.97 artifacts on Maven Central are defective: the fat JAR is missing, and the sources and javadoc JARs are copies of the main JAR. Maven Central is immutable, so 5.2.97 cannot be repaired — use 5.2.98 or later.

Add the dependency

// build.gradle.kts
repositories {
    mavenCentral()
}

dependencies {
    implementation("net.maizegenetics:tassel:5.2.98")
}
// build.gradle
repositories {
    mavenCentral()
}

dependencies {
    implementation 'net.maizegenetics:tassel:5.2.98'
}
<!-- pom.xml -->
<dependency>
  <groupId>net.maizegenetics</groupId>
  <artifactId>tassel</artifactId>
  <version>5.2.98</version>
</dependency>

Always up to date

Check the latest published version on Maven Central or the Download page.

Requirements

  • Java 21 or newer. TASSEL is compiled to Java 21 bytecode.
  • (Optional, recommended) OpenBLAS installed on the host for fast native matrix operations used by some analyses.

Verify your setup

After syncing dependencies, confirm TASSEL classes resolve. For example, print the version from the net.maizegenetics package on your classpath, or run a minimal program that imports a TASSEL class such as net.maizegenetics.tassel.TASSELMainFrame.

Next steps