diff --git a/pulsar-client-admin-api/pom.xml b/pulsar-client-admin-api/pom.xml index 505c234850dd1..af2ed6f00232e 100644 --- a/pulsar-client-admin-api/pom.xml +++ b/pulsar-client-admin-api/pom.xml @@ -45,11 +45,6 @@ ${project.parent.version} - - ${project.groupId} - pulsar-package-core - ${project.version} - diff --git a/pulsar-package-management/core/src/main/java/org/apache/pulsar/packages/management/core/common/PackageMetadata.java b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/common/PackageMetadata.java similarity index 100% rename from pulsar-package-management/core/src/main/java/org/apache/pulsar/packages/management/core/common/PackageMetadata.java rename to pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/common/PackageMetadata.java diff --git a/pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/common/package-info.java b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/common/package-info.java new file mode 100644 index 0000000000000..12302ebdf53f5 --- /dev/null +++ b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/common/package-info.java @@ -0,0 +1,23 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/** + * Packages management general classes. + */ +package org.apache.pulsar.packages.management.core.common; diff --git a/pulsar-package-management/core/src/main/java/org/apache/pulsar/packages/management/core/exceptions/PackagesManagementException.java b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/exceptions/PackagesManagementException.java similarity index 100% rename from pulsar-package-management/core/src/main/java/org/apache/pulsar/packages/management/core/exceptions/PackagesManagementException.java rename to pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/exceptions/PackagesManagementException.java diff --git a/pulsar-package-management/core/src/main/java/org/apache/pulsar/packages/management/core/exceptions/package-info.java b/pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/exceptions/package-info.java similarity index 100% rename from pulsar-package-management/core/src/main/java/org/apache/pulsar/packages/management/core/exceptions/package-info.java rename to pulsar-client-admin-api/src/main/java/org/apache/pulsar/packages/management/core/exceptions/package-info.java diff --git a/pulsar-package-management/core/pom.xml b/pulsar-package-management/core/pom.xml index 52efa8cc0b380..ef1b19defb781 100644 --- a/pulsar-package-management/core/pom.xml +++ b/pulsar-package-management/core/pom.xml @@ -33,6 +33,12 @@ Apache Pulsar :: Package Management :: Core + + ${project.groupId} + pulsar-client-admin-api + ${project.parent.version} + + com.google.guava guava