commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Maven bugs when building Sanselan
Date Wed, 29 Feb 2012 18:47:37 GMT
On Wed, Feb 29, 2012 at 1:00 PM, Damjan Jovanovic <damjan.jov@gmail.com>wrote:

> Hi
>
> As we near the 1.0 release of Sanselan / Apache Commons Imaging, I am
> having showstopper problems with Maven.
>
> The first problem, now fixed, was that "mvn assembly:assembly" failed
> due to the Maven Assembly plugin failing to add a non-ASCII filename
> to a tar file (https://jira.codehaus.org/browse/MASSEMBLY-515),
> because Plexus Archiver had a bug that wrongly assumed number of chars
> = number of bytes, an assumption that quickly fails on UTF-8 locales
> (http://jira.codehaus.org/browse/PLXCOMP-195). I sent a patch to
> Plexus Archiver, they quickly included that patch in the next release,
> and Maven Assembly then made a 2.3 release which unknowingly pulled in
> that new release of Plexus Archiver. So by increasing the needed
> version of Maven Assembly to 2.3, I got that working now :). I see
> someone recently patched the Commons parent POM with the same version
> change - even better.
>
> The second is that "mvn site" fails because Clirr can't compare some
> inner classes properly, and the Maven Clirr plugin doesn't properly
> count and delete classes that can't be compared, leading to
> ArrayIndexOutOfBoundsException
> (http://jira.codehaus.org/browse/MCLIRR-36 and probably
> http://jira.codehaus.org/browse/MCLIRR-25 and
> http://jira.codehaus.org/browse/MCLIRR-37). I made and attached a
> working patch to that bug, but there's been no response yet and the
> project seems dead :(.
>
> Otherwise, what is the procedure for renaming the project to Apache
> Commons Imaging?
>

I do not think there is an official guide one something like this. How
about:

- Create a new Imaging spot in SVN
- Copy everything to the new place
- Do all the renaming (Java packages, any names in the docs, and so on)
- Rename or create the JIRA name.
- Move the now old Sanselan to the Attic.

Also to do before 1.0:

- Update the parent POM and plugins to the latest
- Is there anything in Java 6 that would make Imaging better? Is using Java
5 vs. 6 an impediment?
- Add reports: PMD, FindBugs, Checkstyle (see Lang, Net, IO, Codec, for
example)

Gary


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


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message