Test results in shell project

2008-02-21 Thread Wim Heirman
Hi, I would like to include the building and testing of a Python project into Continuum. I can build the project fine as a Shell project, but is there any way to have Continuum recognize the test results? Is it enough to write out a jUnit-style XML file in the build directory somewhere that

Re: Continuum report incorrect build results?

2008-02-21 Thread Emmanuel Venisse
If you use maven 2.0.7, you must patch mvn.bat. It is explains in continuum FAQs Emmanuel On Thu, Feb 21, 2008 at 12:41 AM, Tawfik, Sameh E [EMAIL PROTECTED] wrote: When Continuum runs my maven 2 project, it send an email: [continuum] BUILD SUCCESSFUL:, but when I checked the build results

Re: Windows path length limitation

2008-02-21 Thread Jesse McConnell
its a limitation of the file system...not a lot we can do about it :( On Tue, Feb 19, 2008 at 12:33 PM, KURT TOMETICH [EMAIL PROTECTED] wrote: Thanks for the quick response. That was my fall-back option, but I wasn't sure if there was just an easy way to configure it to use an absolute path.

Re: How to apply a patch

2008-02-21 Thread Jesse McConnell
if you have it in patch format then you would use the patch command something like patch -p0 issue.patch jesse On Tue, Feb 19, 2008 at 1:27 PM, Rafael da Silva Chiarinelli [EMAIL PROTECTED] wrote: Hi everyone, how can I apply a given patch in order to fix a bug? Best Regards,

RE: Windows path length limitation

2008-02-21 Thread KURT TOMETICH
I agree its a limitation of the file system; however, if Continuum would feed Subversion an absolute path (when running svn commands) as opposed to a relative path then their would not be a 256 character limit. I tried this and it does work when I send Subversion an absolute path and it fails

Re: How to apply a patch

2008-02-21 Thread Rafael da Silva Chiarinelli
Jesse McConnell wrote: if you have it in patch format then you would use the patch command something like patch -p0 issue.patch jesse On Tue, Feb 19, 2008 at 1:27 PM, Rafael da Silva Chiarinelli [EMAIL PROTECTED] wrote: Hi everyone, how can I apply a given patch in order

RE: Windows path length limitation

2008-02-21 Thread KURT TOMETICH
I went ahead and logged an improvement to Maven SCM (http://jira.codehaus.org/browse/SCM-368). Hopefully they will fix this so Windows users won't have to experience this shortcoming. Kurt Date: Thu, 21 Feb 2008 11:22:36 -0600 From: [EMAIL PROTECTED] To: continuum-users@maven.apache.org

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Arnaud HERITIER
I think we have several problems with manifest in 2.5-SNAPSHOT :-( wtpmanifest = true creates several problems. We noticed this one : http://jira.codehaus.org/browse/MECLIPSE-389 It can be (or not) related Arnaud On Thu, Feb 21, 2008 at 8:20 AM, Martin Höller [EMAIL PROTECTED] wrote: On

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Graham Leggett
Martin Höller wrote: No, it's not, it's a WTP 2.0 project. My plugin configuration is as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.5-SNAPSHOT/version configuration

maven appends sub-project artifactId to urls - Please help

2008-02-21 Thread Jens Riboe
I have an organization POM, with common defs, including url templates for scm and distribution. Here are the relevant snippets, from the parent pom scm connectionscm:svn:https://www.myhost.com/svn/pub/${project.name}/trunk/connection

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Martin Höller
On Thursday 21 February 2008 wrote Arnaud HERITIER: I think we have several problems with manifest in 2.5-SNAPSHOT :-( wtpmanifest = true creates several problems. We noticed this one : http://jira.codehaus.org/browse/MECLIPSE-389 It can be (or not) related It is (at least somehow) related.

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Martin Höller
On Thursday 21 February 2008 wrote Graham Leggett: Martin Höller wrote: No, it's not, it's a WTP 2.0 project. My plugin configuration is as follows: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId

RE: Surefire 2.4.1 classpath order

2008-02-21 Thread Ben Lidgey
I took a copy of the project POM and put it in the surefire-integration-tests directory. The tests failed. I then trawled through the project POM and then its parent POM commenting out plugins, reporting, dependencies, and other bits until the test passed. The thing that was causing the test

Re: Overriding Plugin Configuration in Settings.xml

2008-02-21 Thread VUB Stefan Seidel
You need two profiles in your pom with the different settings. Then you can add the appropriate profile in the settings.xml and set activeByDefaulttrue/ for the one to use. Stefan DHARNA, AJAY [AG/1000] wrote: Please let me know if there is a way in which I can override my cargo plugin

Re: Extending Maven2 plugins

2008-02-21 Thread Julien Stern
Hi Stuart, I tried it and it worked like a charm. Great plugin ! Thanks a lot. -- Julien PS: thank you Rémy and Sahoo too for your answers On Thu, Feb 21, 2008 at 11:45:09AM +0800, Stuart McCulloch wrote: On 21/02/2008, Julien Stern [EMAIL PROTECTED] wrote: Hi list, I just tried to

Re: maven appends sub-project artifactId to urls - Please help

2008-02-21 Thread VUB Stefan Seidel
Hi Jens, you are complaining about an essential feature of maven. Having maven automatically extend the urls, scm urls, site urls etc. with the list of parent artifact ids is crucial for multi-module projects. No-one would want to enter this information again and again through several levels

Re: Shared modules and versioning

2008-02-21 Thread VUB Stefan Seidel
Create an extra artifact A of packing type pom. Declare the dependency to the shared module M within A, with the version you want/need. In your projects P1, P2, ... declare a dependency on A (here, a version range is useful, since A is your own project). Thus, all projects P1...Px use the same

RE: maven appends sub-project artifactId to urls - Please help

2008-02-21 Thread Ben Lidgey
-Original Message- From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] Sent: 21 February 2008 09:52 To: Maven Users List Subject: Re: maven appends sub-project artifactId to urls - Please help Hi Jens, you are complaining about an essential feature of maven. Having maven

Adding a folder to classpath at runtime

2008-02-21 Thread amit kumar
Hi, Is it possible to add a newly created folder(and its contents) to the classpath at the runtime(on the fly) using maven. I am using this pde-maven-plugin where I am copying the dependencies to the lib folder inside the ${basedir} and wants it to be available while compiling the source code.

Re: maven appends sub-project artifactId to urls - Please help

2008-02-21 Thread VUB Stefan Seidel
I added a comment to http://jira.codehaus.org/browse/MNG-3244. You may want to add you votes. Apparently, it was originally planned to not append the artifact id unless the URL would end with a /. Stefan Ben Lidgey wrote: -Original Message- From: VUB Stefan Seidel [mailto:[EMAIL

fixed absolute references on referenced projects (Maven Ant Plugin)

2008-02-21 Thread Николай Бондаренко
Hi User Group I have found and fix one problem with Maven Ant plugin. I had worked with multi-module maven projects and found that Maven Ant plugin generate absolute path for referenced projects (another modules). Ant doesn't find them during compilation. So I have fix plugin - it calculates

how to define a goal which wil depends on other goal in maven?

2008-02-21 Thread san84
hi all, how can i define a goal which depends on other goal in my maven.xml in ant we can do it as follow like blabla ... target name=a depends =b blabla ... please let me know -- View this message in

Re: how to define a goal which wil depends on other goal in maven?

2008-02-21 Thread Lukas Theussl
Since you mention maven.xml I assume that you are using maven 1.x. In this case, the equivalent of ant's 'depends' is 'prereqs', see eg http://maven.apache.org/maven-1.x/reference/scripting.html#Declaring_Goals -Lukas san84 wrote: hi all, how can i define a goal which depends on other goal

Re: how to define a goal which wil depends on other goal in maven?

2008-02-21 Thread [EMAIL PROTECTED]
Firstly, when someone replies in bottom posting style, ie with text beneath the original then do not reply with your text at the top. This makes the email very hard to read - and is just rude. I will put my reply at top here because it is now the least bad solution.. In maven, compiling always

Re: how to define a goal which wil depends on other goal in maven?

2008-02-21 Thread [EMAIL PROTECTED]
Ah.. thanks for pointing that out Lukas. My other reply was about maven 2. Sorry about that. Maven 2 is **much** better than maven1. Do not use maven 1.x unless you absolutely have to. Regards, Simon Lukas Theussl schrieb: Since you mention maven.xml I assume that you are using maven 1.x. In

RE: Shared modules and versioning

2008-02-21 Thread EJ Ciramella
No no - if module A and module C depend on module B (which is developed by your company), how do you NOT put different versions in module A and C? We've done things like created a property in the pom that's the parent (the top most) of all the projects and in the sub projects, they all reference

Re: maven appends sub-project artifactId to urls - Please help

2008-02-21 Thread VUB Stefan Seidel
I agree, it is a bit too late to change this behaviour now. Maybe some other suffix like $ or ${fixed} or you-name-it could be the cure. Then all existing builds would continue to work and if someone would not want the artifact id appended, they can add the special character. Stefan Brian E.

Re: how to define a goal which wil depends on other goal in maven?

2008-02-21 Thread san84
thank u but how can i do using maven 2? plz let me know with ex [EMAIL PROTECTED] wrote: san84 schrieb: hi all, how can i define a goal which depends on other goal in my maven.xml in ant we can do it as follow like blabla ... target

surefire 2.4.2 fixes manifest issue (was Re: [ANN] Maven Surefire Plugin 2.4.1 for Maven 2 Released)

2008-02-21 Thread Haroon Rafique
On Feb 7 at 6:01pm, DF=Dan Fabulich [EMAIL PROTECTED] wrote: DF [..snip..] DF DF Ah, hearing that makes me strongly suspect that this is SUREFIRE-445 and DF SUREFIRE-451. DF DF http://jira.codehaus.org/browse/SUREFIRE-445 DF http://jira.codehaus.org/browse/SUREFIRE-451 DF DF Thanks for doing

RE: dependencyManagement and conflicts

2008-02-21 Thread Brian E. Fox
You can't use the depMgt in this way. You will have to just specify the version in your poms that you prefer instead of the range. The normal way to use depMgt is to specify your version at the top of your project and then leave out the version in all the child poms...then you can switch them all

Maven exec:java ClassNotFoundException

2008-02-21 Thread Ingo Wassink
Hello, I am using maven for a multi module project. The project consists of three modules (each having its own directory): hmiCore eBioFlowCore eBioFlowLauncher I have a central pom.xml and which contains the build settings, and the modules (corresponding to the directories mentioned above).

Re: How to override POM properties from CLI

2008-02-21 Thread Paul Gier
This seems to work ok for me. I tried it locally and my profile properties override my pom properties, and cli props defined with -D override both pom and profile properties. I tried with maven 2.0.6 and 2.0.8. Can you attach a small zipped project to a jira issue that reproduces the

Re: Doxia XDOC issue?

2008-02-21 Thread Mykel Alvis
Switching out with amp; took care of it. I knew I just needed someone else's perspective. Darn trees get in the way of my view of the forest. :) Thanks Simon! On Thu, Feb 21, 2008 at 10:30 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Mykel Alvis schrieb: I seem to have a problem with

Is it possible to make some delaying between surefire plugin executions?

2008-02-21 Thread vetalok
Hello experts Could you please give me the answer on few questions: 1. Is it possible to add some delaying between few execution phases of surefire plugin, e.g 10 seconds (hsqldb says: .lck file is locked by another process)? 2. Is it possible to run my surefire executions in the same JVM across

Doxia XDOC issue?

2008-02-21 Thread Mykel Alvis
I seem to have a problem with generating site information with xdoc. I haven't done an enormous amount of this lately, so can someone tell me what's wrong with this subsection subsection name=JBoss 4.2.1 p

Connecting to an internal Maven Repository using Vista

2008-02-21 Thread Morgovsky, Alexander (US - Glen Mills)
I am not able to connect to my internal Maven Repository using Vista...does anyone have any ideas on how to solve this? Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you

running a single integration test during integration-test-phase

2008-02-21 Thread David Siefert
Hello, Is there a way to configure a POM to run a single test during the integration-test-phase via command line? ie, mvn verify -Dtest=MyIntegrationTest That way I can do the necessary build work in pre-integration-test to prepare to run the integration-test phase. Thanks, David

Re: Connecting to an internal Maven Repository using Vista

2008-02-21 Thread Wayne Fay
You're not the first and I'm sure you won't be the last person to have problems with Vista (just check the archives). Try disabling your firewall, antivirus etc and see if it helps. As I've said previously, I don't run Vista (on purpose), so I'm not much help with these issues. Wayne On

Re: Shared modules and versioning

2008-02-21 Thread Michael McCallum
for A and C i have... dependencies dependency artifactIdB/artifactId groupIdmy.company/groupId version[1,2-!)/version /dependency /depedencies if I release B such that I create an incompatible release then release B as 2.X we don't

Re: maven appends sub-project artifactId to urls - Please help - design suggestion

2008-02-21 Thread Jens Riboe
As I understand it; the current rule implements implicit URLs as ${parent.url}/${project.artifactId} For example: scm connection${parentPOM.scm.connection}/${project.artifactId}/connection ... /scm Where parentPOM is a made-up symbol denoting an upward search for the pom property that follows

assembly plugin and project inheritance

2008-02-21 Thread Reto Bachmann-Gmür
Hello I'm having many projects that share some dependencies and that should be packaged the same way. So I wanted to have a parent project configuring the maven-assembly-plugin. I did this with the following in the parent pom: plugin artifactIdmaven-assembly-plugin/artifactId

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Arnaud HERITIER
I prefer to have a new issue and a link between them. You can wait to have it fixed OR you can propose a patch (code+test+doc) to be sure it will be. Arnaud On Thu, Feb 21, 2008 at 10:24 AM, Martin Höller [EMAIL PROTECTED] wrote: On Thursday 21 February 2008 wrote Arnaud HERITIER: I think we

Migrating from Maven 1 to Maven 2

2008-02-21 Thread Dooing
Hi, I am currently migrating a big legacy project from Maven 1.02 to Maven 2.08. The project has lots of dependencies, many of which are not even used anymore, which are just transitive dependencies, or are just outdated. Are there any tools, or best practices, that could help me in getting

Re: Migrating from Maven 1 to Maven 2

2008-02-21 Thread Wayne Fay
What exactly are you looking for help with? Converting the project.xml into pom.xml? Analyzing your dependencies to see what is actually needed? Something else entirely? Wayne On 2/21/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am currently migrating a big legacy project from Maven

Re: Migrating from Maven 1 to Maven 2

2008-02-21 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: Hi, I am currently migrating a big legacy project from Maven 1.02 to Maven 2.08. The project has lots of dependencies, many of which are not even used anymore, which are just transitive dependencies, or are just outdated. Are there any tools, or best practices, that

RE: Surefire 2.4.1 classpath order

2008-02-21 Thread Dan Fabulich
Ben Lidgey wrote: Made the tests pass. I've no idea why. Do you want me to raise this as a bug? Yes... nice work! That sounds like a Core bug and not a Surefire bug, so file it against Maven 2 (MNG) in JIRA. Thanks! -Dan

Re: Is it possible to make some delaying between surefire plugin executions?

2008-02-21 Thread Dan Fabulich
vetalok wrote: 1. Is it possible to add some delaying between few execution phases of surefire plugin, e.g 10 seconds (hsqldb says: .lck file is locked by another process)? Not really. Much easier to add a Thread.sleep() line to your tests. 2. Is it possible to run my surefire executions

Assemblies and locations beyond the target directory

2008-02-21 Thread EJ Ciramella
I've been looking at the assembly:directory-inline target here: http://maven.apache.org/plugins/maven-assembly-plugin/directory-inline-m ojo.html outputDirectory http://maven.apache.org/plugins/maven-assembly-plugin/directory-inline- mojo.html#outputDirectory -- The output directory of

Re: Maven ignores my archetype selection

2008-02-21 Thread Eric Rose
On Sunday 17 February 2008 10:31:01 Brian E. Fox wrote: I think the list is currently embedded, but you might be able to add it to ~home/.m2/archetype.xml, otherwise you'll need to back down to 1.0-alpha-7 (this issue is fixed in 2.0-alpha-2 once it gets released) I just had the problem

Re: Create one jar including all dependencies

2008-02-21 Thread Reto Bachmann-Gmür
did you see http://maven.apache.org/plugins/maven-assembly-plugin/index.html , the pre-defined descriptor jar-with-dependencies http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies - can be used for general assembly of a binary package with all the

Re: Maven ignores my archetype selection

2008-02-21 Thread Kalle Korhonen
Tom, I already replied to your comment you left at http://docs.codehaus.org/display/TRAILS/Quick+Start with the same informatoin others have provided: use the older archetype. Kalle On Sat, Feb 16, 2008 at 2:13 PM, Tom Cook [EMAIL PROTECTED] wrote: Ah, OK, I see. So how do I tell it that I

RE: Assemblies and locations beyond the target directory

2008-02-21 Thread EJ Ciramella
Ok, I have my head on straight now - but how can you get rid of the .dir it attaches to the directory output of an assembly? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Thursday, February 21, 2008 5:57 PM To: users@maven.apache.org Subject: Assemblies and

Re: Create one jar including all dependencies

2008-02-21 Thread Russ Tremain
At 2:51 PM -0800 2/21/08, krishnan.1000 wrote: Hi, I am a Maven newbie. So please forgive my ignorance. I am using Maven 2x for project and dependency management. I am creating a jar package. My project requires that the jar be deployed on a remote server. I can create a jar of all the classes.

Trouble compiling jsps in embedded

2008-02-21 Thread Joshua Pollak
Hello, I have a project with an embedded tomcat instance which is supposed to be compiling some JSPs. When I run a simple unit test that fetches our index page, I get a javac compiler error in our logs. (See below, complaining that package javax.servlet is missing). I have all the needed

Re: Trouble compiling jsps in embedded

2008-02-21 Thread Wayne Fay
You could try adding the servlet-api artifact as a dependency to surefire, that might do it. Could you perhaps compile the JSPs with jspc-maven-plugin instead of asking Tomcat to do it? I don't know that its an ideal solution, but we've been using j-m-p for a while very successfully. Wayne On

Newbie: how to do a release?

2008-02-21 Thread Chris
I've got a standard Java app. I've got a pom that successfully generates a jar file, and I got it to generate some javadoc as well. Now how do I generate a standard release? In a normal app, the jar goes in a /lib folder along with all the dependencies, the javadoc in /doc/api, there's /bin

Re: Newbie: how to do a release?

2008-02-21 Thread Upul Godage
Hi, Check out the assembly plugin. It does just that. You have to write an assembly descriptor xml to customize the release the way you want it. http://maven.apache.org/plugins/maven-assembly-plugin/howto.html Here is a very simple assembly descriptor file which bundles all jar files to the a

Re: PDE Plugin

2008-02-21 Thread amit kumar
With the help of people here especially Graham, I am able to build the plug in successfully using pde-maven-plugin. The only thing left now is that I want to package the lib folder along with the plugin, which I can do by using copy-dependency but I am not able the lib entries to Manifest file

Re: Problem with maven-dependency-plugin: copy-dependencies

2008-02-21 Thread amit kumar
Can I modify Manifest entries along with the copy-dependencies goal in configuration? Or something like that. I want the Manifest.mf to have entries for the copied dependencies(in the specific folder). Regards, Amit Kumar On Wed, Jan 2, 2008 at 2:18 PM, PatrickV [EMAIL PROTECTED] wrote: The

Re: Migrating from Maven 1 to Maven 2

2008-02-21 Thread Dooing
What exactly are you looking for help with? Converting the project.xml into pom.xml? Analyzing your dependencies to see what is actually needed? Something else entirely? Wayne Well, a converter from project.xml to pom.xml would be a first start, then, yes, something to analyze the

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread Martin Höller
On Thursday 21 February 2008 wrote Arnaud HERITIER: I prefer to have a new issue and a link between them. Created: http://jira.codehaus.org/browse/MECLIPSE-392 You can wait to have it fixed OR you can propose a patch (code+test+doc) to be sure it will be. Currently I'm too busy but maybe

Using variables in src\site\apt\index.apt - is there a default-index.apt or even inheritance?

2008-02-21 Thread torsten . reinhard
Hi, what´s the magic behind the default Site generation ? Without specifying anything the index.html is being generated containing About ${project.name} ${project.description} The index.html looks like: ... div id=bodyColumn div id=contentBox div class=sectionh2About

Re: maven-eclipse-plugin writes to src/main/webapp

2008-02-21 Thread amit kumar
On synchronizing a pde plugin with maven-eclipse-plugin, it looks to me that Manifest.mf file do get synchronized even though it is in META-INF folder. Does maven-eclipse-plugin synchronizes it with .classpath or how? Regards, Amit On Fri, Feb 22, 2008 at 1:13 PM, Martin Höller [EMAIL