Hi,
I've ran into a road block with the following error below. I think it has something to 
do with my project.xml file but the error is not pointed to anything specific. Below 
is the error that I'm getting and further below is the project file I'm using. Any 
help is greatly appreciated. - dkrebs

org.apache.maven.MavenException: Error reading XML or initializing
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:157)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
        at org.apache.maven.MavenSession.initializeRootProject(MavenSession.
:235)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
        at org.apache.maven.cli.App.doMain(App.java:473)
        at org.apache.maven.cli.App.main(App.java:1215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.io.IOException: Invalid argument
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:354)
        at java.io.File.getCanonicalPath(File.java:513)
        at org.apache.maven.MavenUtils.makeAbsolutePath(MavenUtils.java:1034
        at org.apache.maven.project.Build.resolveDirectories(Build.java:297)
        at org.apache.maven.project.Project.initialize(Project.java:1345)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:149)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
        at org.apache.maven.MavenSession.initializeRootProject(MavenSession.
:235)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
        at org.apache.maven.cli.App.doMain(App.java:473)
        at org.apache.maven.cli.App.main(App.java:1215)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorI
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to corre
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]

- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first
- run 'maven --info' and post the output as the environment to the bug above


<?xml version="1.0" encoding="ISO-8859-1"?>
<project>
 <pomVersion>1</pomVersion>
 <id>j2ee-project</id>
 <name>Sample Project</name>
 <currentVersion>1.1</currentVersion>
 <organization>
    <name>testme LLC</name>
   </organization>
   <inceptionYear>2004</inceptionYear>
 <package>com.testme.*</package>
<developers>
    <developer>
      <name>John Smith</name>
      <id>jsmith</id>
      <email>[EMAIL PROTECTED]</email>
    </developer>
  </developers>
 <dependencies></dependencies>
 <build>
  <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
  <sourceDirectory>${basedir}/src/java/*</sourceDirectory>
  <unitTestSourceDirectory>${basedir}/test/java</unitTestSourceDirectory>
   <unitTest>
    <includes>
     <include>**/*Test.java</include>
      </includes>
    </unitTest>
    <jars></jars>
 </build>
</project>

Reply via email to