I am using Maven 2.0.4. This is my POM file and below that is the output from running mvn install
Any help would be greatly appreciated. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>gestalt-search</groupId> <artifactId>gestalt-search-web</artifactId> <packaging>war</packaging> <version>1.0.5-SNAPSHOT</version> <name>Gestalt Search WebApp</name> <url>http://www.gestalt-llc.com</url> <scm> <connection>scm:svn:https://www.giglite.org/svn/gestalt-search-web</conn ection> <developerConnection>scm:svn:https://www.giglite.org/svn/gestalt-search- web</developerConnection> </scm> <dependencies> <dependency> <groupId>gestalt-search</groupId> <artifactId>gestalt-search-lib</artifactId> <version>1.0.5-SNAPSHOT</version> <scope>compile</scope> </dependency> <dependency> <groupId>lucene</groupId> <artifactId>lucene</artifactId> <version>1.4.3</version> <scope>compile</scope> </dependency> <dependency> <groupId>rome</groupId> <artifactId>rome</artifactId> <version>0.8</version> <scope>compile</scope> </dependency> <dependency> <groupId>jdom</groupId> <artifactId>jdom</artifactId> <version>1.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.13</version> <scope>compile</scope> </dependency> <dependency> <groupId>servletapi</groupId> <artifactId>servletapi</artifactId> <version>2.3</version> </dependency> <!-- XDoclet dependencies --> <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xdoclet-web-module</artifactId> <version>1.2</version> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>xjavadoc</artifactId> <version>1.0.2</version> </dependency> <dependency> <groupId>xdoclet</groupId> <artifactId>maven-xdoclet-plugin</artifactId> <version>1.2</version> <type>plugin</type> </dependency> </dependencies> <!-- Repository Conventions --> <repositories> <repository> <id>Maven Snapshots</id> <name>Mojo Sandbox</name> <url>http://snapshots.maven.codehaus.org/maven2/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </repository> <repository> <id>Ibiblio-Maven2-Repository</id> <name>Ibiblio Maven2 Repository</name> <url>http://www.ibiblio.org/maven2</url> </repository> </repositories> <!-- Plugin Repository Conventions --> <pluginRepositories> <pluginRepository> <id>Maven Snapshots</id> <url>http://snapshots.maven.codehaus.org/maven2/</url> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> </pluginRepository> <pluginRepository> <id>ibiblio</id> <url>http://www.ibiblio.org/maven2</url> </pluginRepository> </pluginRepositories> <build> <sourceDirectory>./src/java</sourceDirectory> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.0-SNAPSHOT</version> </plugin> <plugin> <groupId>xdoclet</groupId> <artifactId>maven-xdoclet-plugin</artifactId> <version>1.2</version> </plugin> </plugins> </build> </project> Below is the output of running mvn install. I keep getting a null pointer exception. Does anyone know how to get rid of that exception? [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Gestalt Search WebApp [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ ---- [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from mergere [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking for updates from mergere [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking for updates from mergere [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates from ibiblio [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates from repo1 [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING [INFO] artifact org.apache.maven.plugins:maven-war-plugin: checking for updates from mergere [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - RETRYING [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '867df7ba2a0c81782ac0fb14db5ccda5f85f5d42'; remote = '30 09ca8b79c340cc83543ea789f57b1ee0128cb6' - IGNORING [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from ibiblio [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from repo1 [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking for updates from mergere [INFO] snapshot org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT: checking for updates from Maven Snapshots [INFO] snapshot org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT: checking for updates from ibiblio [INFO] snapshot org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT: checking for updates from repo1 [INFO] snapshot org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT: checking for updates from mergere [INFO] snapshot org.codehaus.mojo:tomcat-maven-plugin:1.0-SNAPSHOT: checking for updates from Ibiblio-Maven2-Repository [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginMana ger.java:292) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(Defau ltPluginManager.java:198) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM anager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default LifecycleExecutor.java:1252) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycl e(DefaultLifecycleExecutor.java:1216) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa ppings(DefaultLifecycleExecutor.java:982) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:453) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:306 ) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) 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:256) 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: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: 11 seconds [INFO] Finished at: Tue Oct 10 09:08:13 CDT 2006 [INFO] Final Memory: 3M/7M [INFO] ------------------------------------------------------------------------
