Hi all,

I recently got a request from one of our users to compile a fat SystemML
jar that he can include in his Java project.

Here are possible options:

1. Compiling a fat jar using the following command and including it as
"system" dependency:
mvn clean package -P standalone-jar

2. If the project is using maven, it's probably good to use a maven-centric
approach:
<dependency>
<groupId>org.apache.systemml</groupId>
<artifactId>systemml</artifactId>
<version>0.12.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.10</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.10</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-mllib_2.10</artifactId>
<version>1.4.1</version>
</dependency>

Since other users might have similar requirements, I thought of moving the
discussion to the dev mailing list. Also, this thread might be a good place
to explain other maven profiles :)

Thanks,

Niketan Pansare
IBM Almaden Research Center
E-mail: npansar At us.ibm.com
http://researcher.watson.ibm.com/researcher/view.php?person=us-npansar

Reply via email to