diff --git a/myth-common/src/main/java/org/dromara/myth/common/serializer/SchemaCache.java b/myth-common/src/main/java/org/dromara/myth/common/serializer/SchemaCache.java index 7c6a9720..9d1781f7 100644 --- a/myth-common/src/main/java/org/dromara/myth/common/serializer/SchemaCache.java +++ b/myth-common/src/main/java/org/dromara/myth/common/serializer/SchemaCache.java @@ -51,7 +51,7 @@ private Schema get(final Class cls, final Cache, Schema> cache * acquire Schema with class. * * @param clazz Class - * @return Schema + * @return Schema */ public Schema get(final Class clazz) { return get(clazz, cache); diff --git a/myth-common/src/main/java/org/dromara/myth/common/utils/DefaultValueUtils.java b/myth-common/src/main/java/org/dromara/myth/common/utils/DefaultValueUtils.java index 8f6d1bfa..991ad949 100644 --- a/myth-common/src/main/java/org/dromara/myth/common/utils/DefaultValueUtils.java +++ b/myth-common/src/main/java/org/dromara/myth/common/utils/DefaultValueUtils.java @@ -9,7 +9,7 @@ * @author xiaoyu */ @SuppressWarnings("all") -public class DefaultValueUtils { +public final class DefaultValueUtils { private static final int ZERO = 0; @@ -17,7 +17,7 @@ public class DefaultValueUtils { * return default object. * * @param clazz class - * @return Object + * @return Object obj */ public static Object getDefaultValue(final Class clazz) throws IllegalAccessException, InvocationTargetException, InstantiationException { if (boolean.class.equals(clazz) || Boolean.class.equals(clazz)) { diff --git a/myth-core/src/main/resources/META-INF/services/org.dromara.myth.core.spi.CoordinatorRepository b/myth-core/src/main/resources/META-INF/services/org.dromara.myth.core.spi.MythCoordinatorRepository similarity index 100% rename from myth-core/src/main/resources/META-INF/services/org.dromara.myth.core.spi.CoordinatorRepository rename to myth-core/src/main/resources/META-INF/services/org.dromara.myth.core.spi.MythCoordinatorRepository diff --git a/myth-spring-boot-starter/pom.xml b/myth-spring-boot-starter/pom.xml index e5bb9cbf..cd414c1e 100644 --- a/myth-spring-boot-starter/pom.xml +++ b/myth-spring-boot-starter/pom.xml @@ -15,7 +15,7 @@ myth-spring-boot-starter-dubbo myth-spring-boot-starter-springcloud - myth-spring-boot-starter-motan + myth-spring-boot-starter-parent diff --git a/pom.xml b/pom.xml index 03c166c4..546ba0ae 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ myth-common myth-core myth-annotation - myth-demo + myth-rpc myth-mq myth-admin @@ -26,6 +26,11 @@ 1.5.9.RELEASE + + dromara + http://www.dromara.org + + Apache License, Version 2.0 @@ -35,8 +40,16 @@ https://github.com/yu199195/myth.git + scm:git:https://github.com/yu199195/myth + scm:git:git@github.com:yu199195/myth + ${project.version} + + GitHub Issues + https://github.com/yu199195/myth/issues + + xiaoyu @@ -530,52 +543,76 @@ - - - - org.apache.maven.plugins - maven-source-plugin - 2.1.2 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - ${jdk.version} - ${jdk.version} - - - - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - v@{project.version} - true - - - - org.codehaus.mojo - versions-maven-plugin - 2.5 - - - - - - - spring-releases - https://repo.spring.io/libs-release - - + + + release + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + ossrh + https://oss.sonatype.org/ + true + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + verify + + sign + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + package + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.3 + + + package + + jar + + + + + + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + \ No newline at end of file