Re: table vs. div tag in site

2005-04-27 Thread Brett Porter
Actually, db.apache.org was done with an older version of Maven. You can get that look and feel, using the approach, using maven.xdoc.theme=classic. Note that the table style is definitely not a good way to be doing layout, and the web is moving much more towards (albeit slowly) CSS driven layout

RE: table vs. div tag in site

2005-04-27 Thread Jörg Schaible
Daniel Frey wrote on Wednesday, April 27, 2005 4:42 PM: > Hello > > I am revising my sites css. I would like the left navigation > column to have ist gray background going to the bottom of the > page. Trying to find out how this can be achieve I have found > that there are two different types of

Re: [m2] POM inheritance

2005-04-27 Thread Brett Porter
John has just made a final fix. So, to summarise the behaviour here: - is inherited - elements are merged together during inheritence - is NOT inherited - the final plugin management values are merged into the element of the POM being built. The downside here is that there is no way to exclud

dist plugin help

2005-04-27 Thread phillip rhodes
Hi, I am trying to use the dist plugin to push source and binary distributions to my remote website. When I invoke the goal, it is trying to push the distributions to login.ibiblio.org. I do not see a documented property for the goal that controls the destination of the distribution. I have set s

Re: jvm and test plugin

2005-04-27 Thread Brett Porter
In Maven 1.0.2, you have maven.junit.fork = on or off. The first one does it every time, the latter never does it - using the Maven JVM which can sometimes cause test failures, in particular with XML parsers. This is resolved in Maven 1.1 (not yet released), and you can use forkmode="once" which f

Re: M2: Multiple repositories for dependencies

2005-04-27 Thread Brett Porter
If you define your maven-proxy repository with central it will override the one built into Maven. However the real solution you are looking for is to be able to say "my maven-proxy repo is what I use instead of ibiblio". This requires the mirror concept that can be put into settings.xml, which is

starting rmiregistry via maven.xml

2005-04-27 Thread Doug Douglass
Anyone have examples of starting/stopping rmiregistry via pre/postGoal in maven.xml. It looks like the jelly JMX library could handle this, but I'm not sure where to install it so maven will find it. TIA, Doug - To unsubscribe,

Re: Single WAR from multiproject

2005-04-27 Thread Arik Kfir
Yes, in the main project add a file called "maven.xml" - you can write your own goals there. Simple write this in the file: this should do the trick. have a good one! [EMAIL PROTECTED] wrote: Hi, Thanks!! That works great. Only problem is that I now require two steps - the multiproject ja

Re: Single WAR from multiproject

2005-04-27 Thread dhay
Hi, Thanks!! That works great. Only problem is that I now require two steps - the multiproject jar:install from the top directory, and then the webapp war from the webapp sub-directory. Is there any way to get maven to do both in a single command? cheers, David |-+

RE: Multiproject cactus problem

2005-04-27 Thread Vincent Massol
Wow, thanks Eric. I didn't even remember this! ;-) -Vincent > -Original Message- > From: Eric Lapierre [mailto:[EMAIL PROTECTED] > Sent: mercredi 27 avril 2005 19:09 > To: 'Maven Users List'; '[EMAIL PROTECTED]' > Subject: RE: Multiproject cactus problem > > There was a bug in cactus plu

Re: setting maven Goal

2005-04-27 Thread Jason van Zyl
On Wed, 2005-04-27 at 18:08 +0200, Damien Sauvageot wrote: > Hi, > > I juste had a try to continuum which I just discovered. Install is > really easy, installing maven1 project also. > checkout and compilation is working fine but when I try to change the > goal to set for example site:deploy, it

RE: Multiproject cactus problem

2005-04-27 Thread Eric Lapierre
There was a bug in cactus plugin 1.6.x that started to appear with the removal of the maven.compile.target default plugin property from the maven java plugin 1.5. This has been fixed in cactus plugin 1.7. http://mail-archives.apache.org/mod_mbox/jakarta-cactus-dev/200412.mbox/%3C1 [EMAIL PROTECTED

table vs. div tag in site

2005-04-27 Thread Daniel Frey
Hello I am revising my sites css. I would like the left navigation column to have ist gray background going to the bottom of the page. Trying to find out how this can be achieve I have found that there are two different types of maven sites on the web: 1. Those I get where the left and body column

Re: [m2] POM inheritance

2005-04-27 Thread Peter van de Hoef
Hi John, I've been away for a while and see that a lot of activity has been going on in the meantime! Since I am just an m2 newbee, I cannot oversee if the issues arround and sections have been resolved now. So I filed the issue anyway (http://jira.codehaus.org/browse/MNG-362). Please ignore it

AW: Test-plugin versus jcoverage-plugin?

2005-04-27 Thread Darren Hartford
First, the answer is B.S., but here it is: http://mailman.jcoverage.com/pipermail/jcoverage-user/2004-November/0002 34.html Basically, if you are using Log4j, and setting up a Logger in the class you are testing, jCoverage will croak. Tested on my scenario, removed Logger code, and everything su

Re: Single WAR from multiproject

2005-04-27 Thread Arik Kfir
oh, in addition, I would recommend running jar:install on each of the other projects (you can do this more easily using the multiproject plugin - http://maven.apache.org/using/multiproject.html) - running jar:install will "install" the new generated jar of that project into the repository, from

RE: Test-plugin versus jcoverage-plugin?

2005-04-27 Thread Darren Hartford
Ah, silly me missing the most obvious place, thanks David. The test-reports did get generated, and here is the error it states (for all 6 error cases for my test): == (class: org/blah/MyClass, method: signature: (Ljava/util/Properties;)V) Illegal constant pool index java.lang.VerifyE

Re: Single WAR from multiproject

2005-04-27 Thread Arik Kfir
I assume you have one project containing the web application (prolly src/webapp), and the other three generate the class files, which result in JAR files that should be placed in the WEB-INF/lib, correct? If so, simply have the webapp project use the other three as dependencies, and in each dep

Single WAR from multiproject

2005-04-27 Thread dhay
Hi, We have 4 multiprojects which we build using Maven. However, now we want to create a War file from the output of all 4. How can I get Maven to do this? cheers, David - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [m2] plugins as dependencies vs plugin in

2005-04-27 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not 100% sure when I say this, but you should NEVER need to specify a plugin as a dependency of a project. It will not be bound into the build lifecycle, and cannot be configured here...in short, it's not seen as a plugin, but as a compile-, run-,

Re: [m2] POM inheritance

2005-04-27 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm looking at: - - org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler - - org.apache.maven.project.injection.DefaultModelDefaultsInjector and here's what I see: - - Combination of inherited sections (both parent and child have

maven site Exception

2005-04-27 Thread Zhang, Min [IT]
When I use 'maven site', down to Generation the Source Xref... [echo] Generating the Source Xref... maven-jxr-plugin:report: [echo] PackageManager -> parsing... com/.../action/CCSActionForm.java PackageManager -> parsing... com/.../action/CCSAction.java java.io.FileNotFoundException: /x

Multiproject cactus problem

2005-04-27 Thread Dary Dominik
hello, i generated an maven project with the maven plugin genapp. I used the template complex. in this generated project are cactus tests includet. i can run the maven command and the build is successfull. if i run the following command, i got an error: command: maven multiproject:cactus error m

multiproject layout advice

2005-04-27 Thread Doug Douglass
This may be slightly off topic, if so, any pointers to whom to ask are appreciated. I'm trying to convert a project with a simple shell script build (producing two jar artifacts) to use maven. The project is a fairly simple proxy using RMI, so my thinking was to have three separate sub-project

[m2] plugins as dependencies vs plugin in

2005-04-27 Thread J. Matthew Pryor
What are the practical differences of specifying a POM dependency of type plugin org.apache.maven.plugins maven-compiler-plugin 1.0-alpha-2-SNAPSHOT plugin WHAT WOULD GO HERE vs. a plugin entry in org.a

RE: [m2] POM inheritance

2005-04-27 Thread J. Matthew Pryor
>From the docs here http://maven.apache.org/maven2/project-descriptor.html#Build about the element Any local configuration for a given plugin will override the plugin's entire definition here. So what constitutes 'local configuration'. If I am to reference the plugin, enough to invoke the confi

Re: [m2] POM inheritance

2005-04-27 Thread Peter van de Hoef
That's all right, no problem. In that way I can add a small contribution to the great work you are doing! I will add some test files as attachment. John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'll try to put together a test and fix whatever's causing this. Hate to say this agai

Re: [m2] POM inheritance

2005-04-27 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'll try to put together a test and fix whatever's causing this. Hate to say this again, but would you mind submitting a JIRA issue for it? :) That'll remind me. Peter van de Hoef wrote: > Hi John, > > Thanks for your help. So is used for specifying

RE: Test-plugin versus jcoverage-plugin?

2005-04-27 Thread David Jackman
This wasn't the information I was asking for. What do the test reports say? For the tests I had that were failing, there were two reasons: security failures (for the test that require a security manager I needed to add some additional permissions to the policy file) and test code trying to fi

RE: Test-plugin versus jcoverage-plugin?

2005-04-27 Thread Jörg Schaible
Hi Darren, Darren Hartford wrote on Wednesday, April 27, 2005 3:31 PM: > Hi David, > When running "maven test", I get the expected results: > > === > [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: > 4.875 sec === > > But, when I try "maven jcoverage", I get: > > ==

RE: Test-plugin versus jcoverage-plugin?

2005-04-27 Thread Darren Hartford
Hi David, When running "maven test", I get the expected results: === [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 4.875 sec === But, when I try "maven jcoverage", I get: == [junit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 0.344 sec [junit] [ERROR

RE: M2: Multiple repositories for dependencies

2005-04-27 Thread Jörg Schaible
Hi Peter, Peter van de Hoef wrote on Wednesday, April 27, 2005 1:59 PM: >> Can I prevent M2 fropm looking at ibiblio at all ? Necessary if >> you've working with maven-proxy. >> > > I don't think so. You could try to run M2 with the -o flag. I > think repo's on the file system are still used.

RE: M2: Multiple repositories for dependencies

2005-04-27 Thread vijayakumar.lakshmanan
In this approach , check it whether it accepts Artifact versions within that I thing it has some problem -Original Message- From: Peter van de Hoef [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 5:27 PM To: Maven Users List Subject: Re: M2: Multiple repositories for dependenci

Re: M2: Multiple repositories for dependencies

2005-04-27 Thread Peter van de Hoef
Can I prevent M2 fropm looking at ibiblio at all ? Necessary if you've working with maven-proxy. I don't think so. You could try to run M2 with the -o flag. I think repo's on the file system are still used. - To unsubscribe, e-ma

Re: M2: Multiple repositories for dependencies

2005-04-27 Thread Peter van de Hoef
You can also use the file:// protocol in the url: my_repo My Repository file://path/to/file/based/repository Binoy K. Shah wrote: Thanks, But I want it to retrieve it from my local machine and not a http based server -Binoy -Orig

RE: M2: Multiple repositories for dependencies

2005-04-27 Thread Binoy K. Shah
Thanks, But I want it to retrieve it from my local machine and not a http based server -Binoy -Original Message- From: Peter van de Hoef [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 5:17 PM To: Maven Users List Subject: Re: M2: Multiple repositories for dependencies You c

RE: M2: Multiple repositories for dependencies

2005-04-27 Thread Jörg Schaible
Peter van de Hoef wrote on Wednesday, April 27, 2005 1:47 PM: > You can specify something like this in your POM: > > > > my_repo > My Repository > http://repository.myorganization.org > >

Re: M2: Multiple repositories for dependencies

2005-04-27 Thread Peter van de Hoef
You can specify something like this in your POM: my_repo My Repository http://repository.myorganization.org Maven will automatically try to download from ibiblio first and the

RE: M2: Multiple repositories for dependencies

2005-04-27 Thread vijayakumar.lakshmanan
It's possible u can achieve through property property.jar Property.jar is the custom jar U can copy it under below location manually C:\Documents and Settings\lvijaya\.maven\repository\property\jars\property.jar Hope u got what I am trying to say -Original Messa

M2: Multiple repositories for dependencies

2005-04-27 Thread Binoy K. Shah
Hi, My project uses lot of custom or commercial libraries which I can not publish to ibiblio.org Is it possible to configure maven 2 such that it pulls the available dependencies from ibiblio.org and when ever some custom jar is required it pulls it from my local repository. Regards, -Binoy -

RE: Problem while generating source code using maven's castor plu gin

2005-04-27 Thread Dinesh Pandey
Hi Kevin, Thanks for this. So, do you think I should add rt.jar as a dependency in project.xml? Cheers, Dinesh Pandey -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 4:40 PM To: Maven Users List Subject: Re: Problem while generating so

Re: Can i pass below mentioned ....

2005-04-27 Thread Kenney Westerhof
On Wed, 27 Apr 2005 [EMAIL PROTECTED] wrote: use maven -Dmaven.scm.tag=latest > > Hi All, > > > > Can i pass below mentioned variable through command prompt > > instead of specifying it through property file > > > > maven.scm.tag = latest ( this is used for getting source > >

Re: Problem while generating source code using maven's castor plugin

2005-04-27 Thread Kenney Westerhof
On Wed, 27 Apr 2005, Dinesh Pandey wrote: The file sun/reflect/ConstructorAccessorImpl.class should be in $JAVA_HOME/jre/lib/rt.jar, which is always in the classpath. Can you check if it is? > Hi All, > > > > I am getting the following error while trying to generate the source code > using maven'

Can i pass below mentioned ....

2005-04-27 Thread vijayakumar.lakshmanan
Hi All, Can i pass below mentioned variable through command prompt instead of specifying it through property file maven.scm.tag = latest ( this is used for getting source which is labeled with latest ) clue appriciated Rgds Vijay Confidenti

RE: I have checkout problem with CVS

2005-04-27 Thread GOKULAM Jayaram
Vijay, The attachment isn't clear. Can u copy and paste ur console. Regards, Jayaram From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 4:31 PM To: users@maven.apache.org Subject: I have checkout problem with CVS Hi Al

I have checkout problem with CVS

2005-04-27 Thread vijayakumar.lakshmanan
Hi All,   I have below problem in my current development , I need some clue to solve The below mentioned problem ?   Any idea is appreciated !           Rgds   Vijay Confidentiality Notice The information contained in this electronic message and any attachments to

jvm and test plugin

2005-04-27 Thread Jan Rudert
Hi, do I understand right, that Maven-test-plugin starts and shuts down a jvm for each test? how can i change this to run all tests in a single jvm consecutively? thanks jan Jan Rudert neofonie GmbH

Problem while generating source code using maven's castor plugin

2005-04-27 Thread Dinesh Pandey
Hi All, I am getting the following error while trying to generate the source code using maven's castor plugin. Could anyone please help me? C:\SHPS_Repo\da>maven java:compile __ __ | \/ |__ _Apache__ ___ | |\/

Re: [m2] POM inheritance

2005-04-27 Thread Peter van de Hoef
Hi John, Thanks for your help. So is used for specifying plugin versions and configuration parameters, whether they are used or not. This will be inherited by child projects. The section is just a list of plugins that will actually be used. This list has to be repeated in a child project though

RE: need to pass CVS label information as version of the artifact

2005-04-27 Thread Jörg Schaible
[EMAIL PROTECTED] wrote on Wednesday, April 27, 2005 9:04 AM: > Hi All, > > I have written a maven build script which will take the source code > from the CVS and build the artifacts with the versions defined in the > project.xml. > > But i want to eliminate to pass artifact version manually > f

Re: [m2] Multiproject & Dependecies

2005-04-27 Thread Nicolas Chalumeau
Personnaly I use eclipse with my multiprojects. I define 1 project per subproject (as most the other developer in it allways work on only a part and I manage all of them). In fact, in my case I don't see any need to use a multiproject structure directly in eclipse (i really like command line with

need to pass CVS label information as version of the artifact

2005-04-27 Thread vijayakumar.lakshmanan
Hi All, I have written a maven build script which will take the source code from the CVS and build the artifacts with the versions defined in the project.xml. But i want to eliminate to pass artifact version manually from project.xml, instead it should be picked up from the CVS labelling