on-internet
← Community

Netbeans 7.x: Maven creates my project in the wrong directory

Stack Overflow ·

I cannot get Netbeans 7.3.1 to create a Maven Web Application in the directory I specify. OS: Windows 7 x64 NetBeans: 7.3.1 Maven: 3.0.4/3.0.5 I am using the NetBeans GUI and its internal Maven 3.0.5 for creating that type of project. It always creates the project in the root of my D:\ drive, regardless of which folder I specify. Here's an example: After I click the 'finish' button after having provided all the needed parameters to create the project: > cd D:\Java\Test; JAVA_HOME=D:\\Java\\jdk6update23 "M2_HOME=D:\\Program Files (x86)\\maven\\apache-maven-3.0.4" > "\"D:\\Program Files > (x86)\

Comments

Sign in or sign up to comment and upvote.

No comments yet.