Dependency management in maven 2

2005-07-12 Thread Maarten Coene
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

2004-06-23 Thread Maarten Coene
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: local file system repository problem

2004-02-11 Thread Maarten Coene
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

2004-02-09 Thread Maarten Coene
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:

repository
   connectionscm:cvs:local:ignored:/home/cvs:reporting/connection
   urlhttp://192.168.1.1/cgi-bin/cvsweb.cgi/reporting//url
/repository
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]


tasklist plugin help needed

2003-06-06 Thread Maarten Coene
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]


Re: tasklist plugin help needed

2003-06-06 Thread Maarten Coene
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 ===
?xml version=1.0?
project
  pomVersion3/pomVersion
  namewisecare/name
  idwisecare/id
  currentVersion1.0-dev/currentVersion
  organization
nameQMedit/name
urlhttp://www.qmedit.com//url
  /organization
  inceptionYear2003/inceptionYear
  packagecom.qmedit.wisecare/package
  shortDescriptionWisecare Project/shortDescription

  description
This is a description of the Wisecare project.
  /description
  reports
reportmaven-tasklist-plugin/report
  /reports
  dependencies

dependency
  idcolt/id
  versionSNAPSHOT/version
/dependency
dependency
  idcommons-collections/id
  versionSNAPSHOT/version
/dependency
dependency
  idcommons-digester/id
  versionSNAPSHOT/version
/dependency
dependency
  idqmedit-commons-misc/id
  versionSNAPSHOT/version
/dependency
  /dependencies

  build

sourceDirectorysrc/java/sourceDirectory

  /build
/project
=== task-list.xml ===
?xml version=1.0 encoding=ISO-8859-1?
document
  properties
author email=[EMAIL PROTECTED]Maven/author
titleArticles/title
  /properties
  body
section name=Todos
  p
  /p
  table
thClass/th
thClass Todos Count/th
thMethod with Todos/th
  /table
  hr/
  p
/p
/section
  /body
/document
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:

  sourceDirectorysrc/java/sourceDirectory

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]