From 7c403a7cd09674cc7a7417d62b2d76650c10fa8b Mon Sep 17 00:00:00 2001 From: Martin Paljak Date: Sat, 11 Nov 2017 14:11:04 +0200 Subject: [PATCH] Fix camo and prepare for Maven --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index af280f9..17a6743 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# apdu4j · [![Build Status](https://travis-ci.org/martinpaljak/apdu4j.svg?branch=master)](https://travis-ci.org/martinpaljak/apdu4j) [![Coverity status](https://scan.coverity.com/projects/3664/badge.svg?flat=1)](https://scan.coverity.com/projects/3664/) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.martinpaljak/apdu4j/badge.svg)](https://mvnrepository.com/artifact/com.github.martinpaljak/apdu4j) [![Javadocs](https://www.javadoc.io/badge/com.github.martinpaljak/apdu4j.svg)](https://www.javadoc.io/doc/com.github.martinpaljak/apdu4j) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/martinpaljak/apdu4j/blob/master/LICENSE) +# apdu4j · [![Build Status](https://travis-ci.org/martinpaljak/apdu4j.svg?branch=master)](https://travis-ci.org/martinpaljak/apdu4j) [![Coverity status](https://scan.coverity.com/projects/3664/badge.svg?flat=1)](https://scan.coverity.com/projects/3664/) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.martinpaljak/apdu4j/badge.svg)](https://mvnrepository.com/artifact/com.github.martinpaljak/apdu4j) [![Javadocs](https://www.javadoc.io/badge/com.github.martinpaljak/apdu4j.svg?stupidcamocache)](https://www.javadoc.io/doc/com.github.martinpaljak/apdu4j) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/martinpaljak/apdu4j/blob/master/LICENSE) Command line tool and library of useful Java classes for working with smart cards and smart card readers via [JSR268](https://jcp.org/en/jsr/detail?id=268) (commonly known as [javax.smartcardio](https://docs.oracle.com/javase/8/docs/jre/api/security/smartcardio/spec/javax/smartcardio/package-summary.html)). While focus is on desktop PC/SC readers, some code can be re-used with arbitrary "APDU-command-response-ish" interfaces, either as [CommandAPDU](https://docs.oracle.com/javase/8/docs/jre/api/security/smartcardio/spec/javax/smartcardio/CommandAPDU.html)/[ResponseAPDU](https://docs.oracle.com/javase/8/docs/jre/api/security/smartcardio/spec/javax/smartcardio/ResponseAPDU.html) pairs or plain byte arrays. @@ -23,8 +23,9 @@ Command line tool and library of useful Java classes for working with smart card * Or fetch from github and build it yourself, it is really easy (more instructions in [CONTRIBUTING](./CONTRIBUTING.md): ```shell -git clone --recursive https://github.com/martinpaljak/apdu4j +git clone https://github.com/martinpaljak/apdu4j cd apdu4j +mvn package ant ``` @@ -109,6 +110,17 @@ ant add ```-verbose``` or ```-v``` to your command ### Usage from Java +Include the dependency + +```xml + + + com.github.martinpaljak + apdu4j + 0.0.37 + +``` + More information can be found from [Javadocs](https://martinpaljak.github.io/apdu4j), which are always improving. Before anything make sure you set the necessary properties to make javax.smartcardio work without tuning: