Skip to content

Commit

Permalink
chore: make version more maintainable and change it to 0.1.0 (#35)
Browse files Browse the repository at this point in the history
* chore: make version more maintainable and change it to 0.1.0

* feat: add flatten-maven-plugin

* chore: refine gitignore
  • Loading branch information
archerny authored Jan 11, 2023
1 parent a4057c0 commit 6505fec
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 27 deletions.
10 changes: 3 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
Expand All @@ -30,6 +24,8 @@ target
.classpath
.project
.settings
**/.flattened-pom.xml
**/.flattened-pom.xml.bak

# IDEA files
*.iml
*.iml
2 changes: 1 addition & 1 deletion ceresdb-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-all</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-example</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-grpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-http</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-protocol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-protocol</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-rpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-rpc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-sql-javacc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-sql-javacc</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion ceresdb-sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>ceresdb-client</artifactId>
<groupId>io.ceresdb</groupId>
<version>0.1.0-RC</version>
<version>${revision}</version>
</parent>

<artifactId>ceresdb-sql</artifactId>
Expand Down
45 changes: 34 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
<?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">
<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>io.ceresdb</groupId>
<artifactId>ceresdb-client</artifactId>
<version>0.1.0-RC</version>
<version>${revision}</version>
<packaging>pom</packaging>

<name>ceresdb-client</name>
<description>CeresDBClient is a high-performance Java client for CeresDB. CeresDB is a high-performance, distributed, schema-less, cloud native time-series database that can handle both time-series and analytics workloads.</description>
<url>https://github.com/CeresDB/ceresdb-client-java</url>
<description>Official Java client implementation for CeresDB.</description>
<url>https://github.com/CeresDB</url>

<licenses>
<license>
Expand All @@ -21,12 +22,8 @@

<developers>
<developer>
<name>zuliang.wzl</name>
<email>zuliangwanghust@gmail.com</email>
</developer>
<developer>
<name>weirong.cwr</name>
<email>weirong.cwr@gmail.com</email>
<name>ceresdb team</name>
<email>ceresdbservice@gmail.com</email>
</developer>
</developers>

Expand Down Expand Up @@ -78,6 +75,8 @@
<okio.version>2.8.0</okio.version>
<project.encoding>UTF-8</project.encoding>
<protobuf.version>3.21.7</protobuf.version>
<!-- according to https://maven.apache.org/maven-ci-friendly.html -->
<revision>0.1.0</revision>
<slf4j.version>1.7.21</slf4j.version>
</properties>

Expand Down Expand Up @@ -453,8 +452,32 @@
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>


</project>

0 comments on commit 6505fec

Please sign in to comment.