Add maven4-build-vs-consumer-pom: Maven 4.0.0-rc-7 build POM vs consumer POM, lifecycle hooks, mvnup, mvnd
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
$ diff -u legacy-m3/pom.xml (before) .../pom.xml (after)
|
||||
@@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- A deliberately "Maven 3 style" project: model 4.0.0, <modules>, no plugin versions, ${pom.version}. -->
|
||||
-<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
+<project xmlns="http://maven.apache.org/POM/4.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
- <modelVersion>4.0.0</modelVersion>
|
||||
+ xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
|
||||
<groupId>com.ankurm.legacy</groupId>
|
||||
<artifactId>legacy-parent</artifactId>
|
||||
@@ -11,13 +10,16 @@
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<properties>
|
||||
- <maven.compiler.source>17</maven.compiler.source>
|
||||
- <maven.compiler.target>17</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<banner>legacy ${pom.version}</banner>
|
||||
</properties>
|
||||
|
||||
- <modules>
|
||||
- <module>core</module>
|
||||
- </modules>
|
||||
+ <build>
|
||||
+ <sources>
|
||||
+ <source>
|
||||
+ <targetVersion>17</targetVersion>
|
||||
+ </source>
|
||||
+ </sources>
|
||||
+
|
||||
+ </build>
|
||||
</project>
|
||||
|
||||
$ diff -u core/pom.xml
|
||||
@@ -1,14 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
-<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
+<project xmlns="http://maven.apache.org/POM/4.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
- <modelVersion>4.0.0</modelVersion>
|
||||
+ xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
|
||||
|
||||
<parent>
|
||||
- <groupId>com.ankurm.legacy</groupId>
|
||||
- <artifactId>legacy-parent</artifactId>
|
||||
- <version>1.0.0-SNAPSHOT</version>
|
||||
- </parent>
|
||||
+</parent>
|
||||
|
||||
<artifactId>legacy-core</artifactId>
|
||||
</project>
|
||||
Reference in New Issue
Block a user