RE: failover for maven repository?

2004-06-09 Thread Jason van Zyl
On Wed, 2004-06-09 at 00:11, Julian C. Dunn wrote: Well, we all hope that nobody mucks up the repository, but that only gets you so far -- all you have to do is to ask the Debian or FSF maintainers whose sites got cracked how far hope gets you. Yes, I'm well aware. It's not like I'm floating

RE: XML entities and forward compatibility

2004-06-09 Thread Maczka Michal
-Original Message- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 3:24 AM To: Maven Users List Subject: Re: XML entities and forward compatibility Given that they're a standard part of XML, and that the m2 project descriptor in one form will be an

RE: XML entities and forward compatibility

2004-06-09 Thread Jörg Schaible
Hi Jason, Jason van Zyl wrote on Wednesday, June 09, 2004 3:22 AM: On Tue, 2004-06-08 at 19:23, Tim Reilly wrote: Does anyone know, or can anyone comment on whether external xml entities in the POM (particularly for dependencies) will continue to work or be supported in future versions

RE: XML entities and forward compatibility

2004-06-09 Thread Göschl,Siegfried
Hi Jason, it's really good to have a better mechanism in place but breaking existing Maven project using XML entities is another thing - you can always issue a deprecation warning during the build or POM validation. Thanks in advance Siegfried Goeschl -Original Message- From: Jason

RE: XML entities and forward compatibility

2004-06-09 Thread Jörg Schaible
Maczka Michal wrote on Wednesday, June 09, 2004 9:33 AM: Because a) How would you deploy POMs which contains external XML entities to say ibiblio? The same problems - diffused files - may affect continuous integration tools - more files more problems to deal with This is not a

Re: Some suggestion to maven-tomcat plugin !!!

2004-06-09 Thread Brett Porter
http://wiki.codehaus.org/maven/CreatingWebApplications#head-2b0c6db33bd58f8f93de3b6ff49263e574447731 Quoting Nathan Coast [EMAIL PROTECTED]: Have I been looking in the right place? I can't see anything to do with jasper pre-compilation in the plugin at codehaus.

cpp Unit test with maven

2004-06-09 Thread Claus Pedersen
I have used the native plugin for Maven to compile my cpp code, My question is know if there are any tools for unittesting the cpp code with maven, like maven uses JUnit for testing java code. regards, Claus - To unsubscribe,

RE: XML entities and forward compatibility

2004-06-09 Thread Maczka Michal
-Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 10:03 AM To: Maven Users List Subject: RE: XML entities and forward compatibility Maczka Michal wrote on Wednesday, June 09, 2004 9:33 AM: Because a) How would you deploy POMs

RE: XML entities and forward compatibility

2004-06-09 Thread Jörg Schaible
Maczka Michal wrote on Wednesday, June 09, 2004 11:15 AM: -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] [...] This is not a problem of the entities!!! I already stated that some time ago. Look at M1 multiprojects. The deployed pom's of their subprojects are useless

RC3 not so intelligent??

2004-06-09 Thread Niclas Hedhman
[EMAIL PROTECTED] cv]$ maven xdoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ not so intelligent? ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc3 Attempting to download maven-1.0-rc2.jar.

Re: RC3 not so intelligent??

2004-06-09 Thread Arto Pastinen
Hi! I think that it is mentioned in dependencies. On Wed, 9 Jun 2004 19:10:26 +0800, Niclas Hedhman [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] cv]$ maven xdoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ not so intelligent? ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc3 Attempting to

Re: RC3 not so intelligent??

2004-06-09 Thread Emmanuel Venisse
- Original Message - From: Niclas Hedhman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 1:10 PM Subject: RC3 not so intelligent?? [EMAIL PROTECTED] cv]$ maven xdoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ not so intelligent? ~ |_|

Junit log4j xml paser error [priv]

2004-06-09 Thread Bargon, Stuart
Hi, When I run the maven test:test goal I get the following warning from log4j log4j:ERROR Parsing error on line 1 and column 1 log4j:ERROR Premature end of file. log4j:ERROR Could not parse input source [EMAIL PROTECTED] org.xml.sax.SAXParseException: Premature end of file. at

RE: RC3 not so intelligent??

2004-06-09 Thread Jörg Schaible
Niclas Hedhman wrote on Wednesday, June 09, 2004 1:10 PM: [EMAIL PROTECTED] cv]$ maven xdoc __ __ \/ |__ _Apache__ ___ \/| / _` \ V / -_) ' \ ~ not so intelligent? ~ _| |_\__,_|\_/\___|_||_| v. 1.0-rc3 Attempting to download maven-1.0-rc2.jar.

Should dist:build-bin build a WAR instead of a distribution for WAR projects?

2004-06-09 Thread Michael Mattox
I am invoking dist:build-bin using multiproject:goal. For my WAR projects it doesn't make sense to generate a distribution. Since I can only have one maven.multiproject.includes property I'm not sure how I can specify this. I also have projects which are utility jars used by other projects and

RE: XML entities and forward compatibility

2004-06-09 Thread Jason van Zyl
On Wed, 2004-06-09 at 07:02, Jörg Schaible wrote: Sounds interesting. M2 is definitely on my target, all your speed-ups is looking promising. But I fear I will have major changes to my current infrastructure ... This is after all 2.0 and you can use 1.x for as long as you like. If you want to

RE: failover for maven repository?

2004-06-09 Thread Julian C. Dunn
On Wed, 2004-06-09 at 02:10, Jason van Zyl wrote: On Wed, 2004-06-09 at 00:11, Julian C. Dunn wrote: Well, we all hope that nobody mucks up the repository, but that only gets you so far -- all you have to do is to ask the Debian or FSF maintainers whose sites got cracked how far hope gets

RE: failover for maven repository?

2004-06-09 Thread Jason van Zyl
On Wed, 2004-06-09 at 10:48, Julian C. Dunn wrote: If you would like to expand on that and make a little doc with some references I will happily add it to the wiki material that exists there already. Sure. My document is attached as a text file. Cool, thanks. It's in the wiki now:

kodo plugin error

2004-06-09 Thread stéphane bouchet
Hi, I am trying to use the kodo plugin with maven. i would like to enhance a set of classes which are using common-logging, but a ran to a classloader problem : Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException:

Re: NoSuchMethodError running Clover with Maven

2004-06-09 Thread J. B. Rainsberger
Jarrell, Maury wrote: Hi, J.B., I had a similar issue when I first tried to get Maven working. In my case, it had to do with Class Loaders and which ones are loading what. What finally fixed it for me was to put the junit-3.8.1.jar in my $MAVEN_HOME/bin/forehead.conf file in the root section

Re: I'm obviously stupid

2004-06-09 Thread J. B. Rainsberger
Brill Pappin wrote: J. B. Rainsberger wrote: I am fumbling in the dark with Maven. Forgive me. I can't find the appropriate tutorial material. Missing documentation and tutorials is one the major problems for me, when trying to get my peers using it... so your not alone :) I'm worried. As

Re: RC3 not so intelligent??

2004-06-09 Thread Niclas Hedhman
On Wednesday 09 June 2004 20:06, Emmanuel Venisse wrote: A plugin uses the rc2 as dependency. The only plugins I have are the one that came with the RC3 download, I did a complete removal of the ~/.mave/plugins prior to running Maven. Jorg says it is the Artifact plugin, and to me it is a

RE: NoSuchMethodError running Clover with Maven

2004-06-09 Thread Jarrell, Maury
J.B. wrote: Oh it /does/, it /does/. You can see the fruit of my labor and your help at diasparsoftware.com/toolkit. I'll check it out. It's definitely the blind leading in this case but I'm glad I could help. Good Luck! -

Re: RC3 not so intelligent??

2004-06-09 Thread Emmanuel Venisse
- Original Message - From: Niclas Hedhman [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 6:14 PM Subject: Re: RC3 not so intelligent?? On Wednesday 09 June 2004 20:06, Emmanuel Venisse wrote: A plugin uses the rc2 as dependency. The only

Re: RC3 not so intelligent??

2004-06-09 Thread Niclas Hedhman
On Thursday 10 June 2004 00:34, Emmanuel Venisse wrote: Do you rebuild all your apps when a new jdk is release? I hope your logic ain't this flawed in code :o) I don't have any applications that come bundled in the JDK download !!! But I'm pretty sure none of the JDK subsystems would require

Problem between Maven and Eclipse

2004-06-09 Thread Amato Massimiliano \(TLAB\)
Hello, I am starting to integrating all my tests into my environment, but i've found a problem. My tests needs to read some settings from configuration files while others reads data from XML. I have all those files under test/conf dir so when I launch maven test those are moved into

RE: Problem between Maven and Eclipse

2004-06-09 Thread STRAYER, JON (SBCSI)
Add test/conf to the class path and use Class.getResourceAsStream to read them. -Original Message- From: Amato Massimiliano (TLAB) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 6:54 AM To: Maven Users List Subject: Problem between Maven and Eclipse Hello, I am starting to

Best practice: examples, java sources and tests

2004-06-09 Thread Daniel Frey
Hello I'd like to have in my project structure apart from src/java and src/test something like src/example. The build artifacts should be accordingly. However, I don't see a standard way to do that. I would like to know how you folks master this situation. How do you manages examples in your

Re: RC3 not so intelligent??

2004-06-09 Thread Jason van Zyl
On Wed, 2004-06-09 at 07:10, Niclas Hedhman wrote: [EMAIL PROTECTED] cv]$ maven xdoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ not so intelligent? ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc3 Attempting to download maven-1.0-rc2.jar.

Re: Best practice: examples, java sources and tests

2004-06-09 Thread matthew.hawthorne
Daniel Frey wrote: I would like to know how you folks master this situation. How do you manages examples in your projects? Do you recomend using different projects and do it with a multiproject goal? Are there other ways? I would do what you mentioned, put the examples in another subproject which

Re: Best practice: examples, java sources and tests

2004-06-09 Thread Jason van Zyl
On Wed, 2004-06-09 at 13:20, matthew.hawthorne wrote: Daniel Frey wrote: I would like to know how you folks master this situation. How do you manages examples in your projects? Do you recomend using different projects and do it with a multiproject goal? Are there other ways? I would do

Re: RC3 not so intelligent??

2004-06-09 Thread Niclas Hedhman
On Thursday 10 June 2004 01:18, Jason van Zyl wrote: Have some respect, phrase your concerns in a non-puerile fashion or expect to get little or no help. For the record; I don't expect to get any help... Have Fun Niclas -- +--//---+ / http://www.bali.ac/ /

Re: RC3 not so intelligent??

2004-06-09 Thread Niclas Hedhman
Also, On Thursday 10 June 2004 01:18, Jason van Zyl wrote: Brett and many others busted their asses to get the release out Sure they have. But I don't know why you are so sensistive. 1. Not by any measures of AI could one possibly claim that Maven has an intelligence. 2. I didn't

RE: XML entities and forward compatibility

2004-06-09 Thread Tim Reilly
Jörg Schaible [wrote] My basic concern was about the consistent versions in the dependencies. Say, have a multiproject with ~50 subprojects and ~10 of them use e.g. xstream. Using entities I change currently only one single line in one file to upgrade all of this 10 subprojects for a new

RE: JVM system property

2004-06-09 Thread Morris, Jason [IT]
That won't work because it will put the -D after the class name on the command line in the maven script. You need to either hack the maven start script or investigate the use of maven.junit.sysproperties in project.properties. It has a weird syntax (I copied this from someone else) but you should

Re: RC3 not so intelligent??

2004-06-09 Thread Brill Pappin
Jason, take a pill... The guy asked a simple question, and expected a simple answer... I don't think anyone here thought you where to blame and everyone understands that this is a work in progress and there are questions to be asked. The work has been extensive and fairly good so far. Frankly

Re: RC3 not so intelligent??

2004-06-09 Thread jnielsen
Jason, While I commiserate, the best way I have found to avoid placing myself in a puerile light is to address these kinds of concerns by saying nothing while continuing to work for a solution to my customers needs. -Jan Jason van Zyl wrote: On Wed, 2004-06-09 at 07:10, Niclas Hedhman wrote:

Re: RC3 not so intelligent??

2004-06-09 Thread Jason van Zyl
On Wed, 2004-06-09 at 14:19, [EMAIL PROTECTED] wrote: Jason, While I commiserate, the best way I have found to avoid placing myself in a puerile light is to address these kinds of concerns by saying nothing while continuing to work for a solution to my customers needs. I code as we speak!

RE: Best practice: examples, java sources and tests

2004-06-09 Thread Eric Pugh
To echo Jason's comment, Maven is based around the idea that there is one artifact per project. So, if you examples are contained in one jar or whatever, then put them in an /examples project. But, if you have multiple seperate examples (say step1, step2, step3...) where the examples build on

Re: Trouble with JIRA

2004-06-09 Thread Emmanuel Boudrant
I think you are right, I did not see the login form on right side ... ;) -emmanuel Jeff Turner wrote: On Tue, Jun 08, 2004 at 11:55:05PM +0200, Emmanuel Boudrant wrote: Hi, I cannot login to jira on codehaus. I have an username but when I click on login, jI have the project list but no login

JavaScript Inside xdoc, is it possible?

2004-06-09 Thread Dan Tran
Hello, I would like to place javascript inside xdoc so that when user visits my htmlpage the javascript will run. Is it possible? Thanks -D

RE: Problem between Maven and Eclipse

2004-06-09 Thread Tim Reilly
[Amato Massimiliano wrote:] I thought about it and I realized that the class dir in eclipse should be different than target/classes since in this way also test class are put in that directory that under maven should not contain them I normally keep the /bin or some other build directory for

Deploy a webap to multiple environments (test, pre-prod, prod)

2004-06-09 Thread Laurent PETIT
Hello, I recently read a thread about this subject, but was not entirely convinced by the answer. I think this is a very common problem : you develop a webapp, and you have to deploy it on multiple configurations : generally one for each test-process environment : internal ( integration server

Re: Junit log4j xml paser error [priv]

2004-06-09 Thread Brett Porter
If you are forking junit then it is a problem in your log4j initialisation code. I suggest putting a System.out in somewhere before any loggers are initialised to see if the log4j configuration property is set to a dud file, because it seems to be finding a default file, thinking it is XML, but

Re: multiple distributions with filtered properties

2004-06-09 Thread Brett Porter
Firstly, I strongly recommend sourcing the configuration from outside of the distribution. Having said that, I have done this for a server where we really need to drop a tarball without tweaking any config manually. You'll probably want to use jelly to preGoal whatever distribution technique you

Re: kodo plugin error

2004-06-09 Thread Brett Porter
Unfortunately, you'll need to sync. up the version of commons-logging you are using with the one given by Maven I think (1.0.3 IIRC). Quoting stéphane bouchet [EMAIL PROTECTED]: Hi, I am trying to use the kodo plugin with maven. i would like to enhance a set of classes which are using

Re: Deploy a webap to multiple environments (test, pre-prod, prod)

2004-06-09 Thread Brett Porter
I ensure all differences are externalised from the WAR file. For the appservers we use (resin, tomcat), anything in web.xml can be put outside the webapp and added to it (Context definition in server.xml, web-app in resin.conf). So configuration goes into JNDI environment entries, context-params,

RE: JVM system property

2004-06-09 Thread Brett Porter
I think you really just want the -D parameter with the space in it to be quoted. - Brett Quoting Morris, Jason [IT] [EMAIL PROTECTED]: That won't work because it will put the -D after the class name on the command line in the maven script. You need to either hack the maven start script or

Re: JavaScript Inside xdoc, is it possible?

2004-06-09 Thread Brett Porter
Quoting Dan Tran [EMAIL PROTECTED]: Hello, I would like to place javascript inside xdoc so that when user visits my htmlpage the javascript will run. Is it possible? Thanks -D I think so? Just put it inside a ![CDATA[script ... /script]] - Brett

Re: SCM Plugin and subversion

2004-06-09 Thread Brett Porter
There's been a lot of discussion about this recently. You might want to choose a different archive search tool :) Someone is looking to improve the current scm plugin for Maven 1.x, meanwhile a whole new version will turn up in the next couple of months that has much better support for several

Re: JVM system property

2004-06-09 Thread Dion Gillard
Isn't this a known bug with the .sh script in that it doesn't handle spaces in -D args? On Thu, 10 Jun 2004 11:40:34 +1000, Brett Porter [EMAIL PROTECTED] wrote: I think you really just want the -D parameter with the space in it to be quoted. - Brett Quoting Morris, Jason [IT] [EMAIL