Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 93153 invoked from network); 16 Jan 2008 16:03:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2008 16:03:24 -0000 Received: (qmail 20062 invoked by uid 500); 16 Jan 2008 16:03:12 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 19992 invoked by uid 500); 16 Jan 2008 16:03:12 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 19983 invoked by uid 99); 16 Jan 2008 16:03:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 08:03:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of niall.pemberton@gmail.com designates 72.14.202.180 as permitted sender) Received: from [72.14.202.180] (HELO ro-out-1112.google.com) (72.14.202.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 16:02:45 +0000 Received: by ro-out-1112.google.com with SMTP id d36so3833083roh.2 for ; Wed, 16 Jan 2008 08:02:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=UnZriTzimZJs2CBovzJz6LRZtrek7mLD79mEnhXDT0U=; b=vGUHXqHcOeDrX8IMr0O/B/l6hCQYtlAdA12KPYbR05WVy3mlGQOOROPDrlwn7atIqcWOwIEG5fvvP2rEMaDFTowDKbsMOYD/FvSy+KWzTZWZ3UF23yJEJf3ICqvy3ABgTtbnQq/uFgDWxlwavp5mdbc6cpCUON9JV2Rkvdlv8v0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mD7ddeKySBrPKfylAJXE2dUFHA0ANSPBwjCvyENqMuW4GKRSSAd7HrPlrRNJSI0Ni2N3W3XM3wsGqt508x+F0MpxOXyilJ9q5x0JJR1bPtXyFQvFAtDNKbSpDYg1ww4IHyLPM62ygzD7JREqAXy+NZDQO2QmetRCuvCw7hAx/+U= Received: by 10.114.146.1 with SMTP id t1mr1112177wad.20.1200499369488; Wed, 16 Jan 2008 08:02:49 -0800 (PST) Received: by 10.114.56.1 with HTTP; Wed, 16 Jan 2008 08:02:49 -0800 (PST) Message-ID: <55afdc850801160802x2f6735a1ld96d02a46988aafd@mail.gmail.com> Date: Wed, 16 Jan 2008 16:02:49 +0000 From: "Niall Pemberton" To: "Jakarta Commons Developers List" Subject: Re: [VOTE] Release Commons IO 1.4 based on RC2 In-Reply-To: <25aac9fc0801160758o5d79d88bl7f7fbb80ec405f13@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <55afdc850801160251u3e09e0f7l3229855ed3d2b582@mail.gmail.com> <55afdc850801160400v4de4225fga65ebd4a4e7fe033@mail.gmail.com> <25aac9fc0801160627j54f38262l1735becebfaa4d79@mail.gmail.com> <55afdc850801160658m664d528aw5b590be30ea18d3c@mail.gmail.com> <25aac9fc0801160758o5d79d88bl7f7fbb80ec405f13@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Jan 16, 2008 3:58 PM, sebb wrote: > The manifest created by the M2 build includes the following: > > Build-Jdk: 1.5.0_07 > X-Compile-Source-JDK: 1.3 > X-Compile-Target-JDK: 1.3 > > so yes, the actual build JDK is shown, but so are the intended versions. > > For javac, the source and target setting have limited effect in that > they don't affect the libraries, see: > > https://issues.apache.org/jira/browse/MATH-173?focusedCommentId=12557925#action_12557925 Just a note on the above - I have built IO 1.4 using Ant and JDK 1.3 (the ant build excludes the JDK 1.4 dependant classes when JDK 1.3 is used) and that guarantees that except for the 4 JDK 1.4 implementations the rest if the code base only uses JDK 1.3 APIs. Feel free to try this out yourselves. Niall > but at least they have *some* effect. > > Are you saying that Maven2 fails to act on the source and target JDK > settings at all? > > > On 16/01/2008, Paul Benedict wrote: > > Only Ant can specify the actual target JDK used to compile the code in the > > Manifest. Maven has an open issue for this in the jar plugin. Alot of people > > want to write the target JDK to the manifest, but unfortunately the actual > > JDK version (e.g., 1.6) appears. > > > > Paul > > > > On Jan 16, 2008 8:58 AM, Niall Pemberton wrote: > > > > > On Jan 16, 2008 2:27 PM, sebb wrote: > > > > 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. > > > > > > OK but m2 is the primary build system for this release as long as what > > > its generated is OK and the other builds work (even though with > > > slightly different config) then I don't think this is an issue. This > > > release supports mainly JDK 1.3 with some JDK 1.4 requirement - and by > > > configuring source/target compiler options of 1.3 then we achieve that > > > (which is also the same as the last release btw) - the other build > > > systems specifying 1.1 doesn't AFAIK break that goal. > > > > > > > The Ant Manifest does not include the Bundle and Import/Export > > > > headers, but that probably does not matter. > > > > > > Agreed, and my answers the same as to the previous point. > > > > > > > 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). > > > > > > Yes thats a maven feature! > > > > > > > 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. > > > > > > Its not what IO needs - its what maven and all the plugins need to run > > > the build. Take for example the Jira report that the IO build produces > > > - maven needs it and all its dependencies (and its dependencies' > > > dependencies etc etc) to be able to run that report > > > http://tinyurl.com/2hgs8c - from a quick scan I count 10 for that > > > alone and that applies to all the plugins the build uses. IO itself > > > has one dependency for testing on JUnit and thats it - no runtime > > > dependencies. > > > > > > > [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 > > > . > > > > > > OK I see the version of that plugin in the repo: > > > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/ > > > > > > So looks like its a local problem to your env. (assuming you can > > > access the repo). We don't specify a version for that plugin either in > > > the IO pom.xml or commons-parent (perhaps should) and I've never had > > > any luck downloading and installing them manually, so I usually just > > > add a dependency temporarily (i.e. specify the plugin and version) and > > > let maven sort it out - perhaps someone else can give you a better > > > solution though. > > > > > > Niall > > > > > > > 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 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 > > > 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: dev-unsubscribe@commons.apache.org > > > > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org