Skip to content

Enable Maven 4 build#499

Open
Bukama wants to merge 2 commits into
apache:masterfrom
Bukama:mvn4
Open

Enable Maven 4 build#499
Bukama wants to merge 2 commits into
apache:masterfrom
Bukama:mvn4

Conversation

@Bukama
Copy link
Copy Markdown
Contributor

@Bukama Bukama commented May 12, 2026

No description provided.

@Bukama
Copy link
Copy Markdown
Contributor Author

Bukama commented May 12, 2026

[ERROR] Failed to execute goal on project war-module-one: Could not resolve dependencies for project org.apache.maven.its.ear.skinnywars:war-module-one:war:1.0
[ERROR] dependency: eartest:jar-sample-one:jar:1.0-SNAPSHOT (compile)
[ERROR] 	Could not find artifact eartest:jar-sample-one:jar:1.0-SNAPSHOT in local.central (file:///C:/Users/matth/.m2/repository)
[ERROR] 	Could not find artifact eartest:jar-sample-one:jar:1.0-SNAPSHOT in local.snapshot (file://D:\Github\Maven\maven-ear-plugin\target\test-classes/m2snapshots)
[ERROR] 	Prefix eartest/jar-sample-one/1.0-SNAPSHOT/jar-sample-one-1.0-SNAPSHOT.jar NOT allowed from central (https://repo.maven.apache.org/maven2, default, releases): The following artifacts could not be resolved: eartest:jar-sample-one:jar:1.0-SNAPSHOT (absent): Could not find artifact eartest:jar-sample-one:jar:1.0-SNAPSHOT in local.central (file:///C:/Users/matth/.m2/repository)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project war-module-one: Could not resolve dependencies for project org.apache.maven.its.ear.skinnywars:war-module-one:war:1.0
dependency: eartest:jar-sample-one:jar:1.0-SNAPSHOT (compile)
	Could not find artifact eartest:jar-sample-one:jar:1.0-SNAPSHOT in local.central (file:///C:/Users/matth/.m2/repository)
	Could not find artifact eartest:jar-sample-one:jar:1.0-SNAPSHOT in local.snapshot (file://D:\Github\Maven\maven-ear-plugin\target\test-classes/m2snapshots)
	Prefix eartest/jar-sample-one/1.0-SNAPSHOT/jar-sample-one-1.0-SNAPSHOT.jar NOT allowed from central (https://repo.maven.apache.org/maven2, default, releases)



[INFO] Building: skinny-wars-timestamp\pom.xml
[INFO] run post-build script verify.bsh
[INFO]   java.lang.IllegalStateException: Missing file: D:\Github\Maven\maven-ear-plugin\target\it\skinny-wars-timestamp\war-module-one\target\war-module-one-1.0.war
[INFO]           skinny-wars-timestamp\pom.xml .................... FAILED (2.456 s)

@Bukama Bukama marked this pull request as ready for review May 12, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants