I've created a pom that references multiple  projects using the <module> 
tag.  This works great, even catching  the order when one of the subprojects 
depends on another subproject.
  
  However, if a subproject uses the result of another project as a plugin, I 
get a fatal error.  Anybody experienced this?
  
  
  [INFO] Scanning for projects...
  [INFO] 
----------------------------------------------------------------------------
  [ERROR] FATAL ERROR
  [INFO] 
----------------------------------------------------------------------------
  [INFO] null
  [INFO] 
----------------------------------------------------------------------------
  [INFO] Trace
  java.lang.NullPointerException
          at 
org.apache.maven.project.ProjectSorter.addEdgeWithParentCheck(ProjectSorter.java:1
  72)
          at 
org.apache.maven.project.ProjectSorter.<init>(ProjectSorter.java:123)
          at 
org.apache.maven.execution.ReactorManager.<init>(ReactorManager.java:54)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
          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:324)
          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] 
----------------------------------------------------------------------------
  
  



                
---------------------------------
Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 

Reply via email to