Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 4977 invoked from network); 5 Nov 2007 22:26:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 22:26:17 -0000 Received: (qmail 27407 invoked by uid 500); 5 Nov 2007 22:26:04 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 27168 invoked by uid 500); 5 Nov 2007 22:26:03 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 27157 invoked by uid 99); 5 Nov 2007 22:26:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 14:26:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brianf@reply.infinity.nu designates 205.210.42.66 as permitted sender) Received: from [205.210.42.66] (HELO mx-outbound01.easydns.com) (205.210.42.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 22:26:33 +0000 Received: from intrepid.infinity.nu (c-24-128-239-207.hsd1.nh.comcast.net [24.128.239.207]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 708DE48456 for ; Mon, 5 Nov 2007 17:31:30 -0500 (EST) Content-class: urn:content-classes:message Subject: RE: XML encoding, Maven and plugins MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Mon, 5 Nov 2007 17:25:41 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <2BABBE7D2A66E04DB8A66A527D29927E25EA9D@intrepid.infinity.nu> In-Reply-To: <200711052325.09942.herve.boutemy@free.fr> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: XML encoding, Maven and plugins Thread-Index: Acgf+pxIrYQ7PYTsTemNaT77+9+CDQAAB1Zg References: <200710252344.30025.herve.boutemy@free.fr> <200711012344.19782.herve.boutemy@free.fr> <2BABBE7D2A66E04DB8A66A527D29927E25EA96@intrepid.infinity.nu> <200711052325.09942.herve.boutemy@free.fr> From: "Brian E. Fox" To: "Maven Developers List" X-Virus-Checked: Checked by ClamAV on apache.org I must have missed that thread. It wasn't working in the enforcer so I'm = not sure. -----Original Message----- From: Herv=E9 BOUTEMY [mailto:herve.boutemy@free.fr]=20 Sent: Monday, November 05, 2007 11:25 PM To: Maven Developers List Subject: Re: XML encoding, Maven and plugins Hi Brian, As requested by Carlos (and nobody else replied), I copied the XML = encoding=20 classes to the plugins to avoid upgrading the prerequisite. It's only a=20 workaround to try to maintain low prerequisite. Do you mean that such a workaround isn't working properly? If nobody is against upgrading prerequisite on Maven 2.0.6 for next = versions=20 of install, deploy and release plugins, I can remove the classes I = copied and=20 do the prerequisite change: I just need to have a clear consensus = between=20 everybody, since this is the contrary from what was requested 2 weeks = ago. :| Herv=E9 Le lundi 05 novembre 2007, Brian E. Fox a =E9crit : > Herve, > Any of the plugins that were changed need to have a prerequisite on = maven > 2.0.6 because they need a new plexus-utils. I found and fixed this = already > in enforcer. > > --Brian > > -----Original Message----- > From: Herv=E9 BOUTEMY [mailto:herve.boutemy@free.fr] > Sent: Thursday, November 01, 2007 11:44 PM > To: Maven Developers List > Subject: Re: XML encoding, Maven and plugins > > ok, work done for the 4 plugins > I found that the situation was less serious as anticipated for install = and > deploy plugins: actual versions work perfectly for users building = their > project with Maven and enhancing their pom.xml with custom encoding = when > Maven 2.0.8 will be released (I used the SNAPSHOT/RC published by = Brian). > The encoding problems only affect people using install:install-file = and > deploy:deploy-file with -DpomFile=3D > Then I think we can safely release Maven 2.0.8 without immediately > upgrading install and deploy plugins. > > For release plugins, the situation is more critical though: using = custom > encoding in pom.xml and release plugin will lead to broken pom in SCM, = as > reported in MRELEASE-87. > I have fixed code today in svn AFAIK, but I need to add test-cases to = check > that something is not forgotten. I'll do it this week-end. > If Maven 2.0.8 is released before release plugin, people using this = plugin > will just have to know that they can't use custom encoding in their = POM > until this MRELEASE-87 Jira issue has been fully fixed, verified, and = the > plugin released. > > Everything is clean now for releasing Maven 2.0.8 by now, isn't it? > > :) > > Herv=E9 > > Le jeudi 25 octobre 2007, Carlos Sanchez a =E9crit : > > in previous cases the classes were copied and deprecated with big > > warnings in the javadocs > > I think we talked at some point aoput splitting plexus-utils in what > > is really required for maven core and other "utils" that could be > > upgraded in each plugin > > > > On 10/25/07, Herv=E9 BOUTEMY wrote: > > > Le jeudi 25 octobre 2007, Brian E. Fox a =E9crit : > > > > Herve, > > > > The enforcer-rules also reads the pom files in the > > > > requirePluginVersion rule. > > > > > > ok, thanks for the information > > > I'll fix it, there should be no problem since: > > > 1. it already depends on p-u 1.4.2 > > > 2. there is no release for the moment > > > > > > > -----Original Message----- > > > > From: Herv=E9 BOUTEMY [mailto:herve.boutemy@free.fr] > > > > Sent: Thursday, October 25, 2007 5:44 PM > > > > To: Maven Developers List > > > > Subject: XML encoding, Maven and plugins > > > > > > > > Hi, > > > > > > > > I'm working on XML encoding support for Maven 2.0.8: did you = know? ;) > > > > > > > > Everything is ready for Maven itself: IT mng-2254-PomEncoding = passes. > > > > > > > > Now I'm looking at plugins, and I just found one important = issue: > > > > there are 4 core plugins reading and writing POM files - = install, > > > > deploy, release and repository (if you know other ones, please = let me > > > > know). Then these plugins need to be updated and released with = Maven, > > > > or there will be some big problems if somebody adds non-ascii > > > > characters in his POMs: either the plugins will fail, or even = worse, > > > > written POM files will be broken, in local repository with = install > > > > plugin, remote repository with deploy plugin, SCM with release > > > > plugin, or a bundle with repository plugin. > > > > > > > > To improve these plugins with full XML encoding support, there = is > > > > some (simple) code, but more importantly there is a need for XML > > > > encoding classes from plexus-utils 1.4.5. > > > > > > > > I could think of 3 ways of doing it: > > > > 1. go forward and change plexus-utils dependency version: > > > > difficulties to do so for release plugin taken apart, the big > > > > consequence will be that the prerequisite for the plugins would = be > > > > Maven 2.0.6 (see MNG-2892) 2. be lazy and copy the 4 necessary > > > > classes in the 4 plugins, and let the plugins continue working = with > > > > older Maven versions 3. workaround the copy laziness and create = a > > > > (temporary) component containing only the 4 classes needed (not > > > > necessary in > > > > org.codehaus.plexus.utils package tp avoid later conflicts when > > > > plexus-utils evolves) and add this dependency to the plugins > > > > > > > > Each solution has his advantages and drawbacks. Which one should = be > > > > preferred? > > > > > > > > WDYT? > > > > > > > > Herv=E9 > > > > > > > > = --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > > > > > > > = --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > > For additional commands, e-mail: dev-help@maven.apache.org > > > > > > = --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > > > For additional commands, e-mail: dev-help@maven.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org