Re: Maven SCM plugin: where do I get cvs.exe?

2005-05-30 Thread Massimiliano Amato
Thanks but i found the problem. It was the fact that directory contained a space and i was forced to put it between " and that make Maven not being too happy about it! As soon as i removed the space from the name and the " worked On 5/31/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > What is the

Re: Maven SCM plugin: where do I get cvs.exe?

2005-05-30 Thread Wim Deblauwe
What is the error message you get? 2005/5/30, Massimiliano Amato <[EMAIL PROTECTED]>: > Hi. > > I've cvs.exe in the path but scm plugin still doesn't work > > I can run cvs from the directory where i lauch maven from > > I launched maven with -X option and cvs.exe is in the path, what could > b

[m2] Multi-project in Eclipse

2005-05-30 Thread Marcell Manfrin Barbacena
Hello, How can i configure the eclipse plugin to link the modules as eclipse projects and not as local repository jar files. Let thake the "getting started" example to make myself clear: app +- pom.xml +- my-app | +- pom.xml +- my-webapp | +- pom.xml What i want is the my-webapp eclipse projec

Re: Maven SCM plugin: where do I get cvs.exe?

2005-05-30 Thread Massimiliano Amato
Hi. I've cvs.exe in the path but scm plugin still doesn't work I can run cvs from the directory where i lauch maven from I launched maven with -X option and cvs.exe is in the path, what could be the problem? On 5/26/05, bryan ( [EMAIL PROTECTED]) <[EMAIL PROTECTED]> wrote: > google: find cvsn

Re: javadoc and jxr generation

2005-05-30 Thread Adrian Herscu
I have created an empty E:\stylesheet.css file and copied the D:\Documents and Settings\Administrator\.maven\cache\maven-jxr-plugin-1.4.2\plugin-resources\templates into E:\ and now the build succeeds and the reports are generated as expected. It seems that the plugin.resources property is initia

SCM, ssh and repository

2005-05-30 Thread Massimiliano Amato
Hello I am trying to have maven updating my project using scm goal Problem is that i've both a developerconnection and an anonymous connection defined in project.xml and it looks like SCM use developer connection if set Now if i override this and i use anonymous connection scm works like a charm

Re: Javadoc-Goal does not find any sources

2005-05-30 Thread John Fallows
Franz, Also remember to set the in your project.xml so that it matches the topmost Java package in your sources. This is used as a parameter to the Javadoc goal to determine which packages actually generate Javadoc. Before setting this, I was seeing the Javadoc goal execute and complete success

Re: Multi project CVS build

2005-05-30 Thread Javier Kohen
El lun, 30-05-2005 a las 14:31 -0300, Javier Kohen escribió: > So far I've been able to replace step 1 with Maven, by using the scm > plug-in. I'm looking for suggestions on how to make the whole process > easier. As I want to build/release from CVS, the multi-project plug-in > doesn't seem to be

Re: How to send build status in email...

2005-05-30 Thread dan tran
here is a sample for bat file set LOG=target\build.snapshot.x86.txt set LOG_JAVA=target/build.snapshot.x86.txt call maven your-main-goal >%LOG% 2>&1 if %ERRORLEVEL% NEQ 0 goto failed goto end :failed call maven your-sendmail-goal -Dsendmail.attachment=%LOG_JAVA% :end On 5/30/05, [EMAIL PRO

Re: PMD jar override not respected when in master project

2005-05-30 Thread Kenney Westerhof
On Mon, 30 May 2005, Wim Deblauwe wrote: Are you sure it's because of the inheritance? maven.jar.override=on means that for X in maven.jar.X=path/to/some.jar you can specify a dependency on X and it will be resolved through the maven.jar.X property, not using ibiblio. So your maven.jar.pmd=1.3 sho

PMD jar override not respected when in master project

2005-05-30 Thread Wim Deblauwe
Can I file a JIRA issue for this? regards, Wim -- Forwarded message -- From: Wim Deblauwe <[EMAIL PROTECTED]> Date: 26-mei-2005 9:29 Subject: PMD jar override not respected when in master project To: Maven Users List Hi, All my projects extend from a master project.xml. Along

Multi project CVS build

2005-05-30 Thread Javier Kohen
Hi, I'm very new to Maven. I have this project that consists of many components, most of which are stored in separate CVS trees. My old build system is as follows: 1) Generate all 70+ JAR files with Eclipse's JAR exporter. 2) Run a Makefile target that generates the project's documentation from Do

'includes' param of 'reactor' tag does not handle space chars?

2005-05-30 Thread Michael Niemaz
Hi all, I came accross this bug (or feature?) while playing with the reactor. Concretely, when 'including' several directories in the reactor tag, space chars will prevent the reactor to compute the dirs located after that space char: will only compute */project.xml. Removing the spa

Re: Javadoc-Goal does not find any sources

2005-05-30 Thread Franz-Josef Herpers
Jeff, thank you very much Jeff Jensen wrote: What is your setting of "" in project.xml? A wrote the project.xml a few months ago and never had to touch it, because everything went fine. This already shows how great the maven tool works for me... OK, but this way I forgot the basics ;-)

Re: Maven 2 excluding dependencies from WAR artifact

2005-05-30 Thread Brett Porter
Excuse my brevity but we've been answering this a bit lately. You'll find more in the archives, but can expect a comprehensive solution in alpha-3. We're discussing it on IRC shortly, in fact. Cheers, Brett On 5/30/05, Trent Rosenbaum <[EMAIL PROTECTED]> wrote: > I am using Maven 2 to generate m

Maven 2 excluding dependencies from WAR artifact

2005-05-30 Thread Trent Rosenbaum
I am using Maven 2 to generate my WAR artifact to be deployed under Tomcat. I have followed the getting started guidelines for creating a WAR project and have been able to deploy a simple set of JSP resources. I wanted to explore the use of Spring 1.2.1 and so started to follow the set-up of

RE: Javadoc-Goal does not find any sources

2005-05-30 Thread Jeff Jensen
What is your setting of "" in project.xml? For example: ... ${basedir}/src/java ... Most everything for source/test dirs is driven from the build elements. You should not have to set source properties in project.properties for Javadoc plugin. -Original Message- From

Javadoc-Goal does not find any sources

2005-05-30 Thread Franz-Josef Herpers
Hi, So far I used my own old Ant-Task to generate javadocs in maven.xml. That worked fine. Now I want to migrate to the Maven-Javadoc-Plugin 1.7 javadoc goal. But the only message I'm able to get from maven when running the default (i.e. generate goal) is: [echo] sourceModifications not used

Re: ant 1.6.2 and maven 1.0.1 (ant-target)

2005-05-30 Thread Franz-Josef Herpers
Brett Porter wrote: It's in ant-launcher, only available from Ant 1.6, included with Maven 1.1. Beta is expected in the next week, pending a vote. Thank you very much. If I take ant-launcher.jar, put in in the lib directory of maven and add the line ${maven.home}/lib/ant-launcher.jar t

Re: ant 1.6.2 and maven 1.0.1 (ant-target)

2005-05-30 Thread Brett Porter
It's in ant-launcher, only available from Ant 1.6, included with Maven 1.1. Beta is expected in the next week, pending a vote. - Brett On 5/30/05, Franz-Josef Herpers <[EMAIL PROTECTED]> wrote: > Hi, > > I'm successfully using Maven 1.0.1 with Ant 1.6.2, but today I > encountered a problem when

Re: How to send build status in email...

2005-05-30 Thread savitha
I am not sure how to use a shell script in maven. Is there any code sample I can look at to implement this? Thanks! Savitha dan tran <[EMAIL PROTECTED]> wrote: You need to wrap your maven works in a shell script: 1. get the script to call your main goal and redirect both stdout and stderror

Re: How to send build status in email...

2005-05-30 Thread savitha
I am not sure how to use a shell script in maven. Is there any code sample I can look at to implement this? Thanks! Savitha dan tran <[EMAIL PROTECTED]> wrote: You need to wrap your maven works in a shell script: 1. get the script to call your main goal and redirect both stdout and stderror

ant 1.6.2 and maven 1.0.1 (ant-target)

2005-05-30 Thread Franz-Josef Herpers
Hi, I'm successfully using Maven 1.0.1 with Ant 1.6.2, but today I encountered a problem when using the ant-target in maven.xml: I get the following error message: BUILD FAILED File.. E:\SVN_PROJEKTE\uba-iuclid-x\maven.xml Element... ant Line.. 272 Column 51 org/apache/tool

Re: Unit Test requires access to a file.

2005-05-30 Thread Alex Soto
place a section in your section. http://maven.apache.org/reference/project-descriptor.html#unitTest_resources On 5/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello > > I am a Maven novice and have a question about Unit Test. > > My Unit Test requires access to a file (for testin

Maven SCM Plugin 1.5 RC1 released

2005-05-30 Thread Brett Porter
Hi, This is to announce the releaes of a release candidate of the Maven SCM plugin for Maven 1.0. http://maven.apache.org/reference/plugins/scm/ To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -D

Re: Changelog plugin error: java.lang.NoClassDefFoundError: org/netbeans/lib/cvsclient/event/CVSListener

2005-05-30 Thread Brett Porter
looks like your cvslib JAR is corrupt in the local repository On 5/30/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > Hi, > > I get the following error when using the changelog plugin. > > Any idea what is wrong? > > regards, > > Wim > > java.lang.NoClassDefFoundError: org/netbeans/lib/cvsclien

Re: commons-dbcp : no-JDBC3 version on ibiblio ?

2005-05-30 Thread Brett Porter
On 5/30/05, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > - ask commons-dbcp to upload a second jar in apache repository (then, > what name to use ?) This one. (commons-dbcp-nojdbc3-1.2.jar or something, I guess, with a copy of the pom that excludes those dependencies) - Brett --

Changelog plugin error: java.lang.NoClassDefFoundError: org/netbeans/lib/cvsclient/event/CVSListener

2005-05-30 Thread Wim Deblauwe
Hi, I get the following error when using the changelog plugin. Any idea what is wrong? regards, Wim java.lang.NoClassDefFoundError: org/netbeans/lib/cvsclient/event/CVSListener at org.apache.maven.cvslib.CvsChangeLogFactory.createGenerator(CvsChangeLogFactory.java:47) at org.