Title: Message
 I integrated maven to my project. When I ran maven jar command I got the following error.
 

java.lang.NullPointerException
        at org.apache.maven.project.Project.standardToLegacyId(Project.java:1587
)
        at org.apache.maven.ArtifactListBuilder.build(ArtifactListBuilder.java:9
5)
        at org.apache.maven.project.Project.buildArtifactList(Project.java:1469)
 
        at org.apache.maven.project.Project.initialize(Project.java:1292)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:249)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160)
        at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:324)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:234)
        at org.apache.maven.cli.App.doMain(App.java:514)
        at org.apache.maven.cli.App.main(App.java:1088)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:543)
        at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time:  6 seconds
 
 
I attached the maven.log file and my project.xml file.
 
PLease help me to solve this. Thankx in advance



Upgrade Your Email - Click here!
<?xml version="1.0"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Eran Chinthaka (Eurocenter) -->
<project>
	<pomVersion>1</pomVersion>
	<name>AutoMa</name>
	<id>AutoMa</id>
	<currentVersion>Rel-2-build-1</currentVersion>
	<organization>
		<name>Eurocenter DDC</name>
		<url>http://www.eurocenterddc.com/</url>
	</organization>
	<inceptionYear>2002</inceptionYear>
	<package>com.automa.*</package>
	<shortDescription>Business Process Automation Engine</shortDescription>
	<!-- Gump integration -->
	<gumpRepositoryId>automa</gumpRepositoryId>
	<description>AutoMa project is a business process automation process. Currently it has been integrated to Procasso, a business process runnin in Norway. For the time being AutoMa has automated some of the business processes of Procasso.</description>
	<url>http://automa.eurocenterddc.com</url>
	<issueTrackingUrl>http://automa.eurocenterddc.com/issues</issueTrackingUrl>
	<siteAddress>http://localhost:8080</siteAddress>
	<siteDirectory>/automa/docs/</siteDirectory>
	<distributionDirectory>http://localhost:8080/automa/builds/</distributionDirectory>
	<repository>
		<connection>scm:cvs:sspi:[EMAIL PROTECTED]:2401:/rule</connection>
	</repository>
	<versions>
		<version>
			<id>b3</id>
			<name>1.0-b3</name>
			<tag>AUtoMa_1_0_B3</tag>
		</version>
		<version>
			<id>b4</id>
			<name>1.0-b4</name>
			<tag>HEAD</tag>
		</version>
	</versions>
	<mailingLists>
		<mailingList>
			<name>AutoMa User List</name>
			<subscribe>[EMAIL PROTECTED]
      </subscribe>
			<unsubscribe>[EMAIL PROTECTED]
      </unsubscribe>
			<archive>http://www.mail-archive.com/[EMAIL PROTECTED]/
      </archive>
		</mailingList>
		<mailingList>
			<name>AutoMa Developer List</name>
			<subscribe>
[EMAIL PROTECTED]    </subscribe>
			<unsubscribe>
        [EMAIL PROTECTED]</unsubscribe>
			<archive>http://groups.yahoo.com/group/automa/</archive>
		</mailingList>
	</mailingLists>
	<developers>
		<developer>
			<name>Niroshan Hewakoparage</name>
			<id>NHE</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Project Manager</role>
			</roles>
		</developer>
		<developer>
			<name>Kushani Karunarathne</name>
			<id>KKA</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
		<developer>
			<name>Indika Rathnasekara</name>
			<id>IRA</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
		<developer>
			<name>Eran Chinthaka</name>
			<id>CHE</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
		<developer>
			<name>Amila Suriyaarachchi</name>
			<id>ASU</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
		<developer>
			<name>Hasith Yaggahawita</name>
			<id>HYA</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
		<developer>
			<name>Pushapaka Rambukkanage</name>
			<id>PRU</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
		<developer>
			<name>Sanjaya Kumar</name>
			<id>SKU</id>
			<email>[EMAIL PROTECTED]</email>
			<organization>Eurocenter DDC</organization>
			<roles>
				<role>Software Engineer</role>
			</roles>
		</developer>
	</developers>
	<dependencies>
		<dependency>
			<jar>activation</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>axis</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>boot</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<id>castor</id>
			<version>0.9.4.1 </version>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>commons-logging</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>jaxrpc</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>jbossall-client</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<id>jdbc</id>
			<version>se2.0</version>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>jta1.0.1</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>jdom</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>junit</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<id>log4j</id>
			<version>1.2.4</version>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>mail</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>quartz</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>resources</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>runtime</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>saaj</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>servlet</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>soap</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>Sprinta2000</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>swt</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>tt-bytecode</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>xalan</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>xerces</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>xercesImpl</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>xmlParserAPIs</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<id>xmlrpc</id>
			<version>1.1</version>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>workbench</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
		<dependency>
			<jar>wsdl4j</jar>
			<url>http://localhost:8080/automa/lib/</url>
		</dependency>
	</dependencies>
	<build>
		<nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
		<sourceDirectory>E:\projects\automa\src</sourceDirectory>
		<package>com.automa.*</package>
		<unitTestSourceDirectory>E:\projects\automa\src</unitTestSourceDirectory>
		<integrationUnitTestSourceDirectory/>
		<aspectSourceDirectory/>
		<!-- Unit test cases -->
		<unitTest>
			<includes>
				<include>test/*Test.java</include>
			</includes>
			
		</unitTest>
		<!-- J A R  R E S O U R C E S -->
		<!-- Resources that are packaged up inside the JAR file -->
	</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to