Hi,
On the latest master branch, when we try to run any single IT in the
project root by running:
mvn verify -Dinvoker.test=bom-flattenMode
We see the following build failure:
*[ERROR] The following builds failed:*
*[ERROR] * setup-customarchive-maven-plugin/pom.xml*
build.log shows:
[ERROR] The goal you specified requires a project to execute but there is
no POM in this directory
(/usr/local/google/home/stephwang/Desktop/stephdev/flatten-maven-plugin/target/it/setup-customarchive-maven-plugin).
Please verify you invoked Maven from the correct directory. -> [Help 1]
org.apache.maven.lifecycle.MissingProjectException: The goal you specified
requires a project to execute but there is no POM in this directory
(/usr/local/google/home/stephwang/Desktop/stephdev/flatten-maven-plugin/target/it/setup-customarchive-maven-plugin).
Please verify you invoked Maven from the correct directory.
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
(LifecycleStarter.java:85)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch
(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main
(Launcher.java:347)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException
Has anyone else seen this? Any idea how to fix?
My local env is:
Maven home: /usr/local/google/home/stephwang/opt/maven/latest
Java version: 1.8.0_181-google-v7, vendor: Google Inc., runtime:
/usr/local/buildtools/java/jdk8-google-v7-64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.2.17-1rodete3-amd64", arch: "amd64", family:
"unix"
Thanks!
--
You received this message because you are subscribed to the Google Groups
"mojohaus-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mojohaus-dev/bdd85172-7391-4a60-ab22-ca4e8974b12a%40googlegroups.com.