Cocaine-Framework-Java

Java framework for Cocaine Application Engine.

License

License

Categories

Categories

Dex General Purpose Libraries Utility
GroupId

GroupId

ru.yandex
ArtifactId

ArtifactId

cocaine
Last Version

Last Version

0.11.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Cocaine-Framework-Java
Java framework for Cocaine Application Engine.
Project URL

Project URL

https://github.com/cocaine/cocaine-framework-java
Project Organization

Project Organization

Yandex
Source Code Management

Source Code Management

https://github.com/cocaine/cocaine-framework-java

Download cocaine

Filename Size
cocaine-0.11.1.0.pom 6 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • cocaine-core
  • cocaine-client
  • cocaine-worker
  • cocaine-services
  • cocaine-worker-archetype
  • cocaine-client-archetype

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

The Cocaine Project

Versions

Version
0.11.1.0
0.11.0.0