From c3e18d88a5d6797c63f787775011e2566d9dac2c Mon Sep 17 00:00:00 2001 From: Tim Meehan Date: Thu, 5 Dec 2024 10:08:43 -0800 Subject: [PATCH] Add dummy class to fix Nexus release issues Open source nexus deployment requires the creation of a JAR with Javadoc. Because we depend on the code in the `presto-native-execution` module now in other modules for tests, we need to release these artifacts to Nexus along with the rest of the modules we release. Because there is only testing code in this module, it fails during Nexus deployment. Adding a dummy class with Javadoc to allow this artifact to be released. --- .../main/java/com/facebook/presto/Dummy.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 presto-native-execution/src/main/java/com/facebook/presto/Dummy.java diff --git a/presto-native-execution/src/main/java/com/facebook/presto/Dummy.java b/presto-native-execution/src/main/java/com/facebook/presto/Dummy.java new file mode 100644 index 000000000000..363367c5c9f6 --- /dev/null +++ b/presto-native-execution/src/main/java/com/facebook/presto/Dummy.java @@ -0,0 +1,21 @@ +/* + * Licensed 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. + */ +package com.facebook.presto; + +/** + * This class exists to force the creation of a jar for the presto-server module. This is needed to deploy the presto-server module to nexus. + */ +public class Dummy +{ +}