Re: Reverse dependency:tree?

2010-07-20 Thread Wim Deblauwe
I don't know of such a tool, but if you are running linux, you could create a shell script that relies on dependency:tree. You would need to check out all the projects you want to monitor, run dependency:tree (or dependency:list) on them with a grep on the artifact and print out those that match.

Re: Reverse dependency:tree?

2010-07-20 Thread Barrie Treloar
On Tue, Jul 20, 2010 at 2:09 PM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: Is there a plugin or command-line tool that can list all artifacts in a local repository (or even in a multimodule project) that depend, directly or transitively, on a given artifact? This is the opposite of

Re: Ability to resolve full URL of a particular snapshot artifact

2010-07-20 Thread Dan Tran
Any taker on this? :-) On Mon, Jul 19, 2010 at 1:24 PM, Dan Tran dant...@gmail.com wrote: Hello all, I have an internal plugin where I can download a large snapshot to my local repo, then push it to another host via SCP. It would be very nice to skip the download and directly having the

Re: [Maven 2] plugin using project ressources

2010-07-20 Thread anis chaaba
And now ? On Mon, Jul 19, 2010 at 10:16 PM, Anders Hammar and...@hammar.net wrote: No projects were attached... /Anders On Mon, Jul 19, 2010 at 11:42, anis chaaba anis.cha...@gmail.com wrote: Hello everybody, What can I do to make my plugin use ressources of the project running into

Re: [Maven 2] plugin using project ressources

2010-07-20 Thread anis chaaba
*Attachement does not work so here are my sources.* * * *package bundle.plugin;* * * */** * * Copyright 2001-2005 The Apache Software Foundation.* * ** * * Licensed under the Apache License, Version 2.0 (the License);* * * you may not use this file except in compliance with the License.* * * You

wtp server version

2010-07-20 Thread i.cace
How do I specify the server version? Right now I'm not explicitly specifying anything and I get: [INFO] no substring wtp server match. [INFO] Using as WTP server : Apache Tomcat v5.5 Thanks, Ivana

Re: Reverse dependency:tree?

2010-07-20 Thread Ben Caradoc-Davies
On 20/07/10 14:50, Barrie Treloar wrote: On Tue, Jul 20, 2010 at 2:09 PM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: The problem I am trying to solve is to automatically determine which higher level artifacts need to have their dependencies updated when a lower level artifact is

using a proxy to bypass network issues accessing maven central repo

2010-07-20 Thread kelvin goodson
I'm having local network problems reaching maven central repo (not pingable, traceroute fails). Whilst these are being fixed I set up a proxy in my settings.xml proxies proxy activetrue/active protocolhttp/protocol

Does the sequence of goals/phases matter?

2010-07-20 Thread Lewis, Eric
Hi This is probably a trivial question, but I'll ask it nonetheless :-) Does the sequence of the goals and lifecycle phases matter when I call Maven? In other words, are these two exactly the same? clean package site-deploy site-deploy clean package Best regards, Eric

Re: Does the sequence of goals/phases matter?

2010-07-20 Thread Justin Edelson
On Jul 20, 2010, at 7:49 AM, Lewis, Eric eric.le...@ipi.ch wrote: Hi This is probably a trivial question, but I'll ask it nonetheless :-) Does the sequence of the goals and lifecycle phases matter when I call Maven? Yes In other words, are these two exactly the same? No clean

AW: Does the sequence of goals/phases matter?

2010-07-20 Thread Lewis, Eric
Ok, thanks for the clarification! So, is this the right sequence in your opinion? clean package findbugs:findbugs pmd:pmd pmd:cpd checkstyle:checkstyle site-deploy Or where can I find out more about that topic? http://www.sonatype.com/books/mvnref-book/reference/lifecycle.html doesn't tell

ip address range blocked to maven infrastructure?

2010-07-20 Thread kelvin goodson
My colleagues and I are having problems building with maven, because the maven central repo is not accessible from our office location. Our network support people think that our IP addresses are being blocked by the maven infrastructure. Is this the right place to come to for this issue?

Re: AW: Does the sequence of goals/phases matter?

2010-07-20 Thread Justin Edelson
On Jul 20, 2010, at 8:01 AM, Lewis, Eric eric.le...@ipi.ch wrote: Ok, thanks for the clarification! So, is this the right sequence in your opinion? clean package findbugs:findbugs pmd:pmd pmd:cpd checkstyle:checkstyle site-deploy Assuming that findbugs, pmd and checkstyle are

Re: ip address range blocked to maven infrastructure?

2010-07-20 Thread Thomas Markus
Hi, repo2.maven.org works fine. All hops are inside ibm network (9.0.0.0/8) so i guess its an internal problem. regards thomas Am 20.07.2010 14:38, schrieb kelvin goodson: My colleagues and I are having problems building with maven, because the maven central repo is not accessible from

AW: AW: Does the sequence of goals/phases matter?

2010-07-20 Thread Lewis, Eric
Actually, it's a bit complicated :-) The Maven build is started within Hudson. The plugins within Hudson (PMD, Checkstyle etc.) require the report XMLs (created by pmd:pmd etc.) to be able to work. So I need to call those goals for every build. However, we also have a nightly build (which

Re: ip address range blocked to maven infrastructure?

2010-07-20 Thread Jason van Zyl
The only time anyone gets automatically blocked by our heuristics is when you scrape the repository. No, normal Maven use even by several hundred developers simultaneously from one location will not get you blocked. When people ask us this someone in the said organization and tried to scrape

Re: AW: AW: Does the sequence of goals/phases matter?

2010-07-20 Thread Jörg Schaible
Lewis, Eric wrote: Actually, it's a bit complicated :-) The Maven build is started within Hudson. The plugins within Hudson (PMD, Checkstyle etc.) require the report XMLs (created by pmd:pmd etc.) to be able to work. So I need to call those goals for every build. However, we also have a

AW: AW: AW: Does the sequence of goals/phases matter?

2010-07-20 Thread Lewis, Eric
Yep, that sounds smart! Especially since I can activate the profile by the existence of HUDSON_HOME. I'll try that, thanks! Best regards, Eric -Ursprüngliche Nachricht- Von: Jörg Schaible [mailto:joerg.schai...@gmx.de] Gesendet: Dienstag, 20. Juli 2010 15:32 An: users@maven.apache.org

Re: ip address range blocked to maven infrastructure?

2010-07-20 Thread kelvin goodson
On Tue, Jul 20, 2010 at 2:18 PM, Jason van Zyl ja...@sonatype.com wrote: The only time anyone gets automatically blocked by our heuristics is when you scrape the repository. No, normal Maven use even by several hundred developers simultaneously from one location will not get you blocked. When

Re: Reverse dependency:tree?

2010-07-20 Thread Ron Wheeler
On 20/07/2010 5:53 AM, Ben Caradoc-Davies wrote: On 20/07/10 14:50, Barrie Treloar wrote: On Tue, Jul 20, 2010 at 2:09 PM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: The problem I am trying to solve is to automatically determine which higher level artifacts need to have their

Re: Reverse dependency:tree?

2010-07-20 Thread Andrew Close
On Mon, Jul 19, 2010 at 11:39 PM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: Is there a plugin or command-line tool that can list all artifacts in a local repository (or even in a multimodule project) that depend, directly or transitively, on a given artifact? This is the opposite of

Re: wtp server version

2010-07-20 Thread Greg Akins
On Tue, Jul 20, 2010 at 5:06 AM, i.c...@nki.nl wrote: How do I specify the server version? Right now I'm not explicitly specifying anything and I get: [INFO] no substring wtp server match. [INFO] Using as WTP server : Apache Tomcat v5.5 I don't have an answer, but am curious.. so I'll ask

Re: Reverse dependency:tree?

2010-07-20 Thread Wendy Smoak
On Tue, Jul 20, 2010 at 12:39 AM, Ben Caradoc-Davies ben.caradoc-dav...@csiro.au wrote: Is there a plugin or command-line tool that can list all artifacts in a local repository (or even in a multimodule project) that depend, directly or transitively, on a given artifact? This is the opposite of

RE: wtp server version

2010-07-20 Thread i.cace
Yes, im running eclipse:eclipse and i have WTP version 2.0 specified in the pom. The targeted runtime in eclipse is tomcat v6 so I'm a bit confused with the v5.5 I'm trying to build a vaadin addon (http://vaadin.com/wiki/-/wiki/Main/Using%20Vaadin%20with%20Maven) and I'm getting errors so I

Password protection on maven-jarsigner-plugin

2010-07-20 Thread Leonardo Vidal
Hi all, I have a project which needs to sign a applet. I used the following plugin configuration in my pom with the expected results. What bothers me is leaving my passwords in plain text. Is there a way to obfuscate it? plugin groupIdorg.apache.maven.plugins/groupId

Problems with Maven Windows network drives

2010-07-20 Thread Frederic Camblor
Hi all ! I'm working under Windows via VirtualBox, and I'd like to not put sensible/weight data on it to preserve image size/loss. So I ended up creating a network drive between my host and guest OS, putting project maven data on it. And ... it looks like maven is acting very strangely with

Re: How to skip tests during release:prepare?

2010-07-20 Thread Zac Thompson
On Sun, Jul 18, 2010 at 10:57 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: the reason to bother compiling is to verify that the release build will work when the version numbers have been transformed. But if you don't mind borked tags in your SCM True: if you want to do

applying finalName of dependencies when project is packaging

2010-07-20 Thread Shan Syed
I know there is already a lot of discussion around the topic of artifacts not using finalName when they are installed into a repository (remote or local), but is there a way to enforce that the dependencies, when packaged into the using project, are packaged with their finalNames? example:

mvn and amazon cloud

2010-07-20 Thread Gordon Cody
Hello Has anyone succesfully used maven preferably with svn (and either nexus or artifiactory) within Amazon cloud. Any useful tips to share? Regards, Gord Cody gc...@zafinlabs.com

Re: applying finalName of dependencies when project is packaging

2010-07-20 Thread Kalle Korhonen
Always a good idea to state *why* you might want to do this so people can provide alternatives. AFAIK the answer is no to your question, but if, for example, you just want to use the artifact name and strip out the version info from the filename, you can use outputFileNameMapping (see

Re: mvn and amazon cloud

2010-07-20 Thread Wayne Fay
Has anyone succesfully used maven preferably with svn (and either nexus or artifiactory) within Amazon cloud. What exactly are you asking about? Building code in an EC2 instance? Or running a Nexus/Artifactory/etc MRM instance in EC2? Or what?? I would also guess the guys on the Hudson list

Re: applying finalName of dependencies when project is packaging

2010-07-20 Thread Shan Syed
Hi, We have a very large set of WAR projects (web services, web applications, static websites, etc) as part of a product offering. Various versions and combinations of these are delivered to clients, but there is no immediate understand of who gets what WARs, what versions, etc. So I am using

Re: applying finalName of dependencies when project is packaging

2010-07-20 Thread Kalle Korhonen
Just a suggestion, but sounds to me the pom that drives zipping up the artifacts should also be in control of the final names rather than the individual wars. What would happen if two wars specified the same final names? If you cannot dictate a convention for the artifact names I don't see why

Re: mvn and amazon cloud

2010-07-20 Thread Gordon Cody
hi I'm interested in both actually. apologies for being vague. regards gord On Jul 20, 2010 4:59 PM, Wayne Fay wayne...@gmail.com wrote: Has anyone succesfully used maven preferably with svn (and either nexus or artifiactory) within ... What exactly are you asking about? Building code in an