Skip to content

Commit

Permalink
🎉 pom修改与文档完善.
Browse files Browse the repository at this point in the history
  • Loading branch information
CCweixiao committed Sep 7, 2020
1 parent dc489e8 commit 13fd385
Show file tree
Hide file tree
Showing 12 changed files with 263 additions and 230 deletions.
19 changes: 19 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2020 weixiao

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions change-model-version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
mvn versions:set -DnewVersion=$1
35 changes: 3 additions & 32 deletions hbase-manager-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand All @@ -14,7 +14,7 @@
<url>https://www.jielongping.com</url>
<name>hbase-manager-admin</name>

<description>hbase-manager-admin服务入口</description>
<description>hbase-manager-admin web入口</description>

<dependencies>

Expand Down Expand Up @@ -129,6 +129,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<classesDirectory>target/classes/</classesDirectory>
<excludes>
Expand Down Expand Up @@ -168,34 +169,4 @@

</build>

<!-- <build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.1.1.RELEASE</version>
<configuration>
<fork>true</fork> &lt;!&ndash; 如果没有该配置,devtools不会生效 &ndash;&gt;
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<warName>${project.artifactId}</warName>
</configuration>
</plugin>
</plugins>
<finalName>${project.artifactId}</finalName>
</build>-->

</project>
345 changes: 171 additions & 174 deletions hbase-manager-admin/src/main/resources/sql/hbase-manager.sql

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hbase-manager-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion hbase-manager-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion hbase-manager-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
3 changes: 2 additions & 1 deletion hbase-manager-hbase/hbase-manager-hbase-1.x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<packaging>jar</packaging>
<artifactId>hbase-manager-hbase-1.x</artifactId>


Expand Down
5 changes: 3 additions & 2 deletions hbase-manager-hbase/hbase-manager-hbase-2.x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<packaging>jar</packaging>
<artifactId>hbase-manager-hbase-2.x</artifactId>

<dependencies>
Expand All @@ -19,7 +20,7 @@
</dependency>
<dependency>
<groupId>com.github.CCweixiao</groupId>
<artifactId>spring-boot-starter-hbase</artifactId>
<artifactId>spring-boot-starter-hbase_1.4</artifactId>
</dependency>
<!-- SpringBoot Web容器 -->
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion hbase-manager-quartz/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion hbase-manager-system/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>hbase-manager</artifactId>
<groupId>com.leo</groupId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
74 changes: 58 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

<groupId>com.leo</groupId>
<artifactId>hbase-manager</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>

<name>hbase-manager</name>
<url>https://www.jielongping.com</url>
<description>若依管理系统</description>
<description>HBaseManager表管理系统</description>

<properties>
<hbase-manager.version>1.0.0</hbase-manager.version>
<hbase-manager.version>${project.version}</hbase-manager.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
Expand All @@ -32,6 +32,35 @@
<velocity.version>1.7</velocity.version>
</properties>

<licenses>
<!-- 开源协议 -->
<license>
<name>MIT License</name>
<url>http://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<scm>
<!-- scm 信息 -->
<url>https://github.com/CCweixiao/hbase-manager</url>
<connection>https://github.com/CCweixiao/hbase-manager.git</connection>
</scm>

<developers>
<!-- 开发者信息 -->
<developer>
<id>leojie</id>
<name>leojie</name>
<url>https://www.jielongping.com</url>
<email>[email protected]</email>
<roles>
<role>Developer</role>
</roles>
<organization>bigdata</organization>
<timezone>+8</timezone>
</developer>
</developers>

<!-- 依赖声明 -->
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -232,6 +261,8 @@
<module>hbase-manager-quartz</module>
<module>hbase-manager-generator</module>
<module>hbase-manager-common</module>
<module>hbase-manager-hbase/hbase-manager-hbase-1.x</module>
<module>hbase-manager-hbase/hbase-manager-hbase-2.x</module>
</modules>

<packaging>pom</packaging>
Expand All @@ -246,11 +277,34 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.5.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerVersion>${java.version}</compilerVersion>
<encoding>${project.build.sourceEncoding}</encoding>
<optimize>true</optimize>
<maxmem>1024m</maxmem>
<fork>true</fork>
<compilerArgs>
<arg>-Xlint:all,-serial,-path</arg>
</compilerArgs>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.3</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
</plugins>
Expand Down Expand Up @@ -281,18 +335,6 @@
</pluginRepository>
</pluginRepositories>

<developers>
<developer>
<name>leojie</name>
<id>leojie</id>
<email>[email protected]</email>
<roles>
<role>Developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>

<profiles>
<profile>
<id>hbase1.x</id>
Expand Down

0 comments on commit 13fd385

Please sign in to comment.