Found what appear to be some build problems:

"ant dist" creates a Manifest entry of:

X-Compile-Target-JDK: 1.1

whereas the (M2) distribution has:

X-Compile-Target-JDK: 1.3

This is probably due to

 project.properties: maven.compile.target = 1.1

which affects M1 builds as well.

==

The Ant Manifest does not include the Bundle and Import/Export
headers, but that probably does not matter.

==

The Maven1 build runs the tests twice - the target "test:compile"
appears twice in the output (but the second time, the classes are not
recompiled).

==

The Maven2 build seems to download lots of unnecessary jars, for
example, taking just the commons jars:

commons-collections-3.0.jar
commons-httpclient-3.0.1.jar
commons-codec-1.2.jar
commons-beanutils-core-1.7.0.jar
commons-logging-1.0.3.jar

Are these (and all the other jars) really needed to build Commons IO?
I counted 52 jar downloads; there were probably others that would have
been downloaded if I had started with an empty local repository.

==

Also, the Maven2 build failed with:


[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-site-plugin:2.0-beta-5:site': Unable
to find the mojo
'org.apache.maven.plugins:maven-site-plugin:2.0-beta-5:site' in the
plugin 'org.apache.maven.plugins:maven-site-plugin'
Component descriptor cannot be found in the component repository:
org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-site-plugin:2.0-beta-5:site.

This was running:

mvn clean site assembly:assembly

using:

Maven version: 2.0.8
Java version: 1.4.2_16
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

On 16/01/2008, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> Sorry in the changes section that should have read "Fix an error in
> the FileWriterWithEncoding JavaDocs" rather than just "fix an error in
> the".
>
> Niall
>
> On Jan 16, 2008 10:51 AM, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> > There have been a few changes since RC1, but since they were all IMO
> > minor, I've cut a RC2 and thought would proceed straight to a vote.
> >
> > The changes since RC1 are:
> >
> >   - changes to build.xml to keep gump happy
> >   - fix an error in the
> >   - upgrade to version 7 and commons-parent (and remove stuff from pom
> > thats now in the parent)
> >
> > The artifacts are here:
> > http://people.apache.org/~niallp/io-1.4-RC2/
> >
> > SVN Tag:
> > http://svn.apache.org/viewvc/commons/proper/io/tags/commons-io-1.4-RC2/
> >
> > Site:
> > http://people.apache.org/~niallp/io-1.4-RC2/site/
> > (note m2 generates relative links, so some don't work - but the site
> > is for info and not included in the release artifacts)
> >
> > Release Notes:
> > http://people.apache.org/~niallp/io-1.4-RC2/site/upgradeto1_4.html
> > (These are a copy of RELEASE-NOTES.txt in html form)
> >
> > RAT Report:
> > http://people.apache.org/~niallp/io-1.4-RC2/site/rat-report.html
> >
> > CLIRR Report:
> > http://people.apache.org/~niallp/io-1.4-RC2/site/clirr-report.html
> >
> > RC2 has been built with m2 - but m1 and ant builds are available - details 
> > here:
> > http://people.apache.org/~niallp/io-1.4-RC2/site/building.html
> >
> > Vote is open for 72 hours
> >
> > Thanks in advance for your feedback/votes.
> >
> > Niall
> > ------------------------------------------------------------------------------------------------------------->
> >
> > [  ] +1  I support this release
> > [  ] +0  I am OK with this release
> > [  ] -0   OK, but....
> > [  ] -1   I do not support this release
> >
>
> ---------------------------------------------------------------------
> 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