mojohaus / exec-maven-plugin

Exec Maven Plugin
https://www.mojohaus.org/exec-maven-plugin/
Apache License 2.0
166 stars 97 forks source link

Fails to run when pom.xml is not in the current directory with Maven 4-alpha-13 #425

Closed lprimak closed 5 months ago

lprimak commented 5 months ago

Maven 3 works fine, but maven 4 fails:

[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (sass-exec) on project jbake-maven: Execution sass-exec of goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec failed: Cannot invoke "org.codehaus.plexus.PlexusContainer.lookup(String)" because the return value of "org.apache.maven.execution.MavenSession.getContainer()" is null -> [Help 1]

Command line: mvn verify -f jbake-maven/

lprimak commented 5 months ago

Works with 3.2