Re: Unable to download plugin from Nexus

2011-11-14 Thread Brian Fox
It looks to me like your settings.xml isn't defining a pluginRepository. On Thu, Nov 10, 2011 at 7:09 AM, brian2011 brian@barcap.com wrote: Hi, I'm using Maven 2.2.1 and  Nexus 1.7.2. Nexus is configured as an internal repository manager with a single nexus group to external repository

Assembly plugin and multiple dependency sets

2011-11-14 Thread Edmondo Porcu
Dear All, I would need better help in understanding how the Maven Assembly plugin works. I am using a third-party application server which automatically generates an assembly.xml and I am having a problem: I have a multi-module maven project and if I add one maven dependency in a specific

How setup java-first webservice client-jar in Maven?

2011-11-14 Thread rop
Need some advice on how to setup maven-build of the client-jar for java-first webservices... Previously, I have been working with wsdl-first webservices, where you simply save the wsdl in version-control and then generate the java client classes from it. But now I have switched to another

How setup java-first webservice client-jar in Maven?

2011-11-14 Thread rop
(apologies, if you get this twice - I tried posting on nabble, but get This post has NOT been accepted by the mailing list yet. - dont know why - so now trying directly to the mailing-list) I need some advice on how to setup maven-build of the client-jar for java-first webservices...

browsing maven repo

2011-11-14 Thread Ognjen Bubalo
Hi! I would like to get a list of all artifacts placed in a given repository. I think I could use Maven Indexer but I am not sure it works with Maven 3. Also I couldn't find any example using Maven Indexer, to know where to start. I would appreciate if somebody put me on right direction,

Re: browsing maven repo

2011-11-14 Thread Tamás Cservenák
Hi Ogi, Maven3 (not was Maven2) does not use or consume or need index at all... For indexer API uses you can see some examples here: https://github.com/cstamas/maven-indexer-examples For CLI uses (to create indexes for repositories), unsure is there any up to date doco, but just gleaning over

Re: browsing maven repo

2011-11-14 Thread Tamás Cservenák
Hm, a typo: Maven3 (nor Maven2) does not... Thanks, ~t~ 2011/11/14 Tamás Cservenák ta...@cservenak.net: Hi Ogi, Maven3 (not was Maven2) does not use or consume or need index at all... For indexer API uses you can see some examples here: https://github.com/cstamas/maven-indexer-examples

Maven Ant Tasks: Reading from an existing pom

2011-11-14 Thread Mike Wallace
I'm attempting to run a simple ant task that reads an existing pom.xml. However, when the task gets to the pom reading line, it says: [artifact:pom] Unable to create dummy Pom [artifact:pom] Component descriptor cannot be found in the component repository:

Re: browsing maven repo

2011-11-14 Thread Ognjen Bubalo
Thank you (Koszonom) for your response! By given repository I mean a remote repository address (http,https..). I thought that Nexus Indexer can only manage local repo. Anyway, if I understand, indexing a repo is done on the repo side, and I cannot use it for sure. I need something like:

Re: browsing maven repo

2011-11-14 Thread Tamás Cservenák
Hi, well, as I said, on remote reposes Indexer can't do much IF index is not published. And crawling a repo is considered a bad behavior, so be polite! :) Could you describe a bit more about your use case? Thanks, ~t~ PS: Ma nema problema Ogi, i drugi put! Moze i direktno :D On Mon, Nov 14,

Re: browsing maven repo

2011-11-14 Thread Ognjen Bubalo
Hi! Yes I understand. So, I would like to get from a repository all the groupId, artifactId, version 3s and put it into an SQL DB. Then I want to draw a graph using my DB (POM = node, dependency = edge), and finally I want to put in my local POM and see how the dependency tree looklike in the big

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-14 Thread Stephen Coy
Hi there, I've been a maven user since the early 1.0 days and have contributed patches at various times for the ejb-plugin, ear-plugin and others. I've also had the unfortunate experience of having to use WebLogic 10+ to create useable maven poms for our projects. In fact, when I read the OP I

Re: How setup java-first webservice client-jar in Maven?

2011-11-14 Thread Anders Hammar
You want to generate the wsdl as part of the maven build, so that you could deploy it to a repo. I have never used the code-first approach with Maven, but I'm thinking that the wsgen mojo [1] should do what you want. Just specify that the wsdl should be generated. /Anders [1]