Skip to content

Commit

Permalink
chore: add dummy aggregation parent pom for development alibaba#223
Browse files Browse the repository at this point in the history
simplify the development process for all cola modules including examples modules, e.g.

- maven test/install
- import to IDE
  • Loading branch information
oldratlee committed Feb 4, 2022
1 parent 4472f2c commit 438d76c
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<mybatis-starter.version>1.3.1</mybatis-starter.version>
<spring-boot.version>2.1.3.RELEASE</spring-boot.version>
<cola.components.version>4.2.0-SNAPSHOT</cola.components.version>

<spring-boot.version>2.1.3.RELEASE</spring-boot.version>
<mybatis-starter.version>1.3.1</mybatis-starter.version>
</properties>

<modules>
Expand All @@ -29,7 +30,7 @@

<dependencyManagement>
<dependencies>
<!--cola components-->
<!--COLA components-->
<dependency>
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-component-dto</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<mybatis-starter.version>1.3.1</mybatis-starter.version>
<spring-boot.version>2.1.3.RELEASE</spring-boot.version>
<cola.components.version>4.2.0-SNAPSHOT</cola.components.version>

<spring-boot.version>2.1.3.RELEASE</spring-boot.version>
<mybatis-starter.version>1.3.1</mybatis-starter.version>
</properties>

<modules>
Expand Down
32 changes: 32 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<!--
a dummy aggregation parent pom for development.
simplify the development process for all cola modules including examples modules, e.g.
- maven test/install
- import to IDE
-->
<groupId>com.alibaba.cola</groupId>
<artifactId>cola-dummy-aggregation-parent</artifactId>
<version>dummy</version>
<packaging>pom</packaging>

<modules>
<module>cola-components</module>
<module>cola-archetypes</module>

<module>samples/craftsman</module>
</modules>

<properties>
<!--
skip maven deploy for cola-dump-aggregation-parent
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skip
-->
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
</project>
15 changes: 12 additions & 3 deletions samples/craftsman/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?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/maven-v4_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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.alibaba.craftsman</groupId>
Expand All @@ -9,13 +10,21 @@
<name>craftsman.all</name>

<properties>
<!--
skip maven deploy for modules of examples
https://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#skip
-->
<maven.deploy.skip>true</maven.deploy.skip>

<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<mybatis-starter.version>1.3.1</mybatis-starter.version>
<spring-boot.version>2.1.3.RELEASE</spring-boot.version>

<cola.framework.version>4.2.0-SNAPSHOT</cola.framework.version>

<spring-boot.version>2.1.3.RELEASE</spring-boot.version>
<mybatis-starter.version>1.3.1</mybatis-starter.version>
</properties>

<modules>
Expand Down

0 comments on commit 438d76c

Please sign in to comment.