[Mondrian] Maven and Mondrian

Marc Batchelor mbatchelor at pentaho.com
Thu Jul 7 14:50:52 EDT 2011


Wget isn't allowed for artifacts on that virtual host actually, so it's working as designed. Regarding the problem that Josh is having - if Josh can contact me directly ( mbatchelor at pentaho.com<mailto:mbatchelor at pentaho.com> ) with the external IP address ( whatismyip.com ) of the machine that's trying to communicate with artifactory, I can check server logs to see if your requests are even getting there.

Marc


From: mondrian-bounces at pentaho.org [mailto:mondrian-bounces at pentaho.org] On Behalf Of Patrick Leckey
Sent: Thursday, July 07, 2011 2:44 PM
To: Julian Hyde; Mondrian developer mailing list
Subject: Re: [Mondrian] Maven and Mondrian

Happen to be running Fedora Core 14 / 15 (or a close derivative)?  If so, try wget with the -4 (force IPv4) switch.  If it then works, it's a recently discovered bug in FC somewhere in IPv6, just hit that recently myself which is why I bring it up.

Bugger too, even if you modprobe blacklist the IPv6 modules, some things will fail unless you force them to v4.

Seems to only affect some things - curl, nslookup, dig all seem to work no problem.  wget, yum and sometimes firefox are affected - and even then, only for some DNS setups.

Past that, I haven't looked too much into it - was easier to just puppet the VMs to Ubuntu instead.  ;)



On 2011-07-07, at 2:26 PM, Julian Hyde wrote:


Likewise; curl works for me, wget does not. That still means there's a problem.

________________________________
From: mondrian-bounces at pentaho.org<mailto:mondrian-bounces at pentaho.org> [mailto:mondrian-bounces at pentaho.org] On Behalf Of Paul Stoellberger
Sent: Thursday, July 07, 2011 11:13 AM
To: Mondrian developer mailing list
Subject: Re: [Mondrian] Maven and Mondrian
 curl http://repository.pentaho.org/artifactory/pentaho/pentaho/mondrian/3.3-SNAPSHOT/mondrian-3.3-SNAPSHOT.jar > mondrian.jar

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2896k  100 2896k    0     0   311k      0  0:00:09  0:00:09 --:--:--  393k


works fine for me.
tested in browsers as well

-paul



On Jul 7, 2011, at 19:03 , Julian Hyde wrote:


It works for me too, when I use 'ant resolve'.

However, I tried the following:

$ wget http://repository.pentaho.org/artifactory/pentaho/pentaho/mondrian/3.3-SNAPSHOT/mondrian-3.3-SNAPSHOT.jar

--2011-07-07 11:00:49--  http://repository.pentaho.org/artifactory/pentaho/pentaho/mondrian/3.3-SNAPSHOT/mondrian-3.3-SNAPSHOT.jar
Resolving repository.pentaho.org<http://repository.pentaho.org/> (repository.pentaho.org<http://repository.pentaho.org/>)... 74.205.95.173
Connecting to repository.pentaho.org<http://repository.pentaho.org/> (repository.pentaho.org<http://repository.pentaho.org/>)|74.205.95.173|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2011-07-07 11:00:50 ERROR 403: Forbidden.
It should work, but it doesn't. Maybe it requires HTTP authentication.

Guy, Do you get a similar error?  If so I'll follow up with Pentaho IT.

Julian

________________________________
From: mondrian-bounces at pentaho.org<mailto:mondrian-bounces at pentaho.org> [mailto:mondrian-bounces at pentaho.org] On Behalf Of Paul Stoellberger
Sent: Thursday, July 07, 2011 10:41 AM
To: Mondrian developer mailing list
Subject: Re: [Mondrian] Maven and Mondrian
I'm using olap4j + mondrian + maven since 2,5 years now. Never any problems.

I just tested this without any problem:

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


<repository>
<id>pentaho-repo</id>
<name>pentaho repository</name>
<url>http://repository.pentaho.org/artifactory/pentaho</url>
</repository>

-Paul

On Jul 7, 2011, at 17:49 , Josh Chappelle wrote:


Still nothing. I'll keep trying. Worst case I'll just copy the mondrian artifacts into our repository manually.

Thanks for your help!

Josh
On Thu, Jul 7, 2011 at 11:37 AM, Luc Boudreau <lucboudreau at gmail.com<mailto:lucboudreau at gmail.com>> wrote:
Maybe try repo.pentaho.org<http://repo.pentaho.org/> instead of repository.pentaho.org<http://repository.pentaho.org/>. I sometimes get some DNS resolution errors and weird behavior as I work from home and I happen to know that there is some voodoo magic going on behind the scenes. I can't help much more than that, that's about the extend of my knowledge with Maven repositories.

Good luck!

Luc

On Thu, Jul 7, 2011 at 12:31 PM, Josh Chappelle <jchappelle at 4redi.com<mailto:jchappelle at 4redi.com>> wrote:
Thanks for the GAV coordinates Luc.

I think now my problem is that the artifact with these coordinates is not in the Maven central repository. I'm trying to add a proxy repository to our company's nexus repository and I can't make it work with the artifactory URL listed below. I can go to it in my browser and see artifacts but when I add the repo in nexus and search for something like olap4j or mondrian I get no results.

Any ideas?

Thanks,

Josh

On Mon, Jun 20, 2011 at 3:51 PM, Luc Boudreau <lucboudreau at gmail.com<mailto:lucboudreau at gmail.com>> wrote:

You can use:

    http://repository.pentaho.org/artifactory/
    pentaho:mondrian:3.2.1.13885

Cheers!

Luc

On Mon, Jun 20, 2011 at 4:48 PM, Josh Chappelle <jchappelle at 4redi.com<mailto:jchappelle at 4redi.com>> wrote:
Hi,

We use mondrian in our project and we are about to start using maven 2. I'm building our pom file for one of our projects and I can't figure out what the maven(GAV) coordinates should be for mondrian. It's obviously not in the central repository. I've looked at the artifactory site for pentaho and generated a settings.xml from there to no avail.

I could always build my own separate project and pom file for mondrian but I think this kind of defeats the purpose of maven especially when using a project like mondrian that depends on several other projects.

Any help is greatly appreciated.

Thanks,

Josh



_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian


_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian


_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian


_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian

_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian

_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian

_______________________________________________
Mondrian mailing list
Mondrian at pentaho.org<mailto:Mondrian at pentaho.org>
http://lists.pentaho.org/mailman/listinfo/mondrian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110707/94266c2b/attachment.html 


More information about the Mondrian mailing list