Re: Compile and install sub-project on build

2012-11-15 Thread Ron Wheeler
On 16/11/2012 12:01 AM, Ansgar Konermann wrote: As a side note: an existing file or http server will suffice to host your artifacts (jars) that you want to share between you and your colleagues. No need to set up a maven repo mgr. Maven deploy plugin can use many types of "remote repository". Am

Re: Compile and install sub-project on build

2012-11-15 Thread Ansgar Konermann
As a side note: an existing file or http server will suffice to host your artifacts (jars) that you want to share between you and your colleagues. No need to set up a maven repo mgr. Maven deploy plugin can use many types of "remote repository". Am 16.11.2012 05:39 schrieb "Ron Wheeler" : > A Mave

Re: Compile and install sub-project on build

2012-11-15 Thread Ron Wheeler
A Maven Repo is to Maven as a git server is to IntelliJ IDEA A git server looks after sources and makes them available to the IDE A Maven repo looks after jars and makes them available to builds. If you want to share jars between project members, they have to be someplace where they can be found

Re: repositories ids

2012-11-15 Thread Stephen Connolly
Those ids correspond to the credentials defined in your settings.xml If the servers are different but all will always belong to the same single sign-on realm then perfectly fine to keep the same id If they are different realms (even if you are being a bold boy using the same password for every se

RE: parallel builds and failing for non @threadsafe mojos

2012-11-15 Thread Nord, James
OK, I've scanned through what might be possible in the enforcer plugin but drew a blank. I would need to get the plugin somehow from the plexus container from the session to get the mojos (based on the project and config) to inspect - but the session.getContainer() is deprecated with no appare

repositories ids

2012-11-15 Thread Davis, Chad
I'm wondering what the scope of the id's are in the various elements where you can reference a repository. To be specific, if I have definitions of my repos in , , are the id's supposed to be unique? What happens if they aren't? In some cases, it seems that they are the same repos. For ins

Re: parallel builds and failing for non @threadsafe mojos

2012-11-15 Thread Kristian Rosenvold
No 2012/11/15 Nord, James : > Hi all, > > Is there any way to get Maven to abort the build (rather than spit out a > warning) if a parallel build is requested but a non threadsafe mojo is > encountered? > > /James > > > > > ***

parallel builds and failing for non @threadsafe mojos

2012-11-15 Thread Nord, James
Hi all, Is there any way to get Maven to abort the build (rather than spit out a warning) if a parallel build is requested but a non threadsafe mojo is encountered? /James **

Re: Maven & Axis2 plugin - different stub code generation

2012-11-15 Thread Wayne Fay
> I don't think the axis2 plugin had tool chains support yet. Somebody might > need to add it ;-) Someone who cares enough will have to dig thru the diff from AbstractCompilerMojo v2.1 and 2.0.2 and extract the Toolchains support, and apply it to Axis2 plugin. ;-) http://grepcode.com/file_/repo1.

Re: Compile and install sub-project on build

2012-11-15 Thread mar
In my group? I'm sorry, I don't follow. Right now we're a team of two. I'm in charge of the development of a small tool, but my mate might need to check out the code, possibly from outside the company intranet. Maybe I'm getting the wrong end of how repositories work. I realise that, by definition

Re: Compile and install sub-project on build

2012-11-15 Thread Ron Wheeler
On 15/11/2012 9:08 AM, mar wrote: Hello Ron and thank you for your reply, We don't have a centralized repo for our organization and chances to have one are slim. What I'm hoping to achieve is some sort of "intelligent zip-archive" where the project is pulled from git and built/packaged with Mave

Re: Compile and install sub-project on build

2012-11-15 Thread mar
Hello Ron and thank you for your reply, We don't have a centralized repo for our organization and chances to have one are slim. What I'm hoping to achieve is some sort of "intelligent zip-archive" where the project is pulled from git and built/packaged with Maven. During this packaging process, t

Re: Compile and install sub-project on build

2012-11-15 Thread Ron Wheeler
I don't see anything odd about what you want. We have an application made up of 60+ modules that are coded independently and have inter-dependencies all over the place. Do you have a Maven repo such as Nexus? If not that is a starting move. Do you use SNAPSHOTS? They will do what you want. Ron

Compile and install sub-project on build

2012-11-15 Thread mar
Hello, I am trying to achieve a structure where a project is wrapping and depending on another project. The sub-project is a library and should be indifferent about its outer project, but should be built and installed (to a local repo) everytime the outer project it built, preferably only when 1.

Re: Plugin that depends on components from another plugin

2012-11-15 Thread Alban Linard
For all intents, you cannot use another plugin directly. But most plugins have extracted the useful bits into components which you CAN use. That it what i am trying to do. In the source code, i try to use the org.apache.maven.archetype.generator.ArchetypeGenerator component, found in maven-a