AW: Project Plugin regarding CPD.

2005-07-05 Thread Sreenivas Mangasandra
Hi Jeff, It works with setting a property in the project.properties file. But I wanted to include it in the project.xml file as reportmaven-pmd-plugin/report reportmaven-simian-plugin/report Something like above. Ex: reportmaven-cpd-plugin/report It tried maven-cpd-plugin,

AW: hello. (Maven generate reports )

2005-07-05 Thread Sreenivas Mangasandra
Hi Arik, So does the Maven version: 2.0-alpha-3 support the java part? Well I want to build an application in java, which could build the code Of the project - nightly builds by using maven and programmatically Generate project reports - by using maven. Ie.. the necessary Project.properties

Re: Maven Validator (maven-xhtml-plugin): Could not start validation: null not found

2005-07-05 Thread Lukas Theussl
Just a comment: I am having basically the same problem with maven 1.1-beta-1 (everything works fine with 1.0.2). However, I noticed something weird: I have a project B that extends project A. If I run 'site' in project A, I get the above error (Could not start validation: null not found),

Re: [M2] Exceptions during static initialization of a TestCase are eaten

2005-07-05 Thread Emmanuel Venisse
This problem is fixed in svn. Emmanuel Crampton, Eric wrote: I have a class which is loaded by my TestCase. That class does some static initialization. In the process of moving my Ant-based project to Maven, some resources weren't set properly which caused that static initialization to

Re: M2 alpha-3 on Mac OS 10.4

2005-07-05 Thread Kristian Nordal
On Jun 30, 2005, at 4:16 PM, Unico Hommes wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mac OS 10.4 I can't seem to get maven-2 alpha-3 going. This is the output I get when I run m2 -v: org.codehaus.classworlds.ConfigurationException: Unhandled configuration (10): b/*.jar

Re: where's the source code package?

2005-07-05 Thread wolfgang
Emmanuel Venisse emmanuel at venisse.net writes: Yes, you need to use subversion for obtain sources. You can set up subversion to pass through firewall able to get source by using subversion a n d ssl: svn co https://svn.apache.org/[..] This works to get around the firewall I'm behind but

Maven commons-jelly.1.0.jar

2005-07-05 Thread Adrian Herscu
Hi all, Anybody tried to use the commons-jelly.1.0.jar with Maven? I have copied commons-jelly.1.0.jar into my %MAVEN_HOME%/lib and when runnnig the site goal I am getting this error: maven-javadoc-plugin:report: [javadoc] Generating Javadoc [javadoc] Javadoc execution [javadoc]

M2 Alpha3 on Windows XP

2005-07-05 Thread Tarun . Jain
Hi All I'm trying to install maven2 on Windows XP. 1)JAVA_HOME=C:\Program Files\Java\jdk1.5.0_03 2) Path=C:\Program Files\Java\jdk1.5.0_03\bin;C:\Program Files\Apache Software Foundation\maven-2.0-alpha-3\bin;%PATH% When I tried m2 --version Got the error as mention below, What could be the

war plugin problems

2005-07-05 Thread Colin Chalmers
Hi, I was playing around with maven, preparing for a dept. demo using the war plugin but am having problems getting the jsp's/images into the war file. I'm running Maven 1.0.2 Project compiles OK, war file is generated with the jars I designated to be part of the war and web.xml is there

Re: war plugin problems

2005-07-05 Thread Vincent Siveton
Hi Colin, Maybe a generic solution but did you set the property maven.war.src as well? Did you set the property maven.war.src.excludes to exclude jsp or images? Cheers, Vincent 2005/7/5, Colin Chalmers [EMAIL PROTECTED]: Hi, I was playing around with maven, preparing for a dept. demo using

Re: M2 Alpha3 on Windows XP

2005-07-05 Thread Emmanuel Venisse
In m2.bat, remove the echo off for see what is the problem. We certainly have ommit some quotes for path with spaces Emmanuel [EMAIL PROTECTED] wrote: Hi All I'm trying to install maven2 on Windows XP. 1)JAVA_HOME=C:\Program Files\Java\jdk1.5.0_03 2) Path=C:\Program

classes packed into jar files inside war artifact

2005-07-05 Thread fenallen
Hi, I notice that this jira issue http://jira.codehaus.org/browse/MPWAR-30 addresses the issue of placing java classes within jar files when building a .war artifact rather than the Maven default of using the WEB-INF/classes directory. This is a feature I would very much like to see. I

AW: M2 Alpha3 on Windows XP

2005-07-05 Thread Sreenivas Mangasandra
Hi Tarun, It seems everything is correct. But when maven responds only if it is in the path. -- path JAVA_HOME has to point to the java directory. C:\maven-2.0-alpha-3\bin (my folder path) has to be included in the path It is possible that you have done this. Have you closed the current

Re: AW: M2 Alpha3 on Windows XP

2005-07-05 Thread Kenney Westerhof
On Tue, 5 Jul 2005, Sreenivas Mangasandra wrote: Known problem. Solution: Use the shortnames in the classpath and path. I.e.: 1) JAVA_HOME=C:\PROGRA~1\Java\jdk1.5.0_03 2) Path=C:\Progra~1\Java\jdk1.5.0_03\bin;C:\PROGRA~1\APACHE~1\maven-2.0-alpha3\bin;%PATH% -- Kenney Hi Tarun, It seems

RE: AW: M2 Alpha3 on Windows XP

2005-07-05 Thread Tarun . Jain
Hi All Problem is solved but I'm not convinced with the solution. Earlier I have set PATH variable in user variables as PATH=C:\Program Files\Java\jdk1.5.0_03\bin;C:\Program Files\Apache Software Foundation\maven-2.0-alpha-3\bin;%Path% I got the error as mentioned earlier. Then I tried

Re: war plugin problems

2005-07-05 Thread Colin Chalmers
Vincent, You're right, there was a setting overwriding my war.src path. Problem solved THX! /c Vincent Siveton wrote: Hi Colin, Maybe a generic solution but did you set the property maven.war.src as well? Did you set the property maven.war.src.excludes to exclude jsp or images? Cheers,

RE: AW: M2 Alpha3 on Windows XP

2005-07-05 Thread Kenney Westerhof
On Tue, 5 Jul 2005 [EMAIL PROTECTED] wrote: You have to reboot (or maybe log out/log in or kill EXPLORER.exe) to make the environment variables visible in the cmd shell (starting a new shell doesn't always work). You could also always manually set them in the cmd line.. Btw, I tested the batch

Ant script Maven 2

2005-07-05 Thread Christopher Haskins
Hi, We have a lot of ANT script that are used to build our product and I am currently trying to setup maven 2 to do this task for us. We would ideally like to keep these scripts and I noticed that Maven 1 would run ANT scripts. Is it possible to do this in M2? Also has anyone got the SCM

RE: where's the source code package?

2005-07-05 Thread Jeff Jensen
What do you find clumsy about it? I like it. Whether I have a script that does a svn co or a wget (for other products), either is faster than manually downloading. Partciularly, svn maintains the user workspace, removing no longer needed files. I find it the easiest and fastest manner.

RE: Maven Validator (maven-xhtml-plugin): Could not start validation: null not found

2005-07-05 Thread Jeff Jensen
I found using 1.5 eliminates the problem (did you see my follow-up post?). I have not pursued making 1.4 work though. I think all it will take for 1.4 (famous last words :-) is setting org.xml.sax.driver, but again I have not done so. Thanks for your insight. If you find the solution, please

RE: Maven, CruiseControl, multiple projects Best Practices

2005-07-05 Thread David Jackman
For item 1, reality does not always follow as you'd hope. This is simply the order that CC looks through projects to see if it should build. By ordering the projects this way in the configuration, you can reduce the possibility that server will build before common if both have changes, but you

Re: Project Plugin regarding CPD.

2005-07-05 Thread Jamie Bisotti
CPD is not its own plugin; it is part of the PMD plugin. Speciyfing the property mentioned above, is the only way to currently get it to run. On 7/5/05, Sreenivas Mangasandra [EMAIL PROTECTED] wrote: Hi Jeff, It works with setting a property in the project.properties file. But I

AW: Project Plugin regarding CPD.

2005-07-05 Thread Sreenivas Mangasandra
Hi I have solved the problem by including the maven.pmd.cpd.enable=true in the properties file. Sreenivas. -Ursprüngliche Nachricht- Von: Jamie Bisotti [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. Juli 2005 16:43 An: Maven Users List Betreff: Re: Project Plugin regarding CPD. CPD

Re: AW: M2 Alpha3 on Windows XP

2005-07-05 Thread Jamie Bisotti
I use the following in a batch file to set up my environment; works fine for XP SP1 SP2. I never set the System environment variables; I use a batch file to set up my individual command prompts/consoles. env.bat: @echo off echo. echo Setting up environment... @REM @REM Set any necessary

RE: [m2] javacc plugin

2005-07-05 Thread Donszelmann, Mark
Hi the plugin we wrote for javacc is not really a patched version of the the maven-javacc-plugin. I did not open a jira issue yet, as I considered it to be 'competitive' with the maven-javacc one and felt it not-done to add it as issue to their list. When we started using m1, we thought the

[m1] Set a property in the project's run by the reactor

2005-07-05 Thread Geoffrey
I use the reactor to call test:compile on each of my subprojects, but maven.test.skip=true so they don't compile. I can't set maven.test.skin=true by default because my normal jar:install must work without calling all our test cases (which takes way to long). Doing a j:set doesn't work as it

Re: classes packed into jar files inside war artifact

2005-07-05 Thread fenallen
Jamie Bisotti wrote: That patch is not currently included anywhere; I think it still needs some work to make it production ready. Also, there doesn't seem to be all that much support for it, so I wouldn't count on it being included anytime soon. Thanks for the reply Jamie. That's a real

Pass project classpath into ant file? (M-102)

2005-07-05 Thread Aidan Donohoe
Hi, Does anyone know how to pass the project classpath (maven.dependency.classpath) into an ant file which can use it as a path? I can pass properties successfully, but after reading docs and searching, I cannot find a way to pass in maven.dependency.classpath such that a ant java task (in an

Re: Maven commons-jelly.1.0.jar

2005-07-05 Thread dan tran
Adrian, maven 1.1-beta-1 supports commons-jelly-1.0, perhaps you can try that so that if any problem you find can be fixed at the released time. -D On 7/5/05, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, Anybody tried to use the commons-jelly.1.0.jar with Maven? I have copied

Re: Ant script Maven 2

2005-07-05 Thread dan tran
Christopher, From messages i saw on maven-scm developement, maven-scm-plugin will be suported in maven-scm alpha 2. http://jira.codehaus.org/browse/SCM-48?page=all -D On 7/5/05, Christopher Haskins [EMAIL PROTECTED] wrote: Hi, We have a lot of ANT script that are used to build our

Re: [m1] Set a property in the project's run by the reactor

2005-07-05 Thread dan tran
I do know that setting the property thru systemscope before calling the reactor would work for example: ${systemScope.setProperty(statusVar, statusValue)} -D On 7/5/05, Geoffrey [EMAIL PROTECTED] wrote: I use the reactor to call test:compile on each of my subprojects, but

Re: Ant script Maven 2

2005-07-05 Thread dan tran
Ant support may already in m2 alpha3 using marmalade mojo. Check out the archive. -D On 7/5/05, dan tran [EMAIL PROTECTED] wrote: Christopher, From messages i saw on maven-scm developement, maven-scm-plugin will be suported in maven-scm alpha 2.

Need help with Artifact Type Handler and dist plugin.

2005-07-05 Thread Helck, Christopher
I have a maven.xml which tars up some special files and deploys them to my repository. I'm having problems with the deploy part because I'd like the files to be deployed to a distrubutions directory just as if I were using maven-dist-plugin. I'd like to use maven-dist-plugin's ArtifactTypeHandler

Re: Maven commons-jelly.1.0.jar

2005-07-05 Thread Adrian Herscu
Interesting what surprises are hidden behind Maven 1.1-beta-1... dan tran wrote: Adrian, maven 1.1-beta-1 supports commons-jelly-1.0, perhaps you can try that so that if any problem you find can be fixed at the released time. -D On 7/5/05, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all,

Re: AW: hello. (Maven generate reports )

2005-07-05 Thread Arik Kfir
Hi Sreenivas, I'm afraid I'm not that proficient with Maven 2 yet. I know it was designed from the ground up to be embedded, but I do not know the specifics. Perhaps someone from the Maven developers team could answer your questions better. Arik. Sreenivas Mangasandra wrote: Hi Arik,

Maven2 and jaxb plug in

2005-07-05 Thread Vitaliy Geraymovych
Hi All, Sorry for the beginners question but I was unable to find answer anywhere else. I am currently playing with Maven 2 with the goal of replacing our ant build script. I got stuck trying to add jaxb generation to the project. I added maven-jaxb-plugin plug in to the plugins section but can't

[CLI] two different versions of commons-cli-1.0.jar?

2005-07-05 Thread Hansine Jensen
When you download from http://jakarta.apache.org/site/downloads/downloads_commons-cli.cgi you get cli-1.0.zip which is the original distribution from November 2002 containing commons-cli-1.0.jar corresponding to http://svn.apache.org/repos/asf/jakarta/commons/proper/cli/tags/CLI_1_0/ But if you

Generate sources example [was: Re: Maven2 and jaxp plugin]

2005-07-05 Thread Jason van Zyl
On Tue, 2005-07-05 at 21:20 -0400, Vitaliy Geraymovych wrote: Thanks, I will definitely post in into the group once I can make it run :) But right now no matter what I set in execution and goal m2 always does nothing in resources phase. Here is my latest execution

[M1] How to automate builds with Maven 1

2005-07-05 Thread Rahul
Greetings, I would like to understand what would be a good way to go about doing the following. 1) checkout the project : I would like to checkout only required folders for a project, like, java sources, web application and resources folder. Is there a way to filter these via properties or