Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7707

${project.basedir} directory creation when running plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.0-alpha-4, 4.0.0-alpha-5
    • 4.0.0-alpha-7, 4.0.0
    • None
    • None

    Description

      When running mvn archetype:generate in a directory without providing a valid pom.xml, a directory named ${project.basedir} is created in the directory where you execute the command from.

      I could be wrong but the reason which leads me to believe it to be in maven-core is that when I put a breakpoint at the start of the exectute() method in the generate mojo the directory is already created.

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              Giovds Giovanni van der Schelde
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: