Re: A couple of application deployment questions

2005-06-15 Thread Eric Black
Hi, I'm not sure if this will be helpful, but for crossplatform applications we have some goals that can create scripts for the different os's. These are java specific, but you could have your own scripts do whatever you wanted: jars\${lib.file.name}; jars/${

Re: Error initialising plugin context for maven-scm-plugin

2005-02-11 Thread Eric Black
Sorry for the multiple posts, but maybe someone else might have the same problem. This is what I was doing: The error I kept getting was that maven.scm.cvs.module was not set when scm:checkout-project was running. There's alot of deb

Re: Error initialising plugin context for maven-scm-plugin

2005-02-11 Thread Eric Black
I was able to get rid of the error by setting a dependency to commons-jelly-tags-log-1.0.jar in my project.xml file(it was downloaded and installed), but the maven.scm.cvs.module property isn't getting set. Eric "Maven Users List" on Friday, February 11, 2005 at 3:06 PM + wrote: >Hi, > > >I

Error initialising plugin context for maven-scm-plugin

2005-02-11 Thread Eric Black
Hi, I'm trying to set a property within a goal in maven.xml file like this: I've done this before with other plugins with out a problem, but with this one I get an "Error initialising plugin context" error. When I print out the debug message it mentions not being able to find the org.apach

Re: simple if-then-else ??

2005-02-10 Thread Eric Black
No Else, have to do Word of warning: Don't use 'dotted' variables. There is a bug where foo.property can't be resolved but if you set a single word variable like fooProperty ther is no problem. Someone else might know why, but I don't. Eric "Maven Users List" on Thursday, February 10, 2005

Re: maven:set doesn't seem to be exported in pregoal

2005-02-10 Thread Eric Black
I found the problem. It was the lib/../project.xml part. for some reason that doesn't work. Eric

maven:set doesn't seem to be exported in pregoal

2005-02-10 Thread Eric Black
Hi, Below is a pregoal code snippet that is supposed to set the maven.multiproject.includes property. When I run it, it echos the correct value but doesn't get passed to the multiproject plugin. If I set the property on the command line with the -D switch it works fine. Anyone have any idea what t

multiproject basedir property with specified project file

2005-02-09 Thread Eric Black
Hi, I'm trying to run multiproject goals on projects using the -p switch to specify a project file and specifying the maven.multiproject.basedir property to a separate directory than where the project.xml file exists. When I do that, the multiproject goals ignore the project.xml file I specified u

Re: Dependcies related question

2005-02-08 Thread Eric Black
Your second solution is what I would normally do, but for testing, you can build the UTILS jar file and then set the maven.jar.override property. See http://maven.apache.org/reference/user-guide.html and search for maven.jar.override and you'll see how it is used. Eric

os and arch specific jnlp resources

2005-01-27 Thread Eric Black
Has anyone modified the jnlp plugin to support os and arch specific resources? I need to write a block of jnlp that looks like this: I would think I could add a new dependency property that indicated which os and arch a dependency is for. And then h

Re: Change a property in a property file

2005-01-10 Thread Eric Black
Hi, I was looking for similar methods but wasn't able to find any way to do what you (and I) are looking for. I've been creating a plugin to handle it, but it is kindof specific for my company's needs. Basically, it does(or will do) the following: 1. uses cvs to get the status(version) of all loc

Re: Jelly xml:parse use

2005-01-04 Thread Eric Black
Thanks, Dion. Your info at multitask has already been helping me for the past two weeks writing plugins. "Maven Users List" on Monday, January 3, 2005 at 8:35 PM + wrote: >And I'm usually lurking somewhere if you need help with something in >particular.

Re: Jelly xml:parse use

2005-01-03 Thread Eric Black
Thanks, just what I was looking for. Eric "Maven Users List" on Monday, January 3, 2005 at 3:18 PM + wrote: >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 > > >> h

Jelly xml:parse use

2005-01-03 Thread Eric Black
Hi, Could someone point me to an example of using the jelly xml tag library, specifically xml:parse? I'm trying to read in an xml file and read the elements and their properties in a foreach loop. Any ideas? Thanks, Eric

Re: Dependencies with a Multiproject

2004-12-16 Thread Eric Black
Hi, I think it depends how modular you'd like to have your subprojects. If you want to be able to pull out your individual projects and be able to build them, then you might not want the dependencies in the main project file. On the other hand, you reduce redundancy by placing as much info as poss

Re: How to use versions/version project descriptor

2004-12-15 Thread Eric Black
Ok, thanks. I'll check it out. Eric

How to use versions/version project descriptor

2004-12-15 Thread Eric Black
Hi, I'm trying to use the versions/version tags in the project descriptor, but I have no idea how to specify it when building. The user docs say it is used byt the dist plugin, but none of the properties for that plugin seem to reference the versions. 'maven dist doesn't work. Can anyone give me

Re: Trying to create developer group plugin

2004-12-10 Thread Eric Black
If I run 'maven plugin:download' in a project that has the plugin dependency but not the plugin source itself, maven asks what plugin I want with a prompt for the groupId, artifactId, and version. Maybe I'm missing a step that would make the dependency updating easier. This is what I understand: 1

Re: Trying to create developer group plugin

2004-12-09 Thread Eric Black
I meant the plugin:install method, meaning everyone who wanted to build a project would need to run plugin:install to get the plugin on their system with the plugin source as you mentioned. The reason I did this is because if a developer downloads the source of a project and wants to build it and t

Re: Trying to create developer group plugin

2004-12-09 Thread Eric Black
Thanks for all of your help everyone. I used the dependency method, which I found to be much superior to plugin:download or plugin:install since a user may not have permissions to install a plugin into the MAVEN_HOME/plugins directory. With the dependency method, I found it difficult to upgrade the

Re: jelly if test tag

2004-12-09 Thread Eric Black
Thank you!! I'll slap myself later.

jelly if test tag

2004-12-09 Thread Eric Black
Hi, I'm trying to use the following code: " When I run it, I get the first test message reading "MAINPLUGIN true", but the test fails with the second echo not happenning or the file deletion. I have looked at other jelly scripts doing similar tes

Re: Executing a java class file

2004-12-09 Thread Eric Black
Hi, You can put that in a maven.xml file with some goal name and it will execute: then in your project directory, run 'maven runabc'. It might not work the way I did it, but you can get the idea. Eric

Re: Trying to create developer group plugin

2004-12-08 Thread Eric Black
"Maven Users List" <[EMAIL PROTECTED]> on Wednesday, December 8, 2004 at 2:58 PM + wrote: >If your newly published jar can be refered by another maven project >(with a dependency entry in project.xml) and that the developpers build >this project, the file will get automatically downloaded fro

Re: Getting the value of a maven property at the command prop

2004-12-08 Thread Eric Black
Hi, If you know the name of the property, you could use the ant:echo task in a maven.xml file to print it out. Like: just put the file in your project directory and run any maven task and the property will be echoed. Eric

Trying to create developer group plugin

2004-12-08 Thread Eric Black
Hi, I've created a plugin that I need to be able to distribute to our group's developers in an automatic way. We have our own repository of company specific jar files, so I want to put it in the same repository and have it get automatically downloaded and installed just like a standard maven plugi

Re: Need some help with maven.xml...

2004-12-08 Thread Eric Black
Hi, I was just writing my first maven.xml file yesterday, so I may not be 100% correct in the following: The xmlns seems to be the namespacing so tasks/methods/whatever are mapped to the correct engine if there are more than one task with the same name, so you just specify the namespaces with the

Re: dependency without version - is it possible?

2004-11-05 Thread Eric Black
"Maven Users List" <[EMAIL PROTECTED]> on Friday, November 5, 2004 at 12:29 PM + wrote: >example: I need a framework dependency but I donĀ“t matter which >version - in fact I prefer to use the last release of the such >framework. How can I define it? snapshot? > Actually, if you can use SNAPSHO

Re: dependency without version - is it possible?

2004-11-05 Thread Eric Black
"Maven Users List" <[EMAIL PROTECTED]> on Friday, November 5, 2004 at 12:29 PM + wrote: >How can I include a dependency in my project.xml without specify the >version? Hi, Use the jar override in the project.properties file: maven.jar.override=on maven.jar.{jarname}=../thirdparty/{jarname}.j

How to modify the generated website

2004-10-29 Thread Eric Black
Hi, I would like to know how to modify the project site pages, specifically I want to modify the pages to have a download link for the jars on the left hand column like the main maven website. Can anyone point me in the right direction? I haven't found any docs of how to do this. Thanks, Eric

Re: distributionDirectory and siteDirectory tags

2004-10-15 Thread Eric Black
Thanks Thomas and Brett, I was omitting the distributionSite tag in project.xml. Once I specified that, it worked fine.

distributionDirectory and siteDirectory tags

2004-10-14 Thread Eric Black
Hi, I am using the tag and the tags in project.xml to /var/www/maven/security /var/www/maven/builds/security and maven.repo.central.directory in projects.properties to maven.repo.central.directory=/var/www/maven These are all paths on a local server. site:deploy works correctly, but dist:d