Re: More visual project descriptor documentation

2004-03-17 Thread Marco Tedone
As far as I'm concerned, the description of each descriptor element is pretty pour (Maven is still young!) and waiting for an official book on Maven (coming soon), e newcomer has got only the descriptor documentation (and the mailing list!) to get started. I believe that adding documentation to eac

Re: More visual project descriptor documentation

2004-03-17 Thread dion
"Marco Tedone" <[EMAIL PROTECTED]> wrote on 18/03/2004 06:25:03 PM: > Would it be possible to add concrete but simple examples of the possible > different uses of and ? Do you mean in the links section? My preference would be to beef up the documentation below the links. I would have thought

Re: More visual project descriptor documentation

2004-03-17 Thread Marco Tedone
Would it be possible to add concrete but simple examples of the possible different uses of and ? - Original Message - From: <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 7:22 AM Subject: Re: More visual project descriptor documentation >

Re: More visual project descriptor documentation

2004-03-17 Thread dion
I just updated it again -- dIon Gillard, Multitask Consulting "Marco Tedone" <[EMAIL PROTECTED]> wrote on 18/03/2004 06:06:53 PM: > I can't see the element in there. Am I missing something? > > - Original Message - > From: "Incze Lajos" <[EMAIL PROTECTED]> > To: "Maven Users List

Re: More visual project descriptor documentation

2004-03-17 Thread Marco Tedone
I can't see the element in there. Am I missing something? - Original Message - From: "Incze Lajos" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 2:50 AM Subject: Re: More visual project descriptor documentation > > http://maven.apache.org

Re: More visual project descriptor documentation

2004-03-17 Thread matthew.hawthorne
http://maven.apache.org/~dion/maven.apache.org/reference/project-descriptor.html This is very cool. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [REPOST] Properties and subprojects

2004-03-17 Thread dion
Jim Crossley <[EMAIL PROTECTED]> wrote on 18/03/2004 01:57:22 PM: > Trying once again for a reply. Pretty please... > > But for testing, it's convenient to deploy the wars separately, in > > which case the external jars must be put in WEB-INF/lib. > > > > How do I arrange my ?ar.bundle dependency

[REPOST] Properties and subprojects

2004-03-17 Thread Jim Crossley
Trying once again for a reply. Pretty please... Jim Crossley <[EMAIL PROTECTED]> writes: > I know maven doesn't exactly support property inheritance just yet, > but I'm wondering whether the following problem will be solved even > when that day comes. > > My project has two war subprojects, an e

Re: More visual project descriptor documentation

2004-03-17 Thread Incze Lajos
> http://maven.apache.org/~dion/maven.apache.org/reference/project-descriptor.html > > Better? > -- > dIon Gillard, Multitask Consulting Seems pretty usable. incze - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: Questions about multiproject

2004-03-17 Thread dion
"Marco Tedone" <[EMAIL PROTECTED]> wrote on 18/03/2004 11:46:44 AM: > Hi, I would like to know what happens in the following case: > > I've got a project where I define the following structure: > > /master.xml > project.xml > project.properties > /ejb-jar > project.xml >

RE: More visual project descriptor documentation

2004-03-17 Thread dion
"Heritier Arnaud" <[EMAIL PROTECTED]> wrote on 17/03/2004 09:45:30 PM: > I like it. > Can't you reduce the space between lines ?? > Maybe you can use a source tag to enclose your description ?? I fixed my copy of the xdoc plugin, and regenerated the URL using a source tag and some more indentati

Questions about multiproject

2004-03-17 Thread Marco Tedone
Hi, I would like to know what happens in the following case: I've got a project where I define the following structure: /master.xml project.xml project.properties /ejb-jar project.xml maven.xml /src /java /mypackage For

RE : More visual project descriptor documentation

2004-03-17 Thread dion
There currently is a complete project.xml as part of the documentation. See http://maven.apache.org/start/integrate.html It's not terribly well documented though. -- dIon Gillard, Multitask Consulting Sébastien BRUNOT <[EMAIL PROTECTED]> wrote on 18/03/2004 03:54:51 AM: > Hi, > > Another ide

Re: Purging old snapshots in repository

2004-03-17 Thread Jason van Zyl
On Wed, 2004-03-17 at 17:43, Craig S. Cottingham wrote: > On Wed, 2004-03-17 at 16:05, Kyle Adams wrote: > > So I've been plumbing around in the depths of Maven source code and the artifact > > plugin; I've also been digging around on http://www.ibiblio.org/maven/ . What I > > don't see is a bun

RE: More visual project descriptor documentation

2004-03-17 Thread dion
"Heritier Arnaud" <[EMAIL PROTECTED]> wrote on 17/03/2004 09:45:30 PM: > I like it. > Can't you reduce the space between lines ?? > Maybe you can use a source tag to enclose your description ?? Source tags can't include links in the current xdoc plugin. They get ignored. And as I'm not the own

RE: More visual project descriptor documentation

2004-03-17 Thread dion
"Sonnek, Ryan" <[EMAIL PROTECTED]> wrote on 18/03/2004 02:19:07 AM: > I think this is a GREAT idea, but the periods used to indent leave much to > be desired. Also, It is very difficult to visually distinguish the correct > nesting for the tags. I would recommend using 4 spaces ( ) for each >

Re: Purging old snapshots in repository

2004-03-17 Thread Craig S. Cottingham
On Wed, 2004-03-17 at 16:05, Kyle Adams wrote: > So I've been plumbing around in the depths of Maven source code and the artifact > plugin; I've also been digging around on http://www.ibiblio.org/maven/ . What I > don't see is a bunch of timestamped JARS, which leads me to believe something is

RE: Purging old snapshots in repository

2004-03-17 Thread Sonnek, Ryan
Not sure what's used on ibiblio, but I submitted a small plugin that would work for local repositories. If you're hosting your own maven repo, the server can clean itself using it. You can check it out here: (http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPREPO-3) Ryan > -Original Mes

RE: Rebuild

2004-03-17 Thread Brett Porter
No, this is incorrect. As Steve said in another email, Maven only compiles changed or new java files. You can change to a different compiler (jikes), but this will not change whether the java files are recompiled or not. - Brett > -Original Message- > From: Arto Pastinen [mailto:[EMAIL P

Purging old snapshots in repository

2004-03-17 Thread Kyle Adams
So I've been plumbing around in the depths of Maven source code and the artifact plugin; I've also been digging around on http://www.ibiblio.org/maven/ . What I don't see is a bunch of timestamped JARS, which leads me to believe something is cleaned old timestamped JARS out of the build artifac

Offline maven documentation

2004-03-17 Thread Martijn Dashorst
Hi! I'm currently on a project where we don't have direct access to the internet. Maven is distributed without (any) documentation, whereas other projects (like ant, etc) *do* ship with the documentation. In order to get the documentation for our project I checked out maven HEAD and performed

Re: Including dependencies from external file

2004-03-17 Thread Jason van Zyl
On Wed, 2004-03-17 at 15:48, Gilles Dodinet wrote: > Jason van Zyl wrote: > > >Do you think you could describe that in a patch for this document: > > > >http://cvs.apache.org/viewcvs.cgi/maven-components/USE-CASES.txt?rev=1.9&view=auto > > > done under http://jira.codehaus.org/secure/ViewIssue.jsp

Re: Including dependencies from external file

2004-03-17 Thread Gilles Dodinet
Jason van Zyl wrote: Do you think you could describe that in a patch for this document: http://cvs.apache.org/viewcvs.cgi/maven-components/USE-CASES.txt?rev=1.9&view=auto done under http://jira.codehaus.org/secure/ViewIssue.jspa?key=MCOMPONENTS-12 -- gd

Re: Including dependencies from external file

2004-03-17 Thread Jason van Zyl
On Wed, 2004-03-17 at 14:13, Gilles Dodinet wrote: > Jörg Schaible wrote: > > >>we use something like that to include external xml fragments : > >> > >> >>"file:../mevenide-ui-eclipse/pom-fragments/inherited-dependenc > >>ies.xml"> > >> > >>it works under xp and linux. > >> > >> > > > >But on

Re: Including dependencies from external file

2004-03-17 Thread Gilles Dodinet
Jörg Schaible wrote: we use something like that to include external xml fragments : "file:../mevenide-ui-eclipse/pom-fragments/inherited-dependenc ies.xml"> it works under xp and linux. But only if all included POMs (by reactor or extend tag) share the same directory level to the multipro

Re: How do I change a pom property?

2004-03-17 Thread Webb Morris
Thanks John! I'll try it out. WM --- John Casey <[EMAIL PROTECTED]> wrote: > Jason: undoubtedly, this is a hack, but it's one that I have also found > to be required. Not having time to fix it (assuming it can be fixed) and > pursue a patch, I've simply copied a section of the driver.jelly into

Compilation Result

2004-03-17 Thread ami mehta
Hi, Using reactor i am compiling all my sub projects and pipe the stack in a text file...Is there any way in maven where i can capture the compilation result (pass or fail) of each sub project so i can set my own failure and success message in the text file... Thanks -Ami

RE: simian report generation error

2004-03-17 Thread ZHU Beiting
Hi, I see. Actually I should "patch" the maven.bat file to redefine the JVM variable to solve this pb. Beiting. -Message d'origine- De : Arto Pastinen [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 mars 2004 15:02 À : Maven Users List Objet : RE: simian report generation error Hi I do

Re: How do I change a pom property?

2004-03-17 Thread John Casey
Jason: undoubtedly, this is a hack, but it's one that I have also found to be required. Not having time to fix it (assuming it can be fixed) and pursue a patch, I've simply copied a section of the driver.jelly into a preGoal. Webb: it's actually more involved than simply setting that property. You

[ANN] Jetty plugin 1.0 released

2004-03-17 Thread Vincent Massol
The Maven team is pleased to announce the Jetty plugin 1.0 release! http://maven.apache.org/reference/plugins/jetty The Maven Jetty plugin allows easy deployment and execution of Jetty. Features in this version includes: o Ability to automatically generate the Jetty XML configuration file o Abi

Re: How do I change a pom property?

2004-03-17 Thread Webb Morris
Well, I have a plugin that generates an EJB from a service class. The EJB doesn't get placed in the pom.build.sourceDirectory structure, because that wouldn't make sense (don't want the EJB checked in to source repository, don't want users to go fiddling with it outside of generation, etc). Th

RE: Including dependencies from external file

2004-03-17 Thread Jörg Schaible
Gilles Dodinet wrote on Wednesday, March 17, 2004 4:25 PM: > Joern, > > we use something like that to include external xml fragments : > > "file:../mevenide-ui-eclipse/pom-fragments/inherited-dependenc > ies.xml"> > > it works under xp and linux. But only if all included POMs (by reactor or

RE : More visual project descriptor documentation

2004-03-17 Thread Sébastien BRUNOT
Hi, Another idea could be the release of a sample COMPLETE project.xml documented. The documentation need to be completed first (for example : what is the connection string for a subversion repository ?). Here is my personal file for that (named project.xml.template) : < BEGINING

Re: How do I change a pom property?

2004-03-17 Thread Jason van Zyl
On Wed, 2004-03-17 at 11:34, Webb Morris wrote: > I have a need to change the pom.build.sourceDirectory parameter on the fly. I've > tried the > following: > > > > But this does not work. Ideas? You can make it work, but why exactly are you trying to do that? You shouldn't need to. > WM > >

Dependencies and child projects

2004-03-17 Thread Eric Giguere
Hi all A quick question. I've used the deploy:copy-deps command to copy the dependencies of a sub-project. My problem is that all dependencies of the master project also got copied... Is there a way to prevent this? thx Eric. -

How do I change a pom property?

2004-03-17 Thread Webb Morris
I have a need to change the pom.build.sourceDirectory parameter on the fly. I've tried the following: But this does not work. Ideas? WM __ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com --

RE: not being downloaded

2004-03-17 Thread Volkmann, Mark
I didn't know about pom:validate ... cool idea! However, this must depend on a certain version of Xerces. I have the latest and I'm getting a ClassCastException from org.apache.xerces.impl.xs.XMLSchemaLoader.reset. > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent:

RE: More visual project descriptor documentation

2004-03-17 Thread Jean-Marc Lavoie
The representation is great, it will be perfect with the proposed enhancements. My in first experience with maven projects, I had to create all the folder structure, with some errors. Then I discoved the genapp plugin. The plugin provides a sample POMS that provides a really great start. I thin

Re: More visual project descriptor documentation

2004-03-17 Thread Erik Husby
Definitely a step in the right direction. I too think that more indentation is required. Also, visually indicating what elements are required and which are optional would be good. I am sure that this can get tricky but would really help. Or perhaps we can gather a set of example POM's along the

Re: Including dependencies from external file

2004-03-17 Thread Gilles Dodinet
Joern, we use something like that to include external xml fragments : it works under xp and linux. -- gd Quoting Jörn Gebhardt <[EMAIL PROTECTED]>: > Hi, > > we encounter the following very strange problem that occurs only under > Windows XP: > > We have a project.xml that looks like th

RE: Including dependencies from external file

2004-03-17 Thread Jörg Schaible
Jörn Gebhardt wrote on Wednesday, March 17, 2004 3:30 PM: > Hi, > > we encounter the following very strange problem that occurs > only under Windows XP: > > We have a project.xml that looks like this: > > > > ]> > > xmlns:j="jelly:core"> > ... > > >

RE: More visual project descriptor documentation

2004-03-17 Thread Sonnek, Ryan
I think this is a GREAT idea, but the periods used to indent leave much to be desired. Also, It is very difficult to visually distinguish the correct nesting for the tags. I would recommend using 4 spaces ( ) for each layer to make it more usable. Ryan > -Original Message- > From: [EMAI

RE: Maven war plugin

2004-03-17 Thread Nicolas Cazottes
Thanks to your last mail, I have found the right configuration to my problem : maven.war.src.excludes=static/** Thanks a lot, Nicolas -Message d'origine- De : Arto Pastinen [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 mars 2004 15:25 À : Maven Users List Objet : RE: Maven war plugin

Including dependencies from external file

2004-03-17 Thread Jörn Gebhardt
Hi, we encounter the following very strange problem that occurs only under Windows XP: We have a project.xml that looks like this: ]> ... &ProductDependencies; ... ... I.e. we want to include some entries in the dependencies section from a

Re: Information about the methods available on POM

2004-03-17 Thread Eric Giguere
Hello there The best way is to look directly at the Java class : org.apache.maven.project.Project. This is the source for the Project bean. Its a Java bean so look at all getter/setters... use them from your jelly code without the get/set prefix. I've not seen any valid documentation on it exce

RE: Maven war plugin

2004-03-17 Thread Arto Pastinen
try maven.war.src.excludes=**/static/* But now i will go to home, SeeU!! On Wed, 2004-03-17 at 16:09, Nicolas Cazottes wrote: > Here is my configuration in details : > build.properties: > maven.war.src=web > maven.war.src.excludes=${maven.war.src}/static > (I tried also maven.war.src.excludes=sta

Re: Information about the methods available on POM

2004-03-17 Thread Arto Pastinen
Hi I'm not sure, but those look like velocity stuff. anyway: pom.inceptionYear, and pom.build.resource is from project.xml x On Wed, 2004-03-17 at 16:02, Vijay V wrote: > Hi > > I am a new user trying to get my hands with maven. > > I would like t

RE: Rebuild

2004-03-17 Thread Ebersole, Steve
Maven is just using the ant task under the covers. The task by definition : "Only Java files that have no corresponding .class file or where the class file is older than the .java file will be compiled"... -Original Message- From: Arto Pastinen [mailto:[EMAIL PROTECTED] Sent: Wednes

Re: Rebuild

2004-03-17 Thread Arto Pastinen
Yes i think that maven will compile files always. About that class file is newer that java file, do you mean timestamp in filesystem? i don't think that it would tell nothing about that is source modified.. And of course you can define always other compiler, that default javac. There is some proper

RE: Maven war plugin

2004-03-17 Thread Joe Germuska
At 2:37 PM +0100 3/17/04, Nicolas Cazottes wrote: Actually, I want, in my war, to exclude all files that are for Images, Javascript or purely static Html content. All that files are in a dedicated directory under the web one (which is the root of my web app that I configure as maven.war.src). Whate

Information about the methods available on POM

2004-03-17 Thread Vijay V
Hi I am a new user trying to get my hands with maven. I would like to know the list of all methods that are available on the pom. I see few functions like - "${pom.inceptionYear.equals("currentYear")} "${pom.build.resources.isEmpty()}" "${pom.getDependencyPath('aritifact')}" There should be lot

RE: Maven war plugin

2004-03-17 Thread Nicolas Cazottes
Here is my configuration in details : build.properties: maven.war.src=web maven.war.src.excludes=${maven.war.src}/static (I tried also maven.war.src.excludes=static or maven.war.src.excludes=/static) maven.xml: my project directory structure: projectRoot / src

Rebuild

2004-03-17 Thread Daniel Frey
Hi, I have the impression that i.e. - a java file is compiled although the corresponging class files is newer than the java file. Usually in build processes, i.e. a compilation takes only place if there are not classes or the classes are outdated. In maven, I have the impression that it compiles

Re: Rebuild

2004-03-17 Thread Arto Pastinen
Hi! Sorry my bad english, but what do you actually means with that rebuild?? Artsi On Wed, 2004-03-17 at 12:10, Daniel Frey wrote: > Hi there, > > I am using maven for the first time. I think it's great, just what (I > assume) everyone would build on its own when doing big projects. > > After

RE: simian report generation error

2004-03-17 Thread Arto Pastinen
Hi I don't know is there any option in java command (like java -Dmx=), if there is, then maby you can test it in maven command, "maven -D". Otherwise, command maven, is script. linux shell, or dos whateveritis... you can edit it. Artsi On Wed, 2004-03-17 at 15:53, ZHU Beiting wrote: > Hi

RE: More visual project descriptor documentation

2004-03-17 Thread Heritier Arnaud
I like it. Can't you reduce the space between lines ?? Maybe you can use a source tag to enclose your description ?? Arnaud. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mercredi 17 mars 2004 06:43 À : [EMAIL PROTECTED] Objet : More visual project descript

RE: simian report generation error

2004-03-17 Thread ZHU Beiting
Hi, Actually, I found a note in the web about this error. It said for most projects (including the nearly 400,000 LOC JDK 1.4 source base), the default VM size seems to be adequate. So if you encounter: Exception in thread "main" java.lang.OutOfMemoryError you will need to increase the VM h

Rebuild

2004-03-17 Thread Daniel Frey
Hi there, I am using maven for the first time. I think it's great, just what (I assume) everyone would build on its own when doing big projects. After using it now for one week, I've got the impression that the maven scripts do a rebuild anyway, ignoring what really has to be rebuild and what not

RE: Maven war plugin

2004-03-17 Thread Arto Pastinen
Could you send what kind values you have used? On Wed, 2004-03-17 at 15:37, Nicolas Cazottes wrote: > Actually, I want, in my war, to exclude all files that are for Images, > Javascript or purely static Html content. All that files are in a dedicated > directory under the web one (which is the roo

RE: Maven war plugin

2004-03-17 Thread Nicolas Cazottes
Actually, I want, in my war, to exclude all files that are for Images, Javascript or purely static Html content. All that files are in a dedicated directory under the web one (which is the root of my web app that I configure as maven.war.src). Whatever the value I give to maven.war.src.excludes re

RE: Maven war plugin

2004-03-17 Thread Maczka Michal
What do you want to exclude: java classes or "web resources"? "war" plugin uses "java" plugin for compilation of java sources and for exlusion of java classes you can use properties of that plugin. Michal > -Original Message- > From: Nicolas Cazottes [mailto:[EMAIL PROTECTED] > Sent: Wed

Re: Maven war plugin

2004-03-17 Thread Arto Pastinen
Hi callin plugin with "maven war" calls war:war. see line in plugin: Artsi On Wed, 2004-03-17 at 13:14, Nicolas Cazottes wrote: > Hello, > > Currently working on a project with maven, I needed to use the war > plugin with the ${maven.war.src.excludes} property in order to build a > package

Maven war plugin

2004-03-17 Thread Nicolas Cazottes
Hello, Currently working on a project with maven, I needed to use the war plugin with the ${maven.war.src.excludes} property in order to build a packaged Web App. After a while without success, I checked the source code of the war jelly tag and found that the option I wanted to use is not used (or

Rebuild

2004-03-17 Thread Daniel Frey
Hi there, I am using maven for the first time. I think it's great, just what (I assume) everyone would build on its own when doing big projects. After using it now for one week, I've got the impression that the maven scripts do a rebuild anyway, ignoring what really has to be rebuild and what not

simian report generation error

2004-03-17 Thread ZHU Beiting
Hello, I am trying to generate the simian report for my project. I use maven-simiam-plugin-1.2, and I always got an out of memory error like: BUILD FAILED File.. file:/D:/Documents and Settings/zhub/.maven/plugins/maven-simian-plug in-1.2/ Element... ant:simian Line.. 52 Column 71 jav