maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davi Mello (Jira)" <j...@apache.org>
Subject [jira] [Created] (MNG-6743) Maven don't work with argument's
Date Thu, 22 Aug 2019 19:29:00 GMT
Davi Mello created MNG-6743:
-------------------------------

             Summary: Maven don't work with argument's
                 Key: MNG-6743
                 URL: https://issues.apache.org/jira/browse/MNG-6743
             Project: Maven
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.0
         Environment: Files\Java\jdk1.8.0_201\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
            Reporter: Davi Mello


Hi, 

 

When I try to run *mvn io.quarkus:quarkus-maven-plugin:0.20.0:create -DprojectGroupId=org.acme
-DprojectArtifactId=getting-started -DclassName="org.acme.quickstart.GreetingResource" -Dpath="/hello"* dosen't
work return: 
{code:java}
// 
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.210 s
[INFO] Finished at: 2019-08-22T20:24:56+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory
(C:\terasoluna-plus\workspace\quarkus). Please verify you invoked Maven from the correct directory.
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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
{code}
 

But if I just use *mvn io.quarkus:quarkus-maven-plugin:0.20.0:create* works well. 

*mvn -version:* 
{code:java}
// Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T19:41:47+01:00)
Maven home: C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.0\bin\..
Java version: 1.8.0_201, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_201\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message