Skip to content

Commit

Permalink
调整项目结构,将 Java utils 独立出来
Browse files Browse the repository at this point in the history
  • Loading branch information
王震(达摩) committed Sep 30, 2019
1 parent ef512da commit 01fd401
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 964 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,3 @@
+ Elasticsearch
+ Phoenix dbcp
+ Kudu

其他工具:

+ Mail
+ Gson
+ Html charset
+ UserAgent
+ AES
+ Base64
+ Log count
+ Thread CountableThreadPool
+ Cache CacheModule
+ DateUtils
+ JavaScriptUtils
105 changes: 48 additions & 57 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@
</dependency>

<!-- hive -->
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-jdbc</artifactId>
<version>1.1.0-cdh${cdh.version}</version>
<exclusions>
<exclusion>
<artifactId>mail</artifactId>
<groupId>javax.mail</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.apache.hive</groupId>-->
<!-- <artifactId>hive-jdbc</artifactId>-->
<!-- <version>1.1.0-cdh${cdh.version}</version>-->
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <artifactId>mail</artifactId>-->
<!-- <groupId>javax.mail</groupId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->

<!-- druid -->
<dependency>
Expand Down Expand Up @@ -132,70 +132,61 @@
<version>2.9.0</version>
</dependency>

<!-- html code-->
<dependency>
<groupId>info.monitorenter</groupId>
<artifactId>cpdetector</artifactId>
<version>1.0.10</version>
</dependency>
<dependency>
<groupId>org.mozilla.intl</groupId>
<artifactId>chardet</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
</dependency>

<!-- Gson -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.5</version>
</dependency>

<!-- mail -->
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
</dependency>

<!-- useragent -->
<dependency>
<groupId>nl.basjes.parse.useragent</groupId>
<artifactId>yauaa</artifactId>
<version>5.8</version>
</dependency>

<!-- fastjson -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.47</version>
</dependency>

<!-- kudu -->
<!-- https://repository.cloudera.com/artifactory/cloudera-repos/ -->
<dependency>
<groupId>org.apache.kudu</groupId>
<artifactId>kudu-client</artifactId>
<version>1.5.0-cdh5.13.1</version>
<version>1.10.0-cdh6.3.1</version>
</dependency>

<!-- httpclient -->
<!-- log -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.4.1</version>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
<version>4.4.1</version>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
<version>${log4j.version}</version>
</dependency>
</dependencies>

<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>*</id>-->
<!-- <name>Central Repository</name>-->
<!-- <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>-->
<!-- <layout>default</layout>-->
<!-- <snapshots>-->
<!-- <enabled>true</enabled>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- </repositories>-->

<build>
<plugins>
<plugin>
Expand Down
85 changes: 0 additions & 85 deletions src/main/java/cn/wangz/clientutil/cache/CacheModule.java

This file was deleted.

69 changes: 0 additions & 69 deletions src/main/java/cn/wangz/clientutil/crypto/AESUtils.java

This file was deleted.

36 changes: 0 additions & 36 deletions src/main/java/cn/wangz/clientutil/json/GsonUtil.java

This file was deleted.

Loading

0 comments on commit 01fd401

Please sign in to comment.