Re: Trouble running Maven test case

2009-10-05 Thread Lukas Theussl
Even your second mail is not specific enough to help us help you in any meaningful way. You might profit from reading this: http://catb.org/~esr/faqs/smart-questions.html As a first guess I'd like to know if jwebunit-htmlunit-plugin is the only jwebunit dependency you added in your pom? If

RE: M2 : cvsignore and archetypes

2009-10-05 Thread PAROLINI Antonio
Interresting. Thanks for sharing this. -antonio -Message d'origine- De : Roland Asmann [mailto:roland.asm...@cfc.at] Envoyé : vendredi, 2. octobre 2009 13:54 À : PAROLINI Antonio; Maven Users List Objet : Re: M2 : cvsignore and archetypes OK, so I checked. We are indeed using our own

Re: Including the project's pom.xml in generated site ?

2009-10-05 Thread Lewis, Eric
Hi I may be a bit late ;-) but since I had the same problem, I sending the solution. Hope it helps you. In your build, add the following: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId executions execution

Wagon protocol 'scm' doesn't support directory copying

2009-10-05 Thread Open Source Dept
Hi everyone, I'm trying to deploy my maven site using wagon-scm but I'm getting this error: Wagon protocol 'scm' doesn't support directory copying. Is it possible to deploy a site using mvn site-deploy and an SVN repository? I'm using this 3 extensions: extensions extension

RE: Wagon protocol 'scm' doesn't support directory copying

2009-10-05 Thread Edelson, Justin
Not with wagon-scm, but you can with https://wagon-svn.dev.java.net/. From: Open Source Dept [mailto:o...@openmaximo.net] Sent: Mon 10/5/2009 7:14 AM To: users@maven.apache.org Subject: Wagon protocol 'scm' doesn't support directory copying Hi everyone, I'm

Getting error while using Doxia plugin during site generation

2009-10-05 Thread Mr Debasis
Hi All, I am trying to use doxia plugin during my site generation process for writing a documentation book. My directory structure is given below src/site/book/reference.xml(which contains book layout having chapter and section id) and my apt files are under

Re: Trouble running Maven test case

2009-10-05 Thread laredotornado
You are great and I will remember you when I'm rich and famous. When I switched the dependency to jwebunit-core from jwebunit-htmlunit-plugin the compilation errors went away and my unit test ran. As a bonus, do you know where the output of the tests gets saved to? All I'm told is that my unit

Re: Trouble running Maven test case

2009-10-05 Thread Lukas Theussl
Cool, I'll remind you of that when you're rich and famous! :) The test output goes to target/test-reports/. -Lukas laredotornado wrote: You are great and I will remember you when I'm rich and famous. When I switched the dependency to jwebunit-core from jwebunit-htmlunit-plugin the

Showing pom files in dependency tree.

2009-10-05 Thread Michael Delaney
All, I'm trying to diagnose an odd problem. The problem is on *some*, but not all, machines, one of our projects is trying to download an old retired snapshot build. I can't reproduce this locally but I can on our CI server. I checked the pom (top-level and parents) and check for this

Re: Showing pom files in dependency tree.

2009-10-05 Thread Jörg Schaible
Michael Delaney wrote at Montag, 5. Oktober 2009 16:55: All, I'm trying to diagnose an odd problem. The problem is on *some*, but not all, machines, one of our projects is trying to download an old retired snapshot build. I can't reproduce this locally but I can on our CI server. I checked

AW: Showing pom files in dependency tree.

2009-10-05 Thread Entner Harald
Have you tried to delete the complete repository (.../.m2/repository), in which the false artifact is found? Maybe there are some legacy artifacts in it, which in return have dependencies on others and so on. -Ursprüngliche Nachricht- Von: Michael Delaney [mailto:mdela...@upromise.com]

Re: AW: Showing pom files in dependency tree.

2009-10-05 Thread Michael Delaney
Yes, I tried that. First, a wipe of just our artifacts (from the local repository) then a complete wipe(from the local repository). After both wipes, the artifact was still trying to get pulled down. Entner Harald wrote: Have you tried to delete the complete repository (.../.m2/repository), in

Re: Showing pom files in dependency tree.

2009-10-05 Thread Michael Delaney
I just did that and no major differences. There were some differences but they were expected; location of the local repository and user name (those were the only two). Jörg Schaible wrote: Michael Delaney wrote at Montag, 5. Oktober 2009 16:55: All, I'm trying to diagnose an odd

RE: Showing pom files in dependency tree.

2009-10-05 Thread Tang, Ray
Are all the machine running the same user ID? Ray -Original Message- From: Michael Delaney [mailto:mdela...@upromise.com] Sent: Monday, October 05, 2009 10:57 AM To: Maven Users List Subject: Re: Showing pom files in dependency tree. I just did that and no major differences. There

RE: Ant Mojo Resources

2009-10-05 Thread Edelson, Justin
As far as I know, Windows has no facility for executing batch scripts (or anything else for that matter) which are inside a JAR file. So, what you'll need to do is copy the script to a temp directory and execute it from there. I'm not sure how you'd do this with Ant. In a Java-based Mojo, you

Re: Showing pom files in dependency tree.

2009-10-05 Thread Michael Delaney
For running 'help:effective-pom tests, no. I was running as myself (but using the same settings.xml file). Running as the same user the files are 100% equivalent; if you exclude the time stamp. I've also tested it using the same user as our CI server, manually, and same results. The manual

Why is this jar downloading?

2009-10-05 Thread David Weintraub
I am trying to trace the dependency upon a particular jarfile: btm-1.3.3-RC2.jar, and trying to find out why it is downloading. I've ran mvn with the --debug flag and got this: com.solbright.aim:core:jar:2.1.2-SNAPSHOT (selected for null) [DEBUG]

RE: Ant Mojo Resources

2009-10-05 Thread Martin Gainty
i seems that what you're asking for is not a maven plugin as a workaround you can 'wrap' your plugin code into an installer jar (using either Antigen or Ant-installer) http://java-source.net/open-source/installer-generators we could provide a more effective solution if you could share batch

Re: Why is this jar downloading?

2009-10-05 Thread Wayne Fay
So, what is generating this dependency on btm-1.3.3-RC.jar? Is there a better way to figure this out? mvn dependency:tree was built for this purpose exactly. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: weird source not found problem in eclipse

2009-10-05 Thread Rice Yeh
Hi, Post this message here again. I switch my OS from winxp to linux. But still get the same problem. Any clue? Regards, Rice On Sat, May 23, 2009 at 5:24 PM, Rice Yeh rice...@gmail.com wrote: Hi, I created my Eclipse Java project through mvn -DdownloadSources=true eclipse:clean

AW: Ant Mojo Resources

2009-10-05 Thread Entner Harald
In order to unpack a file from a dependent artifact you can also use dependency:unpack. e.g. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId

mvn test-compile doesn't create -tests jar

2009-10-05 Thread Roger Pack
I have a project that compiles test jars, a la ... build plugins plugin !-- bundle up the test jar -- groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId executions execution goals

Re: mvn test-compile doesn't create -tests jar

2009-10-05 Thread Wayne Fay
however the test jar isn't build and installed if I run mvn test-compile The test-compile phase occurs before package and before install, thus it is only compiling, which is all you asked it to do.

mvn command not taking up pom.xml entry

2009-10-05 Thread gauravmishra0383
Hi, While building a maven project using mvn -e test command, I am getting following exception: java.lang.NoSuchMethodError: org.hibernate.util.ReflectHelper.getFastClass(Ljava/lang/Class;)Lnet/sf/cglib/reflect/FastClass; at

Re: weird source not found problem in eclipse

2009-10-05 Thread Barrie Treloar
On Sat, May 23, 2009 at 7:54 PM, Rice Yeh rice...@gmail.com wrote: Hi,  I created my Eclipse Java project through mvn -DdownloadSources=true eclipse:clean eclipse:eclipse.  After project creation, I checked that in the Referenced Libraries in the in my Java Eclipse project have  the source

Re: Buildable standalone source bundles with the assembly plugin

2009-10-05 Thread Brett Porter
On 02/10/2009, at 12:59 AM, Mark Hobson wrote: 2009/10/1 Brett Porter br...@apache.org: On 30/09/2009, at 10:48 PM, Mark Hobson wrote: These are released dependencies. They need to be SCM checkouts and not source artifacts since they need to be buildable, i.e. contain the POM and any

The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found

2009-10-05 Thread anshree123
Hi, I am working with ServiceMix ESB and for that i need to use Maven. I created a simple pom.xml file: ?xml version=1.0 encoding=utf-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: How-to implement Code Quality Analysis on multiple Maven Projects?

2009-10-05 Thread Christian Breuer
plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId version1.1/version executions execution idadd-source/id phasegenerate-sources/phase