10000 2.0.0 release by johnnyback · Pull Request #45 · dromara/myth · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.0 release #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
2.0.0 commit .
  • Loading branch information
yu199195 committed Nov 30, 2018
commit ad8b007b8de00fd81d1df3f8a86e702c520a9b19
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private Schema<?> get(final Class<?> cls, final Cache<Class<?>, Schema<?>> cache
* acquire Schema with class.
*
* @param clazz Class
* @return Schema<?>
* @return Schema
*/
public Schema<?> get(final Class<?> clazz) {
return get(clazz, cache);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
* @author xiaoyu
*/
@SuppressWarnings("all")
public class DefaultValueUtils {
public final class DefaultValueUtils {

private static final int ZERO = 0;

/**
* 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)) {
Expand Down
93 changes: 86 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<module>myth-common</module>
<module>myth-core</module>
<module>myth-annotation</module>
<module>myth-demo</module>
<!-- <module>myth-demo</module>-->
<module>myth-rpc</module>
<module>myth-mq</module>
<module>myth-admin</module>
Expand All @@ -26,6 +26,11 @@
<version>1.5.9.RELEASE</version>
</parent>

<organization>
<name>dromara</name>
<url>http://www.dromara.org</url>
</organization>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand All @@ -35,8 +40,16 @@
</licenses>
<scm>
<url>https://github.com/yu199195/myth.git</url>
<connection>scm:git:https://github.com/yu199195/myth</connection>
<developerConnection>scm:git:git@github.com:yu199195/myth</developerConnection>
<tag>${project.version}</tag>
</scm>

<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/yu199195/myth/issues</url>
</issueManagement>

<developers>
<developer>
<id>xiaoyu</id>
Expand Down Expand Up @@ -572,10 +585,76 @@
</plugins>
</build>

<pluginRepositories>
<pluginRepository>
<id>spring-releases</id>
<url>https://repo.spring.io/libs-release</url>
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

</profile>
</profiles>
</project>
0