diff --git a/document-ai/snippets/pom.xml b/document-ai/pom.xml similarity index 93% rename from document-ai/snippets/pom.xml rename to document-ai/pom.xml index ca6dfa280cf..3cd45cc7ac9 100644 --- a/document-ai/snippets/pom.xml +++ b/document-ai/pom.xml @@ -1,11 +1,11 @@ <?xml version='1.0' encoding='UTF-8'?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>com.google.cloud</groupId> + <groupId>com.example.documentai</groupId> <artifactId>documentai-snippets</artifactId> <packaging>jar</packaging> <name>Google Document AI Snippets</name> - <url>https://github.com/googleapis/java-document-ai</url> + <url>https://github.com/GoogleCloudPlatform/java-docs-samples/tree/main/document-ai</url> <!-- The parent pom defines common style checks and testing strategies for our samples. diff --git a/document-ai/snippets/resources/document_quality_poor.pdf b/document-ai/resources/document_quality_poor.pdf similarity index 100% rename from document-ai/snippets/resources/document_quality_poor.pdf rename to document-ai/resources/document_quality_poor.pdf diff --git a/document-ai/snippets/resources/handwritten_form.pdf b/document-ai/resources/handwritten_form.pdf similarity index 100% rename from document-ai/snippets/resources/handwritten_form.pdf rename to document-ai/resources/handwritten_form.pdf diff --git a/document-ai/snippets/resources/invoice.pdf b/document-ai/resources/invoice.pdf similarity index 100% rename from document-ai/snippets/resources/invoice.pdf rename to document-ai/resources/invoice.pdf diff --git a/document-ai/snippets/resources/multi_document.pdf b/document-ai/resources/multi_document.pdf similarity index 100% rename from document-ai/snippets/resources/multi_document.pdf rename to document-ai/resources/multi_document.pdf diff --git a/document-ai/snippets/resources/us_driver_license.pdf b/document-ai/resources/us_driver_license.pdf similarity index 100% rename from document-ai/snippets/resources/us_driver_license.pdf rename to document-ai/resources/us_driver_license.pdf diff --git a/document-ai/snippets/src/main/java/documentai/v1/BatchProcessDocument.java b/document-ai/src/main/java/documentai/v1/BatchProcessDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1/BatchProcessDocument.java rename to document-ai/src/main/java/documentai/v1/BatchProcessDocument.java diff --git a/document-ai/snippets/src/main/java/documentai/v1/ProcessDocument.java b/document-ai/src/main/java/documentai/v1/ProcessDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1/ProcessDocument.java rename to document-ai/src/main/java/documentai/v1/ProcessDocument.java diff --git a/document-ai/snippets/src/main/java/documentai/v1/QuickStart.java b/document-ai/src/main/java/documentai/v1/QuickStart.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1/QuickStart.java rename to document-ai/src/main/java/documentai/v1/QuickStart.java diff --git a/document-ai/snippets/src/main/java/documentai/v1beta3/ProcessFormDocument.java b/document-ai/src/main/java/documentai/v1beta3/ProcessFormDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1beta3/ProcessFormDocument.java rename to document-ai/src/main/java/documentai/v1beta3/ProcessFormDocument.java diff --git a/document-ai/snippets/src/main/java/documentai/v1beta3/ProcessOcrDocument.java b/document-ai/src/main/java/documentai/v1beta3/ProcessOcrDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1beta3/ProcessOcrDocument.java rename to document-ai/src/main/java/documentai/v1beta3/ProcessOcrDocument.java diff --git a/document-ai/snippets/src/main/java/documentai/v1beta3/ProcessQualityDocument.java b/document-ai/src/main/java/documentai/v1beta3/ProcessQualityDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1beta3/ProcessQualityDocument.java rename to document-ai/src/main/java/documentai/v1beta3/ProcessQualityDocument.java diff --git a/document-ai/snippets/src/main/java/documentai/v1beta3/ProcessSpecializedDocument.java b/document-ai/src/main/java/documentai/v1beta3/ProcessSpecializedDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1beta3/ProcessSpecializedDocument.java rename to document-ai/src/main/java/documentai/v1beta3/ProcessSpecializedDocument.java diff --git a/document-ai/snippets/src/main/java/documentai/v1beta3/ProcessSplitterDocument.java b/document-ai/src/main/java/documentai/v1beta3/ProcessSplitterDocument.java similarity index 100% rename from document-ai/snippets/src/main/java/documentai/v1beta3/ProcessSplitterDocument.java rename to document-ai/src/main/java/documentai/v1beta3/ProcessSplitterDocument.java diff --git a/document-ai/snippets/src/test/java/documentai/v1/BatchProcessDocumentTest.java b/document-ai/src/test/java/documentai/v1/BatchProcessDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1/BatchProcessDocumentTest.java rename to document-ai/src/test/java/documentai/v1/BatchProcessDocumentTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1/ProcessDocumentTest.java b/document-ai/src/test/java/documentai/v1/ProcessDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1/ProcessDocumentTest.java rename to document-ai/src/test/java/documentai/v1/ProcessDocumentTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1/QuickStartTest.java b/document-ai/src/test/java/documentai/v1/QuickStartTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1/QuickStartTest.java rename to document-ai/src/test/java/documentai/v1/QuickStartTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1beta3/ProcessFormDocumentTest.java b/document-ai/src/test/java/documentai/v1beta3/ProcessFormDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1beta3/ProcessFormDocumentTest.java rename to document-ai/src/test/java/documentai/v1beta3/ProcessFormDocumentTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1beta3/ProcessOcrDocumentTest.java b/document-ai/src/test/java/documentai/v1beta3/ProcessOcrDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1beta3/ProcessOcrDocumentTest.java rename to document-ai/src/test/java/documentai/v1beta3/ProcessOcrDocumentTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1beta3/ProcessQualityDocumentTest.java b/document-ai/src/test/java/documentai/v1beta3/ProcessQualityDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1beta3/ProcessQualityDocumentTest.java rename to document-ai/src/test/java/documentai/v1beta3/ProcessQualityDocumentTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1beta3/ProcessSpecializedDocumentTest.java b/document-ai/src/test/java/documentai/v1beta3/ProcessSpecializedDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1beta3/ProcessSpecializedDocumentTest.java rename to document-ai/src/test/java/documentai/v1beta3/ProcessSpecializedDocumentTest.java diff --git a/document-ai/snippets/src/test/java/documentai/v1beta3/ProcessSplitterDocumentTest.java b/document-ai/src/test/java/documentai/v1beta3/ProcessSplitterDocumentTest.java similarity index 100% rename from document-ai/snippets/src/test/java/documentai/v1beta3/ProcessSplitterDocumentTest.java rename to document-ai/src/test/java/documentai/v1beta3/ProcessSplitterDocumentTest.java