forked from tywo45/t-io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tywo45#19 from weifuchuan/to-add-websocket-client
To add websocket client
- Loading branch information
Showing
39 changed files
with
2,925 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
echo off | ||
echo - | ||
echo #下载源代码 | ||
echo mvn dependency:sources | ||
echo - | ||
|
||
echo #下载源代码jar。 -DdownloadJavadocs=true 下载javadoc包 | ||
echo -DdownloadSources=true | ||
echo - | ||
echo - | ||
|
||
|
||
|
||
echo #将jar解压出来 | ||
echo mvn dependency:unpack-dependencies | ||
echo - | ||
|
||
echo #将jar拷贝到某一目录中(所有jar在同一目录中) | ||
echo mvn dependency:copy-dependencies -Dmdep.useRepositoryLayout=false | ||
echo - | ||
|
||
echo #将jar按仓库目录拷贝出来() | ||
echo mvn dependency:copy-dependencies -Dmdep.useRepositoryLayout=true -Dmdep.copyPom=true | ||
echo - | ||
echo - | ||
|
||
|
||
|
||
echo #检查版本更新 | ||
echo mvn versions:display-dependency-updates | ||
echo - | ||
|
||
echo #版本变更 | ||
echo mvn versions:set -DnewVersion=4.0.0-talent-999 | ||
echo - | ||
|
||
|
||
call cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
echo off | ||
echo - | ||
echo #下载源代码 | ||
echo mvn dependency:sources | ||
echo - | ||
|
||
echo #下载源代码jar。 -DdownloadJavadocs=true 下载javadoc包 | ||
echo -DdownloadSources=true | ||
echo - | ||
echo - | ||
|
||
|
||
|
||
echo #将jar解压出来 | ||
echo mvn dependency:unpack-dependencies | ||
echo - | ||
|
||
echo #将jar拷贝到某一目录中(所有jar在同一目录中) | ||
echo mvn dependency:copy-dependencies -Dmdep.useRepositoryLayout=false | ||
echo - | ||
|
||
echo #将jar按仓库目录拷贝出来() | ||
echo mvn dependency:copy-dependencies -Dmdep.useRepositoryLayout=true -Dmdep.copyPom=true | ||
echo - | ||
echo - | ||
|
||
|
||
|
||
echo #检查版本更新 | ||
echo mvn versions:display-dependency-updates | ||
echo - | ||
|
||
echo #版本变更 | ||
echo mvn versions:set -DnewVersion=4.0.0-talent-999 | ||
echo - | ||
|
||
|
||
call mvn versions:display-dependency-updates | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
call mvn -Dmaven.test.skip=true clean install | ||
|
||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
call mvn -Dmaven.test.skip=true clean install | ||
|
||
rem call rd ..\..\..\..\dist\examples\im\server /s /q | ||
rem call xcopy target\dist\tio-core-showcase-im-server-3.3.0.v20190512-RELEASE ..\..\..\..\dist\examples\im\server\ /s /e /q /y | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
call mvn -Dmaven.test.skip=true clean package | ||
|
||
|
||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.t-io</groupId> | ||
<artifactId>tio-websocket-client</artifactId> | ||
<version>3.3.0.v20190512-BETA</version> | ||
|
||
<parent> | ||
<groupId>org.t-io</groupId> | ||
<artifactId>tio-websocket-parent</artifactId> | ||
<version>3.3.0.v20190512-RELEASE</version> | ||
<relativePath>../parent/pom.xml</relativePath> | ||
</parent> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.t-io</groupId> | ||
<artifactId>tio-websocket-common</artifactId> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>io.reactivex.rxjava2</groupId> | ||
<artifactId>rxjava</artifactId> | ||
<version>2.2.8</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.testng</groupId> | ||
<artifactId>testng</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
</manifest> | ||
<addMavenDescriptor>false</addMavenDescriptor><!-- 生成的jar中,不要包含pom.xml和pom.properties这两个文件 --> | ||
</archive> | ||
|
||
<excludes> | ||
<exclude>**/config/**/*</exclude> | ||
|
||
<exclude>app.conf</exclude> | ||
<exclude>logback.properties</exclude> | ||
<exclude>logback.xml</exclude> | ||
</excludes> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<assembly> | ||
<!-- http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html --> | ||
<id>dist</id> | ||
<formats> | ||
<!-- zip,tar.gz,tar.bz2,jar,dir,war --> | ||
<format>dir</format> | ||
</formats> | ||
|
||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<fileSets> | ||
|
||
<!-- 把项目的配置文件放config目录 --> | ||
<fileSet> | ||
<directory>${project.basedir}/src/main/resources</directory> | ||
<outputDirectory>config</outputDirectory> | ||
</fileSet> | ||
|
||
<fileSet> | ||
<directory>${project.basedir}</directory> | ||
<outputDirectory></outputDirectory> | ||
<includes> | ||
<include>startup.*</include> | ||
<include>debug.*</include> | ||
<include>_cmd.*</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
|
||
|
||
|
||
<dependencySets> | ||
<dependencySet> | ||
<outputDirectory>lib</outputDirectory> | ||
</dependencySet> | ||
</dependencySets> | ||
</assembly> |
Oops, something went wrong.