Skip to content

Commit

Permalink
Merge pull request #30 from chickenlj/api-maven-dependency
Browse files Browse the repository at this point in the history
Update api module pom.xml
  • Loading branch information
chickenlj authored Dec 26, 2023
2 parents 62a5546 + 1ce5b28 commit 45ea83b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ public class ApiMavenPluginCustomizer implements BuildCustomizer<MavenBuild> {
public void customize(MavenBuild build) {
build.plugins().remove("org.apache.maven.plugins", "maven-compiler-plugin");
build.plugins().remove("org.springframework.boot", "spring-boot-maven-plugin");
build.dependencies().ids().toList().forEach(id -> {
build.dependencies().remove(id);
});
}

@Override
public int getOrder() {
return 3;
return Integer.MAX_VALUE;
}
}
10 changes: 8 additions & 2 deletions initializer-generator/src/main/resources/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1203,9 +1203,15 @@ initializr:
name: Multi Modules
subModules:
- name: api
description: "The Dubbo service API definitions defined in the project."
description: |
The Dubbo service API definitions, run the following command to deploy it to maven repository:
```shell
mvn clean deploy
```
- name: service
description: "The real business logics of the project."
description: |
The real business logics of the project. You can provide service implementations or call other services.
main: true
dependModules: 'api'
# - id: mvc
Expand Down

0 comments on commit 45ea83b

Please sign in to comment.