From 5483653b53f6efe24d7dcc8d3ac56c215aefc8a9 Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Sat, 27 Oct 2018 03:02:36 +0000 Subject: [PATCH 1/2] Moved Java source files into new subdirectories for Maven standard layout. --- java/{ => src/main/java}/io/nayuki/qrcodegen/BitBuffer.java | 0 .../main/java}/io/nayuki/qrcodegen/DataTooLongException.java | 0 java/{ => src/main/java}/io/nayuki/qrcodegen/QrCode.java | 0 .../main/java}/io/nayuki/qrcodegen/QrCodeGeneratorDemo.java | 0 .../main/java}/io/nayuki/qrcodegen/QrCodeGeneratorWorker.java | 0 java/{ => src/main/java}/io/nayuki/qrcodegen/QrSegment.java | 0 .../main/java}/io/nayuki/qrcodegen/QrSegmentAdvanced.java | 0 java/{ => src/main/java}/io/nayuki/qrcodegen/package-info.java | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename java/{ => src/main/java}/io/nayuki/qrcodegen/BitBuffer.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/DataTooLongException.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/QrCode.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/QrCodeGeneratorDemo.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/QrCodeGeneratorWorker.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/QrSegment.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/QrSegmentAdvanced.java (100%) rename java/{ => src/main/java}/io/nayuki/qrcodegen/package-info.java (100%) diff --git a/java/io/nayuki/qrcodegen/BitBuffer.java b/java/src/main/java/io/nayuki/qrcodegen/BitBuffer.java similarity index 100% rename from java/io/nayuki/qrcodegen/BitBuffer.java rename to java/src/main/java/io/nayuki/qrcodegen/BitBuffer.java diff --git a/java/io/nayuki/qrcodegen/DataTooLongException.java b/java/src/main/java/io/nayuki/qrcodegen/DataTooLongException.java similarity index 100% rename from java/io/nayuki/qrcodegen/DataTooLongException.java rename to java/src/main/java/io/nayuki/qrcodegen/DataTooLongException.java diff --git a/java/io/nayuki/qrcodegen/QrCode.java b/java/src/main/java/io/nayuki/qrcodegen/QrCode.java similarity index 100% rename from java/io/nayuki/qrcodegen/QrCode.java rename to java/src/main/java/io/nayuki/qrcodegen/QrCode.java diff --git a/java/io/nayuki/qrcodegen/QrCodeGeneratorDemo.java b/java/src/main/java/io/nayuki/qrcodegen/QrCodeGeneratorDemo.java similarity index 100% rename from java/io/nayuki/qrcodegen/QrCodeGeneratorDemo.java rename to java/src/main/java/io/nayuki/qrcodegen/QrCodeGeneratorDemo.java diff --git a/java/io/nayuki/qrcodegen/QrCodeGeneratorWorker.java b/java/src/main/java/io/nayuki/qrcodegen/QrCodeGeneratorWorker.java similarity index 100% rename from java/io/nayuki/qrcodegen/QrCodeGeneratorWorker.java rename to java/src/main/java/io/nayuki/qrcodegen/QrCodeGeneratorWorker.java diff --git a/java/io/nayuki/qrcodegen/QrSegment.java b/java/src/main/java/io/nayuki/qrcodegen/QrSegment.java similarity index 100% rename from java/io/nayuki/qrcodegen/QrSegment.java rename to java/src/main/java/io/nayuki/qrcodegen/QrSegment.java diff --git a/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java b/java/src/main/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java similarity index 100% rename from java/io/nayuki/qrcodegen/QrSegmentAdvanced.java rename to java/src/main/java/io/nayuki/qrcodegen/QrSegmentAdvanced.java diff --git a/java/io/nayuki/qrcodegen/package-info.java b/java/src/main/java/io/nayuki/qrcodegen/package-info.java similarity index 100% rename from java/io/nayuki/qrcodegen/package-info.java rename to java/src/main/java/io/nayuki/qrcodegen/package-info.java From 8e54f6ffa656520ca85d4d58b7970a3e35bf0bed Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Fri, 2 Nov 2018 00:37:35 +0000 Subject: [PATCH 2/2] Added a working Maven pom.xml file, in order to release the library on The Central Repository. The POM content was made with tremendous help from these reference documentation: - https://maven.apache.org/pom.html - https://central.sonatype.org/pages/apache-maven.html --- java/pom.xml | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 java/pom.xml diff --git a/java/pom.xml b/java/pom.xml new file mode 100644 index 0000000..9945163 --- /dev/null +++ b/java/pom.xml @@ -0,0 +1,94 @@ + + + 4.0.0 + + io.nayuki + qrcodegen + 1.4.0 + jar + + UTF-8 + 1.8 + 1.8 + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + + + QR Code generator library + High quality QR Code generator library + https://www.nayuki.io/page/qr-code-generator-library + 2016 + + + The MIT License + https://opensource.org/licenses/MIT + repo + + + + + Project Nayuki + me@nayuki.io + https://www.nayuki.io/ + + + + + scm:git:git://github.com/nayuki/QR-Code-generator.git + scm:git:ssh://github.com:nayuki/QR-Code-generator.git + https://github.com/nayuki/QR-Code-generator/tree/master/java + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + +