RE: Best practise: embedding pom.currentVersion into source code

2004-12-06 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Monday, December 06, 2004 11:09 AM: Hi all, I have a mavenised application, whose version number is contained in project.xml. I would like the app to build such that when you run app --version, it gives the version number as specified in the pom when the

RE: Best practise: embedding pom.currentVersion into source code

2004-12-06 Thread Andrew Chapman
This works for all situations although we mainly use it to include build information on our demo web apps. Create a properties file e.g. build.properties where any build variable properties can be accessed by the java/jstl etc. Have your maven.xml build update this file using the ant

[ANN] Maven Cruise Control Plugin 1.6 released

2004-12-06 Thread brett
The maven team is pleased to announce the Maven Cruise Control Plugin 1.6 release! http://maven.apache.org/reference/plugins/cruisecontrol/ A plugin to handle the generating and maintaining of Cruise Control configuration. Changes in this version include: New Features: o Lost script

RE: Best practise: embedding pom.currentVersion into source code

2004-12-06 Thread minfrin
Hi, This works for all situations although we mainly use it to include build information on our demo web apps. Create a properties file e.g. build.properties where any build variable properties can be accessed by the java/jstl etc. Have your maven.xml build update this file using the ant

Re: Best practise: embedding pom.currentVersion into source code

2004-12-06 Thread Nicolas De Loof
Hi all, Do you know any way to auto-increment the $project.build.label property ? Nico. - Original Message - From: [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Monday, December 06, 2004 2:34 PM Subject: RE: Best practise: embedding pom.currentVersion into source

org.apache.tools.ant.taskdefs.Javac.compile

2004-12-06 Thread David Liles
I just downloaded Maven and followed the install instructions. I created a very basic project.xml file and when I attempt to run maven site:generate from the same location as the project.xml file I get an error. I have environment variables defining JAVA_HOME, ANT_HOME and MAVEN_HOME, I also

up2date/yum like plugin management

2004-12-06 Thread Leif Nelson
Hi all- I saw the updated plugin releases recently, and was wondering if there are any tools out there that act like RedHat's up2date or the yum tools to maintain maven plugins. It sure would be nice to be able to do some kind of maven update-plugins or something that would get the latest

Re: org.apache.tools.ant.taskdefs.Javac.compile

2004-12-06 Thread Jeroen Leenarts
David Liles wrote: I just downloaded Maven and followed the install instructions. I created a very basic project.xml file and when I attempt to run maven site:generate from the same location as the project.xml file I get an error. I have environment variables defining JAVA_HOME, ANT_HOME and

Re: org.apache.tools.ant.taskdefs.Javac.compile

2004-12-06 Thread David Liles
Not sure if this is what you're asking for... BUILD FAILED Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:844) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682) at

RE: up2date/yum like plugin management

2004-12-06 Thread Kristopher Brown
Hi, Its something I've asked about before and AFAIK there is nothing in existence at present. I think the problem with this is that there is no way of knowing what other version are out there without doing some sort of scanning of repositories, which can be problematic. There are a couple of

Re: refresh source file set - Solution

2004-12-06 Thread Brent Hale
Well here's how I got around it if it helps anyone else. I also think this is a bug in how Maven behaves but you tell me. In my situation I am generating 300+ database object classes from a prioritary DB schema to POJO (I put these in ${basedir}/target/generated/src/java). Of those, 80+

Re: refresh source file set - Solution

2004-12-06 Thread Brent Hale
FWIW...I also (just barely) found and interesting thread from 1/8/2004 entitled Mutliple source directories in project.xml. It talks about the possibility of a generatedSourceDirectory element to the POM. I don't see that it ever made it in, but perhaps someone else knows better. Thanks,

Re: org.apache.tools.ant.taskdefs.Javac.compile

2004-12-06 Thread Jeroen Leenarts
David Liles wrote: Not sure if this is what you're asking for... BUILD FAILED Compile failed; see the compiler error output for details. at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:844) ... File.. C:\Documents and Settings\david.liles\.maven\cache\maven-java-plugin-

Re: up2date/yum like plugin management

2004-12-06 Thread Jason van Zyl
On Mon, 2004-12-06 at 08:37, Leif Nelson wrote: Hi all- I saw the updated plugin releases recently, and was wondering if there are any tools out there that act like RedHat's up2date or the yum tools to maintain maven plugins. It sure would be nice to be able to do some kind of maven

Re: org.apache.tools.ant.taskdefs.Javac.compile

2004-12-06 Thread David Liles
I'm not sure why I'm getting this error. When I develop and run locally (Rational XDE) everything works fine, it's only when I attempt to run maven that I have problems. Is there a chance that there is a conflict with XDE and maven since XDE automatically creates a .project file? [EMAIL

Re: org.apache.tools.ant.taskdefs.Javac.compile

2004-12-06 Thread Jeroen Leenarts
Try comparing your .classpath (also generated by XDE) file with the dependancies stated in your project.xml. They should match up... Btw, you can a properly configured Maven project generate eclipse 2.1 (current XDE) and eclipse 3.0 .project and .classpath files. Simple matter of adding an

maven newbie

2004-12-06 Thread George A
hi, i am george. i got this address from a website archive. i have just been assigned to a maven project. and i am trying to figure out how to create a maven project. i am a new developer and am not aware of anything of maven , though i read a lot on the apache site. i have installed

Re: maven newbie

2004-12-06 Thread Rick Wood
Hi George, I also just started using Maven. There's a Getting Started chapter in the documentation (left navbar), try that. I copied the project.xml from there. Also, Maven version 1.0.1 is out. Rick At 10:59 PM 12/6/2004, you wrote: hi, i am george. i got this address from a website

properties inheritance

2004-12-06 Thread rajas kumar
Hai maven users, I am facing with a problem of properties in heritance. I have a servaral modules. I am compiling each module by using reactor. In project.xml i am using a property ${basesrc}.(i.e sourceDirectory${basesrc}/src/sourceDirectory) This property was specifid at top level.

Re: properties inheritance

2004-12-06 Thread Brett Porter
what version of Maven are you using? When you say inherited, are you actually extending other project.xml files? - Brett On Mon, 6 Dec 2004 20:49:53 -0800 (PST), rajas kumar [EMAIL PROTECTED] wrote: Hai maven users, I am facing with a problem of properties in heritance. I have a

Re: properties inheritance

2004-12-06 Thread Brett Porter
that should work. I will verify that it is fixed in 1.0.2 which is being released today. - Brett On Mon, 6 Dec 2004 21:22:33 -0800 (PST), rajas kumar [EMAIL PROTECTED] wrote: i am using version 1.0. Yaa i am extending other project.xml files also. Brett Porter [EMAIL PROTECTED]

Re: properties inheritance

2004-12-06 Thread rajas kumar
Here it is full details abt this problem. I have a property which is using in all modules project.xml file which recognizes source directory. I have specified this at top level project.properties file. if i have given the property of ${basesrc} in project.properteis this is the out put.(i