Dependency management in maven 2
Hi, I'm investigating a migration from our Ant build files to maven 2. During this, I came accross Ivy, which has some nice features maven 2 doesn't seem to provide. What we need is the following (which is all supported by Ivy): - a repository layout which is different from the standard maven/maven2 layout on ibiblio - transitive dependency support - support for resolving dependencies like "get me the latest 2.x revision" - version conflict management: "how do we deal with 2 dependencies with different versions, like 'commons-lang-2.0.jar and commons-lang-2.1.jar' - different scopes of dependencies The only features I've discovered on the maven2 website are the transitive dependencies and the scopes. So my question is: - does maven2 support the other features as well? - if maven2 doesn't support them, will maven2 support "third-party" dependency managers (like Ivy) to be plugged in into maven? For instance by providing an interface they can implement to resolve dependencies? This way, we could use Ivy for resoving the dependencies and use maven to do build our projects and generate the reports. regards, Maarten - Yahoo! Mail Stay connected, organized, and protected. Take the tour
clean-up test garbage
Hi, everytime I execute my unit tests, maven creates a new file in my basedir, e.g. "junit458743546.properties". These files never gets deleted, so if you don't do this manually, after a while the basedir contains a lot of these files. How can I tell the test-plugin to stop generating this file, or how can I tell the clean-plugin to delete this file? I'm using maven RC3. thanks, Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Changelog report problem
Which version of the CVS server are you running ? The changelog (and related) plugins doesn't work properly for CVS versions > 1.11.12 . I've created an issue in Jira for this some time ago, but it hasn't been solved yet. http://jira.codehaus.org/ViewIssue.jspa?key=MPCHANGELOG-31 regards, Maarten Ian Black wrote: Hi, I'm trying to get the changelog (and related CVS reports) to run properly. I've tried (successfully) to connect to CVS before generating the site reportson the command line. I've tried placing the 'user' directly into the address (in the project.xml file) like so...scm:cvs:pserver:[EMAIL PROTECTED] And I've tried placing the 'user' into the build.properties file and using the property like so...scm:cvs:pserver:[EMAIL PROTECTED] All to no avail. CVS reports are empty. Maven log file shows no scm errors. The builds are successful each time and I have a pre-existing connection to CVS each time too. Any thoughts on what I may be doing wrong or what else I could try? Thanks again, Ian. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.618 / Virus Database: 397 - Release Date: 09/03/2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: local file system repository problem
I tried it on Windows XP and linux, but the same problem occurred on both systems. Maarten Charles Daniels wrote: Which operating system are you using? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
local file system repository problem
Hi, I'm having troubles updating sources from CVS using local file system repositories. I have defined my repository like this in the project.xml file: scm:cvs:local:ignored:/home/cvs:reporting http://192.168.1.1/cgi-bin/cvsweb.cgi/reporting/ But, when I try to update my project, I get an error about a bad CVSROOT (see below). What am I doing wrong ? I'm using the CVS version of maven (version of 30 Jan 2004). thanks, Maarten scm:update-project scm:cvs-update-project [cvs] Using cvs passfile: /home/cruise/.cvspass [cvs] cvs update: Unknown method (`/home/cvs') in CVSROOT. [cvs] cvs [update aborted]: Bad CVSROOT: `:/home/cvs:reporting:'. BUILD FAILED File.. file:/home/cruise/.maven/plugins/maven-scm-plugin-1.2-SNAPSHOT/ Element... ant:cvs Line.. 199 Column 9 cvs exited with error code 1 Command line was [Executing 'cvs' with arguments '-d:/home/cvs:reporting:' '-q' 'update' '-Pd' The ' characters around the executable and arguments are not part of the command. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tasklist plugin help needed
ok, my project.xml wasn't completely correct (the order of some elements are not correct). But that's fixed now: pom:validate says my project.xml file is correct. Unfortunately, the generated todo-list is still empty Maarten At 13:29 6/06/2003 +0200, you wrote: Just an idea... Can you run "maven pom:validate" to verify that your project.xml is correct. Maybe the tag needs to be located at the end. Thanks -Vincent > -Original Message- > From: Maarten Coene [mailto:[EMAIL PROTECTED] > Sent: 06 June 2003 13:23 > To: Maven Users List > Subject: Re: tasklist plugin help needed > > I've included my project.xml and the generated task-list.xml file. > I'm also using the latest CVS version of maven. > > === projext.xml === > > >3 >wisecare >wisecare >1.0-dev > > QMedit > http://www.qmedit.com/ > >2003 >com.qmedit.wisecare > >Wisecare Project > > > This is a description of the Wisecare project. > > > > maven-tasklist-plugin > > > > > >colt >SNAPSHOT > > > >commons-collections >SNAPSHOT > > > >commons-digester >SNAPSHOT > > > >qmedit-commons-misc >SNAPSHOT > > > > > > > > src/java > > > > > > === task-list.xml === > > > > > Maven > Articles > > > > > > > > Class > Class Todos Count > Method with Todos > > > > > > > > > > At 12:24 6/06/2003 +0200, you wrote: > >Do you have your source directory specified in your project.xml file. In > >this file there needs to be a tag like this: > > > > src/java > > > >The tasklist plugin looks into this directory for java files to process. > > > >Maarten Coene wrote: > > > >>Yes it's included in my project.xml file. > >> > >>The tasklist report is generated, but it contains an empty table of todo > >>items. > >> > >>Maarten > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tasklist plugin help needed
I've included my project.xml and the generated task-list.xml file. I'm also using the latest CVS version of maven. === projext.xml === 3 wisecare wisecare 1.0-dev QMedit http://www.qmedit.com/ 2003 com.qmedit.wisecare Wisecare Project This is a description of the Wisecare project. maven-tasklist-plugin colt SNAPSHOT commons-collections SNAPSHOT commons-digester SNAPSHOT qmedit-commons-misc SNAPSHOT src/java === task-list.xml === Maven Articles Class Class Todos Count Method with Todos At 12:24 6/06/2003 +0200, you wrote: Do you have your source directory specified in your project.xml file. In this file there needs to be a tag like this: src/java The tasklist plugin looks into this directory for java files to process. Maarten Coene wrote: Yes it's included in my project.xml file. The tasklist report is generated, but it contains an empty table of todo items. Maarten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tasklist plugin help needed
Yes it's included in my project.xml file. The tasklist report is generated, but it contains an empty table of todo items. Maarten At 11:41 6/06/2003 +0200, you wrote: Hi Maarten, Have you added the report to your project.xml? [...] maven-tasklist-plugin -Vincent > -Original Message- > From: Maarten Coene [mailto:[EMAIL PROTECTED] > Sent: 06 June 2003 11:34 > To: [EMAIL PROTECTED] > Subject: tasklist plugin help needed > > Hi, > > I want to use the tasklist plugin, but the plugin doesn't find any todo's > in my source code. For my todo's, I use the "@todo" tag in the javadoc of > my method, e.g.: > > /** > * The description of my method > * @todo Refactor this method > */ > public void myMethod() { ... } > > I tried to generate the todo list with "maven tasklist" . > > What should I do to get the tasklist plugin generate a todo list? > > thx > Maarten Coene > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tasklist plugin help needed
Hi, I want to use the tasklist plugin, but the plugin doesn't find any todo's in my source code. For my todo's, I use the "@todo" tag in the javadoc of my method, e.g.: /** * The description of my method * @todo Refactor this method */ public void myMethod() { ... } I tried to generate the todo list with "maven tasklist" . What should I do to get the tasklist plugin generate a todo list? thx Maarten Coene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
new plugins
Hi, Is it possible to use plugins which are not situated in MAVEN_HOME/plugins but somewhere in a jar on a webserver? regards, Maarten Coene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]