RFC: eclipse:eclipse 2.5 (MECLIPSE-344) linking projects in workspace for both reactor and non-reactor invocations

2008-03-25 Thread Barrie Treloar
I'd like to have feedback about how/if you are using -Declipse.workspace in eclipse:eclipse 2.5 There is a comment in http://jira.codehaus.org/browse/MECLIPSE-344#action_126688 (after the issue was closed) to request that this option not be needed. The reasoning should be if you have a project

Profile question: Not to perform some action when profile activated?

2008-03-25 Thread Adrian Shum
Dear all, I'd like to know if there is any way to 'stop doing something' when a profile is activated? For example, in my project, I invoked certain plugin to generate WSDL by default. However, I want the step skipped when I define something like -DgenWsdl=false Is there any way to do so?

Re: RFC: eclipse:eclipse 2.5 (MECLIPSE-344) linking projects in workspace for both reactor and non-reactor invocations

2008-03-25 Thread nicolas de loof
I used to checkout my projects outside of my eclispe workspace, so that I can reinstall eclipse and reconfigure a workspace with no impact on my SVN working copy. I then generate the eclispe configuration and use import existing projects into workspace. Based on this, my project parent folder is

Re: run selenium on a headless system

2008-03-25 Thread Jeff MAURY
Do you have all the needed Maven remote repositories ? Jeff MAURY On Mon, Mar 24, 2008 at 10:52 PM, mnemonique [EMAIL PROTECTED] wrote: Hi, I am trying to run my selenium tests on a headless system. I keep getting this message: [INFO] Internal error in the plugin manager executing goal

m2eclipse 0.9 wtp integration.

2008-03-25 Thread da Costa Oliveira, Pedro Manuel
Hi, First of all - great work on 0.9. It seems to be working more like we've always expected! However, I know have a strange problem with Web Projects in eclipse (all others look ok - Java project, Enterprise Application, etc...). If I disable Workspace resolution in my web project, it is able

Re: Managing WebSphere with Maven

2008-03-25 Thread Daniele De Francesco
Hi, you may want to try this... http://mojo.codehaus.org/was6-maven-plugin/ it's a snapshot version but it seems to work well for specific tasks (i.e. deploy ejb) regards Daniele On Mon, Jan 28, 2008 at 10:36 AM, Thomas Tardy [EMAIL PROTECTED] wrote: Hi all, can anybody give me some

Re: [ANN] was6-maven-plugin 1.0-alpha-1 release

2008-03-25 Thread Daniele De Francesco
Hi, I've been waiting for this almost 4 1 year Well done!! Bravi Ciao Daniele On Fri, Mar 21, 2008 at 3:12 AM, David J. M. Karlsen [EMAIL PROTECTED] wrote: Hi folks! The was6-maven-plugin has just graduated, and released as version 1.0-alpha-1. The plugin can be used to start

Re: maven-dependency-plugin

2008-03-25 Thread Davis Ford
Brian, Maybe a dumb question, but is there a way I can just use the maven-dependency-plugin programatically to accomplish what I'm trying to do? Can I just pull the plugin jar in so it is on the classpath like any other dependency and use its API to get project.getArtifacts() ? On Wed, Mar 19,

RE: maven-dependency-plugin

2008-03-25 Thread Brian E. Fox
Generally bad things happen when you use plugins as dependencies. The project.getArtifacts() is part of the plugin api, not just the dependency plugin. If you use the M2Eclipse plugin for eclipse, you can quickly create a plugin by using the maven-archetype-mojo archetype. -Original

Fw: Problem in updating SNAPSHOT libraries from remote repository

2008-03-25 Thread logachandru . x . rajamanickam
Hi All, Can you please suggest me a solution for this issue. I'm really waiting for your inputs upon this. Thanks Regards, Logu Rajamanickam - Forwarded by Logachandru X Rajamanickam/JPMCHASE on 03/25/2008 09:48 AM - Logachandru X Rajamanickam/JPMCHASE 03/24/2008 02:20 PM To Maven

Re: run selenium on a headless system

2008-03-25 Thread mnemonique
Jeff, Thanks for your reply. here is the content that i have under $user_home/.m2/repository/org/codehaus/mojo/selenium-maven-plugin/1.0-beta-2 : selenium-maven-plugin-1.0-beta-2.jar selenium-maven-plugin-1.0-beta-2.jar.sha1 selenium-maven-plugin-1.0-beta-2.pom

Re: maven-dependency-plugin

2008-03-25 Thread Davis Ford
Quick follow-up. Consider if I have this use case: For project A, do mvn assembly:assembly to make uber-jar, and deploy it so someone can use it. For each execution that they run it, I want it to log programmatically the list of jars it used for that execution. If I developed a plugin to get

Re: inherit execution only for packaging war

2008-03-25 Thread Kees van Dieren
Thanks for your suggestion! I think this solution helps for us. Best regards, Kees On Wed, Mar 19, 2008 at 4:26 PM, Wayne Fay [EMAIL PROTECTED] wrote: I have no idea if its a bug or not, but a way to fix things would be to simply add another level of parent in the project under which all

RE: maven-dependency-plugin

2008-03-25 Thread Brian E. Fox
So it sounds like you might be trying to do a form of code coverage for your dependencies? To answer your question, yes I would dump the file when you are making the assembly and then use that at runtime. Just curious though, if the dependencies are in the assembly, why do you need a list of

RE: Is there really a problem with the plugin repository???

2008-03-25 Thread Brian E. Fox
Ok, this is: http://jira.codehaus.org/browse/MNG-3415 which is fixed in 2.0.9. The workaround is to delete the offending metadata from your local repo. -Original Message- From: nodje [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2008 11:25 PM To: users@maven.apache.org Subject: RE:

Re: maven-dependency-plugin

2008-03-25 Thread Davis Ford
It is slightly more complex. The assembly jar's purpose loads geodata from a database, and then does quality checks on that data, and stores any violations it found in a separate repository. Every time I run the jar, I want to store with the list of violations the list of all versions of jars it

Re: Build.setSourceDirectory() MavenProject.getCompileSourceRoots()

2008-03-25 Thread SingleShot
There is a slight chance this may be helpful to you (or anyone interested in this topic)... You confirm what I learned from playing around with the Project API - you cannot override the value of build.setSourceDirectory(). However, you can override it in the POM via the build/sourceDirectory

Re: How to construct an archetype for multi-module build with renamed modules

2008-03-25 Thread stug23
Raphaël, From the transcript in JIRA ARCHETYPE-153 this appears to represent the feature that I have requested. I wasn't able to run the example due to the 2.0-alpha-3-SNAPSHOT which isn't in the Maven Central repository. If I understand what you did correctly, you simply specified an

cobertura + surefire config

2008-03-25 Thread Brian Relph
Hello, I was wondering if someone could help me fix my surefire + cobertura config. I only want one unit tests to run ONE time, but when I add the cobertura-maven-plugin to the reporting section, it seems to trigger another surefire:test phase. Any help? Here is my current config: build

Resolving an artifact (plugin problem)

2008-03-25 Thread Sommers, Elizabeth
Is there anyway to resolve an artifact when the only repository you should be able to find it in is artifactory? There is no chance that the artifact will be in my local repository and the same goes for remote repositories (we are deploying our projects straight to artifactory). Thanks in advance

Re: Resolving an artifact (plugin problem)

2008-03-25 Thread Wayne Fay
Artifactory, as in the Maven2 proxy software? I guess I don't understand your question. Can you explain more? What exactly is the problem you're running into that prompts this email? Wayne On 3/25/08, Sommers, Elizabeth [EMAIL PROTECTED] wrote: Is there anyway to resolve an artifact when the

Re: cobertura + surefire config

2008-03-25 Thread Trevor Torrez
As far as I am aware this is a known issue with no resolution. Perhaps we can get the cobertura plugin to expose a report-only goal and always do instrumentation for the tests. That was the approach I used to use with ant. On Tue, Mar 25, 2008 at 12:13 PM, Brian Relph [EMAIL PROTECTED] wrote:

RE: Resolving an artifact (plugin problem)

2008-03-25 Thread Sommers, Elizabeth
Yes, artifactory the maven2 proxy software. I am trying to retrieve a number of artifacts from our release repository. I cannot guarantee that the artifacts are in the local repository (I can almost guarantee they aren't). I then need to resolve these artifacts and retrieve their attached

Re: m2eclipse 0.9 wtp integration.

2008-03-25 Thread Henri Gomez
You should use the m2eclipse list instead :) 2008/3/25, da Costa Oliveira, Pedro Manuel [EMAIL PROTECTED]: Hi, First of all - great work on 0.9. It seems to be working more like we've always expected! However, I know have a strange problem with Web Projects in eclipse (all others look ok

Re: cobertura + surefire config

2008-03-25 Thread Stephen Connolly
beware. we have had tests that pass when instrumented with cobertura, but fail when run normally. this is at least one reason why what you are trying to do is a bad thing - Stephen Sent from my iPod On 25 Mar 2008, at 16:13, Brian Relph [EMAIL PROTECTED] wrote: Hello, I was wondering if

Re: cobertura + surefire config

2008-03-25 Thread Wayne Fay
Can you provide details for one or two of them? I'd like to know what to look out for in the future. Wayne On 3/25/08, Stephen Connolly [EMAIL PROTECTED] wrote: beware. we have had tests that pass when instrumented with cobertura, but fail when run normally. this is at least one reason why

Re: cobertura + surefire config

2008-03-25 Thread Stephen Connolly
1. Tests that verify multiple thread behaviour. as cobertura will effectively synchronize the threads in order to record the code coverage. 2. Tests that verify performance. 3. One system had a bug whereby the server we were communicating with would read the message header from the stream

Re: cobertura + surefire config

2008-03-25 Thread Stephen Connolly
And while ANT lets you make that mistake, I would encourage you to run the tests twice and you will have greater assurance that your code is correct if it passes instrumented and uninstrumented. (Better assurance still is to run with BEA, IBM and Sun's JVMs on both single core and multi-core

Re: How to construct an archetype for multi-module build with renamed modules

2008-03-25 Thread Raphaël Piéroni
2008/3/25, stug23 [EMAIL PROTECTED]: Raphaël, From the transcript in JIRA ARCHETYPE-153 this appears to represent the feature that I have requested. I wasn't able to run the example due to the 2.0-alpha-3-SNAPSHOT which isn't in the Maven Central repository. If I understand what you

Re: cobertura + surefire config

2008-03-25 Thread Trevor Torrez
Ok; understood. So the correct course of action is to prominently document why it is a bad idea to run tests solely on instrumented code; I've seen this question come up once or twice. Unfortunately this isn't the list to discuss that, is it? On Tue, Mar 25, 2008 at 3:05 PM, Stephen Connolly

Re: How to construct an archetype for multi-module build with renamed modules

2008-03-25 Thread Raphaël Piéroni
Hi Pat, you can find the new 2.0-alpha-3-SNAPSHOT in the apache snapshot repository http://people.apache.org/repo/m2-snapshot-repository Regards, Raphaël 2008/3/25, stug23 [EMAIL PROTECTED]: Raphaël, From the transcript in JIRA ARCHETYPE-153 this appears to represent the feature that

eclipse:eclipse 2.5 Build path specifies unavailable execution environment: J2SE-1.4?

2008-03-25 Thread Barrie Treloar
I've updated the PreferencesJavaInstalled JREsExecution Environments to enable J2SE1-4 to jdk.1.5.0_12 (as suggested in http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg18807.html) But I still get this error message Build path specifies unavailable execution environment: J2SE-1.4 Has

RE: Resolving an artifact (plugin problem)

2008-03-25 Thread Brian E. Fox
Maven doesn't care what is running out there, apache, nexus, proximity, artifactory, archiva...but you need to tell it about it. Have you added your repository to either the pom or settings (preferred)? The distribution management is to tell maven how to upload not download. Assuming you have

[ANN] Maven Plugin Tools 2.4.1 Released

2008-03-25 Thread Brian Fox
The Maven team is pleased to announce the release of the Maven Plugin Tools, version 2.4.1 This release fixes 3 critical issues discovered in the 2.4 release. We recommend everyone upgrade from 2.4 to 2.4.1. The Maven Plugin Tools contains the necessary tools to be able to produce Maven Plugins

[ANN] Maven Reporting Impl 2.0.4.1 Released

2008-03-25 Thread Brian Fox
The reporting implementation is used to render site reports. This release fixes an incompatibility with newer doxia implementations. This has just one change from 2.0.4: http://jira.codehaus.org/browse/MNG-3476 --The Maven Team

Re: [m2] issues getting Jetty and Selenium running from examples.

2008-03-25 Thread cody zhang
your selenium plugin configuration? past : 2008/3/25, Mick Knutson [EMAIL PROTECTED]: So I have been trying to follow: http://wiki.foochal.org/index.php/Maven_Selenium Now I have a core:jar and a web:war in a multi-module project. The 1st issue I have from the example is the