blackducksoftware / ohcount4j

Line counting and language identification tool
Apache License 2.0
18 stars 8 forks source link

Publish artifacts #33

Closed jgustie closed 8 years ago

jgustie commented 8 years ago

See issue #24.

This PR:

  1. Upgrades Gradle from 2.10 to 2.14
  2. Changes the group ID (duplicates #30)
  3. Adds a Maven publication we can send to JFrog
  4. Publishes coverage to Coveralls
  5. Publishes to either Bintray or OSS JFrog on every CI build

In order to perform a release, you just update the project version to drop the snapshot and tag the commit. Push it (real good). Increment the version, adding the snapshot back, and push that after the Travis build completes successfully.

coveralls commented 8 years ago

Coverage Status

Changes Unknown when pulling 7a8bb763e97de581f365d3d00242d37e7bd948d0 on jgustie:dev/issues/24-publish-artifacts into \ on blackducksoftware:master**.

mydimension commented 8 years ago

any reason you removed the additional jdk travis builds? (and the before_cache directive?)

jdk:
    - oraclejdk8
    - oraclejdk7
    - openjdk7
before_cache:
    - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
jgustie commented 8 years ago

Honestly I just took what I had done in BDIO which only had the single JDK. I'm not convinced we need the extra jobs run, but I'll stick them back in. Also, I double checked the Travis documentation on the module lock file and it looks like they even recommend wiping out more then just that file. I'll update that to the latest as well.

coveralls commented 8 years ago

Coverage Status

Changes Unknown when pulling 839dee97bafaf3f38e39cc998e26a72eb95743e6 on jgustie:dev/issues/24-publish-artifacts into \ on blackducksoftware:master**.

jgustie commented 8 years ago

Once this is merged, you can get Ohcount4j releases from http://dl.bintray.com/bds/oss and snapshots from https://oss.jfrog.org/artifactory/oss-snapshot-local.

mydimension commented 8 years ago

@blackducksoftware/ohcount4j-fab-five : go-nogo to merge?