start by downloading maven from

unzip it somewhere, then assuming your're on windows

1) set an environment variable m2_home to point at the unziped folder.

2) add %m2_home%/bin to your path environment variable

3) go to your home directory (probably c:/users/????? and create a .m2 folder

4) move the settings.xml file from the maven unzippped/conf directory to the directory created in step 3.

5) you may have to set the proxy element correctly in your settings.xml file

it should work.


you might be new to maven, but it explicit the problem here:

repository path /${basedir}/lib does not exist, and cannot be created.

this means that maven could not locate the repository path you are trying to access. or (from the "cannot be created") can't find the directory where to save the content.

as you did not provide pom.xml to look further, you'll have to find all ${basedir}/lib path in your pom.xml and in your maven settings (default to %userprofile%/.m2/settings.xml or $home/.m2/settings.xml), then you may want to

  • try with an absolute path.
  • use an actual http repository where that dependency and child' dependencies are.
  • use a repository server such as sonatype nexus or archiva and provide a mirror/copy of it.


add the below repository in pom or .m2/settings.xml

      <id>grobid repository</id>

Related Query

More Query from same tag