You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2008/04/03 00:22:57 UTC

[all] Commons parent and other POMs

POM files are XML, right?

So they ought to start with the following, no?

<?xml version="1.0" encoding="ISO-8859-1"?>
(possibly with no or different encoding)

This line seems to have been omitted from quite a few poms.

Also, commons-parent-9.pom seems to have lost its AL header too - it
was in version 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [all] Commons parent and other POMs

Posted by Dennis Lundberg <de...@apache.org>.
sebb wrote:
> POM files are XML, right?

Yes

> So they ought to start with the following, no?
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> (possibly with no or different encoding)

Yes. Note that there is a bug [1] with regards to pom files and 
encoding, when using the release plugin. It has been solved and the fix 
will be included in the next release (2.0-beta-8). Currently the release 
plugin writes all poms as UTF-8.

> This line seems to have been omitted from quite a few poms.
> 
> Also, commons-parent-9.pom seems to have lost its AL header too - it
> was in version 8.

To avoid this in the future, you can follow the instructions [2] under 
the heading "Please prepare the POM(s) for the release".


[1] http://jira.codehaus.org/browse/MRELEASE-87
[2] http://wiki.apache.org/commons/CreatingReleases

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org