RE: How would I read a non-standard property file?

2005-04-20 Thread Jörg Schaible
Arik Kfir wrote on Wednesday, April 20, 2005 8:23 PM: > Jörg Schaible wrote: > This won't work in general. E.g. a property like maven.repo.remote is > evaluated before the first goal ever executed. Additionally if you > load properties, they are nor available in the reactors e.g. > inherited by th

Re: Ant task using Maven1.0.2

2005-04-20 Thread Brett Porter
bdcmd.cmd does not exist or is not in the path. - Brett On 4/21/05, NATARAJAN Sasi Kumar <[EMAIL PROTECTED]> wrote: > Execute failed: java.io.IOException: CreateProcess: bdcmd.cmd -sub BP > -version 1 -mode deploy error=2 - To u

Ant task using Maven1.0.2

2005-04-20 Thread NATARAJAN Sasi Kumar
I want to execute cmd file with argument, I have wrote following tag in plugin.jelly I am getting ERROR D:\Maven1\bin>maven mcone:bdcmd __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V

Re: accessing maven dependencies in build.xml

2005-04-20 Thread Brett Porter
Yes, it is actually a Jelly tag - defined in the "artifact" plugin. Cheers, Brett On 4/21/05, Eric Wood <[EMAIL PROTECTED]> wrote: > Russ, thanks. I was surprised to see how easy it was to do plain old ant > with Maven. Although I can't figure out what plug-in offers the goal you > suggested belo

Re: SSH issue (fwd)

2005-04-20 Thread Brett Porter
argh... my mistake. I didn't build clean. Fixed and committed. - Brett On 4/21/05, Mykel Alvis <[EMAIL PROTECTED]> wrote: > Did I miss something? I have to download files from SVN by hand while I'm > here at the office, so if you changed anything but project.xml let me know. > > > java:comp

Launching an embedded Tomcat with Maven 1.x

2005-04-20 Thread Alonso Dominguez
Hi there! I'm working to embed a Tomcat server as a servlet container inside an Avalon Framework with a Loom engine. I looked for information how to launch the Catalina service from Java and finally I wrote the next file: package org.jlabase.framework.tomcat.startup; import java.io.File; import

Clover plugin & MAVEN_OPTS

2005-04-20 Thread Pavel Müller
Hi, I've got a working Maven build on Windows, but I've decided to generate a site every night on my Linux server. Some of my unit tests require AWT graphics (because of JasperReports), so they do not pass until I set MAVEN_OPTS=-Djava.awt.headless=true. But when generating a site the tests are run

Re: accessing maven dependencies in build.xml

2005-04-20 Thread Eric Wood
Russ, thanks. I was surprised to see how easy it was to do plain old ant with Maven. Although I can't figure out what plug-in offers the goal you suggested below. Is this a maven plug-in? - Eric - Original Message - From: "Jubenville, Russ" <[EMAIL PROTECTED]> To: "Maven Us

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
Did I miss something? I have to download files from SVN by hand while I'm here at the office, so if you changed anything but project.xml let me know. java:compile: [echo] Compiling to /opt/omgs/plugins/artifact/target/classes [javac] Compiling 5 source files to /opt/omgs/plugins/artifact/target

Re: How would I read a non-standard property file?

2005-04-20 Thread Arik Kfir
Jörg Schaible wrote: This won't work in general. E.g. a property like maven.repo.remote is evaluated before the first goal ever executed. Additionally if you load properties, they are nor available in the reactors e.g. inherited by the subprojects in multiproject. You'll have to play with th

Re: SSH issue (fwd)

2005-04-20 Thread Brett Porter
patience :) They are all there now. If you get a 404, it's because ibiblio has a cache that takes a while to expire, and Maven 1.0.2 isn't sending a no-cache header. Manually download anything missing... The file has also been updated in svn. HTH, Brett On 4/21/05, Mykel Alvis <[EMAIL PROTECTED

RE: How would I read a non-standard property file?

2005-04-20 Thread Jörg Schaible
Wolfgang Häfelinger wrote on Wednesday, April 20, 2005 5:55 PM: > Hello, > > I understand that Maven tries to read the files > "project.properties" and > "build.properties" on > startup. How would I convince Maven to read "other.props"?? > > Does a tag like > > > > or so exists? Yes, can't

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
Thanks, Brett I noticed that there's an http-lightweight but the dep is on http. Is that another correction for the project.xml or is it a different dep? On 4/20/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > ok, the groupID should be org.apache.maven.wagon, not maven. I've > fixed it, will comm

Re: SSH issue (fwd)

2005-04-20 Thread Brett Porter
ok, the groupID should be org.apache.maven.wagon, not maven. I've fixed it, will commit when the machine is working again. I'm copying the missing dependencies now, so if you make the above change and try again in 5 minutes, it should work. - Brett On 4/21/05, Mykel Alvis <[EMAIL PROTECTED]> wro

Re: How would I read a non-standard property file?

2005-04-20 Thread Mykel Alvis
I'm in the initial planning stages of a properties plugin. We have a huge number of properties that are going to be distributed using an internal property service and some of our build props might come from that service. The property repository is planned as a web/soap service, so it should be

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
SNAPSHOTS they are. Updating the project.xml to include SNAPSHOT for all the wagon deps gives me FNFs on only the following. They are not in the maven repo. wagon-provider-api-1.0-alpha-3-SNAPSHOT.jar <- there IS an alpha-2-SNAPSHOT wagon-ssh-external-1.0-alpha-2-SNAPSHOT.jar <- No such creature

Re: SSH issue (fwd)

2005-04-20 Thread Brett Porter
On 4/21/05, Mykel Alvis <[EMAIL PROTECTED]> wrote: > My question is how to get maven1 to download those dependencies as part of > attaining the plugin:install goal. I don't understand why the main ones aren't working... they are in the right place. For the others, you might need to put them in pl

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
OK. My problem. This must be something broken about my maven-proxy. I see them, or at least some of them and those aren't downloading either. I'll look into what I've done wrong. On 4/20/05, Mykel Alvis <[EMAIL PROTECTED]> wrote: > > My question is how to get maven1 to download those dependencie

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
My question is how to get maven1 to download those dependencies as part of attaining the plugin:install goal. Do I need to surf to the spot, download the jars manually, and manually place them in my repository? That seems a little "counter-maven". More specifically, should I have installed the pl

Re: How would I read a non-standard property file?

2005-04-20 Thread Arik Kfir
I don't think Maven can do that out of the box - but you can add a line in your maven.xml file that does that - just make sure it puts them in the right context. Also, that *could* make a nice plugin, so you can use it in other projects as well ;-) cheers,     Arik. Wolfgang Häfelinger wrote:

How would I read a non-standard property file?

2005-04-20 Thread Wolfgang Häfelinger
Hello, I understand that Maven tries to read the files "project.properties" and "build.properties" on startup. How would I convince Maven to read "other.props"?? Does a tag like or so exists? I' m very well aware that Maven tries to read "build.properties" from ${user.home}. So I could si

Re: SSH issue (fwd)

2005-04-20 Thread Brett Porter
http://www.ibiblio.org/maven/org.apache.maven.wagon/jars/ Most of them seem to be there... I'll look into the others, but you can get them from: http://www.ibiblio.org/maven2/org/apache/maven/wagon/ Either jsch should be fine... I'll probably update the SVN version later on. Thanks, Brett On 4

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
Also, apparently there's a dependency on jsch-0.1.14 in the plugin Earlier you mentioned to change to 0.1.17 of jsch. I was wondering if that was still necessary/a good idea? On 4/20/05, Mykel Alvis <[EMAIL PROTECTED]> wrote: > > Brett, > I've gotten a distro from svn and tried the plugin:instal

Re: SSH issue (fwd)

2005-04-20 Thread Mykel Alvis
Brett, I've gotten a distro from svn and tried the plugin:install. The following dependencies are apparently not available to me. Wrong repo or something else? wagon-provider-api-1.0-alpha-3-SNAPSHOT.jar wagon-http-1.0-alpha-2.jar wagon-ftp-1.0-alpha-2.jar wagon-ssh-1.0-alpha-2.jar wagon-ssh-ext

Case-sensitive issue: - How to fix it

2005-04-20 Thread Guofeng Zhang
I am new to maven. I am trying a sample, I use maven 1.0.2. There are three projects, one is the parent project, and the other two are the web project and ear project, the ear project references to the war created by the web project. I got the following error. I do not know why. Case-sensi

Re: [m2] Multiproject & Dependecies

2005-04-20 Thread Peter van de Hoef
Hi Brett, Thank you very much. I've reorganized my projects a bit so that child-POM's are in a subdirectory of their parent. Everything works fine now. The reason for setting up a flat project-structure is that I am using Eclipse which does not allow nested projects. - Peter Brett Porter wrote:

RE: tomcat deployment problem

2005-04-20 Thread GOKULAM Jayaram
Sorry figured out the error. It is working now. Thanks, Jayaram From: GOKULAM Jayaram Sent: Wednesday, April 20, 2005 4:58 PM To: 'Maven Users List'; [EMAIL PROTECTED] Subject: tomcat deployment problem Hi all, I have set the properties for tomcat depl

tomcat deployment problem

2005-04-20 Thread GOKULAM Jayaram
Hi all, I have set the properties for tomcat deployment as follows in my project.properties file maven.tomcat.host=127.0.0.1 maven.tomcat.port=8080 #maven.tomcat.username=admin #maven.tomcat.password=admin maven.tomcat.home=d:/Tomcat maven.tomcat.war.context=new When I call my tomcat:dep

Re: Downloading TLD

2005-04-20 Thread Kenney Westerhof
On Wed, 20 Apr 2005, Guillaume Lederrey wrote: Define a dependency just as you normally do, but specify tld (the default is jar). > Hello ! > > While browsing ibiblio.org, I noticed that the TLD for > jakarta-taglibs are available. So I thought I can probably download > them automagically

Downloading TLD

2005-04-20 Thread Guillaume Lederrey
Hello ! While browsing ibiblio.org, I noticed that the TLD for jakarta-taglibs are available. So I thought I can probably download them automagically with maven, in the same way as the jar. But I could not find docs on that. Is it really possible ? If yes, how ? Thanks for your help !

Re: Réf. : Re: Javadoc plugin from b ehind proxy that ne eds authentication

2005-04-20 Thread Arnaud HERITIER
Ok Wim, It will be sufficient. Thanks Arnaud On 4/20/05, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > I have added all you need to the jira issue, but I don't have CVS, so > I hope you can make a diff out of it. I clearly indicated in the txt > file what I have changed. > > regards, > > Wim > >

how can i put war,jar file our own location

2005-04-20 Thread NATARAJAN Sasi Kumar
created war, jar . it goes to local repository, is there any way to put my own location, which tag i need to add Thanks in Advance Kumar Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential i

how can i use ant task in our own custom plugin

2005-04-20 Thread NATARAJAN Sasi Kumar
I used some own goal in plugin.jelly file maven1.x, Likewise where I have to put our own goal in Maven2 and I am using **.mmld file for create custom plugin is it correct .. , how can i use ant task in our own custom plugin Thanks in Advance Kumar Confidentiality Statement: This messa

Re: Réf. : Re: Javadoc plugin from b ehind proxy that ne eds authentication

2005-04-20 Thread Wim Deblauwe
I have added all you need to the jira issue, but I don't have CVS, so I hope you can make a diff out of it. I clearly indicated in the txt file what I have changed. regards, Wim On 4/19/05, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > Hi Wim, > > Yes we are interested. > I'm not