No, that bug isn't related.

I've never seen this happen, and I use a plain RC1 installation to do this
regularly. SCM uses JSL (jelly) to transform the project.xml.
Are you using any custom XML parsers, or have any other libraries in your
classpath before starting maven? Anything installed in
$JAVA_HOME/jre/lib/ext? What JDK version?

By all means file a bug, but it'll be hard to fix if it can't be reproduced.
We'll need as much of your environment information as you can give.

Thanks,
Brett

> -----Original Message-----
> From: Joe Germuska [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 8 October 2003 8:37 AM
> To: Maven Users List
> Subject: [scm plugin] SCM problems adding namespace to project.xml
> 
> 
> I'm just now trying out the maven:scm plugin, and I have a couple of 
> concerns.  I thought I'd check the list before posting bugs, in case 
> I'm confused.
> 
> I just ran maven scm:prepare-release for the first time.  When it 
> modified my project.xml file, it incorrectly modified the root 
> element.  It added the following to the top:
> ----
>      <project 
> xsi:schemaLocation="file:///opt/maven/maven-project.xsd">
>        file:///opt/maven/maven-project.xsd
> -------
> 
> This caused following maven goals to fail because the namespace 
> prefix "xsi" was not bound.  I was able to fix that, but I don't like 
> the change anyway -- project.xml is shared with my team, not all of 
> whom have the same $MAVEN_HOME.  I don't want to check these changes 
> in to CVS because it will break their builds.  This seems like overly 
> intrusive behavior, since everything was working fine without that 
> element before.
> 
> I also don't know what the first line after the opening project 
> element is doing.  I deleted it, and it's probably not going to break 
> anything, but that seems like a mistake.
> 
> I'm using Maven rc1 and the scm plugin (1.1) that was 
> distributed with it.
> 
> This is the only open bug which sounds relevant (from the title) but 
> from the writeup, it looks like a different issue: 
> http://jira.codehaus.org/secure/ViewIssue.jspa> ?key=MAVEN-825
> 
> 
> Do I need to upgrade to a newer release?  Or 
> is this just a bug that 
> I should file in Jira?
> 
> Thanks
>       Joe
> -- 
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
>   "We want beef in dessert if we can get it there."
>    -- Betty Hogan, Director of New Product Development, National 
> Cattlemen's Beef Association
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to