You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by yz...@apache.org on 2021/02/13 22:29:03 UTC

[mnemonic] branch master updated: MNEMONIC-617: Replace mnemonic-core dependency with mnemonic-common in mnemonic-memory-service

This is an automated email from the ASF dual-hosted git repository.

yzhao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git


The following commit(s) were added to refs/heads/master by this push:
     new 4814a8e  MNEMONIC-617: Replace mnemonic-core dependency with mnemonic-common in mnemonic-memory-service
4814a8e is described below

commit 4814a8e7d7a98eea255734c6729de3a36a148ba6
Author: Xiaojin Jiao <xj...@gmail.com>
AuthorDate: Fri Feb 12 17:01:42 2021 -0800

    MNEMONIC-617: Replace mnemonic-core dependency with mnemonic-common in mnemonic-memory-service
    
    Signed-off-by: Xiaojin Jiao <xj...@gmail.com>
---
 .../apache/mnemonic/ConfigurationException.java    | 29 ++++++++++++++++++++++
 mnemonic-memory-services/pom.xml                   |  2 +-
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/mnemonic-common/src/main/java/org/apache/mnemonic/ConfigurationException.java b/mnemonic-common/src/main/java/org/apache/mnemonic/ConfigurationException.java
new file mode 100644
index 0000000..11b7047
--- /dev/null
+++ b/mnemonic-common/src/main/java/org/apache/mnemonic/ConfigurationException.java
@@ -0,0 +1,29 @@
+/*
+ * 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.
+ */
+package org.apache.mnemonic;
+
+public class ConfigurationException extends RuntimeException {
+  /**
+   * 
+   */
+  private static final long serialVersionUID = -5833073069136059211L;
+
+  public ConfigurationException(String msg) {
+    super(msg);
+  }
+}
diff --git a/mnemonic-memory-services/pom.xml b/mnemonic-memory-services/pom.xml
index 2fa9739..d3e0eb8 100644
--- a/mnemonic-memory-services/pom.xml
+++ b/mnemonic-memory-services/pom.xml
@@ -51,7 +51,7 @@
   <dependencies>
     <dependency>
       <groupId>org.apache.mnemonic</groupId>
-      <artifactId>mnemonic-core</artifactId>
+      <artifactId>mnemonic-common</artifactId>
       <version>${project.version}</version>
       <scope>compile</scope>
     </dependency>