fix(java): parse modules from pom.xml files once (#6312)

This commit is contained in:
DmitriyLewen
2024-03-24 15:57:32 +06:00
committed by GitHub
parent 1b68327b65
commit 7c409fd270
5 changed files with 86 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
<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>
<artifactId>module-2</artifactId>
<groupId>org.example</groupId>
<version>3.0.0</version>
<dependencies>
<dependency>
<groupId>org.example</groupId>
<artifactId>module-1</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,12 @@
<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>
<artifactId>module-1</artifactId>
<groupId>org.example</groupId>
<version>2.0.0</version>
<modules>
<module>module-2</module>
</modules>
</project>