Re: What is the variable scoping in Maven?

2005-01-03 Thread Jefferson K. French
On Mon, 03 Jan 2005, at 11:58:54 [GMT -0500] Randy Xu wrote: 1) Are project.properties settings inherited when project.xml is inherited? Yes 2) Can/how (do) we define variables in project.xml? I assume those are inherited. I don't know about defining them, but you can use variables in

Re: Jelly xml:parse use

2005-01-03 Thread Jefferson K. French
You can also check out the xdoc and ear plugins, among others. On Mon, 03 Jan 2005, at 11:46:19 [GMT -0800] dan tran wrote: googled Jely xml:parse and found this http://www.softwaresummit.com/2003/speakers/GillardJelly.pdf -D On Mon, 03 Jan 2005 14:38:19 -0500, Eric Black [EMAIL

Re: generate src with XSLT

2004-12-27 Thread Jefferson K. French
You could generate the sources in a java:compile preGoal as you mention, or you could generate them in a subproject that the rest of your project depends upon. I've done it both ways, but prefer the subproject route because it seems cleaner / more modular to me. I'm not sure if there are any

Re: Overriding properties for different build configurations

2004-09-28 Thread Jefferson K. French
Charles, Will something like this in your maven.xml work for you: preGoal name=build:start j:if test=not(empty(${props})) util:available file=${props} util:properties file=${props} trim=true / /util:available /j:if /preGoal The above is typed from memory, but when

Re: Deploying artifacts: 0 byte files

2004-09-27 Thread Jefferson K. French
What version of Maven are you running? I remember something similar happening to me (although Linux to Linux), a while back, but I have not had a problem since v1.0. On Mon, 27 Sep 2004, at 16:37:57 [GMT -0600] [EMAIL PROTECTED] wrote: I should probably elaborate more... None of the 0-byte

Re: turning off versioning

2004-09-23 Thread Jefferson K. French
Jeff, I think previously you said you tried doing a j:set on maven.final.name, but it didn't work. Did you try setting the parent attribute to scope? If that doesn't work, you can invoke artifact:deploy directly. Just look at what jar:deploy does for an example. Jeff On Wed, 22 Sep 2004, at

Passing an argument to stylesheet processed by doc:jsl

2004-09-17 Thread Jefferson K. French
I've been trying to work with doc:jsl using examples I've found in the various plugins. One thing I can't figure out, however, is how to pass an argument to the jsl:stylesheet. I'm using doc:jsl to process a document. I know about doing an x:set var=foo select=.../, before invoking doc:jsl, but I

Re: Passing an argument to stylesheet processed by doc:jsl

2004-09-17 Thread Jefferson K. French
Stupid me. The answer is the jsl:stylesheet will use the variables you j:set in maven.xml before invoking doc:jsl. I must have been doing something else wrong when I first tried this. On Fri, 17 Sep 2004, at 10:39:38 [GMT -0500] Jefferson K. French wrote: I've been trying to work with doc:jsl

Re: duplicate class error

2004-09-15 Thread Jefferson K. French
Check if maven.src.dir is in maven.compile.src.set twice: ant:property name=cp refid=maven.compile.src.set/ ant:echocp=${cp}/ant:echo You may want to try checking out your files into another directory besides src. Jeff On Mon, 13 Sep 2004, at 12:12:48 [GMT -0400] Karan-Sahni (Contractor)

Re: site / changelog exception

2004-09-15 Thread Jefferson K. French
Nathan, I remember reading something about this on the list a couple months ago. It looks like someone updated your CVS recently. The newer version of CVS adds the timezone. I don't recall the resolution, but there might be a mention in the archive. Jeff On Wed, 15 Sep 2004, at 18:05:03 [GMT

Re: typedef taskdef classcast exception

2004-09-08 Thread Jefferson K. French
I don't know if this will help you, but besides doing what the post suggests, I also had to put this: classloaderroot/classloader in one of my project.xml's dependency definitions to get the JAR to load in the same classpath as another JAR that used it. This behavior is supposed to be

Re: typedef taskdef classcast exception

2004-09-08 Thread Jefferson K. French
I only defined a task. The only dependency I put into the root classloader is one that was needed by a JAR already loaded into the root classloader. Could you post the output of maven -X? Jeff On Wed, 08 Sep 2004, at 08:47:50 [GMT -0600] Bill Dudney wrote: Hi Jeff, Thanks a ton for your

Re: accessing pom elements from other projects

2004-09-08 Thread Jefferson K. French
Yes, try this: maven:pom var=otherPom projectDescriptor=${pathToPom}/ Then just access the elements like ${otherPom.groupId}. You'll need this: xmlns:maven=jelly:maven in your project tag. Jeff On Wed, 08 Sep 2004, at 16:08:14 [GMT +0800] Nathan Coast wrote: Hi, I'd like to be able

Re: Ant:copy to absolute path?

2004-09-07 Thread Jefferson K. French
How is maven.cdp.riskserver.home defined? On Tue, 07 Sep 2004, at 13:19:34 [GMT -0400] Mitch Mattek wrote: Hey, I've got to copy some files to an absolute target. I'm putting this is in a property, and trying to use the ant:copy, but maven keeps apending the relative path in front.

Re: Question on Managing Maven Snapshot Dependencies

2004-09-05 Thread Jefferson K. French
Hi Chad. What I did was add a custom goal uses the version number passed in my Anthill, since that is what Anthill uses when tagging the source code. In particular I: 1. Defined my project's version as SNAPSHOT in project.xml 2. Constructed new artifact names using the 'version' property passed

Re: Question on Managing Maven Snapshot Dependencies

2004-09-05 Thread Jefferson K. French
On Sun, 05 Sep 2004, at 16:38:44 [GMT -0700] Chad Woolley wrote: I couldn't get it to work like you said with ${pom.setCurrentVersion(version)} I had to do the following: j:set property=currentVersion target=${pom} value=${anthill.version}

Re: Dynamically alter POM

2004-09-03 Thread Jefferson K. French
Dan, One way is to use the POM's bean properties and do this: ${pom.setSiteDirectory(/path/to/my/site)} Jeff On Fri, 03 Sep 2004, at 08:47:04 [GMT -0700] dan tran wrote: Hello, Is it possible to change pom's element in maven.xml? for example, I would like to change

Re: Calling a unix shell script from maven

2004-09-02 Thread Jefferson K. French
I've just used Ant's exec tag. On Thu, 02 Sep 2004, at 01:56:03 [GMT -0700 (PDT)] jeff mutonho wrote: Is this possible or I would need to embbed some ant script in to call the script? jeff mutonho -- mailto:[EMAIL PROTECTED]

Re: war plugin ???

2004-09-02 Thread Jefferson K. French
No, but I think there is an issue in Jira for it. How about creating the JAR in a subproject, then including that jar as a dependency in the WAR? That's what we do. Jeff On Thu, 02 Sep 2004, at 20:57:02 [GMT +0800] Eric Chow wrote: Hello, When call war:install, it will create a .war file.

Re: includes for jar and war

2004-09-02 Thread Jefferson K. French
Charlie, You could do something like have two subprojects, with one setup to use the resources and the other not to use them. I think the source would live at the parent level, and the subprojects would be very minimal, just containing different project.xml files. Or in a single project you

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread Jefferson K. French
On Thu, 2 Sep 2004 10:03:08 -0500, Jefferson K. French [EMAIL PROTECTED] wrote: Dan, I had the same issue for a custom plugin. What I did was to include my plugin's dependencies in the plugin's project.xml, then make sure the dependent jars were bundled along with the plugin when

Re: Add System properties to maven's JVM

2004-09-02 Thread Jefferson K. French
Dan, your second example worked for me. Make sure the 'value' property exists. Otherwise you'll get an InvocationTargetException. To test, I did: goal name=setit echochild=${child}/echo j:set var=aName value=Christie/ ${systemScope.put('child', aName)} /goal goal name=scope

Re: Lost maven.dependency.classpath in custom plugin tag

2004-09-02 Thread Jefferson K. French
bundle with the plugin? or it points to the one in ${maven.local.repo} directory -D On Thu, 2 Sep 2004 10:39:57 -0500, Jefferson K. French [EMAIL PROTECTED] wrote: Dan, I added to maven.dependency.classpath. My plugin was using an Ant task that had external dependencies. What I did

Re: Always Attempting to download .... Snapshot ....

2004-09-02 Thread Jefferson K. French
On Thu, 02 Sep 2004, at 23:38:28 [GMT -0500] Craig S. Cottingham wrote: On Sep 2, 2004, at 23:30, Eric Chow wrote: If I specific a dependency library with a SNAPSHOT version, Maven always Attempting to download ... those SNAPSHOT library. Is it Maven's problem or Maven's normal action ???

Re: Compiling java sources codes from more than one directory

2004-09-01 Thread Jefferson K. French
Have you tried this: sourceDirectorySource/Dir1/sourceDirectory or simply sourceDirectorySource/sourceDirectory if you have other Dir diretories? Jeff On Mon, 30 Aug 2004, at 10:36:11 [GMT -0300] Roberto Castro wrote: Hi, in my project, java source codes are in more than one

Re: jellyBean question

2004-09-01 Thread Jefferson K. French
On Wed, 01 Sep 2004, at 08:21:15 [GMT -0700] dan tran wrote: 2 more questions: in ${systemScope.put('name', 'value')}, can I make value a ${var}? It does not seem to work for me. Try this: ${systemScope.put('name', var)} I also run into class not found exception when my bean uses other

Re: Compiling java sources codes from more than one directory

2004-09-01 Thread Jefferson K. French
of your source into multiple dirs implies that there is a reason for the separation...and it may be more appropriate to deal with it as separate artifacts. HTH -j Jefferson K. French wrote: Have you tried this: sourceDirectorySource/Dir1/sourceDirectory or simply

Re: Access plug-resources in plugin's tag

2004-09-01 Thread Jefferson K. French
Could you pass the directory to use into your tag as an argument? On Wed, 01 Sep 2004, at 18:57:22 [GMT -0700] dan tran wrote: Hello, I am developing a tag in my plugin and need to access a file inside my plugin resource directory. No problem accessing the file in a goal using

Re: Access plug-resources in plugin's tag

2004-09-01 Thread Jefferson K. French
any where by the user -D On Wed, 1 Sep 2004 22:07:25 -0500, Jefferson K. French [EMAIL PROTECTED] wrote: Could you pass the directory to use into your tag as an argument? On Wed, 01 Sep 2004, at 18:57:22 [GMT -0700] dan tran wrote: Hello, I am developing a tag in my plugin

Re: Compiling java sources codes from more than one directory

2004-09-01 Thread Jefferson K. French
, the directory structure is important to javac. Cheers, -john Jefferson K. French wrote: I guess I misunderstood the question. I thought he was trying to build a single artifact, but just had his source laid out in multiple subdirectories under a single parent directory. In that case, I figured he

Re: Accessing maven project bean in jelly

2004-08-25 Thread Jefferson K. French
Yes. You can do something like this: j:forEach var=lib items=${pom.artifacts} j:set var=dep value=${lib.dependency}/ ant:echoartifactId=${dep.artifactId}/ant:echo ant:echogroupId=${dep.groupId}/ant:echo ant:echoversion=${dep.version}/ant:echo

Re: maven:maven jelly tag

2004-08-24 Thread Jefferson K. French
. Jeff On Tue, 24 Aug 2004, at 15:12:07 [GMT +1000] Brett Porter wrote: yes, they should. they are also available from ${systemScope.getProperty('foo')} On Mon, 23 Aug 2004 23:38:34 -0500, Jefferson K. French [EMAIL PROTECTED] wrote: What about properties overridden with -D? Is there any way

Re: Dependency Bug/Feature

2004-08-18 Thread Jefferson K. French
On Wed, 18 Aug 2004, at 10:42:25 [GMT +0200] Dirk Sturzebecher (Privat) wrote: It's looking for a dependency with groupId == commons-logging. Are you sure you don't have that as well? Not in the POM, what else could influence this? Several plugins depend on commons-logging. Maybe one of them

Re: include question

2004-08-18 Thread Jefferson K. French
Eugene, You could put the j:set tag outside the goal: j:set var=myName value=someValue/ j:include file=${myName}/maven.xml/ Or you could invoke Maven like this: maven -DmyName=someValue Jeff On Wed, 18 Aug 2004, at 13:00:47 [GMT +0400] Eugene Kirin wrote: Hello! I'm wonder can I

Re: Maven can't locate my jar

2004-08-18 Thread Jefferson K. French
Jeff, Is your JAR sitting in /.maven/repository/support or /.maven/repository/support/jars It needs to be in the latter. Jeff On Wed, 18 Aug 2004, at 05:40:02 [GMT -0700 (PDT)] jeff mutonho wrote: Hi One of my projects uses a jar sitting in a dir /.maven/repository/support

Re: Dependency Bug/Feature

2004-08-18 Thread Jefferson K. French
On Wed, 18 Aug 2004, at 14:54:21 [GMT +0200] Dirk Sturzebecher (Privat) wrote: Nope, but can't get www.ibiblio.org in the browser either. Will check tonight from a different provider to see if that is a issue. I assume it is reachable from your location? I can reach it from the US

Re: POM Dependency

2004-08-18 Thread Jefferson K. French
It's called transitive dependencies, and lots has been posted about it in the archive. People are working on it for 1.x and m2. On Wed, 18 Aug 2004, at 14:11:37 [GMT +0100] Nigel Barrett wrote: I'm sure this must be possible. I have ProjectA which has a dependency on ProjectB.jar ProjectB

Re: Build Failed transitioning from RC4 to V1- please help

2004-08-18 Thread Jefferson K. French
From the error message it looks like the directory: C:\Documents and Settings\Administrator\.maven\repository does not exist. Can you verify if it does exist now? Also, are you downloading the plugin as Administrator? On Wed, 18 Aug 2004, at 12:59:18 [GMT -0400] Mirabito, Massimo wrote:

Re: Build Failed transitioning from RC4 to V1- please help

2004-08-18 Thread Jefferson K. French
cache and repository Yes I am logged into the machine as administrator -Original Message- From: Jefferson K. French [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 13:11 To: Maven Users List Subject: Re: Build Failed transitioning from RC4 to V1- please help From

Re: Use of maven.test.skip

2004-08-10 Thread Jefferson K. French
Kenny, You can create simple wrapper goals like this: goal name=build-only description=Build without running tests j:set var=maven.test.skip value=true/ attainGoal name=jar:install-snapshot/ /goal goal name=install description=Build, run tests, and install

Re: FTP ant task

2004-08-09 Thread Jefferson K. French
What does it do when it doesn't work? For me, the -X switch showed that there was a CNF exception for an oro FTP class. I had to put this in my project.xml: dependency groupIdant-contrib/groupId artifactIdant-contrib/artifactId version20020829/version /dependency

Re: disable checkstyle?

2004-08-09 Thread Jefferson K. French
Sorry Malachi, I misunderstood your original question. I run javadocs without checkstyle, but I'm using JDK1.4. Jeff On Mon, 09 Aug 2004, at 19:57:30 [GMT -0700] Malachi de AElfweald wrote: I had tried that; currently, I have the entire report section commented out. Are you using JDK1.5

Re: disable checkstyle?

2004-08-08 Thread Jefferson K. French
I just have this: reports reportmaven-javadoc-plugin/report /reports in my project.xml, and get javadocs without checkstyle. What does your report section look like? Jeff On Sun, 08 Aug 2004, at 06:38:28 [GMT -0700] Malachi de AElfweald wrote: It appears that checkstyle prevents

Re: How can I override the currentversion from the POM?

2004-07-31 Thread Jefferson K. French
Hi Chad. You should just be able to do this: currentVersion${version}/currentVersion using the 'version' property passed in from Anthill. Jeff On Thu, 29 Jul 2004, at 11:17:49 [GMT -0700] Chad Woolley wrote: Erik Husby [EMAIL PROTECTED] wrote: Chad Woolley wrote: Hi, I want to

Re: Anthill Pro and Maven Site Publishing

2004-07-31 Thread Jefferson K. French
BTW, if you're just going to use a property passed in from the command line, you could also do this: siteDirectory${publishDir}/siteDirectory Jeff On Sat, 31 Jul 2004, at 00:54:22 [GMT -0500] Jefferson K. French wrote: Chad, Try this: j:set var=dummy value=${pom.setSiteAddress(myHost

Re: Unable to download from the remote repository

2004-07-31 Thread Jefferson K. French
Just put this: maven.repo.remote = http://www.ibiblio.org/maven in your project.properties file. Jeff On Sun, 01 Aug 2004, at 07:06:58 [GMT +] Frederic Gedin wrote: Charles Daniels a écrit : http://www.ibiblio.org/maven OK But how do I tell maven to search in

Re: Anthill Pro and Maven Site Publishing

2004-07-30 Thread Jefferson K. French
don't know how to do when maven is invoked via Anthill. I've got a separate thread going on this specific question (How can I override the currentversion from the POM). I'm probably missing something very obvious here, but I don't know what. Thanks, Chad Jefferson K. French wrote: Chad

Re: Anthill Pro and Maven Site Publishing

2004-07-28 Thread Jefferson K. French
Chad, I use AnthillOS and Maven, but publish to a different location and have an entry in navigation.xml that points to the Anthill build logs. Since you can specify the host and directory to which Maven deploys the site, can you not just deploy the site to the Anthill publishDir? Jeff On

Re: dependency should use artifactId not id

2004-07-07 Thread Jefferson K. French
could somehow do that for them. Matt On Jul 7, 2004, at 2:32 PM, Jefferson K. French wrote: Maven is looking for the dependency in your local repo, so you need to make sure the current version of core gets installed in your repo. Try something like this: maven multiproject:install

Re: dependency should use artifactId not id

2004-07-07 Thread Jefferson K. French
On Wed, 07 Jul 2004, at 15:12:03 [GMT -0600] Matt Raible wrote: For those that use the multiproject plugin - how do you typically develop? Do you make tweaks to the core module and then install it before working on your web project? Yes. Individual developers will run

Re: Maven CruiseControl

2004-07-06 Thread Jefferson K. French
James, Maven has to enter the test:test goal to determine that you have no tests. In that goal it checks for any test source files, and checks to see if property maven.test.skip is set. If there is no reason to run a test, it outputs a message and exits. Jeff On Tue, 06 Jul 2004, at 12:07:13

Re: downloading SNAPSHOT from remote repo

2004-07-06 Thread Jefferson K. French
Marcin, Brett is saying that the code doing the download has a bug where it doesn't take the correct timezone into account when determining if the remote JAR is newer or not. So no, it's not correct behavior. Dion said he thinks it's fixed in CVS, so you could try grabbing the latest source and

Re: maven parallel/sequential

2004-06-29 Thread Jefferson K. French
I tried this a few months ago with no luck myself. Someone suggested it might be a bug in the Jelly Ant taglib, so I grabbed the sources and started playing around with it. It does look to me to be a bug in jelly:ant. I tried to come up with a fix, but after a while realized I was two tangents

Invoking multiproject from within a plugin

2004-06-28 Thread Jefferson K. French
I'm trying to move some common goals into an internal plugin. One of them invokes multiproject:goal, but multiproject complains that the goal property is not set, even though I set it before the call: goal name=mdb:build-multi j:set var=goal value=mdb:build-only/ attainGoal

Re: Invoking multiproject from within a plugin

2004-06-28 Thread Jefferson K. French
- sometimes this will work and sometimes it won't. maven:set should work if you have already initialised multiproject by executing a goal or depending on a tag from it. However, your best bet might be to do the j:set / with scope=parent. - Brett On Mon, 28 Jun 2004 18:06:05 -0500, Jefferson K

Re: start server in another jvm

2004-06-24 Thread Jefferson K. French
A while back I did something like this with the Jelly threads package. Roughly: j:thread java classname=com.mycompany.MyServer dir=${maven.test.dir} fork=yes classpath path refid=maven.dependency.classpath/ /classpath /java /j:thread Maybe you

Re: Manual deploying Jar files - Update

2004-06-23 Thread Jefferson K. French
I think Dan means a typo in your local repository path, not the project.xml file. In your earlier email you said: ... maven would look for repo/jdni/jars/jndi-1.2.1.jar where the directory name says jdni instead of jndi. Is the path in your local repo spelled correctly? On Wed, 23 Jun 2004,

Re: clean-up test garbage

2004-06-23 Thread Jefferson K. French
You can add a postGoal to clean:clean to get rid of them: postGoal name=clean:clean delete fileset dir=${basedir} includes=junit*.properties/ /delete /postGoal I do that to get rid of some files like maven.log and velocity.log. Jeff On Wed, 23 Jun 2004, at 17:03:36 [GMT

Re: Werkz stack traces are detrimental.

2004-06-23 Thread Jefferson K. French
One way to get a stack trace is to create some malformed XML. For example, turn this: j:set var=foo value=bar/ into: j:set var=foo value=bar without the ending slash. Or embed a less-than or greater-than sign in a string, rather than the appropriate XML entity. Both will throw a

Re: Excludes in multiproject

2004-06-15 Thread Jefferson K. French
that is the j:set valid only during the goal or is it set for the rest of the build?? Michael -Message d'origine- De : Jefferson K. French [mailto:[EMAIL PROTECTED] Envoyé : mardi 15 juin 2004 17:22 À : Maven Users List Objet : Re: Excludes in multiproject How about something like

Re: upload to ibiblio policy

2004-06-14 Thread Jefferson K. French
If you have a new version of something you want uploaded to ibiblio, just follow the instructions Jason put together here: http://maven.apache.org/repository-upload.html Or ask the people maintaining the project's main site to follow those steps. Jeff On Sun, 13 Jun 2004, at 10:47:21 [GMT

Is there a top-level directory property

2004-02-07 Thread Jefferson K. French
Is there a property that always points to the top-level directory? The ${basedir} property is set to the current subproject's base, but I'd like to know the top directory, regardless of how many subprojects I'm nested. I know I could explicitly refer to the directory in my subprojects as

ant:parallel is working differently in Maven than in Ant

2004-01-29 Thread Jefferson K. French
I'm running the exact same set of tags with Ant and Maven, but I get different behavior. The Maven I'm using was built from CVS on 11/25/03. I put this: parallel sequential echoThread one sleeping for three seconds/echo sleep seconds=3/ echoThread one done

Re: parallel is working differently in Maven than in Ant

2004-01-29 Thread Jefferson K. French
example for the post On Thu, 29 Jan 2004, at 13:14:04 [GMT -0800] W. Sean Hennessy wrote: Can you timestamp each of the thread echo output to exclude the possibility the output stream is representing order incorrectly? -Original Message- From: Jefferson K. French [mailto:[EMAIL

Re: good place to get tomcat jars?

2004-01-28 Thread Jefferson K. French
On Wed, 28 Jan 2004, at 10:12:07 [GMT -1000] Seth Ladd wrote: For instance, if catalina-deployer.jar requires foobar-1.1.jar, how do you specify that? I don't want to manage that relationship in my project.xml. I want maven to download catalina-deployer-5.0.18.jar from my local repo,

Re: postgoal problem

2004-01-28 Thread Jefferson K. French
Try postGoal instead of postgoal. Jeff On Wed, 28 Jan 2004, at 13:58:06 [GMT +0100] mruff wrote: hi , if I run the following maven.xml with maven then the postgoal is executed first, I do not have any idea why I would expect, when I call maven that the ctm-buildall goal is executed If

How to invoke and wait for multiple threads?

2004-01-27 Thread Jefferson K. French
In one of my goals I'm trying to exec multiple copies of a program that will send test data to my server at the same time. I plan to invoke the program once for each name in a property list, using that name to determine where to find the data. I want to wait for all copies of the program to finish

Re: multiproject target overriding

2004-01-21 Thread Jefferson K. French
How are you invoking the goal in the child project? I'm not seeing the same behavior here. I have the following goals: Parent -- check - invokes multiproject with checkit goal checkit - echos a message Child (extends Parent) - checkit - echos a different message When I cd to the child

Re: Problems matching last modified for files

2004-01-19 Thread Jefferson K. French
I don't know much about Jelly, but if the stuff in squiggly braces is supposed to be Java, don't you want a instead of gt? Another alternative to try is Ant's uptodate task. Jeff On Mon, 19 Jan 2004, at 13:40:16 [GMT +0100] Endre Meckelborg Rognerud wrote: Hello! I'm trying to write a

Re: Problems matching last modified for files

2004-01-19 Thread Jefferson K. French
If your goal is just to copy only those files that have been modified, won't Ant's copy task work for you? By default it only copies files that have been modified. On Mon, 19 Jan 2004, at 20:04:04 [GMT +0100] Endre Meckelborg Rognerud wrote: Jefferson K. French (19.01.2004 16:29): I don't

Re: deploy goals

2004-01-12 Thread Jefferson K. French
I use ssh and set up public/private keys between my client and server machines. This page gives a nice overview on how to do it: http://bumblebee.lcs.mit.edu/ssh2/ Jeff On Mon, 12 Jan 2004, at 06:58:33 [GMT -0600] Ebersole, Steven wrote: Is it possible to use Maven's deploy goals against a

Re: tests fail if xml-apis are not in $MAVEN_HOME/lib?

2004-01-12 Thread Jefferson K. French
You just did. Before posting questions, though, you should check out the Maven web site: http://maven.apache.org/. In particular look at the Getting Started and Reference sections under Overview. Also, for a particular question, search the archive at: http://nagoya.apache.org/eyebrowse/[EMAIL

When do project.xml and maven.xml get loaded wrt the property files?

2004-01-12 Thread Jefferson K. French
I know that property files get loaded in this order: ${project.home}/project.properties ${project.home}/build.properties ${user.home}/build.properties But are project.xml and maven.xml interpretted before or after the properties are loaded? And at what point are a subproject's project.xml

Re: Building a list in a variable

2004-01-06 Thread Jefferson K. French
On Tue, 6 Jan 2004, at 15:55:05 [GMT -0800] Gargan, Stephen wrote: j:set var=manifestclasspath value=${manifestClasspath} ${lib.name} scope=parent/ The second reference to manifestclasspath is mixed case. Are variables case sensitive? Jeff -- mailto:[EMAIL PROTECTED]

Re: Adding Build Numbers To Generated Artifacts?

2004-01-06 Thread Jefferson K. French
Yes. Change the value of maven.final.name in the artifact's preGoal. Something like: preGoal name=jar:jar j:set var=maven.final.name value=${pom.artifactId}-${version}/ ant:echoUpdating snapshot JAR to: ${maven.final.name}/ant:echo /preGoal Jeff On Wed, 07 Jan 2004, at 00:51:22

Invoking a goal in a single subproject

2004-01-03 Thread Jefferson K . French
What is the best way to invoke a goal in a single subproject from the parent project? What I'm doing now is creating a goal in the parent's maven.xml that overrides maven.multiproject.includes and maven.multiproject.excludes to only include the subproject, then I invoke multiproject:goal. Is that

Re: Invoking a goal in a single subproject

2004-01-03 Thread Jefferson K. French
That does what I want in one line. Thanks, Giles. On Sat, 03 Jan 2004, at 16:45:59 [GMT +0100] Gilles Dodinet wrote: Jefferson K . French wrote: Is that the best way, or is there a tag akin to attainGoal in subproject. there may be some better way but something like this works with maven

Re: What is the proper way to handle resource bundles when unit testing?

2004-01-01 Thread Jefferson K. French
When you say using resources doesn't seem to work, does that mean the files are not copied at all, or they are copied to the wrong place? Could you show us your build snippet and where you want the resource files to go? On Thu, 01 Jan 2004, at 21:47:29 [GMT -0700] Chad Woolley wrote: Hi, I

Re: ftp deployment

2003-12-31 Thread Jefferson K. French
I had this problem with Ant a while back. Do you have NetComponents.jar in your classpath? On Tue, 30 Dec 2003, at 17:02:31 [GMT -0800] Rajeev Kaul wrote: I am having trouble running the site:ftpdeploy goal for my project. I get the following error: 2003-12-30 15:38:40,985 WARN

Re: JavaCC and JBoss Plugins

2003-12-31 Thread Jefferson K. French
Plugin documentation is here: http://maven.apache.org/reference/plugins/index.html. There is a plugin for JBoss. I've heard there is one for JavaCC, but I didn't see it listed on the documentation page. On Wed, 31 Dec 2003, at 18:42:59 [GMT GMT] [EMAIL PROTECTED] wrote: Hi, is there a JavaCC

Re: Creating Project XML that generates several artifacts?

2003-12-31 Thread Jefferson K. French
Just go ahead and use it. If it's not already in your plugins directory, Maven will download it for you. On Wed, 31 Dec 2003, at 18:44:22 [GMT GMT] [EMAIL PROTECTED] wrote: Hi Paul, does one have to install the multiproject plugin? Thanks, -Conrad Conrad, The short answer is to use the

Re: Configuring the remote repository?

2003-12-29 Thread Jefferson K. French
It should go in project.properties if you want everyone to use the same repo. The build.properties file is for local developer overrides. If I understand your second question, the answer is yes, you do need to list all your dependencies in project.xml. The repo property just tells where to look

Re: little boring things of maven

2003-12-29 Thread Jefferson K. French
On Mon, 29 Dec 2003, at 02:17:49 [GMT -0200] José Luiz Junior wrote: 1) The biggest, and I thing that version 1.0 cannot be release without a patch is: Every jar:jar, ejb:ejb, war:war maven always run test:test. I did a patch in my maven but it is not an official release...I agree that we

Re: chicken and egg

2003-12-24 Thread Jefferson K. French
Charles, From one of your earlier messages in this thread, you said you need the jar to package into a war and/or ear. It sounds like either you are: 1. trying to build multiple artifacts in the same project or 2. using subprojects, but putting your dependencies at the parent level. If

Re: building maven plugins for 1.0 rc2

2003-12-19 Thread Jefferson K. French
One of my co-workers had the same problem with a build he did from CVS a few days ago. We didn't spend too much time figuring out what was happening, though, because I gave him what I downloaded on 11/25, and all was well. Maybe you should try checking out the RC1 branch and building it. Jeff

Shared dependencies for jar and war

2003-12-18 Thread Jefferson K. French
I'm in the process of migrating a J2EE Ant project to Maven. I'm using multiproject and setting up three subprojects, one each for the JarSub, WarSub, and EarSub. Many of the third-party jars used to build JarSub are also needed at runtime in the war. Is there a better way to reference those

Re: Adding Version Numbers To Generated Artifacts?

2003-12-18 Thread Jefferson K. French
For the file names, you can maven.final.name in the preGoal to whatever you are building. So you might have something like: preGoal name=jar:jar j:set var=maven.final.name value=${pom.artifactId}-${version}/ ant:echoUpdating snapshot JAR to: ${maven.final.name}/ant:echo /preGoal So

Re: ear Module breaks multiproject

2003-12-12 Thread Jefferson K. French
Do you have any dependencies to build your EAR in your main project.xml? If so, that could be the problem since your ear/project.xml will inherit the dependencies. Jeff On Fri, 12 Dec 2003, at 13:02:49 [GMT -0500] Tim Chen wrote: I followed the link on someone else post and trimmed by

Re: How to specify a subproject's navigation.xml

2003-12-12 Thread Jefferson K. French
That was it! Thanks, Lester. On Fri, 12 Dec 2003, at 10:11:45 [GMT -0500] Lester Ward wrote: I'm having a hard time figuring out how to specify a navigation.xml file for my subprojects. When I do a multiproject:site, I find that my subproject's xdocs/navigation.xml file is ignored, and the

Re: returning var value to initial value

2003-12-11 Thread Jefferson K. French
I don't know if there is a builtin way, but would this work? j:set var=foo.orig value=${foo} / j:set var=foo value=bar / !-- At some later point... -- j:set var=foo value=${foo.orig} / I couldn't tell from your question if you were trying to avoid the j:set altogether, or just avoid

Re: AttainGoal question

2003-12-11 Thread Jefferson K. French
Is this also the reason the console plugin fails when it tries to run a multiproject:goal a second time? On Thu, 11 Dec 2003, at 09:28:28 [GMT +1100] Peter Donald wrote: On Thu, 11 Dec 2003 03:10 am, Lester Ward wrote: Can anyone tell me what the difference is between running a goal from the

Re: How to specify a subproject's navigation.xml

2003-12-11 Thread Jefferson K. French
] [EMAIL PROTECTED] wrote: Are you using RC1? If so, the subprojects navigation.xml should be all that's used for the subproject. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Jefferson K. French [EMAIL PROTECTED] wrote on 12/12/2003 09:51:09 AM

Re: war:deploy

2003-12-10 Thread Jefferson K. French
You want distributionSite and distributionDirectory. Here is documentation on the POM: http://maven.apache.org/reference/project-descriptor.html. There is a lot of documentation at the Maven site: http://maven.apache.org/. Look under the Reference tab on the left. Jeff On Wed, 10 Dec 2003, at

Re: Where to specify site:deploy target directory

2003-12-10 Thread Jefferson K. French
You can specify it in project.xml with the siteDirectory element. Jeff On Wed, 10 Dec 2003, at 19:23:31 [GMT -0500] [EMAIL PROTECTED] wrote: I'd like to know if anyone knows where the name of deployment directoy can be specified for the site:generate goal. I've specified

Re: maven:reactor and test:match

2003-12-09 Thread Jefferson K. French
Have you tried adding this: j:set var=testmatch value=*DB*/ before invoking maven:reactor? On Tue, 9 Dec 2003, at 13:27:27 [GMT +0100] Javier Ramos wrote: Hello, I have setup a maven project that contains several subprojects. I would like to be able to use maven:reactor element

Leading slash gets removed from navigation.xml hrefs during site generation

2003-12-09 Thread Jefferson K. French
I've read through several postings about multiproject site navigation in the archives, and downloaded the WebShop example, but I'm still unable to get absolute paths to work in my subprojects. My multiproject/navigation.xml contains: menu name=Projects #foreach ($reactorProject in

Re: Unknown goal multiproject:install-callback

2003-12-07 Thread Jefferson K. French
document this for the FAQ, but I don't have a clue as to what I did differently. I must have changed something in one of the POMs. If I figure out what, I'll write something up. Jeff On Thu, 4 Dec 2003, at 23:31:43 [GMT -0600] Jefferson K. French wrote: Yes, the id tag exists and is different in all

Re: Unknown goal multiproject:install-callback

2003-12-04 Thread Jefferson K. French
=project.xml and my project layout is like this: project.xml project.properties jar-1/ project.xml src/... jar-2/ project.xml src/... jar-3/ projects.xml src/... Thanks for any pointers. Jeff On Sat, 29 Nov 2003, at 12:55:21 [GMT -0600] Jefferson K. French wrote

Re: Unknown goal multiproject:install-callback

2003-12-04 Thread Jefferson K. French
: Jefferson K. French [mailto:[EMAIL PROTECTED] Sent: Friday, 5 December 2003 4:17 PM To: Maven Users List Subject: Re: Unknown goal multiproject:install-callback Anyone have any ideas on what could be causing an unknown goal error for multiproject:install-callback? I've searched the email

Re: site:generate failed - repository connection must start with scm[delim]

2003-11-29 Thread Jefferson K. French
You also need to specify the module you are checking of of CVS. For example: scm:cvs:pserver:[EMAIL PROTECTED]:/cvs:myModule In your repository connection string, is [EMAIL PROTECTED] somthing you used for your post to hide the real names, or is that what it actually contains? Jeff On

  1   2   >