Skip to content

Commit

Permalink
Refactor project dir and remove pom module (#14850)
Browse files Browse the repository at this point in the history
* Refactor project dir and remove pom module

Signed-off-by: “JermaineHua” <crazyhzm@gmail.com>

* Fix format

Signed-off-by: “JermaineHua” <crazyhzm@gmail.com>

---------

Signed-off-by: “JermaineHua” <crazyhzm@gmail.com>
  • Loading branch information
CrazyHZM authored Nov 21, 2024
1 parent a0e39ca commit ac679e2
Show file tree
Hide file tree
Showing 26 changed files with 226 additions and 323 deletions.
1 change: 0 additions & 1 deletion .artifacts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ dubbo-configcenter-zookeeper
dubbo-core-spi
dubbo-dependencies-all
dubbo-dependencies-bom
dubbo-distribution
dubbo-filter-cache
dubbo-filter-validation
dubbo-kubernetes
Expand Down
4 changes: 2 additions & 2 deletions dubbo-demo/dubbo-demo-api/dubbo-demo-api-interface/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-demo</artifactId>
<artifactId>dubbo-demo-api</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>dubbo-demo-api-interface</artifactId>
Expand Down
21 changes: 2 additions & 19 deletions dubbo-demo/dubbo-demo-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-demo</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>dubbo-demo-api</artifactId>
Expand All @@ -38,21 +38,4 @@
<spring-boot-maven-plugin.version>2.7.18</spring-boot-maven-plugin.version>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
4 changes: 2 additions & 2 deletions dubbo-demo/dubbo-demo-spring-boot-idl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-demo</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>dubbo-demo-spring-boot-idl</artifactId>
Expand Down
3 changes: 2 additions & 1 deletion dubbo-demo/dubbo-demo-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-demo</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>dubbo-demo-spring-boot</artifactId>
Expand Down
40 changes: 0 additions & 40 deletions dubbo-demo/pom.xml

This file was deleted.

4 changes: 2 additions & 2 deletions dubbo-distribution/dubbo-apache-release/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-distribution</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>dubbo-apache-release</artifactId>
<packaging>pom</packaging>
Expand Down
13 changes: 0 additions & 13 deletions dubbo-distribution/dubbo-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,6 @@
<artifactId>dubbo-dependencies-bom</artifactId>
<version>${project.version}</version>
</dependency>

<!-- distribution -->
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-distribution</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo</artifactId>
Expand Down Expand Up @@ -267,11 +259,6 @@
</dependency>

<!-- plugin -->
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-auth</artifactId>
Expand Down
125 changes: 0 additions & 125 deletions dubbo-distribution/pom.xml

This file was deleted.

15 changes: 13 additions & 2 deletions dubbo-plugin/dubbo-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-plugin</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
<relativePath>../../pom.xml</relativePath>
</parent>

<artifactId>dubbo-auth</artifactId>
Expand All @@ -42,5 +42,16 @@
<artifactId>dubbo-rpc-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-test-check</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
15 changes: 13 additions & 2 deletions dubbo-plugin/dubbo-compiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-plugin</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../pom.xml</relativePath>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>dubbo-compiler</artifactId>
<packaging>jar</packaging>
Expand Down Expand Up @@ -59,6 +59,17 @@
<groupId>com.salesforce.servicelibs</groupId>
<artifactId>grpc-contrib</artifactId>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-test-check</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
14 changes: 13 additions & 1 deletion dubbo-plugin/dubbo-filter-cache/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-plugin</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>dubbo-filter-cache</artifactId>
<packaging>jar</packaging>
Expand All @@ -46,5 +47,16 @@
<version>${hazelcast_version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-test-check</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
14 changes: 13 additions & 1 deletion dubbo-plugin/dubbo-filter-validation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-plugin</artifactId>
<artifactId>dubbo-parent</artifactId>
<version>${revision}</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>dubbo-filter-validation</artifactId>
<packaging>jar</packaging>
Expand Down Expand Up @@ -76,5 +77,16 @@
<version>${jaxb_api_version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-test-check</artifactId>
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit ac679e2

Please sign in to comment.