Are you getting any useful info from the Netbeans community?
It does not look like a Maven issue.
Ron
On 29/11/2012 9:58 AM, Froggerbin wrote:
Yes, I knew that NetBeans had its own Maven on board. My external as well as
internal maven work nicely through Windows commandline, but not through
NetBeans. That's the whole problem.
>From commandline here follow the internal maven and external maven
installations:
NetBeans onboard internal Maven:
C:\>mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: E:\Apps\Dev\NetBeans7\NetBeans7.2.1\java\maven\bin\..
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: E:\Apps (x86)\Dev\Java\jdk7u7\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
External Maven (extracted zip):
E:\Apps (x86)\Dev\apachemaven\apache-maven-3.0.4\bin>mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: E:\Apps (x86)\Dev\apachemaven\apache-maven-3.0.4\bin\..
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: E:\Apps (x86)\Dev\Java\jdk7u7\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
I tried using both the internal Maven and the external maven in NetBeans through the
options you said (options->java->maven) but it still doesn't work.
-----Original Message-----
From: Stadelmann Josef [mailto:[email protected]]
Sent: woensdag 28 november 2012 9:55
To: Maven Users List
Subject: AW: MissingProjectException
Hi
Do you know that NetBeans has its own maven on board?
C:\Program Files\NetBeans 7.2\java\maven\bin
Your EXTERNAL maven - pointed to by MAVEN_HOME or M2_HOME might work nicely,
i.e. USE $ mvn -version as a always first to check and tell us a bit more about
what you have.
In order to use this external maven with NetBeans, at NetBeans goto /tools
/options
/tab to JAVA
/tab to MAVEN
and enter the path to the root of your external maven i.e.
or the same as you have in M2_HOME
but not as a multi part path,
only as a single path is allowed there
E:\Users\C770817\SW-UMGEBUNG\apache-maven-3.0.5
If you already toke notice of that, or know that, then you are on a good way.
Josef
-----Ursprüngliche Nachricht-----
Von: Froggerbin [mailto:[email protected]]
Gesendet: Mittwoch, 28. November 2012 00:03
An: 'Maven Users List'; [email protected]
Betreff: RE: MissingProjectException
To me it simply looks like the " character is being escaped with "\ on both sides: "\"
sample \""
I figure NetBeans did this because the path contains spaces, therefor if the "
are escaped, then the \ have to be escaped as well, hence the double \.
That is simply supposed to be mvn.bat that resides in the Maven installation
directory. In that case it's an external Maven. Internal or external, I tried
both and the problem remained.
-----Original Message-----
From: Ron Wheeler [mailto:[email protected]]
Sent: dinsdag 27 november 2012 23:59
To: [email protected]
Subject: Re: MissingProjectException
On 27/11/2012 4:07 PM, Froggerbin wrote:
"\"E:\\Apps (x86)\\Dev\\apachemaven\\apache-maven-3.0.4\\bin\\mvn.bat\""
This looks very odd and I am not sure how any normal parser is going to deal
with this.
What is it supposed to be?
Ron
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]