Something that we can configure directly in
${maven.multiModuleProjectDirectory}/.mvn/extensions.xml


   1. <?xml version="1.0" encoding="UTF-8"?>
   2. <extensions>
   3. <extension>
   4. <groupId>org.apache.maven.ext</groupId>
   5. <artifactId>log4j2</artifactId>
   6. <version>1.0</version>
   7. </extension>
   8. </extensions>


or in the pom


   1. <build>
   2. <extensions>
   3. <extension>
   4. <groupId>org.apache.maven.ext</groupId>
   5. <artifactId>log4j2</artifactId>
   6. <version>1.0</version>
   7. </extension>
   8. </extensions>
   9. </build>


But I agree that your idea of a command line plugin that we can use to
patch our own instance may be better

Maybe the best solution is to do nothing and to use the maven-color project
: https://github.com/jcgay/maven-color



On Thu, Jan 7, 2016 at 12:54 AM, Olivier Lamy <[email protected]> wrote:

> I mean a plugin which update the local install.
>
> i.e: mvn logging:update-dist -dimplementation=log4j2 -DlocalInstall=
> (optional per default the current used install)
> This will download the artifacts and install them in the target local
> distro.
> That's a sort of extension.
> Maybe I don't understand what do you mean with extension?
>
>
> On 7 January 2016 at 10:48, Arnaud Héritier <[email protected]> wrote:
>
> > @olamy instead of a plugin I would have loved to do this as an extension
> > but I'm not sure it is technically possible. But clearly it would make
> > sense for me to have this as an extension as now we have more more things
> > possible in this area.
> > @jason I won't fight, I just want some colors in our ugly shell :-)
> > I don't want to at all to criticize Ceki's work as I used slf4J/logback
> > many many times but for an apache project for me it was just logic
> nowadays
> > to use log4j2 which is not any more in beta but it is just a personal
> > preference.
> > At the end it won't change anything for me who aren't contributing
> > regularly but as a long time user I would love to see little improvements
> > like this landing in the product
> >
> > Cheers
> >
> >
> >
> > On Wed, Jan 6, 2016 at 11:59 PM, Olivier Lamy <[email protected]> wrote:
> >
> > > Arnaud,
> > > When I started this log4j2 branch, I was tired with this political no
> > > trough discussion etc...... (so I didn't move forward...)
> > > So except if you want to waste your time, try an other approach.
> > > IMHO I think the best is probably to create a plugin which
> > update/configure
> > > a local distro with the artifacts needed for log4j2 or any other
> logging
> > > implementation.
> > > That's not really complicated to download then copy artifacts to the
> > > correct local folder.
> > > And voilà! you're happy, you saved your time and can write a blog entry
> > :-)
> > >
> > > Cheers
> > > Olivier
> > >
> > > On 6 January 2016 at 23:55, Arnaud Héritier <[email protected]>
> wrote:
> > >
> > > > thanks for this valuable comment Jason :(
> > > >
> > > > On Wed, Jan 6, 2016 at 1:46 PM, Jason van Zyl <[email protected]>
> wrote:
> > > >
> > > > > -1
> > > > >
> > > > > Do not merge this branch.
> > > > >
> > > > > > On Jan 6, 2016, at 4:05 AM, Tibor Digana <[email protected]
> >
> > > > wrote:
> > > > > >
> > > > > > Hi Arnaud,
> > > > > > Do you plan a Release Version to merge this branch o master in
> > Maven?
> > > > > >
> > > > > > On Tue, Jan 5, 2016 at 7:18 AM, Arnaud Héritier [via Maven] <
> > > > > > [email protected]> wrote:
> > > > > >
> > > > > >> Just because only 2.4 was available when I updated this feature
> > > branch
> > > > > few
> > > > > >> months ago.
> > > > > >>
> > > > > >> Le mardi 5 janvier 2016, Gary Gregory <[hidden email]
> > > > > >> <http:///user/SendEmail.jtp?type=node&node=5857870&i=0>> a
> écrit
> > :
> > > > > >>
> > > > > >>> Hi Arnaud,
> > > > > >>>
> > > > > >>> Thank you for the update.
> > > > > >>>
> > > > > >>> Why not update the Log4j 2 dep from 2.4 to 2.5?
> > > > > >>>
> > > > > >>> Gary
> > > > > >>>
> > > > > >>> On Mon, Jan 4, 2016 at 2:46 PM, Arnaud Héritier <[hidden email]
> > > > > >> <http:///user/SendEmail.jtp?type=node&node=5857870&i=1>
> > > > > >>> <javascript:;>> wrote:
> > > > > >>>
> > > > > >>>> Hi Gary,
> > > > > >>>>
> > > > > >>>>  I fixed this in the branch :
> > > > > >>>> https://github.com/apache/maven/commits/slf4j-log4j2.4
> > > > > >>>>  The fix is in
> > > > > >>>>
> > > > > >>>>
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> maven-embedder/src/main/resources/META-INF/maven/slf4j-configuration.properties
> > > > > >>
> > > > > >>>> (
> > > > > >>>>
> > > > > >>>>
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> https://github.com/apache/maven/commit/8cddea291c279130d437bcdf3337f16296558530
> > > > > >>>> )
> > > > > >>>>  It is the update I did after my old blog post :
> > > > > >>>> http://www.aheritier.net/united-colors-of-maven/
> > > > > >>>>
> > > > > >>>> BR
> > > > > >>>>
> > > > > >>>> On Fri, Dec 25, 2015 at 4:09 PM, Gary Gregory <[hidden email]
> > > > > >> <http:///user/SendEmail.jtp?type=node&node=5857870&i=2>
> > > > > >>> <javascript:;>>
> > > > > >>>> wrote:
> > > > > >>>>
> > > > > >>>>> Hi All,
> > > > > >>>>>
> > > > > >>>>> Happy Holidays.
> > > > > >>>>>
> > > > > >>>>> Can the next version of Maven be rid of this warning:
> > > > > >>>>>
> > > > > >>>>> [WARN] The SLF4J binding actually used is not supported by
> > Maven:
> > > > > >>>>> org.apache.logging.slf4j.Log4jLoggerFactory
> > > > > >>>>> [WARN] Maven supported bindings are:
> > > > > >>>>> [WARN] (from
> > > > > >>>>>
> > > > > >>>>>
> > > > > >>>>
> > > > > >>>
> > > > > >>
> > > > >
> > > >
> > >
> >
> jar:file:/E:/Java/apache-maven-3.3.9/bin/../lib/maven-embedder-3.3.9.jar!/META-INF/maven/slf4j-configuration.properties)
> > > > > >>
> > > > > >>>>> - ch.qos.logback.classic.LoggerContext
> > > > > >>>>> - org.slf4j.helpers.Log4jLoggerFactory
> > > > > >>>>> - org.slf4j.impl.SimpleLoggerFactory
> > > > > >>>>>
> > > > > >>>>> Is there a step I am missing to use Log4j 2 cleanly? My steps
> > are
> > > > > >> here:
> > > > > >>>>>
> > > https://garygregory.wordpress.com/2015/03/23/watch-maven-in-color/
> > > > > >>>>>
> > > > > >>>>> --
> > > > > >>>>> E-Mail: [hidden email]
> > > > > >> <http:///user/SendEmail.jtp?type=node&node=5857870&i=3>
> > > > <javascript:;>
> > > > > | [hidden
> > > > > >> email] <http:///user/SendEmail.jtp?type=node&node=5857870&i=4>
> > > > > >>> <javascript:;>
> > > > > >>>>> Java Persistence with Hibernate, Second Edition
> > > > > >>>>> <http://www.manning.com/bauer3/>
> > > > > >>>>> JUnit in Action, Second Edition <
> > > http://www.manning.com/tahchiev/>
> > > > > >>>>> Spring Batch in Action <http://www.manning.com/templier/>
> > > > > >>>>> Blog: http://garygregory.wordpress.com
> > > > > >>>>> Home: http://garygregory.com/
> > > > > >>>>> Tweet! http://twitter.com/GaryGregory
> > > > > >>>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>>
> > > > > >>>> --
> > > > > >>>> -----
> > > > > >>>> Arnaud Héritier
> > > > > >>>> http://aheritier.net
> > > > > >>>> Mail/GTalk: aheritier AT gmail DOT com
> > > > > >>>> Twitter/Skype : aheritier
> > > > > >>>>
> > > > > >>>
> > > > > >>>
> > > > > >>>
> > > > > >>> --
> > > > > >>> E-Mail: [hidden email]
> > > > > >> <http:///user/SendEmail.jtp?type=node&node=5857870&i=5>
> > > > <javascript:;>
> > > > > | [hidden
> > > > > >> email] <http:///user/SendEmail.jtp?type=node&node=5857870&i=6>
> > > > > >>> <javascript:;>
> > > > > >>> Java Persistence with Hibernate, Second Edition
> > > > > >>> <http://www.manning.com/bauer3/>
> > > > > >>> JUnit in Action, Second Edition <
> > http://www.manning.com/tahchiev/>
> > > > > >>> Spring Batch in Action <http://www.manning.com/templier/>
> > > > > >>> Blog: http://garygregory.wordpress.com
> > > > > >>> Home: http://garygregory.com/
> > > > > >>> Tweet! http://twitter.com/GaryGregory
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >> -----
> > > > > >> Arnaud Héritier
> > > > > >> http://aheritier.net
> > > > > >> Mail/GTalk: aheritier AT gmail DOT com
> > > > > >> Twitter/Skype : aheritier
> > > > > >>
> > > > > >>
> > > > > >> ------------------------------
> > > > > >> If you reply to this email, your message will be added to the
> > > > discussion
> > > > > >> below:
> > > > > >>
> > > http://maven.40175.n5.nabble.com/Log4j-Warning-tp5856237p5857870.html
> > > > > >> To start a new topic under Maven Developers, email
> > > > > >> [email protected]
> > > > > >> To unsubscribe from Maven Developers, click here
> > > > > >> <
> > > > >
> > > >
> > >
> >
> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=142166&code=dGlib3JkaWdhbmFAYXBhY2hlLm9yZ3wxNDIxNjZ8LTI4OTQ5MjEwMg==
> > > > > >
> > > > > >> .
> > > > > >> NAML
> > > > > >> <
> > > > >
> > > >
> > >
> >
> http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > > > > >
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > View this message in context:
> > > > >
> > http://maven.40175.n5.nabble.com/Log4j-Warning-tp5856237p5857942.html
> > > > > > Sent from the Maven Developers mailing list archive at
> Nabble.com.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Jason
> > > > >
> > > > > ----------------------------------------------------------
> > > > > Jason van Zyl
> > > > > Founder, Takari and Apache Maven
> > > > > http://twitter.com/jvanzyl
> > > > > http://twitter.com/takari_io
> > > > > ---------------------------------------------------------
> > > > >
> > > > > {script:nopre:"/Users/jvanzyl/signature/signature.sh"}
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [email protected]
> > > > > For additional commands, e-mail: [email protected]
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -----
> > > > Arnaud Héritier
> > > > http://aheritier.net
> > > > Mail/GTalk: aheritier AT gmail DOT com
> > > > Twitter/Skype : aheritier
> > > >
> > >
> > >
> > >
> > > --
> > > Olivier Lamy
> > > http://twitter.com/olamy | http://linkedin.com/in/olamy
> > >
> >
> >
> >
> > --
> > -----
> > Arnaud Héritier
> > http://aheritier.net
> > Mail/GTalk: aheritier AT gmail DOT com
> > Twitter/Skype : aheritier
> >
>
>
>
> --
> Olivier Lamy
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>



-- 
-----
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Reply via email to