-
Notifications
You must be signed in to change notification settings - Fork 137
Configure Maven
Maven is a software project management and comprehension tool, which could manage a project's build, reporting and documentation from a central piece of information. The VS Code Azure Functions Extension use maven to generate Java Function project. Please ensure you have already downloaded maven and set the PATH correctly before you create Java Functions.
You could download maven from Apache Maven
-
Unpack the archive where you would like to store the binaries
-
Make sure JAVA_HOME is set to the location of your JDK
-
Add the bin directory to your PATH, e.g.:
-
Unix-based operating systems (Linux, Solaris and Mac OS X)
export PATH=/usr/local/apache-maven-3.x.y/bin:$PATH
-
Windows
set PATH="c:\program files\apache-maven-3.x.y\bin";%PATH%
-
-
Run
mvn --version
to verify that it is correctly installed.
NOTE: Please restart vscode to make the path effective when you finish the steps above.