Re: continuum project list page listing projects in error when they are successful

2006-06-28 Thread Emmanuel Venisse
I'm totally agree with you. It's a little pb and we have an issue about it in jira. Generally, the cause of this pb is an error in some database request executed by jpox. We'll fix it in 1.1 Emmanuel Baron Reznik a écrit : Hi, I have continuum set up building a multimodule set of poms with

Re: build failed

2006-06-28 Thread Emmanuel Venisse
can you send us more logs and continuum/maven version? but if this pb occurs when continuum run mvn install, it's a pb with maven and the maven users list will can help you. Emmanuel p_m a écrit : I am trying to build maven multiproject using continnum. I am runnig continnum on linux. It

Re: scm connection string

2006-06-28 Thread Emmanuel Venisse
.cvspass is created in ${user.home}/ so, it 's /home/buildmaster/.cvspass Emmanuel Srinivas Pavani a écrit : Yes CVS is installed on the linux box. I followed the instructions on http://maven.apache.org/continuum/guides/mini/guide-linux-boot.html to get continuum to run automatically on boot.

Continuum local Repository is different of M2 local repo defined in settings.xml

2006-06-28 Thread Thibaut Cazenave
Hello, I've just noticed that Continuum 1.0.3 uses the default M2 repo located in ${user.home}/.m2/repository. In my case I defined a specific M2 local repository in the M2 settings.xmlfile : localRepository/appli/projects/MAVEN/repositories/couplage-local-repository/localRepository I was sure

launching continuum after CVS commit

2006-06-28 Thread Feniks Nator
Hello, I would like to configure our continuum server in such a way that continuum starts building as soon as a CVS commit is completed. (or after a quiet period of at least 30sec). Is this possible with continuum, and how would you achieve that? For the moment continuum is already set up, and

Re: Continuum local Repository is different of M2 local repo defined in settings.xml

2006-06-28 Thread Emmanuel Venisse
Continuum use local repository defined in ${user.home}/.m2/settings.xml ${maven.home}/conf/settings.xml isn't used by continuum, it use an other general settings.xml in a continuum sub-directory. You can find the location of it in your logs. Emmanuel Thibaut Cazenave a écrit : Hello, I've

Re: Detecting a failed build on Continuum

2006-06-28 Thread Alex Lam
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 to do something else in my script to tell Continuum an error has happened. Currently, when I do exit -1,

RE: Shamefully Simple Question

2006-06-28 Thread Bravo, Kris
JAVA_HOME needs to point to the location of your jdk install. C:\program files\jdk_1.5.0_07 for example. Where is your java development kit installed at? kris bravo * Clarify Development * office: 678.893.1288 * mobile: 678.296.8723 -Original Message- From: Brad Harper [mailto:[EMAIL

RE: Shamefully Simple Question

2006-06-28 Thread Brad Harper
I seem to have it resolved now ... The wrapper invoked by 'run.bat' uses a 'wrapper.conf' file, where the wrapper.java.command is defined. It was originally set to %JAVA_HOME%/bin/java My JAVA_HOME was (for the cygwin bash shell) set to /cygdrive/c/Program\ Files/Java/jdk1.5.0_07 The

Re: M2: Using version ranges in dependencies

2006-06-28 Thread Arnaud Bailly
Akbarr [EMAIL PROTECTED] writes: But I'm not sure whether it's an implemented feature or not. I have a POM with a dependency: dependency groupIdcom.digibis/groupId artifactIddigisqlhib/artifactId version[1.3, ]/version optional/optional /dependency Hello, I also have

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 : dependencyManagement dependencies dependency groupIdcommons-collections/groupId

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 ? build plugins

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]

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

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

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 {

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

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

Re: Proximity forum

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

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:

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: users@maven.apache.org Sent: Wednesday, June 28, 2006 10:55 AM Subject: Re: Proximity forum

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 war

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

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

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

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

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

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:

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

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 List

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)

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 : dependency groupIdjavax.xml/groupId

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?

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

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

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

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

RE: Lazy question

2006-06-28 Thread Sharma, Jaikumar
I think, versionLATEST/version -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

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

[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:

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

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 : dependency

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:

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: users@maven.apache.org Sent: Wednesday, June 28, 2006 2:59 PM Subject: Re: Getting the classpath right in a java plugin I'm guilty of not

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 using

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

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

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:

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: users@maven.apache.org Sent: Wednesday, June 28, 2006 3:11 PM Subject: Re:

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:

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 ibilio, and so we

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. But the

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 environmentVariables path${path.to.your.dll};${java.library.path}/path /environmentVariables On 6/28/06, J. Matthew Pryor [EMAIL PROTECTED] wrote: If I copy the DLL into the working directory of the unit tests

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

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

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

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, I

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

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 weird

profile activation on multiple properties

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

configure compiler plugin to use JDK1.3 rt.jar

2006-06-28 Thread Nicolas De Loof
Hello, short version How to set the bootclasspath used by maven-compiler-plugin ? /short version 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

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 buildplugins section. It appears that due to inheritance the 2 child projects are getting the plugin as

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 reason

Re: profile activation 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? activation property nameBLAH1/name /property property nameBLAH2/name /property /activation

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

2006-06-28 Thread Mike Perham
Mark, are you familiar with the buildpluginManagement section? If you are just trying to configure your plugin but will execute it by hand via command-line, you want to use pluginManagement, not plugins. -Original Message- From: Russell, Mark [mailto:[EMAIL PROTECTED] Sent:

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,

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

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

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

RE: profile activation 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 activation on multiple properties what

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, short version How to set the bootclasspath used by maven-compiler-plugin ? /short version My build must target JDK1.3 so I've configured compiler

Re: profile activation 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 unpacked

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,

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 only

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

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

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

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

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:

[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.

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

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 :

[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

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: build plugins plugin

  1   2   >