Re: [M2] Force order of jar files in classpath

2006-04-16 Thread dan tran
There is no way to do that in maven2, Just wonder, What is your usecase that requires this feature. -D On 4/16/06, Andreas Guther <[EMAIL PROTECTED]> wrote: > > Hi, > > I am encountering different situations where it would be helpful to force > the order of the jar files within the classpath.

[M2] Force order of jar files in classpath

2006-04-16 Thread Andreas Guther
Hi, I am encountering different situations where it would be helpful to force the order of the jar files within the classpath. So far I could not figure out if Maven 2 allows this to configure at all as well as how the order of the jar files is compiled from the dependency section. Is this a

Re: Anybody running m2 and JUnit 4.0?

2006-04-16 Thread Wayne Fay
You might also want to ask on the JUnit Yahoo Group email list? Wayne On 4/16/06, Ian Shafer <[EMAIL PROTECTED]> wrote: > Thanks, Boris. I saw this thread, but the JUnit4TestAdapter technique > doesn't seem to work for me. I have a feeling I'm forgetting > something simple so I'm wondering if any

Re: How to get the url of submodules

2006-04-16 Thread Wayne Fay
Yes, right now the site plugin does not automatically provide links to the submodules etc. So the easiest way to handle this is to simple provide a site.xml file with links to the various submodules. You'll want to add something like this: Wayne On 4/16/06, [EMAIL PROTECTED] <[

Re: Anybody running m2 and JUnit 4.0?

2006-04-16 Thread Ian Shafer
Thanks, Boris. I saw this thread, but the JUnit4TestAdapter technique doesn't seem to work for me. I have a feeling I'm forgetting something simple so I'm wondering if anybody else has seen the IllegalArgumentException and if so, what the fix is. Ian On Apr 16, 2006, at 12:30 PM, Boris Le

Re: m2.0.3 and TestNG

2006-04-16 Thread Ian Shafer
Thanks, Brett. I'd been looking all over this mailing list and various web sites but I couldn't get a clear picture. Thanks, for clarifying. Ian On Apr 16, 2006, at 4:24 PM, Brett Porter wrote: Hi Ian, I'll roll these into the docs as it gets closer to release, but currently this support

How to get the url of submodules

2006-04-16 Thread raghurajan . x . gurunathan
Hi All I have project like Project -Module A -pom.xml -Module-B -pom.xml - pom.xml For this when i create a site and when i acess the Projec\index.html i don't see the link to Module-A and Module-B e

[site] Too many links on the top

2006-04-16 Thread Shinobu Kawai
Hi, Anybody seen the maven site recently? Looks like everything except "Apache" is shown twice. :) http://maven.apache.org/ Best regards, -- Shinobu -- Shinobu Kawai <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTE

Re: m2.0.3 and TestNG

2006-04-16 Thread Brett Porter
Hi Ian, I'll roll these into the docs as it gets closer to release, but currently this support is only in a development snapshot of surefire. Basically, you need to be using 2.2-SNAPSHOT of the surefire plugin, and you must declare a testNG dependency (scoped test) in your project. - Brett On 4

Re: Anybody running m2 and JUnit 4.0?

2006-04-16 Thread Boris Lenzinger
Is it related to surefire and junit 4 ? then check this thread [M2] surefire plugin and JUnit 4 (was on April, 10th) Ian Shafer a écrit : I tried this, using the JUnit4TestAdapter, but I get this exception: java.lang.IllegalArgumentException: object is not an instance of declaring class I

Re: Maven2 and Xdoclet2

2006-04-16 Thread Stephane Nicoll
You should ask the XDoclet folks about it http://xdoclet.codehaus.org/Maven2+plugin Cheers, Stéphane On 4/14/06, Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco) <[EMAIL PROTECTED]> wrote: > > > Hi, > > I am getting this following error msg. Any idea , how can I fix this.

Anybody running m2 and JUnit 4.0?

2006-04-16 Thread Ian Shafer
I tried this, using the JUnit4TestAdapter, but I get this exception: java.lang.IllegalArgumentException: object is not an instance of declaring class I'm using Java 1.5. Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [M2] 'site' archetype failing

2006-04-16 Thread Borut Bolčina
Not in 2.0.4 Eric Redmond pravi: Yeah, I submitted a patch to fix that 4 months ago ( http://jira.codehaus.org/browse/ARCHETYPE-14), and its apparently being fixed in the next recent version? I really don't know. Eric On 4/16/06, Borut Bolčina <[EMAIL PROTECTED]> wrote: Hello, I am having

Re: [M2] 'site' archetype failing

2006-04-16 Thread Eric Redmond
Yeah, I submitted a patch to fix that 4 months ago ( http://jira.codehaus.org/browse/ARCHETYPE-14), and its apparently being fixed in the next recent version? I really don't know. Eric On 4/16/06, Borut Bolčina <[EMAIL PROTECTED]> wrote: > > Hello, > > I am having the same problem. What is the po

Re: Maven 2 site plugin outputEncoding

2006-04-16 Thread Borut Bolčina
This http://jira.codehaus.org/browse/MNG-722 doesn't work for me. Working on WinXP SP2. How do I convince Velocity (or site plugin which initializes it) to use my velocity.properties file [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File:

Re: Maven 2 site plugin outputEncoding

2006-04-16 Thread Borut Bolčina
This http://jira.codehaus.org/browse/MNG-722 doesn't work for me. Working on WinXP SP2. How do I convince Velocity (or site plugin which initializes it) to use my velocity.properties file [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File:

Optional modules in modules list

2006-04-16 Thread Anders Kristian Andersen
Hi Maven Users I have build a multi-level application in maven1 where I uses maven to load the subprojects from the version-control-system. Each module is in its own repository.. In maven-2 I have considered would make a project containing 4.0.0 manager manager pom Managemement

Re: [M2] 'site' archetype failing

2006-04-16 Thread Borut Bolčina
Hello, I am having the same problem. What is the point of having an archetype maven-archetype-site, if it can only be run on non-existing project? Is there a parameter to force creation of site subdirectory within existing project? The solution is to manualy copy generated site to existing p

m2.0.3 and TestNG

2006-04-16 Thread Ian Shafer
Hello, I'm trying to use TestNG, but I'm having no luck. I'm using Java 1.5 source and 1.5 compilation target and I'm using a 1.5 JVM (I don't have any other version of Java installed on the server that I'm working on). It seems that my 1.5 annotations are not being recognized. Only tests