Cocaine-Core

Core classes for Cocaine Application Engine.

License

License

Categories

Categories

Dex General Purpose Libraries Utility
GroupId

GroupId

ru.yandex.cocaine
ArtifactId

ArtifactId

cocaine-core
Last Version

Last Version

0.11.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Cocaine-Core
Core classes for Cocaine Application Engine.
Project Organization

Project Organization

Yandex

Download cocaine-core

How to add to project

<!-- https://jarcasting.com/artifacts/ru.yandex.cocaine/cocaine-core/ -->
<dependency>
    <groupId>ru.yandex.cocaine</groupId>
    <artifactId>cocaine-core</artifactId>
    <version>0.11.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/ru.yandex.cocaine/cocaine-core/
implementation 'ru.yandex.cocaine:cocaine-core:0.11.1.0'
// https://jarcasting.com/artifacts/ru.yandex.cocaine/cocaine-core/
implementation ("ru.yandex.cocaine:cocaine-core:0.11.1.0")
'ru.yandex.cocaine:cocaine-core:jar:0.11.1.0'
<dependency org="ru.yandex.cocaine" name="cocaine-core" rev="0.11.1.0">
  <artifact name="cocaine-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='ru.yandex.cocaine', module='cocaine-core', version='0.11.1.0')
)
libraryDependencies += "ru.yandex.cocaine" % "cocaine-core" % "0.11.1.0"
[ru.yandex.cocaine/cocaine-core "0.11.1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.google.guava : guava jar 17.0
log4j : log4j jar 1.2.17
org.msgpack : msgpack jar 0.6.11

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.hamcrest : hamcrest-core jar 1.3

Project Modules

There are no modules declared in this project.

Cocaine Framework Java

Packages

  • Cocaine Core
  • Cocaine Client
  • Cocaine Client Archetype
  • Cocaine Worker
  • Cocaine Worker Archetype
  • Cocaine Services

Building Cocaine Framework Java with Maven

What you’ll need

Build Java code

You can execute several build lifecycle goals with Maven, including goals to compile the project’s code, create a library package (such as a JAR file), install the library in the local Maven dependency repository and pack sources.

To try out the build, issue the following at the command line:

mvn compile

This will run Maven, telling it to execute the compile goal. When it’s finished, you should find the compiled .class files in the /target/classes directory.

Since it’s unlikely that you’ll want to distribute or work with .class files directly, you’ll probably want to run the package goal instead:

mvn package

The package goal will compile your Java code, run any tests, and finish by packaging the code up in a JAR file within the target directory. The name of the JAR file will be based on the project’s . For example, the JAR files will be named cocaine-core-0.10.5-1.jar and cocaine-services-0.10.5-1.jar.

Maven also maintains a repository of dependencies on your local machine (usually in a ~/.m2/repository directory) for quick access to project dependencies. If you’d like to install JAR files to that local repository, then you should invoke the install goal:

mvn install

The install goal will compile, test, and package code and then copy it into the local dependency repository, ready for another project to reference it as a dependency.

You can also run the source:jar goal:

mvn source:jar

The source:jar goal will package the sources up in a JAR file within the target directory. The name of the JAR file will be based on the project’s . For example, the JAR file will be named cocaine-core-0.10.5-1-sources.jar and cocaine-services-0.10.5-1-sources.jar.

ru.yandex.cocaine

The Cocaine Project

Versions

Version
0.11.1.0
0.11.0.0