You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Amit Misra (Jira)" <ji...@apache.org> on 2022/12/17 22:14:00 UTC

[jira] [Commented] (MWRAPPER-70) Don't require a pom.xml

    [ https://issues.apache.org/jira/browse/MWRAPPER-70?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648945#comment-17648945 ] 

Amit Misra commented on MWRAPPER-70:
------------------------------------

[~ravn] from what I understood from the original issue, _mvnw_ command fails if you run inside a directory that does not have a _pom.xml_ file with the following error message - {_}Goal requires a project to execute but there is no POM in this directory{_}.

Having a _temporary pom.xml_ (generated on the fly) could help in running the _mvnw_ command

> Don't require a pom.xml
> -----------------------
>
>                 Key: MWRAPPER-70
>                 URL: https://issues.apache.org/jira/browse/MWRAPPER-70
>             Project: Maven Wrapper
>          Issue Type: Improvement
>          Components: Maven Wrapper Plugin
>    Affects Versions: 3.1.1
>            Reporter: Falko Modler
>            Priority: Major
>              Labels: up-for-grabs
>
> Occasionally, it would come in handy if you could run the wrapper goal without a pom.xml to prepare a folder from scratch.
> 3.1.1 fails with: "Goal requires a project to execute but there is no POM in this directory"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)