Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BF3918630 for ; Sat, 19 Sep 2015 09:07:08 +0000 (UTC) Received: (qmail 64943 invoked by uid 500); 19 Sep 2015 09:07:06 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 64870 invoked by uid 500); 19 Sep 2015 09:07:06 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 64851 invoked by uid 99); 19 Sep 2015 09:07:05 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Sep 2015 09:07:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 51FE9180333 for ; Sat, 19 Sep 2015 09:07:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3 X-Spam-Level: *** X-Spam-Status: No, score=3 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RLHTlKfpwnaW for ; Sat, 19 Sep 2015 09:06:58 +0000 (UTC) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id B2E5A2074F for ; Sat, 19 Sep 2015 09:06:57 +0000 (UTC) Received: by lbpo4 with SMTP id o4so34541108lbp.2 for ; Sat, 19 Sep 2015 02:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=sPpeIo8HLxqD7iiKk+60vuEa5G/VWA+gAOO1kqgljZ8=; b=HxsuJwMykCkVUC4qucv6KzPjhKd4zpUVq1jy9DIwJsp95nZKA//UklcXeaoTVJFYCf E9ry4shbnob9tu+VJoFjPvWb/30jc5RygBHlBUIfayB0VnPpKscejNoZthSorVDO0WnL /U06pg3M+hB5FcaFiIN08NcQ5OVyabwWiGgQ9bBQSd7ikY/rhoBTzjukTqiZ6fW/SkgI 2RG1UaDFA3jxdSLUW9QkM5RncRFWCfeRhssGkH6iCbe3cgIaeIN1+WqyazNutAnvXUSc 35oXzvOnFM9fIgceDgBq+P4zo2JS2ooB0KNxu/081oXNxMoBQZWodtgWmjBvf9Ej9TI7 J4Kw== MIME-Version: 1.0 X-Received: by 10.153.11.165 with SMTP id ej5mr4720754lad.10.1442653616048; Sat, 19 Sep 2015 02:06:56 -0700 (PDT) Sender: jeffmaury@gmail.com Received: by 10.25.127.208 with HTTP; Sat, 19 Sep 2015 02:06:55 -0700 (PDT) Received: by 10.25.127.208 with HTTP; Sat, 19 Sep 2015 02:06:55 -0700 (PDT) In-Reply-To: References: Date: Sat, 19 Sep 2015 11:06:55 +0200 X-Google-Sender-Auth: ZtyBae1oekgl6T7UAUMAwue0VxQ Message-ID: Subject: Re: Help on parent pom for spring boot project From: Jeff MAURY To: Subramanian Olagappan Cc: Maven Users List Content-Type: multipart/alternative; boundary=001a11346aa05193e0052015f83d --001a11346aa05193e0052015f83d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If you follow Maven rules if you import both spring boot and Jackson then the version of Jackson use will be the one from you pom Jeff Le 19 sept. 2015 04:16, "Subramanian Olagappan" a =C3=A9= crit : > Hi Jeff, > > This is one option and it is listed in the spring documentation. In our > case, eg: we want to use newer version of jaxson and "import" is not > working. The working soln is, have spring-boot-starter-parent as parent p= om > and over ride the jaxson version ( as listed in the doc, see the URL in m= y > original post ) > > With spring-boot-starter-parent as parent pom, I'm not able to use our > existing company parent pom which has lot of plugin and other tools for > build. > > Thanks for your inputs. > > Regards, > Subbu > > On Sat, Sep 19, 2015 at 1:03 AM, Jeff MAURY wrote: > >> Use import scope for boot pom >> >> Jeff >> Le 18 sept. 2015 19:59, "Subramanian Olagappan" a >> =C3=A9crit : >> >> > Sorry.. re-sending it again. >> > >> > Thanks, >> > Subbu >> > >> > On Fri, Sep 18, 2015 at 11:21 PM, Subramanian Olagappan < >> osubbu@gmail.com> >> > wrote: >> > >> > > Hi, >> > > >> > > We have a company wide parent pom for all the projects and it has al= l >> the >> > > plugin and distribution management code. I now have a new project >> where >> > we >> > > wanted to use spring-boot-starter-parent. We also wanted to update >> few of >> > > the versions using the property tag [ As described in 13.1.3 of >> > > >> > >> http://docs.spring.io/spring-boot/docs/1.3.0.M5/reference/htmlsingle/#us= ing-boot-maven-without-a-parent >> > > ] >> > > >> > > We don't want to create one more company parent for spring boot >> projects >> > > with a copy of plugin, distribution management and >> > > spring-boot-starter-parent. >> > > >> > > Is there any way I can reuse my existing company wide parent pom to >> > create >> > > a parent pom for spring boot projects. >> > > >> > > What is the best practice to follow when you have a existing company >> wide >> > > parent pom and want to override few spring boot dependent versions. >> > > >> > > If you can give some examples, it will be helpful to me. >> > > >> > > Thanks, >> > > Subbu >> > > >> > >> > > --001a11346aa05193e0052015f83d--