-
-
Notifications
You must be signed in to change notification settings - Fork 109
Maven usage
Axel Kramer edited this page Feb 20, 2026
·
11 revisions
Using Maven, add the following to your pom.xml if you want to use the core (and gpl module which is licensed under GPL) library in your Java program:
<dependencies>
<dependency>
<groupId>org.matheclipse</groupId>
<artifactId>matheclipse-core</artifactId>
<version>3.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.matheclipse</groupId>
<artifactId>matheclipse-gpl</artifactId>
<version>3.1.1-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>orekit</id>
<url>https://packages.orekit.org/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>maven-central-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<layout>default</layout>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>If you would like to use the fast integer factorization, add this after Symja initialization:
Config.PRIME_FACTORS = new BigIntegerPrimality();
and run
mvn clean install
With the following command you can run the Symja console from the command line
mvn exec:java -pl matheclipse-io
With the following command you can run a Symja console with a Mathematica-compatible syntax and function names
mvn exec:java@mma -pl matheclipse-io
With the following command you can build a fat jar which contains all needed classes
mvn assembly:single -pl matheclipse-io
You can create the dependency tree of the Mevn modules with the command
mvn dependency:tree