Re: Unknown lifecycle phase " ".
Thank you very much, Robert. Got it.. Replacing only required elements from the working command worked... On Tue, Jan 7, 2020 at 1:27 PM Robert Scholte wrote: > My guess is that the problem is not in the pom, but in the commandline. > Looks like your mvn command contains/ends with a character that looks like > a space, but is not. > > thanks, Robert > On 7-1-2020 18:30:34, sireindera...@gmail.com > wrote: > Adding users group too.. > > mvn -version > > *Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)* > > Maven home: /Users//apache-maven-3.6.3 > > Java version: 1.8.0_231, vendor: Oracle Corporation, runtime: > /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac" > > On Tue, Jan 7, 2020 at 12:23 PM Tomo Suzuki > wrote: > > > (I feel users@maven.apache.org is suitable place) > > What's command to get the error? > > What does "mvn -version" say? > > > > On Tue, Jan 7, 2020 at 12:15 PM sireindera...@gmail.com > > wrote: > > > > > > Team, > > > > > > I am facing the below issue. I am attaching the pom file here for your > > reference…. > > > > > > I am facing the same issue even when I change the version. To 1.7 and > > change target to tasks > > > > > > > > > == > > > [ERROR] Unknown lifecycle phase " ". You must specify a valid lifecycle > > phase or a goal in the format : or > > :[:]:. Available > > lifecycle phases are: validate, initialize, generate-sources, > > process-sources, generate-resources, process-resources, compile, > > process-classes, generate-test-sources, process-test-sources, > > generate-test-resources, process-test-resources, test-compile, > > process-test-classes, test, prepare-package, package, > pre-integration-test, > > integration-test, post-integration-test, verify, install, deploy, > > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> > > [Help 1] > > > org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown > > lifecycle phase " ". You must specify a valid lifecycle phase or a goal > in > > the format : or > > :[:]:. Available > > lifecycle phases are: validate, initialize, generate-sources, > > process-sources, generate-resources, process-resources, compile, > > process-classes, generate-test-sources, process-test-sources, > > generate-test-resources, process-test-resources, test-compile, > > process-test-classes, test, prepare-package, package, > pre-integration-test, > > integration-test, post-integration-test, verify, install, deploy, > > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. > > > == > > > > > > Thanks in advance for your help. > > > > > > > > > - > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > > > > > -- > > Regards, > > Tomo > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > >
Re: Unknown lifecycle phase " ".
Adding users group too.. mvn -version *Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)* Maven home: /Users//apache-maven-3.6.3 Java version: 1.8.0_231, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac" On Tue, Jan 7, 2020 at 12:23 PM Tomo Suzuki wrote: > (I feel users@maven.apache.org is suitable place) > What's command to get the error? > What does "mvn -version" say? > > On Tue, Jan 7, 2020 at 12:15 PM sireindera...@gmail.com > wrote: > > > > Team, > > > > I am facing the below issue. I am attaching the pom file here for your > reference…. > > > > I am facing the same issue even when I change the version. To 1.7 and > change target to tasks > > > > > > == > > [ERROR] Unknown lifecycle phase " ". You must specify a valid lifecycle > phase or a goal in the format : or > :[:]:. Available > lifecycle phases are: validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-test, > integration-test, post-integration-test, verify, install, deploy, > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> > [Help 1] > > org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown > lifecycle phase " ". You must specify a valid lifecycle phase or a goal in > the format : or > :[:]:. Available > lifecycle phases are: validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-test, > integration-test, post-integration-test, verify, install, deploy, > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. > > == > > > > Thanks in advance for your help. > > > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > -- > Regards, > Tomo > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >
Re: Unknown lifecycle phase " ".
My guess is that the problem is not in the pom, but in the commandline. Looks like your mvn command contains/ends with a character that looks like a space, but is not. thanks, Robert On 7-1-2020 18:30:34, sireindera...@gmail.com wrote: Adding users group too.. mvn -version *Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)* Maven home: /Users//apache-maven-3.6.3 Java version: 1.8.0_231, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac" On Tue, Jan 7, 2020 at 12:23 PM Tomo Suzuki wrote: > (I feel users@maven.apache.org is suitable place) > What's command to get the error? > What does "mvn -version" say? > > On Tue, Jan 7, 2020 at 12:15 PM sireindera...@gmail.com > wrote: > > > > Team, > > > > I am facing the below issue. I am attaching the pom file here for your > reference…. > > > > I am facing the same issue even when I change the version. To 1.7 and > change target to tasks > > > > > > == > > [ERROR] Unknown lifecycle phase " ". You must specify a valid lifecycle > phase or a goal in the format : or > :[:]:. Available > lifecycle phases are: validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-test, > integration-test, post-integration-test, verify, install, deploy, > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> > [Help 1] > > org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown > lifecycle phase " ". You must specify a valid lifecycle phase or a goal in > the format : or > :[:]:. Available > lifecycle phases are: validate, initialize, generate-sources, > process-sources, generate-resources, process-resources, compile, > process-classes, generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, pre-integration-test, > integration-test, post-integration-test, verify, install, deploy, > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. > > == > > > > Thanks in advance for your help. > > > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > -- > Regards, > Tomo > > - > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > >
Re: Unknown lifecycle phase " ".
What command did you run to get the error? I guess you put some unnecessary white space when you run Maven. https://stackoverflow.com/questions/18697461/unknown-lifecycle-phase-maven I could not reproduce the problem: https://gist.github.com/suztomo/1b053683be08928598ea141f330bb167 Regards, Tomo On Tue, Jan 7, 2020 at 12:30 PM sireindera...@gmail.com wrote: > > Adding users group too.. > > mvn -version > > *Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)* > > Maven home: /Users//apache-maven-3.6.3 > > Java version: 1.8.0_231, vendor: Oracle Corporation, runtime: > /Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac" > > On Tue, Jan 7, 2020 at 12:23 PM Tomo Suzuki > wrote: > > > (I feel users@maven.apache.org is suitable place) > > What's command to get the error? > > What does "mvn -version" say? > > > > On Tue, Jan 7, 2020 at 12:15 PM sireindera...@gmail.com > > wrote: > > > > > > Team, > > > > > > I am facing the below issue. I am attaching the pom file here for your > > reference…. > > > > > > I am facing the same issue even when I change the version. To 1.7 and > > change target to tasks > > > > > > > > > == > > > [ERROR] Unknown lifecycle phase " ". You must specify a valid lifecycle > > phase or a goal in the format : or > > :[:]:. Available > > lifecycle phases are: validate, initialize, generate-sources, > > process-sources, generate-resources, process-resources, compile, > > process-classes, generate-test-sources, process-test-sources, > > generate-test-resources, process-test-resources, test-compile, > > process-test-classes, test, prepare-package, package, pre-integration-test, > > integration-test, post-integration-test, verify, install, deploy, > > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> > > [Help 1] > > > org.apache.maven.lifecycle.LifecyclePhaseNotFoundException: Unknown > > lifecycle phase " ". You must specify a valid lifecycle phase or a goal in > > the format : or > > :[:]:. Available > > lifecycle phases are: validate, initialize, generate-sources, > > process-sources, generate-resources, process-resources, compile, > > process-classes, generate-test-sources, process-test-sources, > > generate-test-resources, process-test-resources, test-compile, > > process-test-classes, test, prepare-package, package, pre-integration-test, > > integration-test, post-integration-test, verify, install, deploy, > > pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. > > > == > > > > > > Thanks in advance for your help. > > > > > > > > > - > > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > > > > > -- > > Regards, > > Tomo > > > > - > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > -- Regards, Tomo - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: warning 3.3.9
My advise: Leave the statement as it is. Do not feed trolls. Am 07.01.2020 um 12:03 schrieb Bernd Eckenfels: Booch Grady told me industrial strength software is beyond the Intellect of maven developers . Is that intended as an insult or just a joke I dont understand? Greetings Bernd - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: warning 3.3.9
> Booch Grady told me industrial strength > software is beyond the > Intellect of maven developers . Is that intended as an insult or just a joke I dont understand? Greetings Bernd