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

[jira] [Commented] (MNG-7448) if we delete bin directory in apache-maven/src, we can not find because git has ignore it .

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

Daqian Liao commented on MNG-7448:
----------------------------------

The fact is that the bin directory does not contain any source code. However, the bin directory contains the command to run mvn. 

!image-2022-05-06-20-32-09-746.png!

At first, I wanted to learn the Maven source code, so I downloaded the source code to my computer. After learning for a period of time, I pushed the code to my GitHub repository. After I changed my computer and pulled back the code from the remote repository, I compiled and packaged it and found that I couldn't find the mvn in the bin directory.

 

> if we delete bin directory in apache-maven/src, we can not find because git has ignore it .
> -------------------------------------------------------------------------------------------
>
>                 Key: MNG-7448
>                 URL: https://issues.apache.org/jira/browse/MNG-7448
>             Project: Maven
>          Issue Type: Improvement
>          Components: build/consumer
>    Affects Versions: 3.8.5
>            Reporter: Daqian Liao
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>         Attachments: bin.png, image-2022-05-06-20-21-25-587.png, image-2022-05-06-20-32-09-746.png
>
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> when we download sourcecode, and push code to github, the apache-maven/src/bin directory will not be pushed.
> If we delete bin directory in apache-maven/src, we can not find because git has ignore it .
> The reason is that .gitignore file contains bin at line 6。
> fix: delete bin/ from .gitignore
> !bin.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)