Error Reading Xml Or Initializing Maven
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Cobertura Mailing Lists Cobertura Brought to you by: christ66, dennislundberg, hauserx, jthomerson, lewijw Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Patches Feature Requests Bugs cobertura-bugs cobertura-commits cobertura-devel cobertura-featurerequests cobertura-patches Re: [Cobertura-devel] RE: Cobertura 1.6 and Maven Re: [Cobertura-devel] RE: Cobertura 1.6 and Maven From: Elliotte Harold - 2005-08-26 12:10:09 Carlos Sanchez wrote: > Thanks for noticing the typo. I didn't use the plugin lately, so I > wouldn't like to release it without testing, but if some users test > latest cvs version and say it's ok I will cut a new release. I checked it out of CVS but I get this error when trying to build: ~/tmp/maven-plugins/cobertura$ maven -e __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 org.apache.maven.MavenException: Error reading XML or initializing at org.apache.maven.MavenUtils.getProject(MavenUtils.java:156) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232) at org.apache.maven.MavenSession.initialize(MavenSession.java:172) at org.apache.maven.cli.App.doMain(App.java:475) at org.apache.maven.cli.App.main(App.java:1239) 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 com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) --- Nested Exception --- java.io.FileNotFoundException: Parent POM not found: /Users/elharo/tmp/maven-plugins/plugin-project.xml at or
.maven/cache/ can be problematic as there is some storedstate and its a real pain having to download a completely new cache.....do I would fix the xml file rather than reloading it. If you need toreload,try rm -rf ~/.maven/cache/sakai-2.2 and rm -rf~/.maven/repository/sakaiproject/plugins/* first.IanI know this question has been asked and answered.I deleted my entire source directory. I did a fresh checkout of trunk.I zapped /sakaiproject. When I try to build and deploy, I$ maven bld dpl__ __| \/ |__ _Apache__ ___| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~|_| |_\__,_|\_/\___|_||_| https://sourceforge.net/p/cobertura/mailman/message/4424642/ v. 1.0.2Attempting to download sakai-2.2.jar.4K downloadedStarting the reactor...BUILD FAILEDFile...... /Volumes/UserHome/jimeng/.maven/cache/sakai-2.2/plugin.jellyElement... maven:reactorLine...... 34Column.... 6Error reading XML or initializingTotal time: 1 minutes 54 secondsFinished at: Wed May 10 09:57:36 BST 2006I'm pretty sure there's some little thing I'm doing wrong, but I can'tcome up with what it is. Can someone refresh my memory about this?What is the next step to get working http://sakai-dev.collab.sakaiproject.narkive.com/snIbSQgD/error-reading-xml-or-initializing again?I was able to do the same thing successfully a couple days ago, but thenit stopped working. I've gotten this response every time I try.Thanks.JimJim Eng----------------------This automatic notification message was sent by Sakai Collab(http://collab.sakaiproject.org/portal) from the DG: Development site.You can modify how you receive notifications at My Workspace > Preferences.----------------------This automatic notification message was sent by Sakai Collab (http://collab.sakaiproject.org/portal) from the DG: Development site.You can modify how you receive notifications at My Workspace > Preferences. Jim Eng 2006-05-10 09:42:49 UTC PermalinkRaw Message I know this question has been asked and answered.I deleted my entire source directory. I did a fresh checkout of trunk.I zapped /sakaiproject. When I try to build and deploy,I get a failure very early:$ maven bld dpl__ __| \/ |__ _Apache__ ___| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~|_| |_\__,_|\_/\___|_||_| v. 1.0.2Attempting to download sakai-2.2.jar.4K downloadedStarting the reactor...BUILD FAILEDFile...... /Volumes/UserHome/jimeng/.maven/cache/sakai-2.2/plugin.jellyElement... maven:reactorLine...... 34Column.... 6Error reading XML or initializingTotal time: 1 minutes 54 secondsFinished at: Wed May 10 09:57:36 BST 2006I'm pretty sure there's some little thing I'm doing wrong, but
issue:http://jira.codehaus.org/browse/MAVEN-1315Here is an http://osdir.com/ml/cms.sakai.devel/2006-05/msg00288.html overview of the issue:---------------------------------------------------------------------Key: MAVEN-1315Summary: Error reading XML or initializingType: BugStatus: UnassignedPriority: error reading MinorOriginal Estimate: UnknownTime Spent: UnknownRemaining: UnknownProject: mavenComponents:coreVersions:1.0-rc3Assignee:Reporter: Andreas FreiCreated: Wed, 9 Jun 2004 3:41 AMUpdated: Wed, 9 Jun 2004 3:41 AMEnvironment: Windows XP, j2sdk 1.4.2_03-b02Description:When setting error reading xml a absolute path in project.properties leads to Error reading XML or initializing:eclipse.workspace = c:\workspaceregards,Andreas Frei---- Error message---->C:\workspace\jadabs>maven -e__ __\/ |__ _Apache__ ___\/| / _` \ V / -_) ' \ ~ intelligent projects ~_| |_\__,_|\_/\___|_||_| v. 1.0-rc3org.apache.maven.MavenException: Error reading XML or initializingat org.apache.maven.MavenUtils.getProject(MavenUtils.java:156)at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235)at org.apache.maven.MavenSession.initialize(MavenSession.java:175)at org.apache.maven.cli.App.doMain(App.java:472)at org.apache.maven.cli.App.main(App.java:1214)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 com.werken.forehead.Forehead.run(Forehead.java:551)at com.werken.forehead.Forehead.main(Forehead.java:581)--- Nested Exception ---java.io.IOException: The filename, directory name, or volume label syntax is incorrectat 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:1031)at org.apache.maven.project.Resource.resolveDirectory(Resource.java:163)at org.apache.maven.project.Build.resolveDirectories(Build.java:283)at org.apache.maven.project.Project
trunk. I zapped /sakaiproject. When I try to build and deploy, I get a failure very early: $ maven bld dpl __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download sakai-2.2.jar. 4K downloaded Starting the reactor... BUILD FAILED File...... /Volumes/UserHome/jimeng/.maven/cache/sakai-2.2/plugin.jelly Element... maven:reactor Line...... 34 Column.... 6 Error reading XML or initializing Total time: 1 minutes 54 seconds Finished at: Wed May 10 09:57:36 BST 2006 I'm pretty sure there's some little thing I'm doing wrong, but I can't come up with what it is. Can someone refresh my memory about this? What is the next step to get working again? I was able to do the same thing successfully a couple days ago, but then it stopped working. I've gotten this response every time I try. Thanks. Jim Jim Eng jimeng@xxxxxxxxx ---------------------- This automatic notification message was sent by Sakai Collab (http://collab.sakaiproject.org/portal) from the DG: Development site. You can modify how you receive notifications at My Workspace > Preferences. Thread at a glance: Previous Message by Date: Re: Error reading XML or initializing Jim, Have to tried validating the plugin.jelly file eg xmllint ~/.maven/cache/sakai-2.2/plugin.jelly Clearing the .maven/cache/ can be problematic as there is some stored state and its a real pain having to download a completely new cache..... do I would fix the xml file rather than reloading it. If you need to reload,try rm -rf ~/.maven/cache/sakai-2.2 and rm -rf ~/.maven/repository/sakaiproject/plugins/* first. Ian Jim Eng wrote: I know this question has been asked and answered. I deleted my entire source directory. I did a fresh checkout of trunk. I zapped /sakaiproject. When I try to build and deploy, I get a failure very early: $ maven bld dpl __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download sakai-2.2.jar. 4K downloaded Starting the reactor... BUILD FAILED File...... /Volumes/UserHome/jimeng/.maven/cache/sakai-2.2/plugin.jelly Element... maven:reactor Line...... 34 Column.... 6