Re: Site deploy problem

2011-07-14 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

adding servers for a maven project

2011-07-14 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:

Problems using Maven to build servicemix.

2011-07-14 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

Not able to build using maven 2.0.8

2011-07-14 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

Enabling functionality for all profiles BUT one?

2011-07-14 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

Re: Problems using Maven to build servicemix.

2011-07-14 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 build

Re: Enabling functionality for all profiles BUT one?

2011-07-14 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: Enabling functionality for all profiles BUT one?

2011-07-14 Thread Stephen Connolly
With version 2.3 of the m-dependency-p the copy and unpack goals will now resolve from the reactor. you seem to be using dependency:copy-dependencies and not dependency:copy if you are referring to MDPE-259 If you replace dependency:copy-dependencies with dependency:copy you can use the

Re: Parent Pom and maven goals for only war projects

2011-07-14 Thread carlspring
You can check this post: http://stackoverflow.com/questions/6677440/parent-pom-and-maven-goals-for-only-war-projects -- View this message in context: http://maven.40175.n5.nabble.com/Parent-Pom-and-maven-goals-for-only-war-projects-tp4582234p4585882.html Sent from the Maven - Users mailing list

Re: configure Maven to dynamically select profiles

2011-07-14 Thread carlspring
You can use Maven profiles and Resource Filtering. You can set up different profiles and define which resources to use for them. -- View this message in context: http://maven.40175.n5.nabble.com/configure-Maven-to-dynamically-select-profiles-tp4581942p4585910.html Sent from the Maven - Users

Re: configure Maven to dynamically select profiles

2011-07-14 Thread Ketil Aasarød
If it is runtime properties I would consider externalizing them and put them on the file system or JNDI on your application server. -ketil - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Re: Parent Pom and maven goals for only war projects

2011-07-14 Thread Cem Koc
thanks guys for your attention. I have solved my problem as @stephenconnolly described. But I will keep in my mind your suggestions. -- View this message in context: http://maven.40175.n5.nabble.com/Parent-Pom-and-maven-goals-for-only-war-projects-tp4582234p4585936.html Sent from the Maven -

Re: configure Maven to dynamically select profiles

2011-07-14 Thread Ketil Aasarød
You would have to put them on your local development machine and on your CI server to be able to run the tests ofc. -ketil 2011/7/14 Ketil Aasarød ketil.aasa...@gmail.com: If it is runtime properties I would consider externalizing them and put them on the file system or JNDI on your

AW: AW: Locking down default plugin versions

2011-07-14 Thread Moser, Christian
Thx for your respones. I was aware of the best practive approach to lock down plugin versions, which I already did for several non default lifecycle plugins like enforcer, antrun, release, scm, resources, antlr3, dependency etc.. But I didn't for deploy plugin, because I thought default maven

verify signatures of downloaded poms and jars

2011-07-14 Thread Igory Lr
Hello, I was trying to find if there are some SSL enabled central repositories but didn't find one. I noticed that there are signatures for (mostly) every jar and pom file in maven central repository. I would like to force maven (2/3) to automatically verify signatures of downloaded files. Is it

Re: verify signatures of downloaded poms and jars

2011-07-14 Thread Wendy Smoak
On Thu, Jul 14, 2011 at 8:08 AM, Igory Lr igory...@gmail.com wrote: I was trying to find if there are some SSL enabled central repositories but didn't find one. I noticed that there are signatures for (mostly) every jar and pom file in maven central repository. I would like to force maven

Maven environment configurations

2011-07-14 Thread mark.angrish
I sent this to Anders Hammar but i thought i would cross post this to the community as well: In the past i have used profiles for environment configuration (uat, prod etc.) but as most people know this becomes quite problematic (different profile causes rebuild and redploy with env specific

Re: Maven environment configurations

2011-07-14 Thread Joe Hindsley
Hi Mark, It sounds like you're right on the money. What you're looking to create is a distribution artifact using the maven assembly plugin. This will create a tar or zip which you can layout however you need to. I typically use this to create a zip file that has a bin directory for startup

Re: Maven environment configurations

2011-07-14 Thread Anders Hammar
I'm not sure I fully understand, but some general rules: 1) Keep all configuration outside the jars. If you don't want to use a database or jndi, you could always (which I very often recommend) just use a properties file read from the classpath. During runtime just make sure the properties file

Re: Not able to build using maven 2.0.8

2011-07-14 Thread Anders Hammar
There is something seriously wrong with the pom. Is it a Maven 2 pom? You haven't provided a link to it so it's hard to tell... /Anders On Sun, Jul 10, 2011 at 09:06, sanjana kadabasa...@gmail.com wrote: Hi, I am new to Maven.I want to build a project on orchestration using servicemix. I

Help - client extensions in WAR file

2011-07-14 Thread Colin Yates
Hi all, I have a WAR which exposes an extension point: MyStrategyInterface. I then have a number of clients who all provide their own implementation of said extension. The code is structured so there is a web-project and then multiple client-projects which only contain the extension point. The

maven-failsafe-plugin runOrder random re-play?

2011-07-14 Thread Joshua Spiewak
Hi all, I have added a builder to our CI system that runs our tests with runOrder set to random in order to expose hidden dependencies between tests. Is there currently any means of capturing the order that was used, and then replaying that order back? For example, if the CI builder exposes a

Re: Maven environment configurations

2011-07-14 Thread mark.angrish
I think there is a disconnect somewhere as I have noticed a lot of requests similar to mine but I haven't really seen an 'elegant' solution for it so here goes! Let's make up an example that may highlight the problem a little more. *myproject-gui *(lets not worry whats in here for now)

Re: Maven environment configurations

2011-07-14 Thread mark.angrish
How do you get this to work in your IDE? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-environment-configurations-tp4586719p4587322.html Sent from the Maven - Users mailing list archive at Nabble.com.

Maven 3 builds take much longer to run in 3.0.3 than in 3.0b1

2011-07-14 Thread vivin
I'm trying to track down the reason that our builds take much longer to build under 3.0.3 rather than 3.0b1. Under 3.0.3, our build takes around 9 minutes, whereas under 3.0b1, it's 3 minutes and 30 seconds. While using jconsole, I saw that most of the time (in 3.0.3) is spent inside

Re: Maven environment configurations

2011-07-14 Thread Hilco Wijbenga
On 14 July 2011 09:17, mark.angrish mark.angr...@gmail.com wrote: I think there is a disconnect somewhere as I have noticed a lot of requests similar to mine but I haven't really seen an 'elegant' solution for it so here goes! What I've done is create an environment variable that stores the

Runtime scope and transitive dependencies question (maybe maven-ear-plugin bug?)

2011-07-14 Thread Laird Nelson
The Maven documentation sayshttp://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope : Each of the scopes (except for import) affects transitive dependencies in different ways, as is demonstrated in the table below. If a dependency is set to the

RE: maven-failsafe-plugin runOrder random re-play?

2011-07-14 Thread Robert Scholte
Sounds reasonable, but AFAIK this feature doesn't exist yet.please verify there's no such issue at JIRA[1] yet. If it's indeed new, please create an issue for it. -Robert [1] http://jira.codehaus.org/browse/SUREFIRE Date: Thu, 14 Jul 2011 12:08:54 -0400 Subject: maven-failsafe-plugin

Re: Maven environment configurations

2011-07-14 Thread Barrie Treloar
On Fri, Jul 15, 2011 at 12:38 AM, Anders Hammar and...@hammar.net wrote: I'm not sure I fully understand, but some general rules: 1) Keep all configuration outside the jars. If you don't want to use a database or jndi, you could always (which I very often recommend) just use a properties file

Re: how to enforce synchronization between source control and mvn deploy?

2011-07-14 Thread CloudStrife
Hi, Very old thread, but very relevant to me right now. :) I'd like to follow up on point 1. We have multiple dev groups collaborating on some artifacts. It seems like once in a while an SCM update is not done before mvn deploy. This is quite an easy trap to fall into, even if you do a clean

AW: how to enforce synchronization between source control and mvndeploy?

2011-07-14 Thread Moser, Christian
We wrote a custom enforcer rule for maven-enforcer-plugin to check whether there is a newer revisions while maven was in install lifecycle (deploy lifecycle is to late to enforce, already deployed..). It wasn't that difficult but very helpful, it was really worth the work. You could for example