There can be other projects (other than Malhar) which inherit from
dt-framework so can't manually change all of them.

One solution is to add it to plugin management. Only the child modules that
refer to it will inherit it so I can make dt-api, dt-common, dt-engine
refer to it. Can't find any better solution.

Thanks,
Chandni

On Wed, Sep 23, 2015 at 6:53 PM, Timothy Farkas <[email protected]> wrote:

> I see.
>
> Tim
>
> On Wed, Sep 23, 2015 at 5:50 PM, Chandni Singh <[email protected]>
> wrote:
>
> > The problem with that is I have to make a separate change for Malhar and
> > the 2 changes have to be merged together. Was trying to avoid this.
> >
> > Chandni
> >
> > On Wed, Sep 23, 2015 at 6:47 PM, Timothy Farkas <[email protected]>
> > wrote:
> >
> > > It looks like it may be possible to disable inherited plugins in a
> child
> > > pom.
> > >
> > >
> > >
> >
> https://thomaswabner.wordpress.com/2010/02/16/howto-disable-inherited-maven-plugin/
> > >
> > > Thanks,
> > > Tim
> > >
> > > On Wed, Sep 23, 2015 at 5:39 PM, Chandni Singh <
> [email protected]>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I want to add Checkstyle plugin to Apex with a custom configuration
> > > > dt-checks.xml.
> > > >
> > > > When I added that locally to Apex root pom.xml, the Malhar built
> failed
> > > > with the following error:
> > > >
> > > > Unable to find configuration file at location: dt_checks.xml: Could
> not
> > > > find resource 'dt_checks.xml'
> > > >
> > > > This happens because dt-framework is parent of malhar.
> > > >
> > > > Please let me know if I want to add this just to APEX for now and not
> > > > Malhar, which pom.xml should I modify.
> > > >
> > > > Chandni
> > > >
> > >
> >
>

Reply via email to