Re: Enabling functionality for all profiles BUT one?

2011-07-13 Thread Brian Topping
I'd create a plugin that wraps your troublesome plugin with Tim Moore's awesome mojo-executor library at https://github.com/TimMoore/mojo-executor. I just got done using it for a Real Big Client and it works great. Just have your plugin gracefully return with a warning when the environment is

Re: Problems using Maven to build servicemix.

2011-07-13 Thread Brian Topping
1. Use Maven 2.2.1 or 3.0.3. I haven't tracked SM or whether it's m3 based. 2. Make sure you are running Maven in a directory that has a proper POM. It appears yours is not valid. On Jul 9, 2011, at 11:58 PM, Sanjana Kadaba Viswanath wrote: > Hi, > I am really new to servicemix. I want to buil

Enabling functionality for all profiles BUT one?

2011-07-13 Thread Brinker, Don
Hi all, I've got an interesting situation where I need to disable functionality for one profile only. Well, unless of course there's a better solution to the problem. In my project, we have a number of different submodules. One of these modules (client) generates web service client JARs based

Not able to build using maven 2.0.8

2011-07-13 Thread sanjana
Hi, I am new to Maven.I want to build a project on orchestration using servicemix. I am having serious problems with maven. I want to use maven2.0.8 and I use Mac OSX. I am not able to build anything. Do you have any idea how to get rid of the issue? Please advise me how to proceed. I am really s

Problems using Maven to build servicemix.

2011-07-13 Thread Sanjana Kadaba Viswanath
Hi, I am really new to servicemix. I want to build a project on orchestration using servicemix. I am having serious problems with maven. I want to use maven2.0.8 and I use Mac OSX. I am not able to build anything. Do you have any idea how to get rid of the issue? Please advise me how to proceed.

adding servers for a maven project

2011-07-13 Thread hariharansrc
i am having a archetype for wicket guice warp persist hibernate it has a default jetty plugin i want to use application server such as tomcat, webphere community server what i have to do to get that stuff working. i am using eclipse IDE -- View this message in context: http://maven.40175.n5.nabb

Re: Site deploy problem

2011-07-13 Thread Lukas Theussl
site-plugin-2.3 has some problems with property resolution, see eg http://jira.codehaus.org/browse/MSITE-585. I'm not sure if this is the same issue as yours, could you try with 2.4-SNAPSHOT? HTH, -Lukas Johan Vogelzang wrote: Oh I forgot... I use Maven 2.2.1 and maven-site-plugin version

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-13 Thread Barrie Treloar
On Thu, Jul 14, 2011 at 9:07 AM, Barrie Treloar wrote: > On Thu, Jul 14, 2011 at 3:09 AM, Jeff MAURY wrote: >> You probably need to configure your Eclipse project as a Groovy project >> (through a nature I think). >> Please not that you can configure the Maven Eclipse plugin to add specific >> na

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-13 Thread Barrie Treloar
On Thu, Jul 14, 2011 at 3:09 AM, Jeff MAURY wrote: > You probably need to configure your Eclipse project as a Groovy project > (through a nature I think). > Please not that you can configure the Maven Eclipse plugin to add specific > natures when eclipse:eclipse is run. Groovy support in maven-ec

Re: AW: Locking down default plugin versions

2011-07-13 Thread Barrie Treloar
On Thu, Jul 14, 2011 at 1:27 AM, Jörg Schaible wrote: > Moser, Christian wrote: > >>> Each plugin decides if it will allow "skip", and so the plugin still >>> needs to get loaded to decide whether to skip. >> >> This makes sense. Will add javadoc-plugin. >> >>> What do you mean by "maven super pom

Re: uploading existing jar+pom as one artifact

2011-07-13 Thread Wendy Smoak
On Wed, Jul 13, 2011 at 8:14 AM, wrote: > Hm, no, the differing timestamps resulting from the two seperate uploads > are a problem. A build that references this library in its dependencies > fails -- the POM isn't found: > > [WARNING] The POM for ::jar: is > missing, no dependency information ava

Re: Site deploy problem

2011-07-13 Thread Hervé BOUTEMY
http://jira.codehaus.org/browse/MSITE-585 ? Regards, Hervé Le mercredi 13 juillet 2011, Johan Vogelzang a écrit : > I just did a test with maven-site-plugin version 2.0-beta-7 (instead of > 2.3) and with this one the build seems to run ok (!?). > > > > > > maven-site-plugin > 2.0-beta-7 >

Re: Site deploy problem

2011-07-13 Thread Johan Vogelzang
I just did a test with maven-site-plugin version 2.0-beta-7 (instead of 2.3) and with this one the build seems to run ok (!?). maven-site-plugin 2.0-beta-7 Can anyone confirm if this is a known bug? Regards, Johan. 2011/7/13 Johan Vogelzang > Hi Maven users, > > I've a problem with dep

Re: Re: Site deploy problem

2011-07-13 Thread Johan Vogelzang
Thorsten, We use username/password authentication, and my settings.xml is set up as you described. But I don't think this is a authentication issue. As you can see the hostname is not resolved properly so there is no server connection to do the authentication. Regards, Johan. 2011/7/13 Thorsten

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-13 Thread Jeff MAURY
You probably need to configure your Eclipse project as a Groovy project (through a nature I think). Please not that you can configure the Maven Eclipse plugin to add specific natures when eclipse:eclipse is run. Regards Jeff On Wed, Jul 13, 2011 at 7:26 PM, DaveyBob wrote: > I essentially have

Re: Maven Eclipse Plugin doesn't include all source paths in generated .classpath file in a Java / Groovy project

2011-07-13 Thread DaveyBob
I essentially have the same problem. I am just getting started with Groovy for this project. Environment: Ubuntu 11.04 Eclipse 3.7 Groovy Eclipse plugin 2.5.1 Maven 2.2.1 Following the instructions in the Groovy Eclipse Plugin page (http://groovy.codehaus.org/Groovy-Eclipse+compiler+plug

Antwort: Re: Site deploy problem

2011-07-13 Thread Thorsten Heit
Hi, > Oh I forgot... > > I use Maven 2.2.1 and maven-site-plugin version 2.3. > The behavior is the same on Windows and Linux. What kind of SCP transfer do you want to use? Password-less, i.e. public-key-authentification, or using username/password? In the first case: Did you upload your publi

Re: AW: Locking down default plugin versions

2011-07-13 Thread Jörg Schaible
Moser, Christian wrote: >> Each plugin decides if it will allow "skip", and so the plugin still >> needs to get loaded to decide whether to skip. > > This makes sense. Will add javadoc-plugin. > >> What do you mean by "maven super pom"? > > Maybe "maven super pom" was confusing sorry for that.

Re: Site deploy problem

2011-07-13 Thread Johan Vogelzang
Oh I forgot... I use Maven 2.2.1 and maven-site-plugin version 2.3. The behavior is the same on Windows and Linux. Johan. 2011/7/13 Johan Vogelzang > Hi Maven users, > > I've a problem with deploying a site to an url containing property > variables. > The site url -as part of the distribution

Site deploy problem

2011-07-13 Thread Johan Vogelzang
Hi Maven users, I've a problem with deploying a site to an url containing property variables. The site url -as part of the distributionManagement section- is located in the company parent pom: myrepohost ... site-repo scp://${reposerver.host.name}/var/www/html/maven2/sites When I exec

AW: Locking down default plugin versions

2011-07-13 Thread Moser, Christian
> Each plugin decides if it will allow "skip", and so the plugin still > needs to get loaded to decide whether to skip. This makes sense. Will add javadoc-plugin. > What do you mean by "maven super pom"? Maybe "maven super pom" was confusing sorry for that. I meant the "place" where maven specif

Re: uploading existing jar+pom as one artifact

2011-07-13 Thread Stephen Connolly
mvn deploy:deployFile -Dfile=... -DpomFile=... -Durl=... should deploy both the jar and the pom. If it is not doing so can you raise a JIRA. Note that you might have to force the version of the deploy plugin as it could be an issue with an older version, mvn org.apache.maven.plugins:maven-deploy-

Re: Locking down default plugin versions

2011-07-13 Thread Barrie Treloar
On Wed, Jul 13, 2011 at 8:59 PM, Moser, Christian wrote: > I'm skipping javadoc, do you know  why javadoc-plugin is needed? Skipping a plugin isn't a built-in maven feature. Each plugin decides if it will allow "skip", and so the plugin still needs to get loaded to decide whether to skip. So its

Re: uploading existing jar+pom as one artifact

2011-07-13 Thread olaf . klischat
> On 07/12/2011 04:02 AM, Wendy Smoak wrote: >> On Mon, Jul 11, 2011 at 8:15 PM, Olaf Klischat >> wrote: >>> mvn deploy:deploy-file -Dfile=mylib.jar DpomFile=mypom.pom >>> -DgeneratePom=false -Durl= >>> >>> , it apparently just uploads the jar under the name>> from >>> mypom.pom>-.pom. >> >> You me

Locking down default plugin versions

2011-07-13 Thread Moser, Christian
I start a release build with following cmd: Mvn -Darguments="-DskipTests=true -Denforcer.skip=true -Dmaven.javadoc.skip=${skipJavadoc}" -Dtag=${tag} -Dmaven.javadoc.skip=${skipJavadoc} -Dgoals=deploy release:perform With maven-release-plugin:2.1:perform, maven 3.0.1 will print out: [exe

Re: Parent Pom and maven goals for only war projects

2011-07-13 Thread Stephen Connolly
On 13 July 2011 11:23, Cem Koc wrote: > Hi, > > I have a multi module maven project. It has 5 module and 2 of them are web > projects. > > I want to customize my plugins to be run at only war projects. I mean at > parent pom level I would like to trigger my goals and only my war projects > will be

Parent Pom and maven goals for only war projects

2011-07-13 Thread Cem Koc
Hi, I have a multi module maven project. It has 5 module and 2 of them are web projects. I want to customize my plugins to be run at only war projects. I mean at parent pom level I would like to trigger my goals and only my war projects will be affected. Is there any way for it? As a result of t

Re: configure Maven to dynamically select profiles

2011-07-13 Thread anis chaaba
Hi, U can play with activation method using tag. this may be helpful http://maven.apache.org/guides/introduction/introduction-to-profiles.html good luck :) On Wed, Jul 13, 2011 at 10:14 AM, Vivek wrote: > case I have single pom.xml an

configure Maven to dynamically select profiles

2011-07-13 Thread Vivek
Hi There, Is there any way to configure Maven to dynamically select profiles? Issue: Is it possible to have Maven dynamically pick different configuration properties and build the project and execute tests based on those dynamically acquired properties! In my case I have single pom.xml and