Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 47F5F176D9 for ; Wed, 14 Jan 2015 18:44:43 +0000 (UTC) Received: (qmail 33207 invoked by uid 500); 14 Jan 2015 18:44:42 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 33136 invoked by uid 500); 14 Jan 2015 18:44:42 -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 33122 invoked by uid 99); 14 Jan 2015 18:44:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 18:44:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bimargulies@gmail.com designates 209.85.218.41 as permitted sender) Received: from [209.85.218.41] (HELO mail-oi0-f41.google.com) (209.85.218.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jan 2015 18:44:17 +0000 Received: by mail-oi0-f41.google.com with SMTP id i138so8736524oig.0 for ; Wed, 14 Jan 2015 10:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5Yba0hb2FRkYYTspHNhlbM4MYm1ZjKnTIK+3TYqdHWQ=; b=NFvkQ1oxrI8t3+nvtK/D9AIPN1iaSy0/k415RIV+H6IDVURcISbuQKOObq79gq8vSV yNU6iWvUgGhpsH215rVa3XUtgCsgEXyQnEw3eoxmUxJfImx9ysySL8SqKXe8cTnZ2BS+ d7Cx8n/xN1uk4aweMtm1NbLu50CATtDzagupXVBNaJpzldQEtla3nqeUkJc86Ll4AKJV 2ic8oNNvkrHac3O2fZCXVPdC80YjeJH6Ls/5T2s+pCULLiw/qyh7zCxE2AHmc5GSXc40 xkZhn8bMDPEyY8HUNKgGdqtb28QdC143Ph5IfKnBrswUiDYgjBQ5drigQ5e40Vphv73I qaHw== MIME-Version: 1.0 X-Received: by 10.60.155.195 with SMTP id vy3mr3427330oeb.62.1421260920439; Wed, 14 Jan 2015 10:42:00 -0800 (PST) Received: by 10.202.14.204 with HTTP; Wed, 14 Jan 2015 10:42:00 -0800 (PST) In-Reply-To: <1421258651886-5823548.post@n5.nabble.com> References: <1421233117855-5823467.post@n5.nabble.com> <1421258651886-5823548.post@n5.nabble.com> Date: Wed, 14 Jan 2015 13:42:00 -0500 Message-ID: Subject: Re: Plugable/Softcoded/Customized Maven Plugins From: Benson Margulies To: Maven Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Jan 14, 2015 at 1:04 PM, Tibor Digana wrote: > Kristian, i cannot imaging how will be customizing a dependency extension. > For instance each module should change the runOrder differently. Should I > then build tons of module extension for each project separately? > The extension code should be in src/test/java or another module, but both > cases should be supported. > As i understood the plugin's classpath does not have test classes, then > there must be an additional ClassLoader to proxy the plugin's ClassLoader > and to load the MOJO AbstractSurefireMojo.class and make injection of > @parameters on new proxy instance again, or? Is it possible to extend the > Classworld ClassLoader in plugin runtime? So, I think I'm seeing another consideration here. If I read Tibor correctly, he does not like the need to build a whole java class in a jar file (or maybe just a jar file?) to express some small customization. But, at the same time, some of us would not be happy to be mixing Maven-specific code into the middle of the test source code, since in some environments it has to work in Maven and also in ant or something else. This highlights the Groovy idea -- or at least the idea of a DSL that can be directly typed into the POM, which avoids both. > > > > -- > View this message in context: http://maven.40175.n5.nabble.com/Plugable-Softcoded-Customized-Maven-Plugins-tp5823365p5823548.html > Sent from the Maven Developers mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > 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