Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: [Mondrian] Mondrian dependency with eigenbase-resgen

  1. #1
    Josh Chappelle Guest

    Default [Mondrian] Mondrian dependency with eigenbase-resgen

    Hi,

    I have added the mondrian dependency in my maven pom file like this.

    <dependency>
    <groupId>pentaho</groupId>
    <artifactId>mondrian</artifactId>
    <version>3.2.1.13885</version>
    </dependency>

    It looks like it depends on eigenbase-resgen because one line of our code
    looks like MondrianProperties.instance().put(...) and the compiler is
    complaining about it missing required .class files. I would have expected
    maven to just discover all dependencies and pull what it needed but that
    wasn't the case.

    I have noticed the mondrian team uses ivy for dependency management which I
    know nothing about so forgive me if this is a stupid question. Shouldn't
    this jar be added as a dependency of the mondrian.jar file? Or is maven just
    not smart enough to pick it up because it is ivy?

    Thanks,

    Josh

    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  2. #2
    Luc Boudreau Guest

    Default Re: [Mondrian] Mondrian dependency with eigenbase-resgen

    You are right. The ivy file in the repository lists the dependencies, but
    the pom doesn't. I have created a Jira case for us to fix that. You can find
    it at http://jira.pentaho.com/browse/MONDRIAN-961

    Thanks for spotting this!

    Luc

    On Thu, Jul 7, 2011 at 4:52 PM, Josh Chappelle <jchappelle (AT) 4redi (DOT) com> wrote:

    > Hi,
    >
    > I have added the mondrian dependency in my maven pom file like this.
    >
    > <dependency>
    > <groupId>pentaho</groupId>
    > <artifactId>mondrian</artifactId>
    > <version>3.2.1.13885</version>
    > </dependency>
    >
    > It looks like it depends on eigenbase-resgen because one line of our code
    > looks like MondrianProperties.instance().put(...) and the compiler is
    > complaining about it missing required .class files. I would have expected
    > maven to just discover all dependencies and pull what it needed but that
    > wasn't the case.
    >
    > I have noticed the mondrian team uses ivy for dependency management which I
    > know nothing about so forgive me if this is a stupid question. Shouldn't
    > this jar be added as a dependency of the mondrian.jar file? Or is maven just
    > not smart enough to pick it up because it is ivy?
    >
    > Thanks,
    >
    > Josh
    >
    > _______________________________________________
    > Mondrian mailing list
    > Mondrian (AT) pentaho (DOT) org
    > http://lists.pentaho.org/mailman/listinfo/mondrian
    >
    >


    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  3. #3
    Paul Stoellberger Guest

    Default Re: [Mondrian] Mondrian dependency with eigenbase-resgen

    Oh yeah, that would be great if that could be fixed.

    @ Josh:

    I have those artifacts as well in my pom:

    <dependency>
    <groupId>eigenbase</groupId>
    <artifactId>eigenbase-properties</artifactId>
    <version>1.1.0.10924</version>
    </dependency>
    <dependency>
    <groupId>eigenbase</groupId>
    <artifactId>eigenbase-resgen</artifactId>
    <version>1.3.0.11873</version>
    </dependency>
    <dependency>
    <groupId>eigenbase</groupId>
    <artifactId>eigenbase-xom</artifactId>
    <version>1.3.0.11999</version>
    </dependency>


    -Paul

    On Jul 7, 2011, at 21:58 , Luc Boudreau wrote:

    > You are right. The ivy file in the repository lists the dependencies, but the pom doesn't. I have created a Jira case for us to fix that. You can find it at http://jira.pentaho.com/browse/MONDRIAN-961
    >
    > Thanks for spotting this!
    >
    > Luc
    >
    > On Thu, Jul 7, 2011 at 4:52 PM, Josh Chappelle <jchappelle (AT) 4redi (DOT) com> wrote:
    > Hi,
    >
    > I have added the mondrian dependency in my maven pom file like this.
    >
    > <dependency>
    > <groupId>pentaho</groupId>
    > <artifactId>mondrian</artifactId>
    > <version>3.2.1.13885</version>
    > </dependency>
    >
    > It looks like it depends on eigenbase-resgen because one line of our code looks like MondrianProperties.instance().put(...) and the compiler is complaining about it missing required .class files. I would have expected maven to just discover all dependencies and pull what it needed but that wasn't the case.
    >
    > I have noticed the mondrian team uses ivy for dependency management which I know nothing about so forgive me if this is a stupid question. Shouldn't this jar be added as a dependency of the mondrian.jar file? Or is maven just not smart enough to pick it up because it is ivy?
    >
    > Thanks,
    >
    > Josh
    >
    > _______________________________________________
    > Mondrian mailing list
    > Mondrian (AT) pentaho (DOT) org
    > http://lists.pentaho.org/mailman/listinfo/mondrian
    >
    >
    > _______________________________________________
    > Mondrian mailing list
    > Mondrian (AT) pentaho (DOT) org
    > http://lists.pentaho.org/mailman/listinfo/mondrian



    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.