Re: [m2] How does m2 recognize junit tests to be executed?

2005-08-11 Thread Ralph Pöllath
On 11.08.2005, at 02:42, Chris Wall wrote: It appears that Maven executes *Test.class classes. Is this documented? I think that's JUnit's default behaviour. Cheers, -Ralph. -Original Message- From: Chris Wall Sent: August 10, 2005 7:30 PM To: users@maven.apache.org Subject: [m2]

RE: [WEBTEST] Problem during the execution

2005-08-11 Thread Faucher Aurélie
Hello, You have no idea about this problem? Anyone have even seen it? Thank you for your help! Aurélie -Message d'origine- De : Siegfried Goeschl [mailto:[EMAIL PROTECTED] Envoyé : mercredi 10 août 2005 19:42 À : Maven Users List Objet : Re: [WEBTEST] Problem during the execution Hi

RE: [WEBTEST] Problem during the execution

2005-08-11 Thread Faucher Aurélie
Hi, - The previous version of the plugin is not installed. There is only the 1.2 version. - The webtest samples run plainly - There are problems with my application when I launch - maven webtest- . [java] Apache Ant version 1.6.5 compiled on June 2 2005 [java] Buildfile:

RE: [WEBTEST] Problem during the execution

2005-08-11 Thread Faucher Aurélie
I tried to execute webtest -buildfile myFile.xml and it works. So the problem is to execute webtest with maven. Aurélie -Message d'origine- De : Faucher Aurélie Envoyé : jeudi 11 août 2005 09:44 À : Maven Users List Objet : RE: [WEBTEST] Problem during the execution Hi, -

RE: [WEBTEST] Problem during the execution

2005-08-11 Thread Faucher Aurélie
Hello, I've one question about maven webtest : What must maven webtest:test do? Aurélie -Message d'origine- De : Faucher Aurélie Envoyé : jeudi 11 août 2005 09:51 À : Maven Users List Objet : RE: [WEBTEST] Problem during the execution I tried to execute webtest

Re: [Fwd: [M1] How to output java:compile log to file]

2005-08-11 Thread Keisuke Matsubara
Thank you dan, I had tried your suggestion on hpux 11i. But the return code probrem have not been resolved. script calling maven can take correct return code from maven. I create a script calling maven like following. ui.sh -- callmaven.sh -- maven When maven return not zero ,the code at

InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Walsh, Richard \(Richard\)
Hi, I have the following problem with my maven.xml file, it gives the following error. I am using maven 1.0.2. It also happens with 1.0-rc3. Anyone any ideas, Thanks, Richie. C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecodemaven __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent

RE: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Walsh, Richard \(Richard\)
When I do a maven -e I get the following. The line that is causing this is in the maven.xml and is: echo message=maven.junit.sysproperties=${maven.junit.sysproperties}/ ERROR : C:\maven\dsapi-mx\Dub_MX_Dsapi\sourcecodemaven -e __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V /

Re: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Edwin Punzalan
Try changing it to: echomaven.junit.sysproperties=${maven.junit.sysproperties}/echo Walsh, Richard (Richard) wrote: When I do a maven -e I get the following. The line that is causing this is in the maven.xml and is: echo

RE: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Walsh, Richard \(Richard\)
Hi Edwin, I tried this with no luck. I also tried commenting the echo out, it simply moved to the next ehco and complained about it. Thanks, Richie. -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: 11 August 2005 10:27 To: Maven Users List Subject: Re:

RE: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Walsh, Richard \(Richard\)
Hi Brett, No, it does not reference itself, and when I comment out the echo it simply barfs at the next echo it hits, even to the point where it starts barfing at the ehco tags in the jelly files. Thanks, Richie. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: 11

Re: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Edwin Punzalan
I think Brett's reply is more realistic. ^_^ Walsh, Richard (Richard) wrote: Hi Edwin, I tried this with no luck. I also tried commenting the echo out, it simply moved to the next ehco and complained about it. Thanks, Richie. -Original Message- From: Edwin Punzalan [mailto:[EMAIL

M2 Proxy Settings?

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, Are these the proper settings to specify a proxy in M2? settings proxies proxy activetrue/active protocolhttp/protocol host172.16.12.1/host port80/port username/ password/ nonProxyHostswww.google.com|*.somewhere.com/nonProxyHosts /proxy

Re: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Vitaliy Geraymovych
I had similar problem when some of my goals and preGoals created infinite loop as Brett suggested. What interesting it was failing with StackOverflow on echo command. Check your maven.xml. Vitaliy On 8/11/05, Edwin Punzalan [EMAIL PROTECTED] wrote: I think Brett's reply is more realistic. ^_^

RE: M2 Proxy Settings? SOLVED!

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
Never mind. I missed the fact that I need a setting.xml in my {user_home}/.m2 directory. Thanks, -Original Message- From: Hogeweg, Erwin (GE Infrastructure) Sent: Thursday, August 11, 2005 7:41 AM To: Maven Users List Subject: M2 Proxy Settings? All, Are these the proper

[m1] Xdoc open in new window and external link

2005-08-11 Thread Jeff Jensen
I am struggling to find out how to have a link open in new window, particularly in navigation.xml. I have looked all over the xdoc files in Maven 1.1 source, and have not found an example. I also looked through the xdoc plugin docs and to the Jakarta-Site tag instructions, but didn't find the

Re: [m1] Xdoc open in new window and external link

2005-08-11 Thread Gisbert Amm
What about item name=Name href=URL target=_blank/? If I do understand correctly what you're looking for ... Regards, Gisbert Amm Jeff Jensen wrote: I am struggling to find out how to have a link open in new window, particularly in navigation.xml.

how to specify compiler options in M2?

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, I need to specify the source 1.4 for my code. Could anyone tell me please how to specify that in M2. Thanks, ERwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: how to specify compiler options in M2?

2005-08-11 Thread Kristian Nordal
On Aug 11, 2005, at 3:52 PM, Hogeweg, Erwin ((GE Infrastructure)) wrote: All, I need to specify the source 1.4 for my code. Could anyone tell me please how to specify that in M2. There's an example with the maven-compiler-plugin in the getting started guide.

junit-report plugin

2005-08-11 Thread berndq
All, is there a way to - get a clickable link in the error report which gets one to the corresponding test in TestXRef? - get a green/reed bar in the report? e.g. the field success rate could be colored? Bernd - To

Re: [m1] Xdoc open in new window and external link

2005-08-11 Thread Arnaud HERITIER
It's certainly not documented :-( but gisbert gave you the good answer. the navigation.xsd wasn't updated because it was in core and not in xdoc plugin. Can you open an issue to add the doc and update the schema please. Thx Arnaud On 8/11/05, Gisbert Amm [EMAIL PROTECTED] wrote: What about

RE: maven2: creatin jar files

2005-08-11 Thread Rizwan Merchant
thats exactly what I am looking for. I cant find any documentation detailing how I can set include/exclude options, etc. I looked at the jar plugin for maven2, and it says nothing about these options. Am I missing something?? Thanks, -Riz. -Original Message- From: dan tran [mailto:[EMAIL

RE: how to specify compiler options in M2?

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
Thanks, I have scrolled that page up and down at least a dozen times but missed it every time. I knew I read it somewhere. Thanks again, Erwin -Original Message- From: Kristian Nordal [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 10:10 AM To: Maven Users List

[m1] xdoc fillbuf error on jdepend-report.xml

2005-08-11 Thread Jeff Jensen
This has been running flawlessly for 2 to 3 months, and now am getting this error the past few days on xdoc parsing of the jdepend report file. The archives has nothing on fillbuf...Any guidance on this? Does it mean full buffer? I searched through its plugin.jelly file, but did not see buffer

M2 compile fails on compiler warnings

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, I have no idea if this is an other stupid newbie statement, but this doesn't seem correct. Although there are only compiler warnings, M2 seems to assume that the compilation goal failed. B.T.W. is there a way to specify the compiler nowarn flag? I didn't see it in the compiler

Help using jikes with maven

2005-08-11 Thread Jack Carden
I'm new to maven and geronimo, but I like what I see here. I've now built geronimo-1.0.M4 for the first time with JDK 1.4.2 and maven 1.0.2. I'm trying to configure my geronimo project to compile with jikes. I have set in project.properties: maven.compile.executable=jikes

[m2] MavenRunner for Eclipse q?

2005-08-11 Thread Alexander Azarov
Hello Dear All, I have a couple of questions. 1. How may I make maven2 plugin from jars? I mean I have no source code, but need to build up a plugin from the jar files I have. Is it possible? 2. A complex question about developing Maven2 support in Eclipse. We are developing a kind of build

Re: M2 compile fails on compiler warnings

2005-08-11 Thread Kenney Westerhof
On Thu, 11 Aug 2005, Hogeweg, Erwin (GE Infrastructure) wrote: This is fixed in svn, so you'll either have to bootstrap or wait for beta-1. It also has a 'nowarn' configuration setting. -- Kenney All, I have no idea if this is an other stupid newbie statement, but this doesn't seem

RE: maven2: creatin jar files

2005-08-11 Thread Rizwan Merchant
figured it out.. use the resources element under the build to specify which files to include in the jar lifecycle. thanks. -Original Message- From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 10:30 AM To: Maven Users List Subject: RE: maven2: creatin jar

[m2] Reports

2005-08-11 Thread Ron Yust
What reports are available in Maven2? And how do you specify and run them? I could not locate any documentation.

RE: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Walsh, Richard \(Richard\)
Hi, I have had no luck with resolving this issue. There are a number of weblogs around that suggest changing the version of maven etc but I tried this with no luck. It has the same problem under 1.0-rc3 and 1.0.1. Any Maven Developers monitoring this list. If so, any idea what might be wrong. It's

M2: How did I break my JUnit goal?

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
All, For some strange and unknown reason, all of a sudden my JUnit tests won't run anymore (they ran just fine earlier today). I rebooted my machine (windows...) and tried again but with the same result. I seems like a timing issue somewhere because of the socketException at the end.

strange maven 1 problem

2005-08-11 Thread Litton, Tom - CEPM
I'm having a strange problem with the plugin plugin. I've developed a plugin. If I run plugin:install from the plugin project root, it works fine when it runs. However, if i run plugin:download I get the error below when it runs. I've copied the plugin jar to the remote repository, so both

Re: [Fwd: [M1] How to output java:compile log to file]

2005-08-11 Thread dan tran
you are right it is not working for me either. sorry about that. how about this hack? echo someunique string in your log to indicate error, then do a grep on the file ;-) then check grep return code -D On 8/11/05, Keisuke Matsubara [EMAIL PROTECTED] wrote: Thank you dan, I had tried

Passing parameters to maven.xml goals

2005-08-11 Thread Josh
Is this possible? As one of my goals in maven.xml I have a script which publishes certain generated files to a specified web directory. This goal is referenced in the maven builder element of a CruiseControl config file, and is the last step of a successful build. The problem is that I don't

Re: [m1] Xdoc open in new window and external link

2005-08-11 Thread Jeff Jensen
Thank you Gisbert and Arnaud. That works nicely! Where is the maven-navigation-1.0.xsd file hosted? It is not http://maven.apache.org/xsd where I expected... I noticed collapse was also missing from the XSD, so I added that too. I will create the JIRA entry and add patches for doc and

RE: Passing parameters to maven.xml goals

2005-08-11 Thread Litton, Tom - CEPM
maven goals have access to all properties set for that project, plus any that gets passed in on the command line. So, for maven 1, you have 2 options. First, create build.properties file and put the properties you want in that. Second, pass the properties from cruisecontrol config.xml file.

Re: Help using jikes with maven

2005-08-11 Thread Dalibor Topic
Jack Carden wrote: I'm new to maven and geronimo, but I like what I see here. I've now built geronimo-1.0.M4 for the first time with JDK 1.4.2 and maven 1.0.2. I'm trying to configure my geronimo project to compile with jikes. I have set in project.properties:

Re: Passing parameters to maven.xml goals

2005-08-11 Thread Josh
Perfect. I'm surprised I didn't think of that.. thanks for your reply, Tom. Josh On 8/11/05, Litton, Tom - CEPM [EMAIL PROTECTED] wrote: maven goals have access to all properties set for that project, plus any that gets passed in on the command line. So, for maven 1, you have 2 options.

[m2] trunk, r231365 unable to deploy

2005-08-11 Thread John Fallows
Is there a problem with deployment on the m2 trunk, r231365? My project has pom packaging, with a distributionManagement section that contains repository, snapshotRepository and site, yet the maven-deploy-plugin deploy:deploy goal still fails with a null deploymentRepository parameter. See below

Debug[Off-Topic]

2005-08-11 Thread Ricardo de Souza Moura
Hi folks I have been using the mevenide eclipse plugin to developer my aplications in eclipse, but I have a problem that I haven't got resolve (I don't get debug my application in Tomcat). I know the Sysdeo plugin to do the debug, but it need a specific directory structure, and the mevenide

RE: M2: How did I break my JUnit goal? SOLVED!

2005-08-11 Thread Hogeweg, Erwin \(GE Infrastructure\)
Sorry for bothering you. One of the testCases completely blew up. Apparently already in the constructor because none of the tests were run. Again, my apologies for bothering you guys with this. Erwin -Original Message- From: Hogeweg, Erwin (GE Infrastructure) Sent: Thursday,

Re: [m2] marmalade-parent pom 1.0-a3 malformed?

2005-08-11 Thread John Fallows
Seems okay now, after completely deleting my ~/.m2/repository and letting everything dowload again. Kind Regards, John Fallows. On 8/9/05, Brett Porter [EMAIL PROTECTED] wrote: really? it looks ok in the repository. Can you try removing it locally and letting it get downloaded again?

Re: [m2] trunk, r231365 unable to deploy

2005-08-11 Thread John Fallows
Further investigation has yielded more interesting results. :-) In turns out that the maven deploy plugin exception can be made to occur or not occur simply by the presence of a profile in my ~/.m2/settings.xml. Note that the profile does not even need to be active to trigger the missing

Re: [m2] trunk, r231365 unable to deploy

2005-08-11 Thread Kenney Westerhof
On Thu, 11 Aug 2005, John Fallows wrote: There are some problems with profile injection. Btw I can't find that release in svn log at the root dir. Try r231481, it should be fixed. Further investigation has yielded more interesting results. :-) In turns out that the maven deploy plugin

[m2] Dependencies as resources

2005-08-11 Thread Bennett, Timothy (JIS - Applications)
I've got a jar dependency in my project that I also need to bundle up in the jar archive like a resource. How do I specify this in the M2 POM? Thanks. -- tbennett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [m1] xdoc fillbuf error on jdepend-report.xml

2005-08-11 Thread Arnaud HERITIER
Which jdk are you using ? It's certainly a bug in crimson :-( Arnaud -Message d'origine- De : Jeff Jensen [mailto:[EMAIL PROTECTED] Envoyé : jeudi 11 août 2005 16:38 À : Maven Users List Objet : [m1] xdoc fillbuf error on jdepend-report.xml This has been running flawlessly for

[m2] bootstrapping settings.xml in a corporate environment

2005-08-11 Thread John Fallows
What is the recommended strategy for bootstrapping M2 configuration to use an internal corporate central server, from behind a firewall? For example, is there a location under M2_HOME where a settings.xml could be stored such that it would be picked up automatically when m2 is executed?

RE: [m1] Xdoc open in new window and external link

2005-08-11 Thread Arnaud HERITIER
Thank you Gisbert and Arnaud. That works nicely! Where is the maven-navigation-1.0.xsd file hosted? It is not http://maven.apache.org/xsd where I expected... In subversion (core\trunk\src\xsd\navigation-1.0.xsd) or in the web site : http://maven.apache.org/maven-navigation-1.0.xsd

RE: [m1] xdoc fillbuf error on jdepend-report.xml

2005-08-11 Thread Jeff Jensen
Hi Arnaud, thanks for asking. java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02) Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode) I could install try JDK 5 if you thought it may help. You say bug - I'm not a crimson-knowledgable person -

Re: InvocationTargetException on echo ant:echo in maven.xml

2005-08-11 Thread Vitaliy Geraymovych
Check if you have multiple preGoals to the same goal. In my case I accidentally created two preGoals to java:compile. I was running 1.1-b1. Reorganizing to have just one preGoal for java:compile fixed my problem. Vitaliy On 8/11/05, Walsh, Richard (Richard) [EMAIL PROTECTED] wrote: Hi, I have

RE: [m1] xdoc fillbuf error on jdepend-report.xml

2005-08-11 Thread Arnaud HERITIER
I don't know but with Brett we encountered a lot of problems since we removed xerces in maven 1.1 :-( It's possible that a configuration element exists but I don't know how. Arnaud Hi Arnaud, thanks for asking. java version 1.4.2_03 Java(TM) 2 Runtime Environment, Standard Edition (build

Re: [m2] bootstrapping settings.xml in a corporate environment

2005-08-11 Thread Kenney Westerhof
On Thu, 11 Aug 2005, John Fallows wrote: I've been having similar problems. Let me know if you can effectively disable ALL downloads from repo1.maven.org. I saw that snapshot updates for dependencies of maven2 itself still got downloaded from repo1. I tried specifying repo's in the pom, in

Re: [m2] Reports

2005-08-11 Thread Johnny R. Ruiz
To run reports on M2 you should include reporting tag in your pom.xml. See example below: reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId version1.0-SNAPSHOT/version /plugin /plugins

Re: [m2] bootstrapping settings.xml in a corporate environment

2005-08-11 Thread John Fallows
Thanks for the info Kenney, I'll be sure to send more information to the mailing list as it is discovered. Btw, should we file this as a JIRA issue to make sure that such overriding is explicitly supported by Maven2? Kind Regards, John Fallows. On 8/11/05, Kenney Westerhof [EMAIL PROTECTED]

Re: external dependencies for maven2

2005-08-11 Thread Allan Ramirez
Hi, You can use the maven install plugin for this. install:install-file goal will install your file in your local repository. Regards, allan Rizwan Merchant wrote: Hi, I have some external jar files that do not follow the naming conventions desired by maven2. take for example a jar file

Adding APT ant task to Maven - how?

2005-08-11 Thread Tom Truong
Hi everyone: I am new to using Maven. I have the following APT ant task from build.xml and would like to migrate this function to Maven. Please give me some pointers on how to start? I've checked the list of Maven plugins and dont see any APT related goals. BTW, how to search the previous

Re: [m2] bootstrapping settings.xml in a corporate environment

2005-08-11 Thread Brett Porter
Hi John, You can include settings.xml in M2_HOME - there should be a sample file to edit in the latest release that is used. We are also looking at specific improvements for corporate environments - the JIRA issues are on the roadmap if you'd like to add your thoughts/watch/vote. Cheers, Brett

Re: Adding APT ant task to Maven - how?

2005-08-11 Thread Manuel G. Chacon
Tom, Ant scripts can usually be called from within a goal in a maven.xml file. It sounds like you want to do some type of customized build and maven.xml files are usually the way to accomplish this with maven. here is a quick sample of a maven.xml file. Manuel ?xml version=1.0? project

RE: [m1] Xdoc open in new window and external link

2005-08-11 Thread Jeff Jensen
MAVEN-1661 for the schema changes. MPXDOC-156 for the doc changes. -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 5:32 PM To: 'Maven Users List' Subject: RE: [m1] Xdoc open in new window and external link Thank you Gisbert and

precompilation od JSP

2005-08-11 Thread SELVAN Madhaiyan
Dear all, I'm new to the maven. When I doing JSP precompilation process in maven.xml the following scripts I have used. But I get the error class cast exception . How to solve this problem. can any one help me.? Thanks. goal name=precompile-jsp description=Precompile all JSPs into

Re: precompilation od JSP

2005-08-11 Thread Jamie Bisotti
On 8/11/05, SELVAN Madhaiyan [EMAIL PROTECTED] wrote: Dear all, I'm new to the maven. When I doing JSP precompilation process in maven.xml the following scripts I have used. But I get the error class cast exception . How to solve this problem. can any one help me.? Thanks.

Re: [Fwd: [M1] How to output java:compile log to file]

2005-08-11 Thread Keisuke Matsubara
Thank you Dan, I can serve a purpose. I use cat instead of grep. callmaven.sh #!/bin/sh LOG=callmaven.log returncode=0 RCODEFILE=${MAVEN_HOME}/.callmaven.$$.rcode callmaven () { ${MAVEN_HOME}/bin/maven $* returncode=$? echo callmaven code check point 1: ${returncode} echo