Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 982 Bytes

README.adoc

File metadata and controls

41 lines (36 loc) · 982 Bytes

MvnTestJanuary

Introduction

This repository is an example of how to get the January Project to work on an other project with maven.

How-to

  • Compile the project using the following command:

mvn clean package
  • You can now run the basic example with:

mvn exec:java

How-to snapshot

  • 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