You can run with mvn -X ...to get more specific debugging information
about what plugin is causing your problems etc.

However, I'd just delete your local Maven2 repository
(~/.m2/repository) and try again. Maven will automatically download
the files it needs to construct your project.

I'd suspect that you have simply managed to get a "bad" plugin JAR in
your repo somewhere. Especially given that you're behind a firewall --
many people attempt to run Maven without configuring things at first
and end up with corrupt JARs etc. Then they realize they need to
configure their firewall proxy and the old corrupt artifacts are still
waiting in your ~/.m2 repo to bite you in the future.

Wayne

On 11/3/06, bernulfiskus <[EMAIL PROTECTED]> wrote:

Hi!

I'm new with Maven - i created a simple sample-project, if i compile the
project i get a nullpointer-Exception!
I'm behind a firewall, a proxy is configured...

Any Idea?

Bernie


[INFO] Building Maven Default Project
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[DEBUG] maven-resources-plugin: resolved to version 2.2 from repository
central
[DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for
project: null:maven-r
plugin:2.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project:
org.apache.maven.plug
1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
org.apache.maven:maven-parent:pom
.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
        at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)


--
View this message in context:
http://www.nabble.com/Nullpointer-Exception-addPlugin-tf2567630s177.html#a7156625
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to