Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
Hi All, I am getting following error while using mvn install though mvn package is working fine. I did entire cleanup, restarted machine too. What could be the possible reasons ? [INFO] [ERROR] FATAL ERROR [INFO]

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
JINDAL, Mukta, IDC schrieb: Hi All, Hi, I am getting following error while using mvn install though mvn package is working fine. Judging from the stacktrace below you ran 'mvn deploy', not 'mvn install' (see the reference to the deploy mojo). As the deploy phase is executed after the

RE: Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: 04 June 2008 12:16 To: Maven Users List Subject: Re: Need help | Getting NPE while using mvn install JINDAL, Mukta, IDC schrieb: Hi All, Hi, I am getting following error while using mvn install though mvn package is working fine. Judging from

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread [EMAIL PROTECTED]
JINDAL, Mukta, IDC schrieb: Thanks for the reply, Tim. I am executing mvn install, not mvn deploy. Also, I tried using scpext, but got following error: [INFO] [ERROR] BUILD ERROR [INFO]

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
JINDAL, Mukta, IDC schrieb: Thanks for the reply, Tim. I am executing mvn install, not mvn deploy. But 'mvn install' should only install the project's artifact in your local repository (~/.m2/repository/...) and not try to deploy it to a remote repo. Or have you configured the deploy plugin

RE: Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
Users List Subject: Re: Need help | Getting NPE while using mvn install JINDAL, Mukta, IDC schrieb: Thanks for the reply, Tim. I am executing mvn install, not mvn deploy. Also, I tried using scpext, but got following error: [INFO

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread [EMAIL PROTECTED]
JINDAL, Mukta, IDC schrieb: I am using the same POM from SVN as my other team members. All of them are able to do mvn install with the same settings as mine. Thats why I'm more concerned... Are they getting the deploy message? If so, then their config is also stuffed up, but they haven't

RE: Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
But 'mvn install' should only install the project's artifact in your local repository (~/.m2/repository/...) and not try to deploy it to a remote repo. Or have you configured the deploy plugin in yor pom to run in the install phase, which IMHO would be a bad practice? How can I check

RE: Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
To: Maven Users List Subject: Re: Need help | Getting NPE while using mvn install JINDAL, Mukta, IDC schrieb: I am using the same POM from SVN as my other team members. All of them are able to do mvn install with the same settings as mine. Thats why I'm more concerned... Are they getting the deploy

Re: Need help | Getting NPE while using mvn install

2008-06-04 Thread Tim Kettler
JINDAL, Mukta, IDC schrieb: But 'mvn install' should only install the project's artifact in your local repository (~/.m2/repository/...) and not try to deploy it to a remote repo. Or have you configured the deploy plugin in yor pom to run in the install phase, which IMHO would be a bad

Resolved: Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
how it is working for the rest of my team... Thanks for all the help, Tim Simon. Regards, Mukta Jindal -Original Message- From: JINDAL, Mukta, IDC Sent: 04 June 2008 13:22 To: 'Maven Users List' Subject: RE: Need help | Getting NPE while using mvn install But 'mvn install' should only

RE: Need help | Getting NPE while using mvn install

2008-06-04 Thread Vikramaditya Garg
:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 1:30 PM To: 'Maven Users List' Subject: RE: Need help | Getting NPE while using mvn install Everyone gets [deploy:deploy] message for the first project only. For rest, only [install:install] is there and the jars are uploaded into local repository only

RE: Need help | Getting NPE while using mvn install

2008-06-04 Thread JINDAL, Mukta, IDC
Thanks Vikramaditya, I have got this issue resolved. Regards, Mukta Jindal -Original Message- From: Vikramaditya Garg [mailto:[EMAIL PROTECTED] Sent: 04 June 2008 16:15 To: Maven Users List Subject: RE: Need help | Getting NPE while using mvn install Please specify which version