-
Notifications
You must be signed in to change notification settings - Fork 271
Developer's Guide
The easiest way to get and use ParSeq is with a dependency management tool, such as Ivy or Maven. These and similar tools will automatically get all required dependencies for ParSeq.
You can also download the binaries, but you must also download ParSeq's dependencies (see the pom for a list of dependencies).
Lastly, if you want the very latest code or want to make changes to ParSeq, you can build ParSeq from source.
ParSeq releases are hosted on the Maven Central Repository. We provide steps for integration with two common dependency management tools in the following subsections.
To integrate with an Gradle project, add the snippet below to your build.gradle file. Change the version value to the release you intend to consume.
dependencies {
compile group: 'com.linkedin.parseq', name: 'parseq', version:'3.0.0'
}
To integrate with an Ivy project, add the code block below to your ivy file. Make sure to update *rev* to the release you intend to consume (for example: 2.0.5).
<dependency org="com.linkedin.parseq" name="parseq" rev="*rev*" />
To integrate with a Maven project, add the code block below to your pom file. Make sure to update *version* to the release you intend to consume (for example: 2.0.5).
<dependency>
<groupId>com.linkedin.parseq</groupId>
<artifactId>parseq</artifactId>
<version>2.0.5</version>
</dependency>
To build ParSeq from source, download and install the following build pre-requisites:
- Java JDK 1.8.
- Apache Ant 1.8.2 or later.
- Optionally node.js and npm for trace visualization.
To build ParSeq:
-
Clone the ParSeq repository:
git clone git://github.com/linkedin/parseq.git -
Use
ant testto verify that the source code passes all unit tests. If you do not have node.js installed, you can skip the javascript tests with:ant -Dno.test.tracevis=1 test -
Use
ant distto build the ParSeq library into the dist directory.