RE: cactus plugin and overring war:war

2003-11-06 Thread Sean Timm
Brett Porter [mailto:[EMAIL PROTECTED] wrote: Incidentally, I've just had exactly this error, using the maven-cactus-plugin-3.1 distributed with RC1. I had to add junit to my project with the root classloader, although at this point I'm not sure why as the cactus plugin seems to be doing

How do I exclude files from compile

2003-11-06 Thread R a n e s
Hi All, Is there any way I can exclude files (of a paticular pattern say *ABC*.java ) from the source directory, while compiling? Thanks Regards, Ranes.

Multiproject site generation

2003-11-06 Thread Loïc Minier
Hello, I'm trying to use Maven Multiproject plugin in the following way: - I have a main project (mtv); - I have en extension dir with two subprojects : * the torque database classes (mtv-om subproject) * the castor config classes (mtv-config subproject) I've properly

Re: How do I exclude files from compile

2003-11-06 Thread Nicolas . CHALUMEAU
Add an exclude with the your patern in the build of your pom see : http://maven.apache.org/reference/project-descriptor.html#sourceModifications Nicolas, R a n e s [EMAIL PROTECTED] 06/11/2003 11:19 Veuillez répondre à Maven Users List Pour : Maven User List [EMAIL PROTECTED]

Re: How do I exclude files from compile

2003-11-06 Thread R a n e s
Hi Nicolas, Thanks for your suggestion. I tried something like this, but it doesn't seems to be working for me :( sourceModifications sourceModification classNameProcessorTest/className excludes exclude**test*.java/exclude exclude**Test*.java/exclude /excludes

Re: How do I exclude files from compile

2003-11-06 Thread Alain Javier Guarnieri del Gesu
* R a n e s [EMAIL PROTECTED] [2003-11-06 07:14]: Hi Nicolas, Thanks for your suggestion. I tried something like this, but it doesn't seems to be working for me :( sourceModifications sourceModification classNameProcessorTest/className excludes

Re: war plugin : [maven.caller.call.compile-java] is not defined

2003-11-06 Thread Eric Berenguier
Vincent Massol wrote: No. It's because you seem not to have installed the caller plugin... My guess is that you have only taken the war plugin from HEAD without taking it's dependencies. Actually, thinking about it, we should add a dependency in the war plugin on the caller plugin so that it gets

RE: war plugin : [maven.caller.call.compile-java] is not defined

2003-11-06 Thread Vincent Massol
Eric, Have you tried without -DsourcesPresent=true? It was working for me some time ago (I haven't checked recently). Also, are you sure you have removed you plugin cache directory when you updated your maven plugins 3 days ago? Thanks -Vincent -Original Message- From: Eric

RE: Building Maven

2003-11-06 Thread Horn, Cameron
I apologize for my tone. If I'm misinformed or uninformed, I beg you to take me to task. I am a new user, going mainly by the available documentation. A clear error in my previous emails is that I said task when I meant target, I'm sure there are others. If user error resulted in the errors I

Javadoc offline links

2003-11-06 Thread nick.giles
When generating my project javadocs, I'd like to link to other APIs, but I'm in the dreaded 'behind a proxy' situation. So, I'm trying to do the linkoffline thing, but it appears that Maven's default behaviour is to direct the offline links to your offline API, which is not what I want. I want it

[REQUEST] Add commons-discovery 0.2 to ibiblio

2003-11-06 Thread Paul Spencer
Please add commons-discovery 0.2 to the ibiblio repository. http://jakarta.apache.org/commons/discovery.html Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

repository connection string

2003-11-06 Thread Eric Taix
Hello, I'm trying to configure the repository in my project.xml but while i'm using cvsnt on Windows 2K my repository connection is like this : scm:cvs:pserver:[EMAIL PROTECTED]:D:\BuildSystem\tools\cvsnt\repository:module1 And Maven count the number of token used and it said : more than 6

Javadoc: No source files and no packages have been specified.

2003-11-06 Thread Mark R. Diggory
I feel kinda stupid, but what am I missing here? Maven output C:\Eclipse3.0\workspace\myprojectmaven javadoc:generate __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT Attempting to download

RE: Javadoc: No source files and no packages have been specified.

2003-11-06 Thread nick.giles
Have you tried a packagecom.foo.bar/package tag under project? The javadoc plugin source uses that as the packagenames element of the Ant javadoc task. Between that and the build.sourceDirectory element, that's all I can see... Are your sourceDirectory tags and similar within the build tags?

RE: repository connection string

2003-11-06 Thread Eric Taix
I'm sorry for that stupid question. I found the response in the documentation : scm|cvs|pserver|[EMAIL PROTECTED]|d:\BuildSystem\tools\cvsnt\repository|module1 I'll try Eric -Message d'origine- De : Eric Taix Envoyé : jeudi 6 novembre 2003 17:56 À : [EMAIL PROTECTED] Objet :

RE: problems running ant tasks from maven

2003-11-06 Thread Daniel Rabe
Googling the maven web site for root ClassLoader turned up one promising page, http://maven.apache.org/reference/developers/developer-guide.html. However, the current page (generated 03 November) doesn't even contain the word ClassLoader. Google's cached page (from 07 October) DOES mention it, at

Maven Intergration Question

2003-11-06 Thread Rauf, Saleem
Is there is a way to customize target folder maven looks at. I wanted to looked at build folder instead. Thanks, -S -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 11:51 AM To: 'Maven Users List' Subject: RE: cactus plugin and

RE: Maven Intergration Question

2003-11-06 Thread nick.giles
In the sense of the property maven.build.dir? See http://maven.apache.org/reference/user-guide.html#Maven%20Setup. This is where compiled classes, generated documentation and jar files will be initially put. Nick -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED] Sent:

RE: Maven Intergration Question

2003-11-06 Thread Sri Sankaran
Set maven.build.dir Sri P.S. Please start a new thread for new discussions. -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 12:59 PM To: Maven Users List Subject: Maven Intergration Question Is there is a way to customize target

RE: Maven Intergration Question

2003-11-06 Thread Rauf, Saleem
I am new to this, I don't know how to start a new group,care to show me.. -S -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 12:02 PM To: Maven Users List Subject: RE: Maven Intergration Question Set maven.build.dir Sri P.S. Please

RE: Maven Intergration Question

2003-11-06 Thread Sri Sankaran
Just the way you sent the first message -- however, instead of replying to an existing message (and changing the subject) just start a new message to the maven users' list. Sri -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:05 PM

RE: Maven Intergration Question

2003-11-06 Thread nick.giles
That's hardly a good enough reason. In fact, I'd prefer to change it then, so that the bugs get shaken out. In my case, I've moved it into the WEB-INF directory, because I want a nice easily deployed web-app during development, but also to keep as much stuff as possible out of public view.

RE: Maven Intergration Question

2003-11-06 Thread Rauf, Saleem
Hi I agree with you, but in over company we are using ant to build the whole application, we just want to maven to build documentation, Do you have any bright ideas? Also I was looking into changing maven.build.dir value, but it's warning me about bootstrap of Maven from source code, as it

RE: Maven Intergration Question

2003-11-06 Thread Rauf, Saleem
Thanks, advice greatly appericated -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 12:09 PM To: Maven Users List Subject: RE: Maven Intergration Question Just the way you sent the first message -- however, instead of replying to an

Re: war plugin : [maven.caller.call.compile-java] is not defined

2003-11-06 Thread Eric Berenguier
Vincent Massol wrote: Eric, Have you tried without -DsourcesPresent=true? It was working for me some time ago (I haven't checked recently). It works perfectly without the -D (it's obvious looking at the source code: the war plugin only calls the caller plugin when 'sourcesPresent' is true)

RE: Maven Intergration Question

2003-11-06 Thread Sri Sankaran
Jason brings up a valid point -- however, we have been using maven.build.dir=${basedir}/build and haven't had any plug-in blow up, yet -- at least not because of it :) As Nick points out, this is a good way to find out if target has been hard-coded in any plug-in! The docs you are referring

RE: Maven Intergration Question

2003-11-06 Thread nick.giles
If you are using Ant and Maven independently, it's probably better to keep their build directories separate, so 'target' for Maven and 'build' for Ant. That way, neither app should interfere with the other. Of course, in the long run you should be heading towards building with Maven... ;-) As

Custom doc folder of of documentation Maven produces

2003-11-06 Thread Rauf, Saleem
Hi All, and Nick, By directory structure looks like: Root Directory | | | -AppName | | |--src - Where all my source code resides, build.xml which

RE: Maven Intergration Question

2003-11-06 Thread Rauf, Saleem
Nick, Thanks for info. Do you have an example I can follow, I am brand new to Maven. Thanks, -S -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 12:26 PM To: [EMAIL PROTECTED] Subject: RE: Maven Intergration Question If you are

pmd plugin and custom rules

2003-11-06 Thread Erdfelt, Joakim
I have a set of custom pmd rules. It consists of 2 parts. 1) a custom ruleset-foo.xml 2) a jar file containing the implementation of those rules. (AbstractRule classes). Using the maven-pmd-plugin, how do I get my custom jar file into it's classpath? Using the often talked about hack of

Project Descriptor Creation Tool

2003-11-06 Thread Vikas Phonsa
Hi Everybody, On maven website I read about some tool being developed to generate a project descriptor automatically. I was thinking about either getting or developing something like that for my projects but would surely prefer to use something supplied with maven. So I wanted to know what kind

target directory and bootstrap

2003-11-06 Thread Vikas Phonsa
Hi Guys, What's the significance of the following statement if I'm just installing maven with the supplied installer and don't build is from the source at my end and simply use maven for my project. However this practice will interfere with the bootstrap of Maven from source code, as it

RE: Project Descriptor Creation Tool

2003-11-06 Thread Brett Porter
I wouldn't find it very useful, but a reverse IDE plugin would be. Currently the IDE plugins generate IDE projects from project.xml files. I'm sure in the future the reverse will be possible, so you can create a maven project inside an IDE and leverage all of their nice gui elements :) Apart from

RE: problems running ant tasks from maven

2003-11-06 Thread Brett Porter
I got you to google because I knew it had moved and I didn't remember where... It just seems they haven't crawled it recently enough :) Its actually at the bottom of the user guide. Regarding the java:jar-resources missing... I'm pretty sure you'll find an anser to that in the mail archive.

junit classpaths

2003-11-06 Thread dkernek2
junit tests that run outside of maven hare having problem inside... using 1.0-rc1 $ maven test [ results in (when maven.junit.fork=false (default) ) ] java:prepare-filesystem: .. test:test: [junit] dir attribute ignored if running in the same VM [junit] Running

RE: Building Maven

2003-11-06 Thread Brett Porter
If user error resulted in the errors I saw (with the exception of the OutOfMemory which was known, well documented, and easily fixed), I'd love to know how I can avoid them. I think I last time asked about your JVM settings, as a problem starting the modern compiler is unusual. I'm thinking

RE: High ASCII in java code not compiling under Maven

2003-11-06 Thread Erdfelt, Joakim
switch( chr) { case 'à': buf.append(agrave); break; When I try to run my maven build goal, it will not compile this utility class, and I get a whole bunch of errors to the effect: case '?' already defined If I run javac, no problemo. Compiles just fine. I played around

statCVS Report

2003-11-06 Thread Rauf, Saleem
Hi All, When use statcvs report I get following error: C:\maven-samplemaven statcvs __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT statcvs:init: statcvs:generate: [echo] fetching cvs logs... [java]

Re: simple jelly explanation

2003-11-06 Thread matt
This is true, but only if outputDir is a java.lang.String (or an empty Map, Collection, or Array). Properties in maven are org.apache.commons.jelly.expression.ConstantExpression, so they are only empty() if they are undefined. A jexl workaround to this would be

Re: junit classpaths

2003-11-06 Thread dion
When running inside maven, junit 'inherits' MAVEN's classpath as well. When running outside, it doesn't. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Pub Key:http://blogs.codehaus.org/people/dion/public-key.asc [EMAIL PROTECTED] wrote on 07/11/2003

copying the dependencies

2003-11-06 Thread Scott Tavares
Hi all, I'm writing a maven plugin for the JWSDP-1.3. I was using maven rc-1 with the following tag in a goal: deploy:copy-deps todir=${jwsdp.build}/WEB-INF/lib/ which worked well. But I decided to build maven from cvs and to start using artifact and group ID's. Now the above tag does not

RE: copying the dependencies

2003-11-06 Thread Brett Porter
I think the deploy plugin was moved, so after bootstrapping you'll need to check out maven-plugins from CVS and run maven plugin:install on the deploy plugin. Alternatively, your plugin could have a dependency on the deploy plugin dependency typeplugin/type

Java Doc and Javac Error-- Please help! -- New bee to Maven

2003-11-06 Thread Rauf, Saleem
Please help, I am getting errors in javadoc, javac: C:\mavensporty2gmaven site:generate __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT site: xdoc:register-reports: maven-checkstyle-plugin:register:

RE: Java Doc and Javac Error-- Please help! -- New bee to Maven

2003-11-06 Thread Brett Porter
You need to specify dependencies for whatever JAR is providing... import com.azzura.gregari.common.context.*; -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED] Sent: Friday, 7 November 2003 1:51 PM To: Maven Users List; Maven Users List Subject: Java Doc and Javac

Re: copying the dependencies

2003-11-06 Thread Scott Tavares
Brett Porter wrote: I think the deploy plugin was moved, so after bootstrapping you'll need to check out maven-plugins from CVS and run maven plugin:install on the deploy plugin. Alternatively, your plugin could have a dependency on the deploy plugin dependency typeplugin/type

Re: High ASCII in java code not compiling under Maven

2003-11-06 Thread Jeffrey Bonevich
Thanx. That did the trick. jeff Erdfelt, Joakim wrote: We had success with the 'maven.compile.fork=true' and 'maven.compile.encoding=iso8859-1' properties defined at the maven-java-plugin web page. http://maven.apache.org/reference/plugins/java/properties.html /* joakim erdfelt */

RE: Java Doc and Javac Error-- Please help! -- New bee to Maven

2003-11-06 Thread Rauf, Saleem
Thank you that did the trick for most of errors I had in javadocs, But I still get this error about javax package, I was trying to figure which folder i need to include in dependices: C:\mavensporty2gmaven javadoc __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent

RE: Java Doc and Javac Error-- Please help! -- New bee to Maven

2003-11-06 Thread Rauf, Saleem
Where is it sun's website, j2ee.jar, I couldn't find it. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 10:06 PM To: 'Maven Users List' Subject: RE: Java Doc and Javac Error-- Please help! -- New bee to Maven Probably j2ee.jar, which

RE: Java Doc and Javac Error-- Please help! -- New bee to Maven

2003-11-06 Thread Brett Porter
Download J2EE reference implementation, or pull it from whatever the EJB container is that you are using (you have built this project somewhere before haven't you? It must have gotten them from somewhere...) - Brett -Original Message- From: Rauf, Saleem [mailto:[EMAIL PROTECTED]

Re: How do I exclude files from compile

2003-11-06 Thread R a n e s
Hi Alain, It worked fine. Thanks a million :-) Am still not clear about the className. Any idea what it is for??? Thanks Regards, Ranes. - Original Message - From: Alain Javier Guarnieri del Gesu [EMAIL PROTECTED] To: R a n e s [EMAIL PROTECTED] Cc: Maven Users List [EMAIL PROTECTED]

RE: Building Maven

2003-11-06 Thread dion
Horn, Cameron [EMAIL PROTECTED] wrote on 06/11/2003 02:57:36 PM: You have been extremely helpful, which has been the most promising thing so far. Thank you. On the other hand, it does seem like maven still needs a heck of a lot of work. Sure does. As does Ant, JUnit and any other piece of