Aggregate reports

2006-12-07 Thread Morgovsky, Alexander \(US - Glen Mills\)
How may I run an aggregate dependencies report on a multi-module project? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this

Re: Re: dependency management within plugin dependencies

2006-12-07 Thread Wayne Fay
Sounds like a job for a . Wayne On 12/7/06, Gregory Kick <[EMAIL PROTECTED]> wrote: Federico, I'm aware of what it does... The question was regarding dependencies listed relative to a plugin. Wayne, The problem with is that I don't necessarily want a dependency for every invocation of the

Re: Re: dependency management within plugin dependencies

2006-12-07 Thread Gregory Kick
Federico, I'm aware of what it does... The question was regarding dependencies listed relative to a plugin. Wayne, The problem with is that I don't necessarily want a dependency for every invocation of the pluign. For example, say that have a plugin that uses the jaxb api and I want to use j

Unrecognised tag: 'unpackOptions' with maven-assembly-plugin

2006-12-07 Thread McGee, Tom
I'm using version 2.1 of maven-assembly-plugin. The documentaion on the assembly saids I can have unpackOptions tag in the dependencySet but I get an "Unrecognised tag: 'unpackOptions' " error. Here's the stack trace: org.apache.maven.lifecycle.LifecycleExecutionException: Error reading descripto

NMaven podling started in the incubator

2006-12-07 Thread Brett Porter
Hi all, An FYI for those who are interested - the PMC have voted to accept NMaven (.NET support for Maven) into the incubator, and to work to incorporate all our existing sandbox efforts into it. The proposal is here: http://maven.apache.org/proposals/incubator/ nmaven.html The lists hav

Re: Test failure

2006-12-07 Thread Andrew Williams
when looking for error stack traces do not execute mvn -e test go for somthing like: mvn -Dsurefire.useFile=false test Andy On 7 Dec 2006, at 18:40, Allan Valeriano wrote: Hi all, I'm having some problems running "mvn test". I'm receiving failure at one of my tests, but when I run it with

Re: User-defined phase

2006-12-07 Thread Wayne Fay
I generally abuse Ant for these kinds of things rather than Maven... Wayne On 12/7/06, Eric Redmond <[EMAIL PROTECTED]> wrote: The phases are community defined, and there are no plans to ever change that. This is why Maven is easy to understand and use wherever you go - rather than having to le

Re: Tagging a maven project in sourceforge with release:prepare fails with this message

2006-12-07 Thread David
Just in case it's useful for someone, I've found the "curious" solution to this weird problem within the SF tracker after being knocking my head against the screen for some time... http://sourceforge.net/tracker/index.php?func=detail&aid=1599910&group_id=1&atid=21 David 2006/12/6, David <[

Re: maven proxy question

2006-12-07 Thread Barrie Treloar
On 12/8/06, Christian Goetze <[EMAIL PROTECTED]> wrote: I am using the maven proxy as described in http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment, but I am observing spurious build failures due to some of the actual remote sites not always responding in a timely

Re: Assembly problem

2006-12-07 Thread Wendy Smoak
On 12/7/06, Bob Arnott <[EMAIL PROTECTED]> wrote: Hello list, I've got an issue with the assembly plugin, I'm getting this error: Embedded error: Unrecognised tag: 'dependencySets' (position: START_TAG seen ...\r\n That doesn't seem to match up with what you posted, which has no tag.

RE: Assembly problem

2006-12-07 Thread Bram de Kruijff
Hi Bob, may I suggest using an editor that understand/validates xml? Eg. eclipse, jEdit or just good old vim ;) The assembly xml u posted below is not well formed regards, Bram > -Original Message- > From: Bob Arnott [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 07, 2006 6:3

RE: skipping tests

2006-12-07 Thread EJ Ciramella
I had another thought, in the configuration section of each pom, couldn't I do something like this: org.apache.maven.plugins maven-surefire-plugin ${modulename.test} Then in the profiles.xml file, the default active profile could have all

RE: skipping tests

2006-12-07 Thread Heck, Joe
Heh - I know the feeling. I'm basing this on some examples and discussion I found on running functional tests integrated into a Maven2 build. Not exactly what you're wanting, but the "on/off" switch mechanism could be used almost identically. I'm not a guru on making profiles work, but the gist wo

Re: what dependency is bringing in this artifact?

2006-12-07 Thread Wendy Smoak
On 12/7/06, spamsucks <[EMAIL PROTECTED]> wrote: I have a project that uses a lot of dependencies (spring, hibernate, axis, etc..) My war file ends up containing multiple versions of some files (e.g. xerces-2.4.0.jar and xercesImpl-2.4.0 or xmlParserAPIs-2.2.1 and xml-apis-1.0.b2.api) I would li

what dependency is bringing in this artifact?

2006-12-07 Thread spamsucks
I have a project that uses a lot of dependencies (spring, hibernate, axis, etc..) My war file ends up containing multiple versions of some files (e.g. xerces-2.4.0.jar and xercesImpl-2.4.0 or xmlParserAPIs-2.2.1 and xml-apis-1.0.b2.api) I would like to set an exclusion for these in my pom, but

RE: skipping tests

2006-12-07 Thread EJ Ciramella
Sorry - this makes my eyes go googly - can you explain a bit more in detail? We have everything modularized, but typically build from the topmost level of the project. I was hoping to find a -Dmaven.test.skipthese= kind of a solution. >From the commandline would be the best option. Specifying a

releases on multi-module project with different scm urls

2006-12-07 Thread jcrossley
i have an application project that owns one child module, but both live in different locations in cvs. the app is atree/App whild the child is ctree/Module, so right away we can see we're dealing with "the hierarchy is flat" thinking. the flat heirarchy is inescapable at this time, and really pro

RE: skipping tests

2006-12-07 Thread Heck, Joe
If you bundle your tests into modules, you can define which modules are dependencies with a profile, and then drive their "run/not run" based on whether or not a profile is defined. -joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of EJ Ciramella Sent: T

skipping tests

2006-12-07 Thread EJ Ciramella
So I know about the: -Dmaven.test.skip=true setting, but is there a way to skip packages or modules worth of tests?

Re: Test failure

2006-12-07 Thread Daniel Kulp
On Thursday 07 December 2006 13:42, Wendy Smoak wrote: > On 12/7/06, Allan Valeriano <[EMAIL PROTECTED]> wrote: > > I'm having some problems running "mvn test". I'm receiving failure at one > > of my tests, but when I run it with stacktraces turned on, the exceptions > > are not related to what I'm

Re: Test failure

2006-12-07 Thread Wendy Smoak
On 12/7/06, Allan Valeriano <[EMAIL PROTECTED]> wrote: I'm having some problems running "mvn test". I'm receiving failure at one of my tests, but when I run it with stacktraces turned on, the exceptions are not related to what I'm testing. Instead, I receive the following error: ... I've been

Test failure

2006-12-07 Thread Allan Valeriano
Hi all, I'm having some problems running "mvn test". I'm receiving failure at one of my tests, but when I run it with stacktraces turned on, the exceptions are not related to what I'm testing. Instead, I receive the following error: [INFO] -

RE: When to initialize bean properties?

2006-12-07 Thread Naresh Bhatia
Please ignore - sent to wrong forum accidentally. Naresh -Original Message- From: Naresh Bhatia Sent: Thursday, December 07, 2006 1:21 PM To: 'Maven Users List' Subject: When to initialize bean properties? I have a bean property that is displayed on a page. The value of the property need

Re: Firewall/proxy issues

2006-12-07 Thread Mykel Alvis
By copying my repository from the windows box, I was able to determine that the settings are correctly being acquired. The problem appears to be with some interaction with the wagon client. I'll take this issue on over to that list. On 12/7/06, Mykel Alvis <[EMAIL PROTECTED]> wrote: Heh. Tha

maven proxy question

2006-12-07 Thread Christian Goetze
I am using the maven proxy as described in http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+environment, but I am observing spurious build failures due to some of the actual remote sites not always responding in a timely manner. Is there a way to configure maven proxy to n

When to initialize bean properties?

2006-12-07 Thread Naresh Bhatia
I have a bean property that is displayed on a page. The value of the property needs to be initialized by making a service layer call. When should this initialization be done? Currently I am doing a lazy initialization when the property is first accessed: public class ForumDetailsBean { private

Assembly problem

2006-12-07 Thread Bob Arnott
Hello list, I've got an issue with the assembly plugin, I'm getting this error: [INFO] [assembly:assembly] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Err

Re: Build fails on Linux 64Bit

2006-12-07 Thread Carlos Sanchez
well, you'd need to post the test result On 12/7/06, Ulrich Metzger <[EMAIL PROTECTED]> wrote: There is at least one test which fails on Linux 64Bit with jrockit-R26.4.0-jdk1.5.0_06 JDK installed. Running org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest Tests run: 5, Fai

RE: mvn and JUnit 4.1

2006-12-07 Thread Bram de Kruijff
> Hi, we use JUnit 4.1 in eclipse, but when we run the tests > from the cmd line with mvn, it seems to fail and not use > JUnit 4.1 but it uses the old 3.8.1. > > Is there some way to force mvn to use JUnit 4.1? > > The mvn release is 2.0.4 we are using. Hi Davis, there is no support AFAIK. Y

Re: mvn and JUnit 4.1

2006-12-07 Thread Wendy Smoak
On 12/7/06, Davis Ford <[EMAIL PROTECTED]> wrote: Hi, we use JUnit 4.1 in eclipse, but when we run the tests from the cmd line with mvn, it seems to fail and not use JUnit 4.1 but it uses the old 3.8.1. Is there some way to force mvn to use JUnit 4.1? In general, add a on the junit version yo

Re: mvn and JUnit 4.1

2006-12-07 Thread Andrew Williams
Currently maven does not support Junit 4 in the surefire plugin (default test framework) there is a JIRA for it so you can go and vote for it :) Andy Davis Ford wrote: Hi, we use JUnit 4.1 in eclipse, but when we run the tests from the cmd line with mvn, it seems to fail and not use JUnit 4.1

mvn and JUnit 4.1

2006-12-07 Thread Davis Ford
Hi, we use JUnit 4.1 in eclipse, but when we run the tests from the cmd line with mvn, it seems to fail and not use JUnit 4.1 but it uses the old 3.8.1. Is there some way to force mvn to use JUnit 4.1? The mvn release is 2.0.4 we are using. Thanks in advance, Davis

Re: Firewall/proxy issues

2006-12-07 Thread Mykel Alvis
Heh. That's a chicken and egg problem. The help plugin doesn't come with the base install, so getting it to debug the method I'm using to get plugins is a little problematic. :) Hmm... I guess I could look at using a windows machine as a proxy for my connection just to get the plugins, though.

Build fails on Linux 64Bit

2006-12-07 Thread Ulrich Metzger
There is at least one test which fails on Linux 64Bit with jrockit-R26.4.0-jdk1.5.0_06 JDK installed. Running org.apache.maven.archiva.reporting.reporter.ChecksumArtifactReporterTest Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.261 sec <<< FAILURE! Running org.apache.maven.a

Re: Firewall/proxy issues

2006-12-07 Thread Mykel Alvis
Sorry. I should've indicated that I've already determined that it is reading the correct file. I forgot to put it in the original message. I have verified that it's reading the settings that I posted. Thanks for the suggestion! On 12/6/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > With th

Re: Debugging NoClassDefFoundError

2006-12-07 Thread Aaron Digulla
Hello, I've found the bug in the maven source and filed a patch in JIRA (http://jira.codehaus.org/browse/MNG-2690 and http://jira.codehaus.org/browse/MNG-2691). Regards, -- Aaron Digulla -- View this message in context: http://www.nabble.com/Debugging-NoClassDefFoundError-tf2774329s177.htm

Re: maven2 release and profiles

2006-12-07 Thread Attila Mezei-Horvati
> > Date: Thu, 7 Dec 2006 05:48:55 -0800 (PST) > From: Aaron Digulla <[EMAIL PROTECTED]> > To: users@maven.apache.org > Subject: Re: maven2 release and profiles > > > > Attila Mezei-Horvati wrote: > > > > 1. I have 3 profiles I need to apply. I have to > copy > > them into this one release-prof

Re: User-defined phase

2006-12-07 Thread Eric Redmond
The phases are community defined, and there are no plans to ever change that. This is why Maven is easy to understand and use wherever you go - rather than having to learn a bunch of "custom" stuff. If you really want to coallate your work into a single command, try using the "exec" goal: http://

Re: NullPointerException while building archiva-webapp

2006-12-07 Thread Emmanuel Venisse
plexus-archiver isn't a plugin [EMAIL PROTECTED] a écrit : Hello, Can someone please confirm that you get a NPE when you add this to the pom.xml of "archiva-webapp": org.codehaus.plexus plexus-archiver 1.0-alpha-7 The NPE is: [INFO] Trace java.lang.Nul

Re: assembly: howto exclude basedirectory when unpacking binaries

2006-12-07 Thread John Casey
You might try: ... Not sure, but I think that would work. -john On 12/7/06, Bram de Kruijff <[EMAIL PROTECTED]> wrote: Hello all, in my assembly I want to include and unpack a war binary of a moduleset in the root directory of the assembly. Unfortunaltly it always unpacks the war in a su

User-defined phase

2006-12-07 Thread Deluigi Marcus
Hi I want to abuse maven to perform a setup for a testing environment, such as starting derby, starting a tomcat and deploying a WAR file which is another project. Maven does a fine job in downloading all the required software if necessary and building the WAR file which it is another project. B

assembly: howto exclude basedirectory when unpacking binaries

2006-12-07 Thread Bram de Kruijff
Hello all, in my assembly I want to include and unpack a war binary of a moduleset in the root directory of the assembly. Unfortunaltly it always unpacks the war in a subdirectory with the artifactId/finalName as name. Is there anyway I can tell it not to do that? Eg.

Re: Advice on moving to Maven 2.x

2006-12-07 Thread nicolas de loof
I'm running both maven1 and maven2 on my PC with no conflict. they use separate install dir and repository location, and command line for m2 is not "maven" so there is no conflict. Nico. 2006/12/7, Rakesh Patel <[EMAIL PROTECTED]>: i had a quick look at the Maven 2.x docs. Am i right in assu

Re: maven2 release and profiles

2006-12-07 Thread Aaron Digulla
Attila Mezei-Horvati wrote: > > 1. I have 3 profiles I need to apply. I have to copy > them into this one release-profile for the sake of one > release. Since we have one codebase with different > settings for different partners and I need a release > for all partners separately, I am wasting my

Re: Advice on moving to Maven 2.x

2006-12-07 Thread Rakesh Patel
i had a quick look at the Maven 2.x docs. Am i right in assuming that my PC can have both m1 and m2 installed? To call m1 i use "maven" and to call m2 i use "mvn"? We also keep a build.properties file in %USERHOME% that points to the remote repositories - m2 uses another file or mechanism rig

Re: Advice on moving to Maven 2.x

2006-12-07 Thread Wim Deblauwe
Nope, you type "mvn"... regards, Wim 2006/12/7, Rakesh Patel <[EMAIL PROTECTED]>: Cheers Max, very useful information. I believe the approach will be more to try and work independently of the existing m1 system. So current projects on m1 will work as they do right now. New projects (like min

Re: Advice on moving to Maven 2.x

2006-12-07 Thread Rakesh Patel
Cheers Max, very useful information. I believe the approach will be more to try and work independently of the existing m1 system. So current projects on m1 will work as they do right now. New projects (like mine) will use an alternative based on m2. If for some reason we decide to abandon m2,

Debugging NoClassDefFoundError

2006-12-07 Thread Aaron Digulla
Hello, I'm using maven 2.0.4 to build Maven Archiva. Now, I get this error: [ERROR] FATAL ERROR [INFO] [INFO] Lorg/codehaus/plexus/archiver/manager/ArchiverManager; [INFO] ---

Sharing properties between maven and ant

2006-12-07 Thread Aaron Digulla
Hello, What is the most simple way to define a property once which can be seen both my maven (for example, used in pom.xml) and ant? Example: I have three third party JARs in my project and I want to install them with "mvn install:file". Each JAR has it's own POM and I also need the version in t

RE: Antwort: Re: Archiva: 507 Insufficient Storage

2006-12-07 Thread Mohni, Daniel
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 07, 2006 10:05 AM > To: archiva-users@maven.apache.org > Subject: Antwort: Re: Archiva: 507 Insufficient Storage > > Hello, > > > Just a question: Which version of wagon-webdav do you u

Re: Antwort: Re: Archiva: 507 Insufficient Storage

2006-12-07 Thread Joakim Erdfelt
I use wagon-webdav 1.0-beta-2-SNAPSHOT - Joakim [EMAIL PROTECTED] wrote: > Hello, > > >> Just a question: Which version of wagon-webdav do you use for the >> > upload? > > Anyone? > > > Regards, > > Mit freundlichen Grüssen, > >

Re: Firewall/proxy issues

2006-12-07 Thread Aaron Digulla
Mykel Alvis-2 wrote: > > The Linux build boxes, with the exact same file for settings, will not. > Does mvn help:effective-settings show your proxy settings? Also, you may try to install a dummy/forwarding proxy which logs all traffic to see what the two talk with each other. Regards, -- A

NullPointerException while building archiva-webapp

2006-12-07 Thread Aaron . Digulla
Hello, Can someone please confirm that you get a NPE when you add this to the pom.xml of "archiva-webapp": org.codehaus.plexus plexus-archiver 1.0-alpha-7 The NPE is: [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.DefaultPl

Re: Advice on moving to Maven 2.x

2006-12-07 Thread Max Cooper
On Thu, 2006-12-07 at 09:12 +, Rakesh Patel wrote: > Hi, > > I have just joined a new company which uses Maven 1.x. I have no > experience with Maven at all and have been charged with evaluating a > move to Maven 2.x. > > I am looking for some high-level information about the implications o

RE: [m2] maven-exec-plugin:java command line launch

2006-12-07 Thread Peter . Pilgrim
> -Original Message- > From: Wayne Fay [mailto:[EMAIL PROTECTED] ==== > > Your problem is that exec.arguments is a List of String > objects, and you can only pass a single String object in from > the command line. > > Unless someone knows how to pass an array of Strings from the

Re: War plugin and filtering webapp files

2006-12-07 Thread Theo Platt
Following this thread and the JIRA issue at the end, if you use the 2.0.1 war-plugin the filtering now works. My pom.xml looks like - mywebapp org.apache.maven.plugins maven-war-plugin 2.0.1

Re: [m2] eclipse:eclipse downloadSources

2006-12-07 Thread Mark Hobson
On 06/12/06, Fabrizio Giustina <[EMAIL PROTECTED]> wrote: eclipseDownloadSources is deprecated, tha name has been changed to downloadSources with the scope to make it consistent with other IDE-related plugins. The download status cache is only implemented in recent snapshots, you will not find

Archiva Install

2006-12-07 Thread Martin Gilday
I am trying to install Archiva by following this guide [1]. I have checked out the trunk and installed all the javax jars as instructed. However when I run mvn install I always get a problem regarding javax.activation. I have narrowed this down to it coming from "archiva-plexus-runtime" module.

failure with castor plugin

2006-12-07 Thread Marc Florisson
Hi, I'd like to generate java class from an xsd file using castor plugin. But maven fails as you can see below. Thank's for help. D:\users\marc\dev\chouette\chouette-noyau>mvn -U compile:generate [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'compile'. [INFO

Re: [m2] HOWTO release with a snapshot parent

2006-12-07 Thread Adrian Herscu
So the whole point of releases is "rebuild" -- i.e. given a release label and the software repository, the system can be rebuilt. Is that correct? Thanks for your feedback, Adrian. Dan Tran wrote: > that is not allowed since there is no guarantee you can rebuild the release > with a dependent snap

Re: Advice on moving to Maven 2.x

2006-12-07 Thread nicolas de loof
I'm also start migrating projects to maven2. Only new projects use maven2 but I have the same issue regarding corporate repository. I've installed Archiva (Maven repository manager) that can act as a proxy for maven public repository and manager for private artifacts. As it auto-detects request f

Advice on moving to Maven 2.x

2006-12-07 Thread Rakesh Patel
Hi, I have just joined a new company which uses Maven 1.x. I have no experience with Maven at all and have been charged with evaluating a move to Maven 2.x. I am looking for some high-level information about the implications of moving: 1. The existing infrastructure includes a repository f

Antwort: Re: Archiva: 507 Insufficient Storage

2006-12-07 Thread Aaron . Digulla
Hello, > Just a question: Which version of wagon-webdav do you use for the upload? Anyone? Regards, Mit freundlichen Grüssen, -- Aaron Digulla

RE: 504 in maven, works everywhere else

2006-12-07 Thread Aaron . Digulla
Hello all, I've now solved the problem by writing my own proxy. It's called DSMP (Dead Stu..Simple Maven Proxy) and can be used with the setting in settings.xml. It has these features: - It automatically mirrors any Maven repository, not only those mentioned in some config/POM/whatever file.

Re: dependency management within plugin dependencies

2006-12-07 Thread Federico Yankelevich
Hi, dependencyManagement is inherited by children POMs. It is useful to define a dependency within dependencyManagement tag expliciting the version there. Then in the children POMs you can just declare your dependecy without having the version tag have a look here: http://maven.apache.org/pom.htm

Re: Build error with pde-maven-plugin

2006-12-07 Thread Dan Tran
are you able to do an eclipse export of your pde artifact per pde-maven-plugin's FAQ? -D On 12/1/06, Dan Tran <[EMAIL PROTECTED]> wrote: are you able to run the m2eclipse example? -D On 12/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > i always get an error, when i try to