I finally got my plugin to compile and when I try to run it on a test project I get this NPE dump. Notice that none of this code is generated by me. But is all part of the code that is parsing components.xml (I think). After the dump I am including the relevant part of my component.xml.
getDate is properly processed but resources never gets called. All of this code worked with earlier (2.0.5 - 2.0.9) versions of maven Any help will be appreciated. Thanks Liz [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at java.util.Properties.setProperty(Properties.java:143) at org.apache.maven.project.ModelUtils.cloneProperties(ModelUtils.java:1264 ) at org.apache.maven.project.ModelUtils.cloneModelBaseFields(ModelUtils.java :318) at org.apache.maven.project.ModelUtils.cloneModel(ModelUtils.java:953) at org.apache.maven.project.DefaultMavenProjectBuilder.calculateConcreteSta teInternal(DefaultMavenProjectBuilder.java:1855) at org.apache.maven.project.DefaultMavenProjectBuilder.calculateConcreteSta te(DefaultMavenProjectBuilder.java:1814) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateConcreteSta te(DefaultLifecycleExecutor.java:795) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:591) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) <configuration> <phases> <generate-resources> com.pragmatics.package-tools:maven-package-plugin:getDate </generate-resources> <process-resources> org.apache.maven.plugins:maven-resources-plugin:resources, com.pragmatics.package-tools:maven-package-plugin:delete-bogus, com.pragmatics.package-tools:maven-package-plugin:generate-segdocs, com.pragmatics.package-tools:maven-package-plugin:prepare </process-resources> <compile> </compile> ... Elizabeth Sommers Build and Release Engineer Pragmatics, Inc. 703.761.4033 www.pragmatics.com Practical. Reliable. Secure. This e-mail message, including any attachments, is intended only for the identified recipient(s). It may contain proprietary or otherwise legally protected information of Pragmatics, Inc. Any unauthorized review, use, copying, disclosure or distribution is strictly prohibited. If you have received this communication in error and are not the intended recipient, please immediately notify the sender of this message by reply e-mail and delete or otherwise destroy the e-mail, attachments, and any copies. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org