I've got build setup with dependencyManagement, reports and all bells
and whistles, and it works fine in windows. On Solaris however, I can't
build any projects that have a packaging type other than "pom" (the pom
types work ok).
I thought I knew Maven, but I'm quite clueless about this one. Maven
version in both cases (windows & solaris) is 2.0.2.
Here is the full output that Maven spits at me:
bash-2.05$ mvn -X install
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from:
'/export/home/maven/.m2/plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'/export/home/maven/maven-2.0.2/conf/plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Retrieving parent-POM from the repository for project:
com.baloise.target.basis:basler-logging:jar:${basler-logging}
[DEBUG] Skipping disabled repository central
[DEBUG] basis: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
com.baloise.target.basis:basis:pom:0.9-SNAPSHOT
[DEBUG] Skipping disabled repository central
[DEBUG] third-party: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
com.baloise.target.third-party:third-party:pom:0.9-SNAPSHOT
[DEBUG] Skipping disabled repository central
[DEBUG] parent-extension: using locally installed snapshot
[DEBUG] Retrieving parent-POM from the repository for project:
com.baloise.target:parent-extension:pom:0.9-SNAPSHOT
[DEBUG] Skipping disabled repository central
[DEBUG] parent: using locally installed snapshot
[INFO]
----------------------------------------------------------------------------
[INFO] Building BAL-BaslerLogging
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[DEBUG] maven-resources-plugin: resolved to version 2.1 from repository
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-resources-plugin:maven-plugin:2.1
[DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-compiler-plugin:maven-plugin:2.0
[DEBUG] maven-surefire-plugin: resolved to version 2.1.2 from repository
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-surefire-plugin:maven-plugin:2.1.2
[INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] null
[INFO]
----------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:295)
at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:200)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:165)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1218)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:979)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:943)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:450)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Wed Feb 08 17:02:05 MET 2006
[INFO] Final Memory: 2M/6M
[INFO]
----------------------------------------------------------------------------
--
Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel
P: +41 61 226 99 63 - F: +41 61 226 99 69
[EMAIL PROTECTED]; http://www.giniality.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]