This repository is an example of how to get the January Project to work on an other project with maven.
-
Compile the project using the following command:
mvn clean package
-
You can now run the basic example with:
mvn exec:java
-
Add this to the maven settings.xml file to allow snapshots:
<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>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> </profile> </profiles>
-
Comment out the January dependency, and remove comments of the January-SNAPSHOT and common-math3 dependencies