Fabrizio,

Thanks for your reply. Yes, I had a brief look at the problem but I am not familiar with the code, I don't know how much effort it will cost to get into it.

As I understand it, the release plugin should be deprecated anyway and all the needed functionality be moved into the scm plugin. We should do that next, but for the moment I would like to get my releases out so I need a fix for this problem ... now! ;)

The problem is seen most easily by by running the release:update-pom goal with a version and tag attribute. The empty namespaces will get inserted. As for the solution, all I can say is that it should work independently of wether a namespace is declared or not - but for the moment I would be happy if it only worked with namespaces :).

Do you have time to take a look at it?

-Lukas



Fabrizio Giustina wrote:
Hi Lukas,
I was out for a few days and I missed your initial message... yes,
this sounds like a bug introduced by my last commit in the release
plugin :(
before of the change the scm:prepare-release was crashing committing
and tagging an unchanged (SNAPSHOT) pom to the repository. I added a
filter which strips out the namespace while reading the pom, but
during my tests I never saw empty xmlns attributes created.
Actually empty xmlns have a reason to be there, since the root node
declares a different namespace, but if so I can't undestand why it
didn't happened to me. If this is not going to work the only way to
fix it properly is to make a namespace required also for the
scm:prepare-release goal and to change XPath expressions
appropriately. Did you had a change to look at it? Do you have any
other proposal?

fabrizio


On 12/12/05, Lukas Theussl <[EMAIL PROTECTED]> wrote:

Did you see my next commit and the reply I sent to it?

http://www.nabble.com/svn-commit%3A-r356163---maven-maven-1-plugins-trunk-artifact-project.xml-t725288.html

I am having a look at this problem now but I'm waiting for a comment
from Fabrizio first. It happens in the r:release-version tag of the
release plugin, Fabrizio committed some changes there when he did his
releases last time.

-Lukas




Arnaud HERITIER wrote:

On 12/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:



Author: ltheussl
Date: Sun Dec 11 21:34:45 2005
New Revision: 356161



[SNIP]

Modified: maven/maven-1/plugins/trunk/artifact/project.xml


URL:
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/artifact/project.xml?rev=356161&r1=356160&r2=356161&view=diff



Hi lukas,

 There's a bug !!!
 Why have we :





+  <extend xmlns="">../plugin-parent/project.xml</extend>
+  <pomVersion xmlns="">3</pomVersion>
+  <id xmlns="">maven-artifact-plugin</id>
+  <name xmlns="">Maven Artifact Plugin</name>
+  <currentVersion xmlns="">1.7</currentVersion>




What are all these xmlns entries ??

Arnaud


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to