Giter Site home page Giter Site logo

mbhd-maven's Introduction

MultiBit HD Maven

A Maven staging repository for use with automated build tools. This allows for faster releaes cycles that do not depend on Maven Central.

The intention is that released artifacts from here will be migrated to Maven Central if they are not forks.

DO NOT RELY ON SNAPSHOTS FOR PRODUCTION !

These snapshots are not actively maintained beyond what Bitcoin Solutions developers need for their immediate purposes. There is no guarantee which branch they were lifted from or if they are a mangled fork of the upstream original.

Always use the final releases from the official upstream repositories in your own code.

You can rely on the releases, but again it is better to use official upstream repositories for projects that are forks.

Configuring your downstream projects to use this repo

To allow Travis builds that use Maven artifacts that are not in Maven Central, provide the following entry into your parent POM:

<repositories>
    <!-- Define the MultiBit staging repository for releases and snapshots -->
    <!-- Use https://raw.github.com to provide a consistent result -->
    <repository>
      <id>mbhd-maven-release</id>
      <url>https://raw.github.com/bitcoin-solutions/mbhd-maven/master/releases</url>
      <releases/>
    </repository>
    <repository>
      <id>mbhd-maven-snapshot</id>
      <url>https://raw.github.com/bitcoin-solutions/mbhd-maven/master/snapshots</url>
      <!-- These artifacts change frequently during development iterations -->
      <snapshots>
        <updatePolicy>always</updatePolicy>
      </snapshots>
    </repository>

  </repositories>

Your Travis file .travis.yml should look like this:

language: java
jdk:
  - oraclejdk7
  - openjdk7

Your project README.md should contain a build status indicator like this (for a repo referenced as bitcoin-solutions/project):

Build status: [![Build Status](https://travis-ci.org/bitcoin-solutions/project.png?branch=develop)](https://travis-ci.org/bitcoin-solutions/project)

Bitcoin Solutions staff only: Use Ant to quickly update artifacts

Only Bitcoin Solutions staff with commit access need to do this.

First create a build.properties file representing your own repo:

repo=/var/maven/repo

Build the project with mvn -DcreateChecksum=true clean install and ensure it succeeds. Ideally it should have sources and javadocs provided.

Then run the default target for the build.xml, for example:

$ ant

This will then copy all the relevant artifacts into this repo. Then do the usual git commit and push.

mbhd-maven's People

Contributors

gary-rowe avatar jim618 avatar

Watchers

 avatar  avatar  avatar  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.