Git Product home page Git Product logo

cocaine-framework-java's Introduction

Cocaine Framework Java

Packages

  • Cocaine Core
  • 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.

cocaine-framework-java's People

Contributors

antonbobukh avatar bogdad avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.