Re: Building production web archive

2011-11-15 Thread Wayne Fay
> Is there a recommanded way to manage the lifecycle of this external config process > Associated To Maven project version (create a parent/module project)? I have no specific recommendations to make here other than to say that it should be versioned and released just like any other artifact. Pare

Re: Building production web archive

2011-11-15 Thread Eddy PELAIC
Hello Wayne, Thanks for the reply. Le 15 nov. 2011 à 20:36, Wayne Fay a écrit : >> What is the best way to build production web archive in maven project ? >> Should I use a profile in pom.xml >> or externalize the process with ant's build.xml file to manage multiple >> production (hostname, c

Re: Building production web archive

2011-11-15 Thread Wayne Fay
> What is the best way to build production web archive in maven project ? > Should I use a profile in pom.xml > or externalize the process with ant's build.xml file to manage multiple > production (hostname, config) version, with > the results of maven build/package ? Externalize your configurati

Report Plugin Dependencies (Maven 3 style) for Site

2011-11-15 Thread Nate Stoddard
I'm resending this because the formatting got butchered the first type. Sorry for the duplicate. Nate Stoddard = I'm trying to use the new Maven 3 style of generating reports, but I'm having problems with one in particular. I have some custom Checkstyle checks, but I'm not able to add t

Report Plugin Dependencies (Maven 3 style) for Site

2011-11-15 Thread Nate Stoddard
I'm trying to use the new Maven 3 style of generating reports, but I'm having problems with one in particular. I have some custom Checkstyle checks, but I'm not able to add the dependency in the right spot to make everything work. Here's part of my POM: org.apache.maven.plugins maven-site-p

Building production web archive

2011-11-15 Thread Eddy PELAIC
Hello, What is the best way to build production web archive in maven project ? Should I use a profile in pom.xml or externalize the process with ant's build.xml file to manage multiple production (hostname, config) version, with the results of maven build/package ? Best regards Edo -

Re: Execution control for self developed maven plugins

2011-11-15 Thread Stephen Connolly
execute the process-resources phase... but beware if you are binding your plugin to the lifecycle you would be better giving the default phase as process-resources rather than forking a lifecycle with @execute On 15 November 2011 10:28, Jan Bernhardt wrote: > ** ** > > Hi, > > ** ** > > how

Execution control for self developed maven plugins

2011-11-15 Thread Jan Bernhardt
Hi, how can I ensure that resource filtering took place before my maven plugin is executed? Background: I wrote my own maven plugin. I used spring to wire my components together and set specific configuration parameters. Now I would like to use maven properties in my spring-config.xml. I put m

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

2011-11-15 Thread Stephen Coy
On 15/11/2011, at 9:24 PM, Stephen Connolly wrote: > Actually this is not going to be as big an issue as you think. hmm > > Keep in mind you are not sucking in _all_ the container's jars into > your uber jar, only the public ones (unless you are very lazy... in > which case you're going to hav

Re: browsing maven repo

2011-11-15 Thread Ognjen Bubalo
Oh yes I understand. I didn't think deep enough. My tutor needs this set of triplets. If I do not need the dependency information of the whole repo, just the triplets with timestamp, is there a way to get this? If not can I do this someway with the central repo only? Or maybe create a local repo an

Re: browsing maven repo

2011-11-15 Thread Tamás Cservenák
Hi, it's not feasible at all. You'd need to _resolve_ all the existing POMs into effective POMs, to be able to build the "edges" you mention in way you want. Moreover, it's not that simple, think platform specific profiles (hence, edges changes as you change the platform you evaluate aganst), etc.

Re: browsing maven repo

2011-11-15 Thread Ognjen Bubalo
Yes I already read about Aether. I know that if I use this I can get the tree, and that should be enough to visualize, but the part of the thesis is to get artifacts information (triples) into a DB from a repo for further analysis. Is this possible somehow? Thank you! Br, Ogi 2011/11/15 Tamás Cs

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

2011-11-15 Thread Stephen Connolly
Actually this is not going to be as big an issue as you think. Keep in mind you are not sucking in _all_ the container's jars into your uber jar, only the public ones (unless you are very lazy... in which case you're going to have problems anyway) The container's classloaders should look somethin

Re: browsing maven repo

2011-11-15 Thread Tamás Cservenák
Hm, well then, your need seems "bloated". You don't need _whole_ Central Repository GAVs at all (what for? to use 1%, 5% or 10% of it in best case?)... Let's reverse your problem: Just create those "local POMs" first, and use Aether [1] to resolve it's dependencies and persist somehow the resulti

Re: browsing maven repo

2011-11-15 Thread Ognjen Bubalo
Hi! Hmm, the only way to get the dependencies is to look into the POM files I think. I know this is too much maybe. Yes I would like to have all the triplets in my DB and it would be really good if I could show the whole graph. If I add my local POM which depends on some other projects in this spe

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

2011-11-15 Thread Nord, James
Not that I am needing to do this but in order to further my understanding... If you create an Uber JAR - then you can end up in classpath hell - as the dependencies aren't correct (it could include common-io 1.2 and you need commons-io 1.3 which is declared transitively) This then means that ev

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

2011-11-15 Thread Anders Hammar
You could either deploy the wsdl in a jar file (or zip or whatever) or deploy it as is. Personally I've gone the path of having the wsdl deployed as is to the repo. Ultimately (IMHO), the wsdl should be in a separate project so that is the primary artifact. A client using your ws doesn't care about

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

2011-11-15 Thread rop
Thanks Anders, Just to clarify... So the serverside webservice-project puts the wsdl in a jar-file, which is deployed to Nexus? And the client-project can then read that wsdl from the classpath and generate the client-jar? Is that what you have in mind? -- View this message in context: http://ma

Re: browsing maven repo

2011-11-15 Thread Tamás Cservenák
Ogi, this is a bit incomplete :) I understand you want the triplets (triplets? What about classifiers?), but Indexer does not have any information about dependencies (edges in your case). Also, what for is the tree-like big graph needed? Are you sure you need the graph of one whole repository? I

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

2011-11-15 Thread Stephen Connolly
the correct scope for those deps should be provided imho. the problem you have is getting the deps you need, system scope is just a workaround. ideally you would create an uberjar from the geologic jar and just install that into your repo manager. the focus should be on taking a jar and making a