Re: warSourceDirectory

2006-06-28 Thread Pete Marvin King
perhaps you can do a war overlay, add the war to your depedency list with a scope of runtime. you might need to rename it to *.war, the war plugin uses the extension to determine if it will do a war overlay. Alexandre Poitras wrote: > To those who are facing the same issue, I just submitted

RE: M2: Using version ranges in dependencies

2006-06-28 Thread Jörg Schaible
Hi Arnaud, Arnaud Bailly wrote on Wednesday, June 28, 2006 8:58 AM: [snip] > Hello, > I also have troubles with dependencies range: > In my parent pom, I put : > > > > > commons-collections > commons-collections > (,3.0) > > > > > but mvn -X gives me: > [snip]

how to generate -sources.jar on install/deploy

2006-06-28 Thread Nicolas De Loof
Hello, I'd like my projects to automatically generate the -sources.jar when running mvn install or deploy. I've lokked for this at maven-sources-plugin but there is no doc. How to include sources jars in my build process ? Nico. This message contains information that may be privileged or

Re: how to generate -sources.jar on install/deploy

2006-06-28 Thread Jochen Wiedmann
On 6/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: I'd like my projects to automatically generate the -sources.jar when running mvn install or deploy. I've lokked for this at maven-sources-plugin but there is no doc. How to include sources jars in my build process ? org

Re: Does anyone know how to use the maven DBUnit plugin?

2006-06-28 Thread Marco Mistroni
HI Rick, have written an example using EJB3/TestNG.. it uses dbunit for clearing db tables... it's here http://docs.codehaus.org/display/MAVENUSER/Examples i usedno plugin at alli just wrote a test that handle database will this help? hth marco On 6/27/06, Rick <[EMAIL PROTECTED]> wr

Re: Checking out only the modules I want

2006-06-28 Thread Jeff Mutonho
On 6/27/06, Doug Douglass <[EMAIL PROTECTED]> wrote: I think no one has answered because your question is kind of vague WRT how you may or may not be using maven. When you ask "how do I tell maven..." do you mean via the command line or in a POM? And if in a POM, do you have POMs for each sub-pr

Re: how to generate -sources.jar on install/deploy

2006-06-28 Thread Nicolas De Loof
Works fine, thanks for quick reply ! Jochen Wiedmann a écrit : On 6/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: I'd like my projects to automatically generate the -sources.jar when running mvn install or deploy. I've lokked for this at maven-sources-plugin but there is no doc. How to in

Re: How to test an ejb package with Maven and TestNG?

2006-06-28 Thread Tim Kettler
Hi, see comment inline... Naresh Bhatia schrieb: I have a maven project with packaging set to ejb. I would like to test this project outside an ejb container by simply calling POJO classes inside it. I have written a very simple test using TestNG: public class UserServiceTest { @T

Does Pro Apache Maven covers Maven 2 version?

2006-06-28 Thread David
Dear members, I would like to buy the book: Pro Apache Maven, from Press.com, but there is no information if the book covers Maven 2.x or not (Also Amazon can't confirm this issue). There is no such information also on the Press.com web page. Thanks in advance, David P.S.:

Re: Does Pro Apache Maven covers Maven 2 version?

2006-06-28 Thread Patrick Kimber
Have you looked at the "Better Builds with Maven" book? Available to download from: http://www.mergere.com/m2book_download.jsp On 28/06/06, David <[EMAIL PROTECTED]> wrote: Dear members, I would like to buy the book: Pro Apache Maven, from Press.com, but there is no information if the book

Re: M2: Using version ranges in dependencies

2006-06-28 Thread Arnaud Bailly
Jörg Schaible <[EMAIL PROTECTED]> writes: > > > You have to add the artifact as first class dependency in your POM > (without a version field). OK, seems to work that way. Thanks a lot for the quick answer. -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. \web> http://www.

Re: Proximity forum

2006-06-28 Thread John Allen
DNS not resolving; is it just me? Tamás Cservenák gmail.com> writes: > > there is a forum set up for Proximity users/developers on > www.abstracthorizon.org > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

An internal error occurred during: "Indexing local".

2006-06-28 Thread Kundeti, Prasad
Hi, I want to integrate maven2 with eclipse. I downloaded the plug in through eclipse. And when I right click on a project and select "Enable" from Maven2 option I get an error dialogue saying An internal error occurred during: "Indexing local". java.lang.NoClassDefFoundError: org/apache/l

Re: how to generate -sources.jar on install/deploy

2006-06-28 Thread Stephen Duncan
If you only want to do it sometimes, you can do it without modifications by running: "mvn package -DperformRelease=true" - Stephen On 6/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: Hello, I'd like my projects to automatically generate the -sources.jar when running mvn install or deploy.

Re: Proximity forum

2006-06-28 Thread Kieran Brady
Works ok here :) Non-authoritative answer: Name:abstracthorizon.org Address: 207.210.85.147 Aliases: www.abstracthorizon.org - Original Message - From: "John Allen" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 28, 2006 10:55 AM Subject: Re: Proximity forum DNS not resolving

Re: warSourceDirectory

2006-06-28 Thread Alexandre Poitras
But it still won't work when I want to test with WTP. Anyway, my patch seems to fix the problem. On 6/28/06, Pete Marvin King <[EMAIL PROTECTED]> wrote: perhaps you can do a war overlay, add the war to your depedency list with a scope of runtime. you might need to rename it to *.war, the wa

AspectJ compiler with Java 1.3

2006-06-28 Thread Guillaume Bilodeau
Hi all, I'm asking for your help once again. Our projects are currently compiled using Java 1.3 through a Maven 2.0.4 build. We want to add some aspects (through the new Spring 2.0 tags) and we need to switch to the AspectJ compiler, while still using the Java 1.3 classes as a reference (to a

Re: JDepend

2006-06-28 Thread Michael . Wiles
Thanks, but I'm clueless when it comes to the settings.xml, the documentation is very thin. I don't know where to put that reference. Where do I configure the "snapshot repository". I regret that I have to ask these questions... if you can point to the documentation then I'll be glad to use it.

RE: JDepend

2006-06-28 Thread Andrew-A . Davies
Try this for setting up repositories http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 June 2006 12:02 To: Maven Users List Subject: Re: JDepend Thanks, but I'm clueless when it comes to th

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Kaare Nilsen
On 28/06/06, Guillaume Bilodeau <[EMAIL PROTECTED]> wrote: Hi all, I'm asking for your help once again. Our projects are currently compiled using Java 1.3 through a Maven 2.0.4 build. We want to add some aspects (through the new Spring 2.0 tags) and we need to switch to the AspectJ compiler,

Re: JDepend

2006-06-28 Thread Janhavi Phirke
For this, you don't have to set anything in settings.xml. The main file related to your project in maven 2.0 is pom.xml. It's like build.xml in ant. So you have to write that code in your pom.xml. On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks, but I'm clueless when it com

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Carlos Sanchez
I think he's talking about compiling to a different tools.jar, http://maven.apache.org/plugins/maven-compiler-plugin/howto.html On 6/28/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: On 28/06/06, Guillaume Bilodeau <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm asking for your help once again. Our p

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Guillaume Bilodeau
Yes, this is exactly what I want, but with the AspectJ compiler. The original pom.xml was using the configuration described in this page and was working great - but now we need (want?) to add aspects to the mix. Can this be done? Thanks, GB - Original Message From: Carlos Sanchez <[E

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Guillaume Bilodeau
For example, one class in our project implements java.sql.Connection. A method was added to this interface in Java 1.4 (or 5.0?) and so compiling this class with -source 1.3 and -target 1.3 gives the following error: D:\dev\workspace\promo-head\server\src\main\java\promo\util\xsql\XConnection.j

Sun jars revisited

2006-06-28 Thread Jeff Mutonho
What version numbers do you guys use when installing these in your repository?Is this an individual choice...like the wild west :) ?I'm looking at the manifest file for (eg ) jaxrpc.jar and it says : Manifest-Version: 1.0 Ant-Version: Apache Ant 1.5.3 Created-By: 1.4.2_05-b04 (Sun Microsystems In

Re: Sun jars revisited

2006-06-28 Thread Carlos Sanchez
looks like 1.1, although it may be a minor revision like 1.1.1 or 1.1.2 On 6/28/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: What version numbers do you guys use when installing these in your repository?Is this an individual choice...like the wild west :) ?I'm looking at the manifest file for (eg

Re: Sun jars revisited

2006-06-28 Thread Kieran Brady
Specification-Version. Definitely not the VM as a different VM could build the same jar. But for those artifacts that don't have any info in the manifest I tend to make it up/take an educated guess :) - Original Message - From: "Jeff Mutonho" <[EMAIL PROTECTED]> To: "Maven Users Lis

Re: Sun jars revisited

2006-06-28 Thread Jeff Mutonho
Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Getting the classpath right in a java plugin

2006-06-28 Thread TimHedger
I've written a java plugin (for java Visibroker CORBA tasks) but am having difficulty with the classpath. I'm getting hold of the classpath using some code I found in the idlj-maven-plugin: // Get current class path URLClassLoader cl = (URLClassLoader) this.getClass().getClassLoa

Problem with installed jaxrpc.jar

2006-06-28 Thread Jeff Mutonho
I installed the Sun jaxrpc.jar as follows : mvn install:install-file -Dfile=D:\M2-WORK\eportal-lib\jaxrpc.jar -DgroupId=javax.xml -DartifactId=jaxrpc -Dversion=1.1 -Dpackaging=jar The included it at a dependency in one of my poms as shown below : javax.xml jaxrpc 1.1 But

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Kaare Nilsen
On 28/06/06, Guillaume Bilodeau <[EMAIL PROTECTED]> wrote: Yes, this is exactly what I want, but with the AspectJ compiler. The original pom.xml was using the configuration described in this page and was working great - but now we need (want?) to add aspects to the mix. Can this be done? Than

Re: Problem with installed jaxrpc.jar

2006-06-28 Thread Roland Asmann
Looks like there's a naming-change in the jaxrpc... You should try the install again, but this time with artifactId 'jaxrpc-api', likt it says at the bottom. Roland On Wednesday 28 June 2006 14:42, Jeff Mutonho wrote: > I installed the Sun jaxrpc.jar as follows : > mvn install:install-file -D

Re: Problem with installed jaxrpc.jar

2006-06-28 Thread Kieran Brady
You need to include -DgeneratePom=true when using install:install-file Because you missed it out (easy to do), there is no local repo pom file so mvn goes off to central and finds the pom, which then has the relocation info in it for the jar. If you re-run the install with the extra param it

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Guillaume Bilodeau
Well, it's not the tools.jar that needs to be replaced, it's more the rt.jar. If I'm correct, tools.jar contains Sun-specific classes (not available in other JVMs) and rt.jar contains the official JDK classes. I've seen that the ajc compiler can use a bootclasspath parameter in its standalone

Lazy question

2006-06-28 Thread Clifton Craig
I have a questiono that I'm too lazy to do the full research on. (Actually I don't have time.) I looked for the answer on the site briefly but couldn't find it so I'm asking here. How do I set a dependency on the latest version of an API? For example, if I want the latest version of Xalan how do

Maven 1.0.2 Updating a jar automatically

2006-06-28 Thread Matt Campbell
Hello, all my projects pull in a jar file that is stored on my company repository. This jar is constantly updated, and i want all the projects that build it to automatically grab the jar from the company repository rather than grabbing the one in their local repository. Is there a maven property o

RE: Lazy question

2006-06-28 Thread Sharma, Jaikumar
I think, LATEST -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 6:28 PM To: users@maven.apache.org Subject: Lazy question I have a questiono that I'm too lazy to do the full research on. (Actually I don't have time.) I looked for the answ

Archetypes what is the current state?

2006-06-28 Thread Trent Rosenbaum
Hi there, I was wondering what is the current state of the archetypes that can be used in the out of box experience for maven? I have tried the following archetypes: maven-achetype-j2ee-simple maven-archetype-simple but they had problems being executed. I noticed that the current releases of t

[m2.0.4] surefire and loading native libraries

2006-06-28 Thread J. Matthew Pryor
I am trying to get some JUnit tests working that need to load a DLL. I have configured surefire to pass the relevant value for the java.library.path System property but the DLL won't load I get "java.lang.UnsatisfiedLinkError: no jspWin in java.library.path" I have written extra test code to

Confusion: m2 dependancy download

2006-06-28 Thread Graham Leggett
Hi all, I am trying to use maven2 to build an existing ant based project, and am trying to get the dependancies right. Some of the jars we need are not published on ibilio, and so we have installed them locally using mvn install:install-file. The trouble is, our build still fails like so: 6/28/

Re: AspectJ compiler with Java 1.3

2006-06-28 Thread Kaare Nilsen
On 28/06/06, Guillaume Bilodeau <[EMAIL PROTECTED]> wrote: Well, it's not the tools.jar that needs to be replaced, it's more the rt.jar. If I'm correct, tools.jar contains Sun-specific classes (not available in other JVMs) and rt.jar contains the official JDK classes. I've seen that the ajc c

Re: Confusion: m2 dependancy download

2006-06-28 Thread Tomasz Pik
On 6/28/06, Graham Leggett <[EMAIL PROTECTED]> wrote: Hi all, I am trying to use maven2 to build an existing ant based project, and am trying to get the dependancies right. Some of the jars we need are not published on ibilio, and so we have installed them locally using mvn install:install-file

M2 not seeing my axis-1.0.jar

2006-06-28 Thread Jeff Mutonho
One of my webservices class looks as follows : public class TSAMessageMessage implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {} Interface org.apache.axis.encoding.AnyContentType is in the axis-1.0.jar.The dependency looks like : axis axis 1.0

Re: Getting the classpath right in a java plugin

2006-06-28 Thread TimHedger
I'm guilty of not having searched thoroughly enough before this post - apologies. For others who find this post in search of answers themselves, there is another thread in this forum that deals with exactly this issue. -- View this message in context: http://www.nabble.com/Getting-the-classpa

Re: Getting the classpath right in a java plugin

2006-06-28 Thread Kieran Brady
And now you're guilty of not providing a link or other ref for that thread ;-) - Original Message - From: "TimHedger" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 28, 2006 2:59 PM Subject: Re: Getting the classpath right in a java plugin I'm guilty of not having searched thorough

Re: Confusion: m2 dependancy download

2006-06-28 Thread Graham Leggett
On Wed, June 28, 2006 3:41 pm, Tomasz Pik wrote: >> Why is maven2 trying to read the metadata file, when the jar file is >> already present? > > To find out, if there are also dependencies, that needs to be downloaded > and so on. But the dependancy in question was installed manually by a human u

Re: [m2.0.4] surefire and loading native libraries

2006-06-28 Thread J. Matthew Pryor
If I copy the DLL into the working directory of the unit tests (basedir) then they work fine. It just seems to completely ignore the value if java.library.path. I guess it is some kind of class loader issue or something? I am quite lost Matthew J. Matthew Pryor wrote: I am trying to get some

Re: Getting the classpath right in a java plugin

2006-06-28 Thread TimHedger
Try clicking on the underlined word thread in my post ! :) -- View this message in context: http://www.nabble.com/Getting-the-classpath-right-in-a-java-plugin-tf1861200.html#a5085121 Sent from the Maven - Users forum at Nabble.com. -

Re: M2 not seeing my axis-1.0.jar

2006-06-28 Thread Carlos Sanchez
check with -X what ends in the classpath On 6/28/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: One of my webservices class looks as follows : public class TSAMessageMessage implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {} Interface org.apache.axis.encoding.AnyCo

Re: M2 not seeing my axis-1.0.jar

2006-06-28 Thread Jeff Mutonho
On 6/28/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: check with -X what ends in the classpath Looks like axis-1.0.jar is being included in the classpath as the debug log below shows : [INFO] [compiler:compile] [DEBUG] Using compiler 'javac'. [DEBUG] Source directories: [D:\M2-WORK\eportal-webs

Re: Getting the classpath right in a java plugin

2006-06-28 Thread Kieran Brady
Oops, my mistake! Don't you just love Outlook Express :) Viewing the message in text mode doesn't show the link. I wonder what else I've missed :) - Original Message - From: "TimHedger" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 28, 2006 3:11 PM Subject: Re: Getting the classpath r

Re: Getting the classpath right in a java plugin

2006-06-28 Thread dan tran
take a look at surefire-plugin it has some elegant solution setting up classpath/classloader after invoking jvm On 6/28/06, TimHedger <[EMAIL PROTECTED]> wrote: Try clicking on the underlined word thread in my post ! :) -- View this message in context: http://www.nabble.com/Getting-the-classp

Re: Confusion: m2 dependancy download

2006-06-28 Thread Roland Asmann
On Wednesday 28 June 2006 15:41, Tomasz Pik wrote: > On 6/28/06, Graham Leggett <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I am trying to use maven2 to build an existing ant based project, and am > > trying to get the dependancies right. > > > > Some of the jars we need are not published on ibi

Re: Confusion: m2 dependancy download

2006-06-28 Thread Roland Asmann
On Wednesday 28 June 2006 16:03, Graham Leggett wrote: > On Wed, June 28, 2006 3:41 pm, Tomasz Pik wrote: > >> Why is maven2 trying to read the metadata file, when the jar file is > >> already present? > > > > To find out, if there are also dependencies, that needs to be downloaded > > and so on. >

Re: [m2.0.4] surefire and loading native libraries

2006-06-28 Thread dan tran
try to setup the PATH env via systemVariables configuration of surefile ${path.to.your.dll};${java.library.path} On 6/28/06, J. Matthew Pryor <[EMAIL PROTECTED]> wrote: If I copy the DLL into the working directory of the unit tests (basedir) then they work fine. It just seems to completel

Re: Confusion: m2 dependancy download

2006-06-28 Thread Graham Leggett
On Wed, June 28, 2006 4:29 pm, Roland Asmann wrote: > Use -DgeneratePom=true. This option has apparantly been set to false per > default (used to be > true in the 2.0.2 release...) Was there a reason for this change? Can it be changed back? I have been trying to convert a legacy ant project (dep

Problem with eclipse-plugin and dependency-maven-plugin

2006-06-28 Thread mawi
Hi all, I encountered a weird problem with the eclipse-plugin in conjunction with the dependency-plugin. In my project, an attached artifact from another project, wich contains a MagicDraw model should be unpacked in the initialize phase. The configuration for the dependency-plugin looks like th

Re: Does Pro Apache Maven covers Maven 2 version?

2006-06-28 Thread David
Have you looked at the "Better Builds with Maven" book? Available to download from: http://www.mergere.com/m2book_download.jsp Yes, I have downloaded it, I am reading it, I just wanted to have another reference, I come from Ant, so for me Maven it is a bit complex, so I want to get more in

Re: Does Pro Apache Maven covers Maven 2 version?

2006-06-28 Thread Eric Redmond
To my knowledge, no, there are no other Maven 2 books. Pro Apache Maven is no Maven 2. Eric On 6/28/06, David <[EMAIL PROTECTED]> wrote: Have you looked at the "Better Builds with Maven" book? Available to download from: http://www.mergere.com/m2book_download.jsp Yes, I have downloaded it

RE: How to test an ejb package with Maven and TestNG?

2006-06-28 Thread Naresh Bhatia
Thanks Tim. I had niether created a testng.xml nor the surefire config :-). As soon as I did these, everything started working. Thanks so much for your help. Naresh -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 4:09 AM To: Maven Users List

RE: Plugin Question (plugin executing multiple times when it shouldn't)

2006-06-28 Thread Russell, Mark
Another piece of info... If I take the exact same configuration for the plugin and move it to a pom that uses "jar" packaging, the goal executes exactly ONE time. In both cases I use the following commandline: mvn pluginprefix:goal -DuserId=xxx -Dpassword=xxx Am I running into some weir

profile on multiple properties

2006-06-28 Thread Brad Harper
Does anyone know off-hand if the following will work? BLAH1 BLAH2 I'm guessing it won't, since none of the examples I can find use more than a single property name or name/value pair. Brad --

configure compiler plugin to use JDK1.3 rt.jar

2006-06-28 Thread Nicolas De Loof
Hello, How to set the bootclasspath used by maven-compiler-plugin ? My build must target JDK1.3 so I've configured compiler plugin to use JRE1.3 rt.jar as bootclasspath. Please notice I'd like to avoid to install a 1.3 JDK on every developper system and use . org.apache.mav

RE: Plugin Question (plugin executing multiple times when it shouldn't)

2006-06-28 Thread Russell, Mark
Ok a further piece of information. Not sure how to deal with this... The setup: ProjectA Child-projectA Child-projectB The plugin is configure in the pom of ProjectA in the section. It appears that due to inheritance the 2 child projects are getting the plugin as well, and th

Re: Confusion: m2 dependancy download

2006-06-28 Thread Roland Asmann
Dunno... Don't ask me! ;-) Roland On Wednesday 28 June 2006 16:35, Graham Leggett wrote: > On Wed, June 28, 2006 4:29 pm, Roland Asmann wrote: > > Use -DgeneratePom=true. This option has apparantly been set to false per > > default (used to be > > true in the 2.0.2 release...) > > Was there a r

Re: profile on multiple properties

2006-06-28 Thread dan tran
what is your use case that requires more one properties? -D On 6/28/06, Brad Harper <[EMAIL PROTECTED]> wrote: Does anyone know off-hand if the following will work? BLAH1 BLAH2 I'm guessing it won't, since none of the examples I can find use more

RE: Plugin Question (plugin executing multiple times when it shouldn't)

2006-06-28 Thread Mike Perham
Mark, are you familiar with the section? If you are just trying to configure your plugin but will execute it by hand via command-line, you want to use , not . > -Original Message- > From: Russell, Mark [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 28, 2006 10:02 AM > To: Maven Users

Re: M2: Using version ranges in dependencies

2006-06-28 Thread Andrés
El 27/06/2006 18:55, Mike Perham escribió: Akbarr, you might want to watch this issue. http://jira.codehaus.org/browse/MRELEASE-134 Voted [Akbarr] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

RE: Plugin Question (plugin executing multiple times when it shouldn't)

2006-06-28 Thread Russell, Mark
Didn't know about that before but I gave it a shot. It appears that my problem is simply that I'm trying to use the plugin at the parent project level and thus maven assumes it needs to execute it for the child objects as well. It would appear that the only solution is to pass "-N" at the command

Conflict using JBoss Eclipse plugins and Maven 2 plugin

2006-06-28 Thread Brad O'Hearne
Hello, I'm using Eclipse 3.1.2 and have been using the Maven 2 plugin. I installed the JBoss IDE plugin, specifically in the interest of using the jBPM plugin feature, and it appears to conflict with the Maven 2 plugin -- that's my best guess, as my Maven 2 functionality seems not to work

Re: Getting the classpath right in a java plugin

2006-06-28 Thread dan tran
I think to you can follow surefire-plugin model to implement your visibroker-maven-plugin. The surefire compent does most of the work setting up the JVM for you. -D On 6/28/06, dan tran <[EMAIL PROTECTED]> wrote: take a look at surefire-plugin it has some elegant solution setting up classpat

RE: profile on multiple properties

2006-06-28 Thread Brad Harper
I was hoping to define a unique profile based on the presence of two properties on the CLI via -D. Brad -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 10:27 AM To: Maven Users List Subject: Re: profile on multiple properties what is your use

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-28 Thread dan tran
I think you need to fork the compiler and use compilerArguments instead -D On 6/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: Hello, How to set the bootclasspath used by maven-compiler-plugin ? My build must target JDK1.3 so I've configured compiler plugin to use JRE1.3 rt.ja

Re: profile on multiple properties

2006-06-28 Thread dan tran
long property name is not good enought? ;-) On 6/28/06, Brad Harper <[EMAIL PROTECTED]> wrote: I was hoping to define a unique profile based on the presence of two properties on the CLI via -D. Brad -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28,

Re: Problem with eclipse-plugin and dependency-maven-plugin

2006-06-28 Thread dan tran
sound like a bug, please file a JIRA On 6/28/06, mawi <[EMAIL PROTECTED]> wrote: Hi all, I encountered a weird problem with the eclipse-plugin in conjunction with the dependency-plugin. In my project, an attached artifact from another project, wich contains a MagicDraw model should be unpacke

Re: [m2.0.4] surefire and loading native libraries

2006-06-28 Thread J. Matthew Pryor
Fantastic that worked. Not sure why it is needed when I don't need it to run from a straight command-line but ... The only issue I have now is that I have to include the JVM/JDK location in the path definition. Is there are variable I can use to get the one that maven is using? Thanks, Matthew

Re: [m2.0.4] surefire and loading native libraries

2006-06-28 Thread dan tran
surefire forks a new jvm by default. "jvm" is the one you are looking for, please check out surefire-plugin docs -D On 6/28/06, J. Matthew Pryor <[EMAIL PROTECTED]> wrote: Fantastic that worked. Not sure why it is needed when I don't need it to run from a straight command-line but ... The on

RE: Does anyone know how to use the maven DBUnit plugin?

2006-06-28 Thread Rick
Thanks Marco. I will take a look. -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 12:43 AM To: Maven Users List Subject: Re: Does anyone know how to use the maven DBUnit plugin? HI Rick, have written an example using EJB3/TestNG.. it use

Detecting a failed build on Continuum

2006-06-28 Thread Alex Lam
Hello, I was looking through the Continuum FAQ and was curious about how Continuum detects a successful or failed build on a Linux platform. I have an Ant project I would like to automate. I am using version 1.0.3. The instructions on the FAQ seems to be for Continuum on Windows only. For Linux

mvn 'clean' goal using 'native-maven-plugin' removes target/classes/ and target/test-classes/ in every project

2006-06-28 Thread Brad Harper
I've noticed that % mvn clean following use of 'native-maven-plugin' reports the removal of directories target/classes/ target/test-classes/ for every (sub)project, even when neither directory is present. This is a benign problem, but is it correct? Brad ---

Re: scm connection string

2006-06-28 Thread Srinivas Pavani
I don't know why the problem exists to create .cvspass. In any case, I created a .cvspass elsewhere and then moved into the /home/buildmaster directory and Continuum is able to continue. Thanks again for your help. PS. Incidentally on the linux box, the .cvspass is stored in a directory .cvs (i.

Re: Detecting a failed build on Continuum

2006-06-28 Thread Emmanuel Venisse
ERRORLEVEL is only on windows. Normally, ant script is good on linux. Emmanuel Alex Lam a écrit : Hello, I was looking through the Continuum FAQ and was curious about how Continuum detects a successful or failed build on a Linux platform. I have an Ant project I would like to automate. I am u

tigris.css overwritten

2006-06-28 Thread Srinivas Pavani
I noticed that tigris.css get re-written to the default settings. I don't know the exact conditions but I believe it is on start up. Is this the intended behavior? Is there a way to preserve the changes made to the stylesheet? -- View this message in context: http://www.nabble.com/tigris.css-ove

[m2] downloading sources by m2eclipse extension

2006-06-28 Thread Adam Hardy
I'm becoming more and more of a huge fan of m2eclipse. The automation it allows me now is amazing. I have one main issue with it now that I'd love to be able to control better. Currently there is an option to download sources, and m2eclipse will fetch all available source but this is slowed

[ANN] Maven Console Plugin 1.2 for Maven 1.x released

2006-06-28 Thread Lukas Theussl
We are pleased to announce the Maven Console Plugin 1.2 release! http://maven.apache.org/maven-1.x/plugins/console/ === Changes in this version include: New Features: o New property maven.console.completor.goals. F

Re: mvn 'clean' goal using 'native-maven-plugin' removes target/classes/ and target/test-classes/ in every project

2006-06-28 Thread dan tran
it is correct, this plugin use the default clean should do no harm right? -D On 6/28/06, Brad Harper <[EMAIL PROTECTED]> wrote: I've noticed that % mvn clean following use of 'native-maven-plugin' reports the removal of directories target/classes/ target/test-classes/ for every (s

warSourceDirectory

2006-06-28 Thread Jeff Mutonho
Where is that property configured?Rather , how do i configure it?I tried checking here , http://maven.apache.org/plugins/maven-war-plugin/ , but there's no info relating to that. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042

Re: warSourceDirectory

2006-06-28 Thread Jeff Mutonho
You can ignore this post. On 6/28/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: Where is that property configured?Rather , how do i configure it?I tried checking here , http://maven.apache.org/plugins/maven-war-plugin/ , but there's no info relating to that. -- Jeff Mutonho GoogleTalk : ejbe

[m2] properties not available to unit tests

2006-06-28 Thread Josh
I've run into a strange problem with a fresh installation of m2. Some of our unit tests require machine-specific system properties which we usually supply at the command-line, e.g. mvn install -Dmy.prop=value I recently emptied the local repository on one of the (AMD64) machines (running FC4),

maven-compiler-plugin question

2006-06-28 Thread Mykel Alvis
Sorry if this is a repeat, but I haven't located an answer on the web anywhere. I found http://jira.codehaus.org/browse/MCOMPILER-26 but it appears closed. In the pom of a module, I have included the following: org.apache.maven.plugins maven-compiler-pl

Re: [m2] properties not available to unit tests

2006-06-28 Thread Wendy Smoak
On 6/28/06, Josh <[EMAIL PROTECTED]> wrote: I've run into a strange problem with a fresh installation of m2. Some of our unit tests require machine-specific system properties which we usually supply at the command-line, e.g. mvn install -Dmy.prop=value I recently emptied the local repository

Process for Installing External (Third-Party) Native Artifacts in Local Repository

2006-06-28 Thread Brad Harper
Has anyone had experience installing external (third-party) native artifacts in a local repository? [I'm referring to multi-platform instances of statically linked libraries in this case.] And, subsequent to that, declaring project dependencies on such artifacts? Brad --

RE : [m2] properties not available to unit tests

2006-06-28 Thread Olivier Lamy
I think I have asked it recenlty. Try with surefire plugin in version 2.1.3 Or with last release version add in plugin configuration my.prop ${my_prop_value} In the cli -Dmy_prop_value=foo Note if you don't set the p

Re: Process for Installing External (Third-Party) Native Artifacts in Local Repository

2006-06-28 Thread dan tran
mvn install:file On 6/28/06, Brad Harper <[EMAIL PROTECTED]> wrote: Has anyone had experience installing external (third-party) native artifacts in a local repository? [I'm referring to multi-platform instances of statically linked libraries in this case.] And, subsequent to that, declaring p

Re: RE : [m2] properties not available to unit tests

2006-06-28 Thread Josh
Thanks! The problem is indeed with maven-surefire-plugin (2.2), and goes away when I revert to 2.1.2. Josh On 6/28/06, Olivier Lamy <[EMAIL PROTECTED]> wrote: I think I have asked it recenlty. Try with surefire plugin in version 2.1.3 Or with last release version add in plugin configuration

RE: Process for Installing External (Third-Party) Native Artifacts in Local Repository

2006-06-28 Thread Brad Harper
wow. that's straight forward. where is that info documented? Brad -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 1:50 PM To: Maven Users List Subject: Re: Process for Installing External (Third-Party) Native Artifacts in Local Repository mvn i

Re: Process for Installing External (Third-Party) Native Artifacts in Local Repository

2006-06-28 Thread dan tran
http://maven.apache.org/plugins/maven-install-plugin/ On 6/28/06, Brad Harper <[EMAIL PROTECTED]> wrote: wow. that's straight forward. where is that info documented? Brad -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 1:50 PM To: Maven Users

Re: scm connection string

2006-06-28 Thread Emmanuel Venisse
No, .cvspass is always in the home directory : http://cvsbook.red-bean.com/cvsbook.html#login but it can be elsewhere if you have redefine $CVS_PASSFILE Emmanuel Srinivas Pavani a écrit : I don't know why the problem exists to create .cvspass. In any case, I created a .cvspass elsewhere and th

Re: Detecting a failed build on Continuum

2006-06-28 Thread Emmanuel Venisse
The build is in error if exit code is 1. The exit code can be shown in logs. Emmanuel Alex Lam a écrit : Oh. Whenever I run an Ant script and if the script encounters an error or something is not right with the build, I have it do "exit -1" Would this return an error to Continuum? Or do I need

RE: Process for Installing External (Third-Party) Native Artifacts in Local Repository

2006-06-28 Thread Brad Harper
thanks again. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 2:17 PM To: Maven Users List Subject: Re: Process for Installing External (Third-Party) Native Artifacts in Local Repository http://maven.apache.org/plugins/maven-install-plugin/ On

  1   2   >