Using classpath under maven1

2005-06-07 Thread Joachim Sautter
Hello, I have some classes which are not in the repository. They are in a separate folder of my project. I have set a enviroment variable classpath to find them, When I use ant or the java compile it works. But it doesnt work under maven. Is there any opportunity that maven can use the

Re: Using classpath under maven1

2005-06-07 Thread sheep
hi. maybe you can set maven.compile.compilerargs in properties file . u can find some info at: http://maven.apache.org/reference/plugins/java/properties.html good

How to visit the enviroment variable

2005-06-07 Thread Alan Cui
Hello, I am a freshman, would you please tell me how to visit the enviroment variables, such as %TMP%, %SystemRoot%, thanks! Alan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Brett: Please reference docs.codehaush.org on the maven2 homepage

2005-06-07 Thread ahoh
Hi, it would be helpful for newcomers (eg. me ;-) ) would there be a reference to http://docs.codehaus.org/display/MAVEN/Home at a prominent place on the maven2 homepage. I realize that the information presented there is quite in flux, but I found the Design Documents quite helpful (after I

Re: [ANN] Maven Multi-Project Plug-in 1.4 released

2005-06-07 Thread Massimo Lusetti
On 6/5/05, Vincent Massol [EMAIL PROTECTED] wrote: We are pleased to announce the Maven Multi-Project Plug-in 1.4 release! The same error (dep on maven-model-3.0.0-SNAPSHOT) which affect changelog plugin 1.8 seems to affect this plugin as well. Anyone else has noticed this ? -- Massimo

Clover plug-in: code coverage of assertions / assert statements

2005-06-07 Thread Martin Burger
Hello, I'm using a lot of assert statements in my code, and it seems that I will never get 100% coverage because clover says the assertion's expression is never executed. AFAIK the Eclipse plug-in of clover allows to filter assert statements, but I was not able to find such a feature for

RE: Clover plug-in: code coverage of assertions / assert statements

2005-06-07 Thread Vincent Massol
Martin, Why don't you use a context filter? (see http://cenqua.com/clover/doc/adv/contexts.html). This is supported by the latest versions of the Clover plugin -Vincent -Original Message- From: Martin Burger [mailto:[EMAIL PROTECTED] Sent: mardi 7 juin 2005 12:06 To: Maven Users

Re: [ANN] Maven Multi-Project Plug-in 1.4 released

2005-06-07 Thread Michael Niemaz
As Brett said: If you want to hand edit project.xml in your cache to make 3.0.0-SNAPSHOT into 3.0.0, that will suffice for now. It does the trick. --mike Massimo Lusetti wrote: On 6/5/05, Vincent Massol [EMAIL PROTECTED] wrote: We are pleased to announce the Maven Multi-Project Plug-in

Re: [ANN] Maven Multi-Project Plug-in 1.4 released

2005-06-07 Thread Massimo Lusetti
On 6/7/05, Michael Niemaz [EMAIL PROTECTED] wrote: As Brett said: If you want to hand edit project.xml in your cache to make 3.0.0-SNAPSHOT into 3.0.0, that will suffice for now. It does the trick. Sure, I've already done that. Just wish to let you know -- Massimo

Re: Clover plug-in: code coverage of assertions / assert statements

2005-06-07 Thread Martin Burger
Vincent Massol schrieb am 07.06.2005 12:21: Why don't you use a context filter? (see http://cenqua.com/clover/doc/adv/contexts.html). This is supported by the latest versions of the Clover plugin I added maven.clover.context.block.names=assert to my project.properties, but the assert

scm plugin

2005-06-07 Thread Chedly GUERFALI
Hello, I am using maven-scm-plugin-1.5 and I cannot override maven.scm.checkout.dir. It is always fixed with the default value. Even with the project.properties it is impossible. Can I have help. Thans a lot Chedly

Re: [m2] transitive or module dependencies to create multiple jar libraries

2005-06-07 Thread solo turn
is there any possibility (or if not, plan to allow) to include multiple jars with stating just one dependency? most of our projects depend on the same set of jars, but this may change depending on the base version of the jars, and for ALL projects. what we try to avoid is editing these

RE: Clover plug-in: code coverage of assertions / assert statements

2005-06-07 Thread Vincent Massol
-Original Message- From: Martin Burger [mailto:[EMAIL PROTECTED] Sent: mardi 7 juin 2005 12:36 To: Maven Users List Subject: Re: Clover plug-in: code coverage of assertions / assert statements Vincent Massol schrieb am 07.06.2005 12:21: Why don't you use a context filter?

Re: scm plugin

2005-06-07 Thread Joachim Sautter
Chedly GUERFALI wrote: Hello, I am using maven-scm-plugin-1.5 and I cannot override maven.scm.checkout.dir. It is always fixed with the default value. Even with the project.properties it is impossible. Can I have help. Thans a lot Chedly HI, when it will overriding your projects in the

Re: [ANN] Maven Multi-Project Plug-in 1.4 released

2005-06-07 Thread Michael Niemaz
Oops sorry for the misunderstanding. --mike Massimo Lusetti wrote: On 6/7/05, Michael Niemaz [EMAIL PROTECTED] wrote: As Brett said: If you want to hand edit project.xml in your cache to make 3.0.0-SNAPSHOT into 3.0.0, that will suffice for now. It does the trick. Sure, I've

Re: Clover plug-in: code coverage of assertions / assert statements

2005-06-07 Thread Martin Burger
Vincent Massol schrieb am 07.06.2005 12:56: I added maven.clover.context.block.names=assert to my project.properties, but the assert statements are not covered. Any idea? Nope. It should work. After running update commands (http://maven.apache.org/start/download.html) it works.

RE: scm plugin

2005-06-07 Thread Chedly GUERFALI
Thank you for your help. I tried this but it still doesn't work: the checkout-project is for 1.4.1 version scm plugin, it doesn't do anything. the checkout always checks out in the project.xml directory. Having a multi-project product, i separate the conf files and the work file i.g the checkouted

Re: How to visit the enviroment variable

2005-06-07 Thread Jamie Bisotti
Did you search the mail archives? On 6/7/05, Alan Cui [EMAIL PROTECTED] wrote: Hello, I am a freshman, would you please tell me how to visit the enviroment variables, such as %TMP%, %SystemRoot%, thanks! Alan -

Re: JCoverage IOException

2005-06-07 Thread Jeff Jensen
Hi Kim, Regretfully the answer is to use a different product! I have wasted a lot of time on this, and only recently found the issues in Maven JIRA and JCoverage Bugzilla. JCoverage currently runs on a smaller piece of our product, so I know it can work; it just does not work on medium or

Javadocs does not find source files

2005-06-07 Thread Richardson, Simon (Treasury)
I was having problems generating javadocs using maven until I cam across the following mail: http://marc.theaimsgroup.com/?l=turbine-maven-userm=111747929716349w=2 Once I has removed the package tag from my project xml file the javadocs command now generates all my javadocs. I'm a little

RE: Can not generate changelog report, and cruisecontrol email notification list failed

2005-06-07 Thread David Jackman
The users file maps CVS user names to valid email addresses. It is not required (unless the emails CruiseControl generates will be wrong). Since you say your emails have been working in the past, I would think that this wouldn't be a problem now (you were probably getting the warning message

RE: Mevenide Eclipse 0.4.0 release

2005-06-07 Thread David Jackman
What about those of use who are still on the current release version of Eclipse (3.0.2)? Will you be backporting to support that version? -Original Message- From: Gilles Dodinet [mailto:[EMAIL PROTECTED] Sent: Monday, June 06, 2005 4:02 PM To: Maven Users List; [EMAIL PROTECTED];

RE: Multiproject dashboard - dashboard runs the hard way

2005-06-07 Thread Vincent Massol
Hi Jeff, -Original Message- From: Jeff Jensen [mailto:[EMAIL PROTECTED] Sent: jeudi 2 juin 2005 18:16 To: Maven Users List Subject: Multiproject dashboard - dashboard runs the hard way I finally have dashboard report running by contradicting (per my interpretation) the

[m2] Artifact tasks transitive dep issues

2005-06-07 Thread Nicola Ken Barozzi
I'm using the Ant tasks from m2-a2 to download and use jars for Cocoon. The transitive dependency is giving me some issues: 1 - I don't know which jars get downloaded simply as a result of a transitive dependency. Something like the below suggestion would help. - ~ -

Re: [m2] Artifact tasks transitive dep issues

2005-06-07 Thread Brett Porter
On 6/7/05, Nicola Ken Barozzi [EMAIL PROTECTED] wrote: 1 - I don't know which jars get downloaded simply as a result of a transitive dependency. Something like the below suggestion would help. - ~ - Downloading: xxy/xxy-impl/1.0/xxy-impl-1.0.jar

Re: Mevenide Eclipse 0.4.0 release

2005-06-07 Thread Gilles Dodinet
we will try to backport in the coming weeks because 3.0.x user base is still .important.. -- gd David Jackman wrote: What about those of use who are still on the current release version of Eclipse (3.0.2)? Will you be backporting to support that version? -Original Message- From:

SmokeTests in Maven

2005-06-07 Thread Akins, Greg
I would like to write some smoke tests against a deployed web application. Seems like I should be able to run Canoo tests after completing a tomcat:deploy. Can someone advise the easiest/best way to do this? I had thought about wrapping some ant/jelly in a postGoal; but thought there might be

Re: [m2] Artifact tasks transitive dep issues

2005-06-07 Thread Nicola Ken Barozzi
Brett Porter wrote: On 6/7/05, Nicola Ken Barozzi [EMAIL PROTECTED] wrote: ... As a temporary solution to the above two problems, one could manually specify which jars *not* to download. ... Just implemented it in m2 and working on the ant tasks as we speak. Great! Will be doing that and

[Mavenbook.org] What content would you like to see?

2005-06-07 Thread Vincent Massol
Hi there, Tim O'Brien and I have started a web site called http://www.mavenbook.org. One of its goal is to advertise the Maven: A Developer's Notebook that we have written for O'Reilly. However the other goal is to publish other information about Maven. ATM we have 3 types of information there:

Re: Cobertura code coverage tool plugin?

2005-06-07 Thread Carlos Sanchez
Hi, As I've commented in the JIRA issue the plugin can be hosted in SF http://maven-plugins.sourceforge.net/ and if everything goes ok it could be added to the maven distribution. Regards On 6/7/05, Jamie Bisotti [EMAIL PROTECTED] wrote: Are there any plans to add the Cobertura code coverage

RE: SmokeTests in Maven

2005-06-07 Thread Gimbel, Trevor
For our application, we have a separate project in CVS and maven (ui-test), that is used to build and execute our integration tests. This approach allows us to run the tests on an as needed basis, since they do take longer than straight JUnit tests. -Original Message- From: Akins,

RE: SmokeTests in Maven

2005-06-07 Thread Akins, Greg
That's a great idea. Do you just use webtest for the integration tests? -Original Message- From: Gimbel, Trevor [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 1:50 PM To: Maven Users List Subject: RE: SmokeTests in Maven For our application, we have a separate project in CVS

RE: [Mavenbook.org] What content would you like to see?

2005-06-07 Thread David Jackman
I think a Maven Cookbook could be interesting and helpful. It seems there are often questions to the mailing list about How do I build it this way for different configurations and desired outcomes. A Maven Cookbook would be a good way to talk about approaches to these different situations with

Re: Cobertura code coverage tool plugin?

2005-06-07 Thread Jeff Jensen
It seems you have successfully installed and run it. Will you share some instructions on how to set up the in-progress plugin using the latest plugin attached to bug 25 please? (pretty puhleeease!? ;-) Quoting Jamie Bisotti [EMAIL PROTECTED]: Are there any plans to add the Cobertura code

RE: SmokeTests in Maven

2005-06-07 Thread Gimbel, Trevor
We are using HtmlUnit (http://htmlunit.sourceforge.net/) which has been working quite nicely. Ideally, we want to also use dbUnit to put the database into a known state before each test or suite of tests. -Original Message- From: Akins, Greg [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: Cobertura code coverage tool plugin?

2005-06-07 Thread Jamie Bisotti
1. Download maven-cobertura-plugin-1.4.jar, which is attached to the JIRA issue; place it in MAVEN_HOME/plugins 2. Download cobertura (from the sourceforge site); and unpack it locally. 3. Copy cobertura-1.4/lib/asm/2.0.RC1/asm-2.0.RC1.jar to

RE: How to expose expose a Java TagLibrary

2005-06-07 Thread Jason Dillon
Thanks for the response. I think I found the solution I was looking for... after browsing through the define taglib sources: Use define:bean, as in: define:taglib uri=myplugin define:tag name=dependency-handle/ define:bean name=mytag className=com.foo.MyTag/ define:bean

commons-logging-optional.jar

2005-06-07 Thread Poppe, Troy
I can't find this in the maven repository where I'd expect it to be (commons-logging:commons-logging-optional-1.0.4)... Am I missing something? Troy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Maven 2.0 - compile - No sources to compile

2005-06-07 Thread Nathan Sowatskey \(nsowatsk\)
Hi I am trying out Maven 2.0 for the first time. At this stage it doesn't see any code to compile. This is the trace: G:\nm_poc\ejb\jarm2 -e compile + Error stacktraces are turned on. [INFO] inventory-service-pom: using locally installed snapshot [INFO]

Re: [Mavenbook.org] What content would you like to see?

2005-06-07 Thread Nicolas Chalumeau
Hi Vincent 2005/6/7, Vincent Massol [EMAIL PROTECTED]: Hi there, Tim O'Brien and I have started a web site called http://www.mavenbook.org. I just take a quick look, it seems (and is) a good idea. One of its goal is to advertise the Maven: A Developer's Notebook that we have written for

RE: [Mavenbook.org] What content would you like to see?

2005-06-07 Thread Vincent Massol
Hi David, When you say Maven Cookbook you don't mean another book, right? :-) You mean some recipes. Actually we have tips and tricks which are small-scale recipes. The reason we don't publish full fledged recipes yet is because it's harder to do so and takes more time. But it's a very good idea.

Re: Cobertura code coverage tool plugin?

2005-06-07 Thread Jamie Bisotti
Any chance of back porting it to 1.x? On 6/7/05, Will Gwaltney [EMAIL PROTECTED] wrote: I'm currently working on a Cobertura plugin for Maven 2, and will contribute it to the Cobertura site (or some other appropriate place) as soon as it's ready.

RE: Cobertura code coverage tool plugin?

2005-06-07 Thread Will Gwaltney
Unfortunately not. The plugin interface is completely different (not even the same language) between M1 and M2. :-( - Will Gwaltney SAS Institute [EMAIL PROTECTED] 919-531-9025 mathematics is not just a cultural activity that we ourselves have created,

[ANN] Maven Multi-Project Plug-in 1.4.1 released

2005-06-07 Thread Vincent Massol
The maven team is pleased to announce the Maven Multi-Project Plug-in 1.4.1 release! http://maven.apache.org/reference/plugins/multiproject/ A plugin to handle the building of multiple projects within maven. Changes in this version include: Fixed bugs: o Set version of the

RE: [Mavenbook.org] What content would you like to see?

2005-06-07 Thread David Jackman
I was going to say Maven in Action, but that sounded even more like another book :) I think most of the ideas could come right off the mailing list. There's plenty of discussion here around interesting configurations and the best way to get everything working for them. You might be able to

Want to know how to get subproject docmentation, into ear, or war for deployment

2005-06-07 Thread Mick Knutson
I currently have the following project structure (condensed a bit): root |--common |--soapSubproject |--src |--target |--target |--docs |--multiproject |--soapSubproject |--all the project

RE: [ANN] Maven Multi-Project Plug-in 1.4.1 released

2005-06-07 Thread Dennis Cook
Get a 404 error on the URL http://www.ibiblio.org/maven/maven/plugins/maven-multiproject-plugin-1.4.1.jar -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 1:56 PM To: users@maven.apache.org; dev@maven.apache.org Subject: [ANN] Maven

Re: [m2] Artifact tasks transitive dep issues

2005-06-07 Thread Trygve Laugstøl
On Tue, Jun 07, 2005 at 07:18:06PM +0200, Nicola Ken Barozzi wrote: Brett Porter wrote: On 6/7/05, Nicola Ken Barozzi [EMAIL PROTECTED] wrote: ... As a temporary solution to the above two problems, one could manually specify which jars *not* to download. ... Just implemented it in m2 and

Re: commons-logging-optional.jar

2005-06-07 Thread Simon Kitching
On Tue, 2005-06-07 at 14:37 -0400, Poppe, Troy wrote: I can't find this in the maven repository where I'd expect it to be (commons-logging:commons-logging-optional-1.0.4)... Am I missing something? It looks to me like the documentation is wrong and the optional jar is not in fact available

[m1] Plugin:Install not installing until Plugin:uninstall

2005-06-07 Thread Harrison . Curtis
I use the following batch file to build and install my plugin: @echo on cls call maven plugin:install if %ERRORLEVEL% NEQ 0 goto failed call maven plugin:repository-install if %ERRORLEVEL% NEQ 0 goto failed call maven plugin:repository-deploy :failed After successfully running it (all the maven

Re: [m2] Artifact tasks transitive dep issues

2005-06-07 Thread Brett Porter
On 6/8/05, Trygve Laugstøl [EMAIL PROTECTED] wrote: I would like to eventually contribute to the Maven Ant tasks, but before I need to get a hang of it. Sorry for the dumb question, but what do I need to download-build-look-at to be able to work on the Maven Ant tasks? $ svn co

Re: [m1] Plugin:Install not installing until Plugin:uninstall

2005-06-07 Thread Brett Porter
No, this doesn't sound correct. Does it happen every time? - Brett On 6/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I use the following batch file to build and install my plugin: @echo on cls call maven plugin:install if %ERRORLEVEL% NEQ 0 goto failed call maven

Re: [ANN] Maven Multi-Project Plug-in 1.4.1 released

2005-06-07 Thread Brett Porter
It may take a few more hours to filter out to ibiblio. It is available from the URL provided in the original email, just not by the automated mechanism. - Brett On 6/8/05, Dennis Cook [EMAIL PROTECTED] wrote: Get a 404 error on the URL

Re: Want to know how to get subproject docmentation, into ear, or war for deployment

2005-06-07 Thread Brett Porter
Usually you would use site:war to create a war as is from the top project. However, if you have your own code in the web project you can zip it up, drop it into the local repository as a dependency, and then in the web project grab that dependency and unzip it into the target directory during war

RE: Multiproject dashboard - dashboard runs the hard way

2005-06-07 Thread Jeff Jensen
Hi Vincent, Thank you for the reply. I greatly appreciate the help!! I am trying to use maven multiproject:site. I having been trying both Maven 1.02 and Maven 1.1 head (built another one today). Neither version is working for me. I cannot determine what the config problem is, and I'm sure