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,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.1.0">
|
||||
<modelVersion>4.1.0</modelVersion>
|
||||
|
||||
<parent/>
|
||||
|
||||
<artifactId>m4-app</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<!-- 4.1.0: no <version> needed for a sibling subproject -->
|
||||
<dependency>
|
||||
<groupId>com.ankurm.m4</groupId>
|
||||
<artifactId>m4-lib</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.ankurm.m4.app;
|
||||
|
||||
import com.ankurm.m4.Greeter;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(Greeter.greet("reader"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user