Re: [m1.1b1] jdepend plugin problem
ok, I opened a new issue in JIRA. regards, Wim 2005/8/25, Arnaud HERITIER [EMAIL PROTECTED]: No idea Can you check if an issue already exists or can you open one. Arnaud Hi, I get the following error when using the jdepend plugin with Maven 1.1beta1: -- maven maven-jdepend-plugin:report __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-1 build:start: maven-jdepend-plugin:report: java:prepare-filesystem: [mkdir] Created dir: Z:\some more dirs\temp\classes java:compile: [echo] Compiling to Z:\some more dirs/temp/classes [javac] Compiling 4 source files to Z:\some more dirs\temp\classes [mkdir] Created dir: Z:\some more dirs\temp\generated-xdocs Caught exception evaluating: [EMAIL PROTECTED] Reason: java.lang.Exception: size() : null arg java.lang.Exception: size() : null arg at org.apache.commons.jexl.parser.ASTSizeFunction.value(ASTSizeFu nction.java :64) at org.apache.commons.jexl.parser.ASTEQNode.value(ASTEQNode.java:48) at org.apache.commons.jexl.parser.ASTExpression.value(ASTExpressi on.java:47) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl .java:86) at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate( JexlExpression.java:69) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse( ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluate AsBoolean( ExpressionSupport.java:71) at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:44) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.impl.StaticTag.doTag(StaticTag.java:65) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:288) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.jsl.TemplateTag$1.run(TemplateTa g.java:160) at org.dom4j.rule.Mode.fireRule(Mode.java:51) at org.dom4j.rule.Mode.applyTemplates(Mode.java:71) at org.dom4j.rule.RuleManager$1.run(RuleManager.java:148) at org.dom4j.rule.Mode.fireRule(Mode.java:51) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:73) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:65) at org.dom4j.rule.Stylesheet.run(Stylesheet.java:57) at org.apache.commons.jelly.tags.jsl.StylesheetTag.doTag(Styleshe etTag.java :124) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:704) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:668) at org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:644) at org.apache.commons.jelly.tags.core.IncludeTag.doTag(IncludeTag .java:101) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at org.apache.commons.jelly.tags.core.FileTag.writeBody(FileTag.java:162) at org.apache.commons.jelly.tags.core.FileTag.doTag(FileTag.java:60) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java :102) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:79) at
[m1] problem with plug-in auto-download
Hi, I want to use the plug-in auto-download feature so I added dependency groupIdmaven-plugins/groupId artifactIdmaven-izpack-plugin/artifactId version0.3.1/version /dependency to my pom and I have maven.repo.remote=XXX,http://maven-plugins.sf.net/maven But the constructed URL does not seem to be valid: Error retrieving artifact from [http://maven-plugins.sf.net/maven/maven-plugins/jars/maven-izpack-plugin-0.3.1.jar]: java.io.IOException: Unknown error downloading; status code was: 302 The file actually is at http://maven-plugins.sourceforge.net/maven/maven-plugins/plugins/maven-izpack-plugin-0.3.1.jar Notice the additional jar in the crated URL. I would expect a plugins instead. I assume: - repo URL= http://maven-plugins.sourceforge.net/maven - groupID = maven-plugins - plugin type = plugins - artifac = maven-izpack-plugin Is this a bug in URL creation, or RTFM or is the repo at http://maven-plugins.sourceforge.net incorrectly organized? Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] problem with plug-in auto-download
Try: typeplugin/type Also, change the host from sf.net to sourceforget.net (so it doesn't have to do the redirect). - Brett On 8/26/05, berndq [EMAIL PROTECTED] wrote: Hi, I want to use the plug-in auto-download feature so I added dependency groupIdmaven-plugins/groupId artifactIdmaven-izpack-plugin/artifactId version0.3.1/version /dependency to my pom and I have maven.repo.remote=XXX,http://maven-plugins.sf.net/maven But the constructed URL does not seem to be valid: Error retrieving artifact from [http://maven-plugins.sf.net/maven/maven-plugins/jars/maven-izpack-plugin-0.3.1.jar]: java.io.IOException: Unknown error downloading; status code was: 302 The file actually is at http://maven-plugins.sourceforge.net/maven/maven-plugins/plugins/maven-izpack-plugin-0.3.1.jar Notice the additional jar in the crated URL. I would expect a plugins instead. I assume: - repo URL= http://maven-plugins.sourceforge.net/maven - groupID = maven-plugins - plugin type = plugins - artifac = maven-izpack-plugin Is this a bug in URL creation, or RTFM or is the repo at http://maven-plugins.sourceforge.net incorrectly organized? Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] problem with plug-in auto-download
Brett Porter wrote: Try: typeplugin/type thanks, that fixed it! I saw this very nice feature first in the Maven A Developers's notebok There is an example at page 184 of the first edition. This example does not mention the type tag. Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] How to invoke ant scripts from maven
I have a project that build an ant task, and I would like to use maven to build this project :-) During my tests, I would like to invoke an ANT script that use my task, in order to validate that it works as expected. How can I make this. I have first tried to write a JUnit test that call this script, but when I do that, the ant script is not executed in the correct environment (it doesn't have tools.jar in the classpath). It's probably possible to work around, but it will not be easy. I guess a simpler solution would be to have a maven plugin that setup the correct classloader, and call the ant script. Does such a plugin already exist ? Or do you see other alternatives ? SCOKART Gilles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] problem with plug-in auto-download
On 8/26/05, berndq [EMAIL PROTECTED] wrote: I saw this very nice feature first in the Maven A Developers's notebok There is an example at page 184 of the first edition. This example does not mention the type tag. That hasn't made it to the errata yet, maybe you could submit it? http://www.oreilly.com/catalog/mavenadn/errata/ - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1.1b1] failing inheritance for project.properties
Hi, I see that bug http://jira.codehaus.org/browse/MAVEN-1610 is closed. Is it supposed to be solved in 1.1beta1? Because I tested again with the 1.1beta1I just installed and the bug is still present. Is it ok if I re-open the bug? regards, Wim
RE: [m1.1b1] failing inheritance for project.properties
Wim Deblauwe wrote on Friday, August 26, 2005 10:09 AM: Hi, I see that bug http://jira.codehaus.org/browse/MAVEN-1610 is closed. Is it supposed to be solved in 1.1beta1? No, because it has not been fixed. Because I tested again with the 1.1beta1I just installed and the bug is still present. Is it ok if I re-open the bug? No, you should look at reason for the close. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jar:install-snapshot - deprecated jar:snapshot
Yes, but as they are timestamped they are really easy to clean up. It allows you to be more deterministic about what build you are actually getting, and is consistent with the way m2 was implemented. - Brett On 8/25/05, Jörg Schaible [EMAIL PROTECTED] wrote: Brett Porter wrote on Wednesday, August 24, 2005 4:57 PM: As of the 1.5 release of the Maven Artifact plugin, anything with a SNAPSHOT name will automatically get timestamped. ... and with continuous integration builds we will have a new unique artifact with every build automatically deployed? It's triggered with every commit. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Help Installing a non sandard site report
Hi Tony, The taglist plugin hasn't been released yet. Until that time, you can manually check it out and install it from https://svn.codehaus.org/mojo/trunk/mojo/maven-taglist-plugin/, then add the appropriate group/artiafctId to your POM. Maven 1.x plugins will not work in m2, unfortunately. Hope this helps, Brett On 8/25/05, Tony Steele [EMAIL PROTECTED] wrote: I am using alpha 3 and would like to use the tasklist plugin in the site generation. However I have no success in using any report other than the standard set of report plugins. I have tried using ms install:install-file after downloading the plugin jar, however the reporting process does not seem to recognise it and tries to get the plugin form http://repo1.maven.org/maven2/plugins which only contains the standard set of report plugins. How do you install the task list report plug so that it will run as a site report ? Tony http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: common dependency in maven 1
This is easier in m2... in m1, I'd suggest having another parent that simply extends the original parent and adds the core dep. All the projects except core should extend that. On 8/26/05, Litton, Tom - CEPM [EMAIL PROTECTED] wrote: I was hoping to get some advice from all of you brilliant and kind maven users. I have several projects (about 10) that all depend on a core library. All the projects and the core extend from the same project.xml. I would really like to add the dependency on the core library in the parent project.xml, however, this causes a problem when compiling the core library. Has anyone come up with a good idea of what to do in this case? What is the best practice in this case? I've tried adding this to the parent project.xml: j:if test=${pom.getProperty('artifactId') != 'core'} dependency groupIdmygroup/groupId artifactIdcore/artifactId version1.1-SNAPSHOT/version /dependency /j:if But, it isn't working and is kind of a hack anyways. Thanks all, -- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: common dependency in maven 1
how about restructure your source tree as root core subproject common-settings -- make sub 1 sub 2 have all subx to inherit from common-setting project which has core as dependency In your root set maven.multiproject.type=multiproject in your subproject's properties , set maven.multiproject.type=multiproject maven.multiproject.include=subproject/sub1.proejct.xml, subproject/sub2/project.xml ... etc In your common-settings, make sure it has core and core dependencies on its dependencies list. ( In M2, all you need is core) In all subx set maven.multiproject.type=jar Then from root, do maven multiproject:install On 8/25/05, Litton, Tom - CEPM [EMAIL PROTECTED] wrote: I was hoping to get some advice from all of you brilliant and kind maven users. I have several projects (about 10) that all depend on a core library. All the projects and the core extend from the same project.xml. I would really like to add the dependency on the core library in the parent project.xml, however, this causes a problem when compiling the core library. Has anyone come up with a good idea of what to do in this case? What is the best practice in this case? I've tried adding this to the parent project.xml: j:if test=${pom.getProperty('artifactId') != 'core'} dependency groupIdmygroup/groupId artifactIdcore/artifactId version1.1-SNAPSHOT/version /dependency /j:if But, it isn't working and is kind of a hack anyways. Thanks all, -- The information contained in this transmission is intended only for the personal and confidential use of the designated recipients named herein. If the reader of this transmission is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this transmission in error, and that any review, dissemination, distribution, or copying of this transmission is strictly prohibited. If you have received this communication in error, please notify the sender and return and delete the original transmission immediately. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [1.1b1] artifact plugin snapshot versions
Sorry, this should have been configurable. Please file a feature request on the artifact plugin to allow turning it off... Because of the timestamps, it is quite easy to clean them up after a period though. - Brett On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I just upgraded to 1.1b1 and version 1.6 of the artifact plugin. I see now that when I do jar:deploy, I get everything double in my repository. I get for example: myjar-1.0-SNAPSHOT.jar myjar-1.0-20050825.075855.jar I only want the first one. The version defined in my project.xml is 1.0-SNAPSHOT. How can I avoid getting the second jar (and cluttering up my repository with jars I will not use)? regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] multiproject dependency problem
Jörg Schaible a écrit : stéphane bouchet wrote on Thursday, August 25, 2005 2:09 PM: Hi all, I have a problem using multiproject. i have a project called 'core' and another called 'applet'. the 'applet' project depends on the 'core' one. So i defined in the 'applet' project.xml : dependency groupId${pom.groupId}/groupId artifactIdcore/artifactId version${current.version}/version typejar/type properties eclipse.dependencytrue/eclipse.dependency /properties /dependency But when i do a multiproject:install, the build order is 'applet' THEN 'core' ?? and of course i got a dependency error :) Could some helps me ? Which version of Maven exactly? Does you see an exception when starting with -X ? - Jörg Hi, I am using Maven 1.0.2 with jdk 1.5 . No exceptions with -X Stéphane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] problem with plug-in auto-download
Brett Porter wrote: That hasn't made it to the errata yet, maybe you could submit it? done Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [1.1b1] artifact plugin snapshot versions
Done: http://jira.codehaus.org/browse/MPARTIFACT-59 2005/8/26, Brett Porter [EMAIL PROTECTED]: Sorry, this should have been configurable. Please file a feature request on the artifact plugin to allow turning it off... Because of the timestamps, it is quite easy to clean them up after a period though. - Brett On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, I just upgraded to 1.1b1 and version 1.6 of the artifact plugin. I see now that when I do jar:deploy, I get everything double in my repository. I get for example: myjar-1.0-SNAPSHOT.jar myjar-1.0-20050825.075855.jar I only want the first one. The version defined in my project.xml is 1.0-SNAPSHOT. How can I avoid getting the second jar (and cluttering up my repository with jars I will not use)? regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1.1b1] failing inheritance for project.properties
Ahh.. I see now. It's a duplicate of a bug that is fixed for 1.1beta2. I did not notice the '2'. So I suppose it will be fixed in the next beta. regards, Wim 2005/8/26, Jörg Schaible [EMAIL PROTECTED]: Wim Deblauwe wrote on Friday, August 26, 2005 10:09 AM: Hi, I see that bug http://jira.codehaus.org/browse/MAVEN-1610 is closed. Is it supposed to be solved in 1.1beta1? No, because it has not been fixed. Because I tested again with the 1.1beta1I just installed and the bug is still present. Is it ok if I re-open the bug? No, you should look at reason for the close. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1.1b1] preemptive authentication failed
You seem to be attempting to use an NTLM proxy unnecessarily? What proxy config do you have? - Brett On 8/25/05, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, Using 1.1beta1, I get the following error/warning. What does this mean: Default credentials for www.ibiblio.org http://www.ibiblio.org not available Preemptive authentication failed I can download things from ibiblio just fine, so it seems more like a warning. regards, Wim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jar:install-snapshot - deprecated jar:snapshot
I put a RFE in JIRA for this: http://jira.codehaus.org/browse/MPARTIFACT-59 2005/8/26, Brett Porter [EMAIL PROTECTED]: Yes, but as they are timestamped they are really easy to clean up. It allows you to be more deterministic about what build you are actually getting, and is consistent with the way m2 was implemented. - Brett On 8/25/05, Jörg Schaible [EMAIL PROTECTED] wrote: Brett Porter wrote on Wednesday, August 24, 2005 4:57 PM: As of the 1.5 release of the Maven Artifact plugin, anything with a SNAPSHOT name will automatically get timestamped. ... and with continuous integration builds we will have a new unique artifact with every build automatically deployed? It's triggered with every commit. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] How to invoke ant scripts from maven
On Fri, 26 Aug 2005, Scokart Gilles wrote: You would indeed need a classloader with tools.jar in it. However, the location is jdk specific (there's no artifact in ibiblio for it), so maven can't provide it. You could add it to the classpath yourself: UrlClassLoader cl = new UrlClassLoader( Thread.currentThread().getContextClassLoader() ); cl.addUrl( new File( System.getProperty( java.home ), ../lib/tools.jar ) ).toURL() ); (or something very similar) and use that new classloader. Not sure this is the way to go, though.. -- Kenney I have a project that build an ant task, and I would like to use maven to build this project :-) During my tests, I would like to invoke an ANT script that use my task, in order to validate that it works as expected. How can I make this. I have first tried to write a JUnit test that call this script, but when I do that, the ant script is not executed in the correct environment (it doesn't have tools.jar in the classpath). It's probably possible to work around, but it will not be easy. I guess a simpler solution would be to have a maven plugin that setup the correct classloader, and call the ant script. Does such a plugin already exist ? Or do you see other alternatives ? SCOKART Gilles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How check that project should be rebuilded (source code management)?
Unfortunately I didn't find snapshot at http://cvs.apache.org/repository/maven/plugins/. Is somewhere another source to get maven-scm-plugin snapshot? tnx. From: dan tran [EMAIL PROTECTED] To: Vov@ Sadovyy [EMAIL PROTECTED] Subject: Re: How check that project should be rebuilded (source code management)? Date: Thu, 25 Aug 2005 18:59:30 -0700 oops, scm:status is not available, perhaps you can download 1.5.1 snaphsot in svn and add scm:status goal into it? -D On 8/25/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: I'm using maven-scm-plugin to obtain sources but I can't call goal scm:status (Goal does not exist error). The version of my scm plugin is 1.5. What I should to do to get this goal? Tnx From: dan tran [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Tue, 23 Aug 2005 09:12:18 -0700 if you are using maven-scm-plugin, then scm:status can tell you if any file have been changed base on some criteria, other wise you can take a look the actual implementation http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers look for change-log command or status command -D On 8/23/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: Hi, Does anybody have ideas how to check that code was changed? Originally I neet to skip build when nothing has changed in SCM? P.S. My SCM is subversion... Thanks, Vov _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How check that project should be rebuilded (source code management)?
Try here: https://svn.apache.org/repos/asf/maven/scm/trunk Vov@ Sadovyy wrote: Unfortunately I didn't find snapshot at http://cvs.apache.org/repository/maven/plugins/. Is somewhere another source to get maven-scm-plugin snapshot? tnx. From: dan tran [EMAIL PROTECTED] To: Vov@ Sadovyy [EMAIL PROTECTED] Subject: Re: How check that project should be rebuilded (source code management)? Date: Thu, 25 Aug 2005 18:59:30 -0700 oops, scm:status is not available, perhaps you can download 1.5.1 snaphsot in svn and add scm:status goal into it? -D On 8/25/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: I'm using maven-scm-plugin to obtain sources but I can't call goal scm:status (Goal does not exist error). The version of my scm plugin is 1.5. What I should to do to get this goal? Tnx From: dan tran [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Tue, 23 Aug 2005 09:12:18 -0700 if you are using maven-scm-plugin, then scm:status can tell you if any file have been changed base on some criteria, other wise you can take a look the actual implementation http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers look for change-log command or status command -D On 8/23/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: Hi, Does anybody have ideas how to check that code was changed? Originally I neet to skip build when nothing has changed in SCM? P.S. My SCM is subversion... Thanks, Vov _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Getting Spring 1.2.3, Hibernate 3.0.5 and asm
On 25.08.2005, at 19:12, Carlos Sanchez wrote: Please, create a new issue. Done: http://jira.codehaus.org/browse/MEV-66 Cheers, -Ralph. AFAIK hibernate and spring poms are ok, i spend a bunch of my time on them, cglib may be wrong. On 8/25/05, Ralph Pöllath [EMAIL PROTECTED] wrote: On 25.08.2005, at 17:24, Jörg Schaible wrote: Ralph Pöllath wrote on Thursday, August 25, 2005 4:53 PM: I'm using Spring 1.2.3 and Hibernate 3.0.5, and got trapped in dependency hell for several hours. According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, but the cglib POM on repo1 [2] depends on asm 2.0 This one is wrong. Cglib 2.1 is incompatible with asm 2.x also! Thanks for the clarification. I'll tweak my cglib POM instaed of the hibernate one. , which seems to incompatible with Hibernate 3 [3]. And Hibernate 3.0.5 itself has a dependency on asm 1.4.3 [4]. I found out I can get my project to work by changing Hibernate's dependency on asm from version 1.4.3 to 1.5.3 in my local repository, but I'm not positive what's the reason for this mess. Anyone? The reason is the incompatibility from ASM 1.x to ASM 2.x. Same package names, but different/changed classes. There's a fixed issue in Jira saying that cglib should depend on asm 1.5.3: http://jira.codehaus.org/browse/MEV-10 I guess that whoever added the dependency chose the latest version, unaware of the incompatibility. Should I open another issue? Cheers, -Ralph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Error in a POM on M2 official repo
Hi guys, I'm using a library that depends on struts-menu 2.3. The problem is that the POM of the latter contains an error in its depedencies (the last one actually): ... dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version typetest/type /dependency ... type shouldn't be here, but scope instead. So apart from the fact that the author (or someone else...) has to correct this error that on M2 repo, how can I tell Maven 2 not to update the POMs? (or only this very special POM if possible) Because I don't want to modify my local copy every day! ;) Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] multiproject dependency problem
OK, more infos : 1/ Using the multiproject 1.4.1 plugin 2/ Using Eclipse 3.1 with Mevenide 3/ in Fact, i have a project that manage the two others, called 'maven'. it is in its project.properties that the props maven.multiproject.includes and maven.multiproject.basedirare sets. in its project.xml, there is no dependency att all (just reports), and this project is excluded when i launch 'multiproject:install' . Thanks for any help Stéphane stéphane bouchet a écrit : Jörg Schaible a écrit : stéphane bouchet wrote on Thursday, August 25, 2005 2:09 PM: Hi all, I have a problem using multiproject. i have a project called 'core' and another called 'applet'. the 'applet' project depends on the 'core' one. So i defined in the 'applet' project.xml : dependency groupId${pom.groupId}/groupId artifactIdcore/artifactId version${current.version}/version typejar/type properties eclipse.dependencytrue/eclipse.dependency /properties /dependency But when i do a multiproject:install, the build order is 'applet' THEN 'core' ?? and of course i got a dependency error :) Could some helps me ? Which version of Maven exactly? Does you see an exception when starting with -X ? - Jörg Hi, I am using Maven 1.0.2 with jdk 1.5 . No exceptions with -X Stéphane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Error in a POM on M2 official repo
It would have already been downloaded into your local repo... so just edit the junit/junit/3.8.1/junit-3.8.1.pom in your local repository and change type to scope. :D [EMAIL PROTECTED] wrote: Hi guys, I'm using a library that depends on struts-menu 2.3. The problem is that the POM of the latter contains an error in its depedencies (the last one actually): ... dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version typetest/type /dependency ... type shouldn't be here, but scope instead. So apart from the fact that the author (or someone else...) has to correct this error that on M2 repo, how can I tell Maven 2 not to update the POMs? (or only this very special POM if possible) Because I don't want to modify my local copy every day! ;) Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Help Installing a non sandard site report
It was the tasklist plugin I was trying not the taglist. But does what your suggesting apply in general to report plugins that are not part of the alpha 3 release. You need to check out the source and build and install them locally? Tony -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: 26 August 2005 02:30 To: Maven Users List Subject: Re: [m2] Help Installing a non sandard site report Hi Tony, The taglist plugin hasn't been released yet. Until that time, you can manually check it out and install it from https://svn.codehaus.org/mojo/trunk/mojo/maven-taglist-plugin/, then add the appropriate group/artiafctId to your POM. Maven 1.x plugins will not work in m2, unfortunately. Hope this helps, Brett On 8/25/05, Tony Steele [EMAIL PROTECTED] wrote: I am using alpha 3 and would like to use the tasklist plugin in the site generation. However I have no success in using any report other than the standard set of report plugins. I have tried using ms install:install-file after downloading the plugin jar, however the reporting process does not seem to recognise it and tries to get the plugin form http://repo1.maven.org/maven2/plugins which only contains the standard set of report plugins. How do you install the task list report plug so that it will run as a site report ? Tony http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Error in a POM on M2 official repo
On Fri, 26 Aug 2005 [EMAIL PROTECTED] wrote: Hi, Add distributionManagement statusverified/status /distributionManagement just before the following line: /project However, the whole idea of pom updating is so buggy poms like these can be fixed automatically. Brett, can you comment on this? -- Kenney Hi guys, I'm using a library that depends on struts-menu 2.3. The problem is that the POM of the latter contains an error in its depedencies (the last one actually): ... dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version typetest/type /dependency ... type shouldn't be here, but scope instead. So apart from the fact that the author (or someone else...) has to correct this error that on M2 repo, how can I tell Maven 2 not to update the POMs? (or only this very special POM if possible) Because I don't want to modify my local copy every day! ;) Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to create mutiple ear/war/jar files using maven!!!
Hi, Can anybody tell me how to create mutiple jar/war/ear files using maven Thanks, Nirmala Confidentiality Statement: This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by return email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] multiproject dependency problem
stéphane bouchet wrote on Friday, August 26, 2005 11:54 AM: OK, more infos : 1/ Using the multiproject 1.4.1 plugin 2/ Using Eclipse 3.1 with Mevenide 3/ in Fact, i have a project that manage the two others, called 'maven'. it is in its project.properties that the props maven.multiproject.includes and maven.multiproject.basedirare sets. in its project.xml, there is no dependency att all (just reports), and this project is excluded when i launch 'multiproject:install' . Can you call pom:validate ? - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[2]: Middlgen (Plugin)
We see you. so its just that none of you knows how to combine middlegen and maven. Or wont tell if he knows. Thanks Dmitry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How check that project should be rebuilded (source code management)?
Hmm.. there are sources but no any jars.. Maybe it is stupid tyro question but I have to ask it... So, should I compile the snapshot? Is somewhere any instruction how to do it? tnx From: Edwin Punzalan [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Fri, 26 Aug 2005 17:14:56 +0800 Try here: https://svn.apache.org/repos/asf/maven/scm/trunk Vov@ Sadovyy wrote: Unfortunately I didn't find snapshot at http://cvs.apache.org/repository/maven/plugins/. Is somewhere another source to get maven-scm-plugin snapshot? tnx. From: dan tran [EMAIL PROTECTED] To: Vov@ Sadovyy [EMAIL PROTECTED] Subject: Re: How check that project should be rebuilded (source code management)? Date: Thu, 25 Aug 2005 18:59:30 -0700 oops, scm:status is not available, perhaps you can download 1.5.1 snaphsot in svn and add scm:status goal into it? -D On 8/25/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: I'm using maven-scm-plugin to obtain sources but I can't call goal scm:status (Goal does not exist error). The version of my scm plugin is 1.5. What I should to do to get this goal? Tnx From: dan tran [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Tue, 23 Aug 2005 09:12:18 -0700 if you are using maven-scm-plugin, then scm:status can tell you if any file have been changed base on some criteria, other wise you can take a look the actual implementation http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers look for change-log command or status command -D On 8/23/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: Hi, Does anybody have ideas how to check that code was changed? Originally I neet to skip build when nothing has changed in SCM? P.S. My SCM is subversion... Thanks, Vov _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Error in a POM on M2 official repo
Correct. I think I've seen type test more than once, maybe repoclean needs a new rule. I'll probably turn off the autoupdate of released poms by default for the beta-1 release as its too annoying right now. You can do that in your settings by redefining the repository with releasesupdatePolicynever/updatePolicy/releases. - Brett On 8/26/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Fri, 26 Aug 2005 [EMAIL PROTECTED] wrote: Hi, Add distributionManagement statusverified/status /distributionManagement just before the following line: /project However, the whole idea of pom updating is so buggy poms like these can be fixed automatically. Brett, can you comment on this? -- Kenney Hi guys, I'm using a library that depends on struts-menu 2.3. The problem is that the POM of the latter contains an error in its depedencies (the last one actually): ... dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version typetest/type /dependency ... type shouldn't be here, but scope instead. So apart from the fact that the author (or someone else...) has to correct this error that on M2 repo, how can I tell Maven 2 not to update the POMs? (or only this very special POM if possible) Because I don't want to modify my local copy every day! ;) Thanks for your help! Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Help Installing a non sandard site report
While we tend to sync up releases with the core versions, it isn't always going to be the case - plugin releases are independent. So it is more accurate to say that if you want a plugin that is not yet released, you need to build it from source (at this point we have not been publishing nightlies, though we should be). There is no tasklist plugin for m2 - it was extended by Fabrice to become the taglist plugin. We're expecting to be doing a whole round of preliminary releases of the new reports soon. You can see our progress here: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix Hope this clears it up! Cheers, Brett On 8/26/05, Tony Steele [EMAIL PROTECTED] wrote: It was the tasklist plugin I was trying not the taglist. But does what your suggesting apply in general to report plugins that are not part of the alpha 3 release. You need to check out the source and build and install them locally? Tony -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: 26 August 2005 02:30 To: Maven Users List Subject: Re: [m2] Help Installing a non sandard site report Hi Tony, The taglist plugin hasn't been released yet. Until that time, you can manually check it out and install it from https://svn.codehaus.org/mojo/trunk/mojo/maven-taglist-plugin/, then add the appropriate group/artiafctId to your POM. Maven 1.x plugins will not work in m2, unfortunately. Hope this helps, Brett On 8/25/05, Tony Steele [EMAIL PROTECTED] wrote: I am using alpha 3 and would like to use the tasklist plugin in the site generation. However I have no success in using any report other than the standard set of report plugins. I have tried using ms install:install-file after downloading the plugin jar, however the reporting process does not seem to recognise it and tries to get the plugin form http://repo1.maven.org/maven2/plugins which only contains the standard set of report plugins. How do you install the task list report plug so that it will run as a site report ? Tony http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] Dependency mediation
Hi, my project has transitive dependencies on both asm 1.5.3 (from cglib 2.1_2, which I fixed locally, see [1]) and 1.4.3 (from hibernate 3.0.5). The one that ends up in my war is 1.4.3, which unfortunately seems to be incompatible with something else I'm using [2]. From reading [3], I thought I could force m2 to use asm 1.5.3 by listing it as a direct dependency of my project, but that doesn't work. m2 -X reveals that both jars get selected, but then 1.5.3 gets removed (removed - nearer found: 1.4.3). What does the nearer found actually mean? Nearer to what? For now, I can tweak the hibernate POM in my local repository, but I'm wondering what a better solution to the general problem could look like. Cheers, -Ralph. [1] http://jira.codehaus.org/browse/MEV-66 [2] java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit (IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/ String;)V [3] http://maven.apache.org/maven2/dependency-mechanism.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Help Installing a non sandard site report
Thanks Brett Tony -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: 26 August 2005 14:24 To: Maven Users List Subject: Re: [m2] Help Installing a non sandard site report While we tend to sync up releases with the core versions, it isn't always going to be the case - plugin releases are independent. So it is more accurate to say that if you want a plugin that is not yet released, you need to build it from source (at this point we have not been publishing nightlies, though we should be). There is no tasklist plugin for m2 - it was extended by Fabrice to become the taglist plugin. We're expecting to be doing a whole round of preliminary releases of the new reports soon. You can see our progress here: http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix Hope this clears it up! Cheers, Brett On 8/26/05, Tony Steele [EMAIL PROTECTED] wrote: It was the tasklist plugin I was trying not the taglist. But does what your suggesting apply in general to report plugins that are not part of the alpha 3 release. You need to check out the source and build and install them locally? Tony -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: 26 August 2005 02:30 To: Maven Users List Subject: Re: [m2] Help Installing a non sandard site report Hi Tony, The taglist plugin hasn't been released yet. Until that time, you can manually check it out and install it from https://svn.codehaus.org/mojo/trunk/mojo/maven-taglist-plugin/, then add the appropriate group/artiafctId to your POM. Maven 1.x plugins will not work in m2, unfortunately. Hope this helps, Brett On 8/25/05, Tony Steele [EMAIL PROTECTED] wrote: I am using alpha 3 and would like to use the tasklist plugin in the site generation. However I have no success in using any report other than the standard set of report plugins. I have tried using ms install:install-file after downloading the plugin jar, however the reporting process does not seem to recognise it and tries to get the plugin form http://repo1.maven.org/maven2/plugins which only contains the standard set of report plugins. How do you install the task list report plug so that it will run as a site report ? Tony http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: j2ee sdk in repositories?
it. We tend to check in our j2ee stuff for compilation purposes (and call it jsdk-24.jar, for example). We never deploy it (Resin takes care of providing the implementation). Both the naming of the jar and your description of its use implies that you want servlet-api-2.4 and maybe jsp-api-2.4, not j2ee-1.4. In response to your question about groupId, the website lists a standard they came up with for Sun jar files, so your dependency will work on other folks repository as well: http://maven.apache.org/reference/standard-sun-jar-names.html I'd say there is probably nothing stopping you from copying Resin's implementation of servlet-api-2.4 and jsp-api-2.4 into your repo, instead of wading through the JavaEE SDK for them. -- /v\atthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: jar:install-snapshot - deprecated jar:snapshot
Unfortunately, easy is relative. I appreciate the desire for a project to be more deterministic about what particular build of a dependency it is using at the moment. That is a good thing and very necessary in some cases. It's also something that should be used as a last resort, when there isn't a suitable release available and the latest snapshot release isn't working. One would definitely NOT want to release a project that depends on a timestamp dependency for the same reason one would not want to release a project that depends on a snapshot dependency: such a dependency is not reproducible (the timestamp can help find the source that built it, but only actual releases are reproducible). It might be better if the timestamp version of the dependency also contained the term snapshot so it is more obvious that it isn't a release version of the dependency. (Part of the process for releasing a project is to make sure all of its dependencies are using released versions. If all snapshot versions contain snapshot, then a plugin can do this automatically.) Getting back to my central repository, since other projects may be depending on any arbitrary timestamped release, I can't really clean up my central repository of timestamped releases any time I want because I could break other projects. I can't really clean them up once I release my project because I should give projects that depend on me some time to move to the newly released version. So I need to come up with some policy about when it's okay to clean up the repository. When it's time to clean up there will be several new timestamped versions deployed for the new version which should not be cleaned up, so it becomes a bit more complicated. Because of the continuous builds, there could easily be hundreds of timestamped releases to clean up. And there are very many such projects that need to be cleaned up (each with their own hundreds of timestamped versions). That's a lot of files, so I should try to clean up on a regular basis. I'd rather not do this cleaning up by hand because it will take a lot of my time, so it would be best to schedule some daemon to do the cleaning for me. Something that sounded so easy is not so much anymore. This is a lot of work to take care of files that I really didn't want in the first place. It's not that I think that the timestamped releases themselves are bad (if I thought that, then this really would be easy--I'd just delete them all as soon as the build completes), but producing one with each continuous build is bad. It would be much better to be able to control when such timestamped releases are made (either explicitly or on a scheduled basis). Then the number of these files in the repository is much more manageable. ..David.. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 7:19 PM To: Maven Users List Subject: Re: jar:install-snapshot - deprecated jar:snapshot Yes, but as they are timestamped they are really easy to clean up. It allows you to be more deterministic about what build you are actually getting, and is consistent with the way m2 was implemented. - Brett On 8/25/05, Jörg Schaible [EMAIL PROTECTED] wrote: Brett Porter wrote on Wednesday, August 24, 2005 4:57 PM: As of the 1.5 release of the Maven Artifact plugin, anything with a SNAPSHOT name will automatically get timestamped. ... and with continuous integration builds we will have a new unique artifact with every build automatically deployed? It's triggered with every commit. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Dependency mediation
Nearer is nearer in the transitivity tree (if they have the same depth, it is undefined). So declaring it in your own POM should fix this. In beta-1, you will hopefully be able to select from nearer and latest (with latest now being the default, with the exception of a version specified in the pom being built). Note that at any point using a range of [1.5.3] will make 1.4.3 an invalid choice and force that version. Versions without set notation are treated as suggestions for which to select within the intersection of all the valid sets. Cheers, Brett On 8/26/05, Ralph Pöllath [EMAIL PROTECTED] wrote: Hi, my project has transitive dependencies on both asm 1.5.3 (from cglib 2.1_2, which I fixed locally, see [1]) and 1.4.3 (from hibernate 3.0.5). The one that ends up in my war is 1.4.3, which unfortunately seems to be incompatible with something else I'm using [2]. From reading [3], I thought I could force m2 to use asm 1.5.3 by listing it as a direct dependency of my project, but that doesn't work. m2 -X reveals that both jars get selected, but then 1.5.3 gets removed (removed - nearer found: 1.4.3). What does the nearer found actually mean? Nearer to what? For now, I can tweak the hibernate POM in my local repository, but I'm wondering what a better solution to the general problem could look like. Cheers, -Ralph. [1] http://jira.codehaus.org/browse/MEV-66 [2] java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit (IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/ String;)V [3] http://maven.apache.org/maven2/dependency-mechanism.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m1] multiproject dependency problem
Jörg Schaible a écrit : stéphane bouchet wrote on Friday, August 26, 2005 11:54 AM: OK, more infos : 1/ Using the multiproject 1.4.1 plugin 2/ Using Eclipse 3.1 with Mevenide 3/ in Fact, i have a project that manage the two others, called 'maven'. it is in its project.properties that the props maven.multiproject.includes and maven.multiproject.basedirare sets. in its project.xml, there is no dependency att all (just reports), and this project is excluded when i launch 'multiproject:install' . Can you call pom:validate ? - Jörg Wow. got lots of errors :) the problem is that the pom:validate don't work with extended descriptors. and my 'applets' and 'core' projects extends this one. Anyway i corrected some errors in 'maven' and still not working . SOmething strange too is that the docs in the maven site about the project descriptor does not match my acual (and corrected) pom ?? Maybe i could try Maven 1.1beta ? Stéphane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven repositories
You've asked 2 different questions here. 1) You request an easier way to download dependent files from a Maven repository than listing them as dependencies in a POM. 2) You want to know how to share downloaded dependencies with other developers at your location. Regarding 1, Dan Tran suggested that you could use ant:wget to download artifacts. I often look at the repository on Ibiblio, or at some of the others, there's 1 at Apache and 1 at CodeHaus with my web browser and download the files that I want. Does that actually answer your question? Regarding 2, you want to know how to share files that you download with others at your location. Normally that requires some infrastructure. The general solution is to configure a machine to act as a local maven.repo.remote, so that all Maven requests go through it, and it caches any artifacts that are downloaded. There is an existing project named maven-proxy at Codehaus that can do this for you. Regarding your ideas about modifying the behavior of the maven-javadoc-plugin, you don't need to override the javadoc goal using Jelly script in your maven.xml file. If you look at the documentation for the plugin, you'll see that it provides a property maven.javadoc.doclet that you can use to specify the doclet. http://maven.apache.org/reference/plugins/javadoc/properties.html Hope that this helps. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Dependency mediation
On 26.08.2005, at 15:39, Brett Porter wrote: Nearer is nearer in the transitivity tree (if they have the same depth, it is undefined). Got it. So declaring it in your own POM should fix this. It does. My mistake, sorry. In beta-1, you will hopefully be able to select from nearer and latest (with latest now being the default, with the exception of a version specified in the pom being built). Note that at any point using a range of [1.5.3] will make 1.4.3 an invalid choice and force that version. Versions without set notation are treated as suggestions for which to select within the intersection of all the valid sets. I just read the design document on dependency mediation [1], and now I'm wondering where to specify the version range. A version tag like version[1.5.3]/version doesn't seem to be interpreted as a range using maven 2.0-alpha-3 (maven goes looking for asm-[1.5.3].jar on the repository). Thanks Brett, -Ralph. [1] http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and +Conflict+Resolution On 8/26/05, Ralph Pöllath [EMAIL PROTECTED] wrote: Hi, my project has transitive dependencies on both asm 1.5.3 (from cglib 2.1_2, which I fixed locally, see [1]) and 1.4.3 (from hibernate 3.0.5). The one that ends up in my war is 1.4.3, which unfortunately seems to be incompatible with something else I'm using [2]. From reading [3], I thought I could force m2 to use asm 1.5.3 by listing it as a direct dependency of my project, but that doesn't work. m2 -X reveals that both jars get selected, but then 1.5.3 gets removed (removed - nearer found: 1.4.3). What does the nearer found actually mean? Nearer to what? For now, I can tweak the hibernate POM in my local repository, but I'm wondering what a better solution to the general problem could look like. Cheers, -Ralph. [1] http://jira.codehaus.org/browse/MEV-66 [2] java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit (IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/ String;)V [3] http://maven.apache.org/maven2/dependency-mechanism.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Middlgen (Plugin)
Jan Galinski wrote: We see you. so its just that none of you knows how to combine middlegen and maven. Or wont tell if he knows. Thanks Dmitry It may be that the middlegen maven plugin is no longer available directly from the Middlegen site. I'm familiar with the plugin and I spent some time just now poking aroung the Middlegen site and I could not find it. When I was using it more regularly I found that the plugin could not support my Hibernate development, so I wrote Jelly script to drive the Middlegen ant task instead. I've migrated away from Middlegen completely and have been writing Hibernate capable pojos by hand using Hibernate 3 and Hibernate Annotations. Since the Middlegen plugin wasn't capable of generating a compareTo method, there were things that I ended up having to do myself anyway. [I'm attaching the plugin] I tried attaching the plugin, and the message never appeared on the list. If you still need a copy, send me an email and I'll send it to you directly. Jelly script that I used to drive Middlegen appears below. Best regards goal name=middle taskdef name=middlegen classname=middlegen.MiddlegenTask classpathref=maven.dependency.classpath/ middlegen appname=restaurant prefsdir=src/resources gui=true driver=${maven.sql.driver} databaseurl=${maven.sql.url} username=${maven.sql.userid} password=${maven.sql.password} table name=restaurant/ table name=diner/ table name=meal_restaurant/ table name=meal_diner/ many2many tablea name=meal_restaurant/ jointable name=meal_diner generate=false/ tableb name=diner/ /many2many hibernate destination=src/resources package=org.zrgs.restaurant.data genXDocletTags=true hibernateDAO getHibernateSession=org.zrgs.util.persistence.HibernateUtil.getSession(); closeHibernateSession=hibSession.close();/ /hibernate /middlegen /goal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m1] How to use Ant script instead of java:compile while creating the site
I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Getting Spring 1.2.3, Hibernate 3.0.5 and asm
On 25.08.2005, at 18:08, Ralph Pöllath wrote: On 25.08.2005, at 17:24, Jörg Schaible wrote: Ralph Pöllath wrote on Thursday, August 25, 2005 4:53 PM: According to [1], Spring requires cglib 2.1_2 with asm 1.5.3, but the cglib POM on repo1 [2] depends on asm 2.0 This one is wrong. Cglib 2.1 is incompatible with asm 2.x also! Thanks for the clarification. I'll tweak my cglib POM instaed of the hibernate one. Just for the record, there's no need to tweak the POMs in the local repository until the POMs in repo1 are fixed. I worked around the issue by listing asm-1.5.3 as a direct dependency in my project's POM. Cheers, -Ralph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] multiproject dependency problem
stéphane bouchet wrote on Friday, August 26, 2005 3:44 PM: Jörg Schaible a écrit : stéphane bouchet wrote on Friday, August 26, 2005 11:54 AM: OK, more infos : 1/ Using the multiproject 1.4.1 plugin 2/ Using Eclipse 3.1 with Mevenide 3/ in Fact, i have a project that manage the two others, called 'maven'. it is in its project.properties that the props maven.multiproject.includes and maven.multiproject.basedirare sets. in its project.xml, there is no dependency att all (just reports), and this project is excluded when i launch 'multiproject:install' . Can you call pom:validate ? - Jörg Wow. got lots of errors :) the problem is that the pom:validate don't work with extended descriptors. and my 'applets' and 'core' projects extends this one. Oh, they normally do. They just don't like an inherited build section. Anyway i corrected some errors in 'maven' and still not working . Originally I thought your using pre 1.0.2, since there was an error, where the reactor ignored the deps because of an exception. SOmething strange too is that the docs in the maven site about the project descriptor does not match my acual (and corrected) pom ?? Maybe i could try Maven 1.1beta ? Can't say. I use 1.0.2 without this problems and I have some multiprojects. Is your dependency section really in side the dependencies tags? Or do you have two depednencies sections (had any of this already)? I still believe it's something in your POMs. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : installing maven on linux
Hi Pascal Check that your MAVEN_HOME AND your PATH point to your maven 1.1 location. I had the same problem when I've switch form 1.0 to 1.1, my PATH wasn't correctly set. yes it was something with a path, some old maven was on that machine. Thx ___ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How check that project should be rebuilded (source code management)?
My appology for miss typing the url, here is the correction source for maven-scm-plugin for M1 === svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk plugins to build, goto scm directory and run maven plugin: install source for maven-scm-api = svn co http://svn.apache.org/repos/asf/maven/scm/trunk scm You will need to read the maven-scm-api status command interface to figure out how to invoke it in maven-scm-plugin ( which already has some setup ) you dont need to build maven-scm-api thou, the maven-scm-plugin project.xml already have setup to pickup the required jars from libibio Thanks -D On 8/26/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: Hmm.. there are sources but no any jars.. Maybe it is stupid tyro question but I have to ask it... So, should I compile the snapshot? Is somewhere any instruction how to do it? tnx From: Edwin Punzalan [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Fri, 26 Aug 2005 17:14:56 +0800 Try here: https://svn.apache.org/repos/asf/maven/scm/trunk Vov@ Sadovyy wrote: Unfortunately I didn't find snapshot at http://cvs.apache.org/repository/maven/plugins/. Is somewhere another source to get maven-scm-plugin snapshot? tnx. From: dan tran [EMAIL PROTECTED] To: Vov@ Sadovyy [EMAIL PROTECTED] Subject: Re: How check that project should be rebuilded (source code management)? Date: Thu, 25 Aug 2005 18:59:30 -0700 oops, scm:status is not available, perhaps you can download 1.5.1 snaphsot in svn and add scm:status goal into it? -D On 8/25/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: I'm using maven-scm-plugin to obtain sources but I can't call goal scm:status (Goal does not exist error). The version of my scm plugin is 1.5. What I should to do to get this goal? Tnx From: dan tran [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: How check that project should be rebuilded (source code management)? Date: Tue, 23 Aug 2005 09:12:18 -0700 if you are using maven-scm-plugin, then scm:status can tell you if any file have been changed base on some criteria, other wise you can take a look the actual implementation http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers look for change-log command or status command -D On 8/23/05, Vov@ Sadovyy [EMAIL PROTECTED] wrote: Hi, Does anybody have ideas how to check that code was changed? Originally I neet to skip build when nothing has changed in SCM? P.S. My SCM is subversion... Thanks, Vov _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven-change-log plugin with VSS
Hi, I am trying to run maven-changelog-plugin with VSS. i found that there is a problem with the date format. as it doesn't accpet the format dd/mm/yy hh/mm and i get the following error message: ParseException Caught java.text.ParseException: Unparseable date: 2/08/05 16:57 at java.text.DateFormat.parse(DateFormat.java:335) at org.apache.maven.vsslib.VssChangeLogParser.parseDate(VssChangeLogPars er.java:318) at org.apache.maven.vsslib.VssChangeLogParser.processGetAuthor(VssChange LogParser.java:208) at org.apache.maven.vsslib.VssChangeLogParser.parse(VssChangeLogParser.j ava:158) at org.apache.maven.changelog.AbstractChangeLogGenerator.start(AbstractC hangeLogGenerator.java:405) I tried to change the setting of the date format in my computer and still with the same problem. I think it might be bug in maven-changelog-plugin implementation for VSS. Any suggestions? thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] How to use Ant script instead of java:compile while creating the site
This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
m1: Multiproject Custom Goal - how to generate site?
I have written a custom goal for my continuous integration multiproject-build. I did this to be able to deploy jars from the automated build without having to run unit tests twice (once for site, once for jar:deploy). With help from you folks, I've gotten that much working. Now, the problem is that I want to deploy the subproject sites as part of the same custom goal. However, I think that running multiproject:site-deploy is different than running site:deploy from a custom goal called from multiproject:goal. What I end up with now is each project deploys its site over top of the previous one in the build. I know that one approach is to set siteDirectory on all projects and create a navigation.xml in my top-level project. Is there a better way that will build the navigation automatically? Here is my custom goal: goal name=continuousintegration attainGoal name=clean/ attainGoal name=site:deploy/ !-- avoid running tests again -- j:if test=${maven.test.failure} fail message=There were test failures./ /j:if j:set var=maven.test.skip value=true/ attainGoal name=jar:install/ attainGoal name=jar:deploy-snapshot/ j:set var=maven.test.skip value=false/ /goal -- Craig McDaniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: maven-change-log plugin with VSS
The date format should match the description given in http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html. For this particular date (2/08/05 16:57) (which refers to 2 August 2005 16:57), the date format should be d/MM/yy hh:mm. I don't know why there isn't a leading zero before the 2. If the date actually refers to 8 February 2005 16:57, then the date format should be M/dd/yy hh:mm. ..David.. -Original Message- From: Bahaa Nasrallah [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 9:37 AM To: users@maven.apache.org Subject: maven-change-log plugin with VSS Hi, I am trying to run maven-changelog-plugin with VSS. i found that there is a problem with the date format. as it doesn't accpet the format dd/mm/yy hh/mm and i get the following error message: ParseException Caught java.text.ParseException: Unparseable date: 2/08/05 16:57 at java.text.DateFormat.parse(DateFormat.java:335) at org.apache.maven.vsslib.VssChangeLogParser.parseDate(VssChangeLogPars er.java:318) at org.apache.maven.vsslib.VssChangeLogParser.processGetAuthor(VssChange LogParser.java:208) at org.apache.maven.vsslib.VssChangeLogParser.parse(VssChangeLogParser.j ava:158) at org.apache.maven.changelog.AbstractChangeLogGenerator.start(AbstractC hangeLogGenerator.java:405) I tried to change the setting of the date format in my computer and still with the same problem. I think it might be bug in maven-changelog-plugin implementation for VSS. Any suggestions? thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] How to use Ant script instead of java:compile while creating the site
Thanks David By creating a custom goal named java:compile that run the Ant build it kind of works. I would like to move on to Mavenize this project even more. First thing I would like to be able to compile using the real java:compile goal, but every time I try to do that I get errors like this on every import on the code: container/src/java/com/.../.../.../ESFAxisConnector.java:4: package org.mule.umo does not exist import org.mule.umo.UMOComponent; I've already overridden all the jars in project.properties but it just don't catch the overrides. The thing is the current ant builder basically put every jar on the file tree in the classpath. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 11:50 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: j2ee sdk in repositories?
On Aug 26, 2005, at 6:29 AM, Matthew L Daniel wrote: Both the naming of the jar and your description of its use implies that you want servlet-api-2.4 and maybe jsp-api-2.4, not j2ee-1.4. In response to your question about groupId, the website lists a standard they came up with for Sun jar files, so your dependency will work on other folks repository as well: http://maven.apache.org/reference/standard-sun-jar-names.html I'd say there is probably nothing stopping you from copying Resin's implementation of servlet-api-2.4 and jsp-api-2.4 into your repo, instead of wading through the JavaEE SDK for them. Thank you, Matthew, that's a very helpful answer. A related question: I tried to drop a jar into my local repository (inside the .m2 directory), and I created a .pom for it (mimicking one that downloaded for log4j), but the Ant Task still tries to download the .pom (which, of course, fails). I believe it's because I did not create .sha1 files for the .pom and .jar. Is there a way I can generate .sha1 files by hand? TIA, -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: j2ee sdk in repositories?
On Aug 26, 2005, at 6:29 AM, Matthew L Daniel wrote: I'd say there is probably nothing stopping you from copying Resin's implementation of servlet-api-2.4 and jsp-api-2.4 into your repo, instead of wading through the JavaEE SDK for them. Oh hey! I just checked the Repo, and they appear to be there! http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.4/ Thank you for the naming resource. That was enormously helpful. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Ant Maven2 Tasks include all .jars in local repo?
It seems like the Maven2 Ant Tasks include everything in the repo, rather than just the named dependencies. I was experimenting with my build file by removing dependencies I knew to be required, and the compile succeeded. My build file looks like this: artifact:dependencies filesetId=runtime.fileset /artifact:dependencies artifact:dependencies filesetId=compile.fileset /artifact:dependencies path id=compile.classpath fileset refid=runtime.fileset/ fileset refid=compile.fileset/ /path target name=compile description=== Compile all the .java files mkdirdir=${obj}/ javacsrcdir=${src} destdir=${obj} source=1.4 deprecation=on debug=on classpath refid=compile.classpath/ /javac /target Note that there are no actual dependencies listed. There used to be, however, and so there are a handful of .jars in my ~/.m2 directory. When I run ant compile -verbose I see that it builds this classpath for javac (which I've broken into individual lines, no doubt broken into more lines by my mailer). In particular, note that it includes all of the .jars in my ~/.m2 directory. Is this a bug? Or some default setting I need to change (include-all-jars)? TIA, [javac] /Users/rmann/Perforce/lzd/org.roderickmann/object /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.jar /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.jar /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.jar /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.jar /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.jar /Users/rmann/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar /Users/rmann/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar /Users/rmann/.m2/repository/struts/struts/1.2.7/struts-1.2.7.jar /Users/rmann/.m2/repository/xml-apis/xml-apis/1.0.b2/xml- apis-1.0.b2.jar /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.jar.sha1 /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.pom /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.pom.sha1 /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.jar.sha1 /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.pom /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.pom.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.jar /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.jar.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.pom /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.pom.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.jar.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.pom /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.pom.sha1 /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.jar.sha1 /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.pom /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.pom.sha1 /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.jar.sha1 /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.pom /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.pom.sha1 /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet- api-2.4.jar /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet- api-2.4.jar.sha1 /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet- api-2.4.pom /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet- api-2.4.pom.sha1 /Users/rmann/.m2/repository/junit/junit/3.7/junit-3.7.jar /Users/rmann/.m2/repository/junit/junit/3.7/junit-3.7.jar.sha1 /Users/rmann/.m2/repository/junit/junit/3.7/junit-3.7.pom /Users/rmann/.m2/repository/junit/junit/3.7/junit-3.7.pom.sha1 /Users/rmann/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar.sha1 /Users/rmann/.m2/repository/junit/junit/3.8.1/junit-3.8.1.pom /Users/rmann/.m2/repository/junit/junit/3.8.1/junit-3.8.1.pom.sha1 /Users/rmann/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar.sha1 /Users/rmann/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.pom
Re: [m2] Adding tools.jar to classpath
I am having trouble with adding tools.jar to my classpath. I'm compiling against both the javadoc and apt APIs. Tinkering with the bootclasspath or manually putting tools.jar into my local repository are both icky - they work for me but not for anybody else building the project. Since every jdk has tools.jar, could we not just have it recognised as a dependency something like this and have m2 glue it in from the jdk lib directory? dependency groupIdsun.jdk/groupId artifactIdtools/artifactId typejar/type scopeprovided/scope /dependency On Sunday 31 July 2005 16:51, Kenney Westerhof wrote: On Sun, 31 Jul 2005, Roman Bruggisser wrote: Hi, There aren't any. However it should be on the classpath if you use the jdk. A better solution is to add it to the classpath at runtime. See http://svn.plexus.codehaus.org/trunk/plexus-components/plexus-compiler/plex us-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compile r/javac/JavacCompiler.java?rev=2369view=markup for an example. -- Kenney Hi I'm new to maven and I'm wondering if there is a way to add tools.jar to the classpath without placing it in the repository. Thanks for any ideas. Roman -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant Maven2 Tasks include all .jars in local repo?
On Fri, 26 Aug 2005, Rick Mann wrote: It could be described as a bug: what the task does is create an ant FileSet object. Since you defined no dependencies, it's the same as fileset id=runtime.fileset dir=${localRepository}/ (where ${localRepository} = ~/.m2/repository). I guess the default ant implementation for FileSet has an include filter of **/* and no exclude filter. As soon as you specify 1 dependency it will override the default include and put the referenced jar in there. Could you file a JIRA issue for this please? -- Kenney It seems like the Maven2 Ant Tasks include everything in the repo, rather than just the named dependencies. I was experimenting with my build file by removing dependencies I knew to be required, and the compile succeeded. My build file looks like this: artifact:dependencies filesetId=runtime.fileset /artifact:dependencies artifact:dependencies filesetId=compile.fileset /artifact:dependencies path id=compile.classpath fileset refid=runtime.fileset/ fileset refid=compile.fileset/ /path target name=compile description=== Compile all the .java files mkdirdir=${obj}/ javacsrcdir=${src} destdir=${obj} source=1.4 deprecation=on debug=on classpath refid=compile.classpath/ /javac /target Note that there are no actual dependencies listed. There used to be, however, and so there are a handful of .jars in my ~/.m2 directory. When I run ant compile -verbose I see that it builds this classpath for javac (which I've broken into individual lines, no doubt broken into more lines by my mailer). In particular, note that it includes all of the .jars in my ~/.m2 directory. Is this a bug? Or some default setting I need to change (include-all-jars)? TIA, [javac] /Users/rmann/Perforce/lzd/org.roderickmann/object /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.jar /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.jar /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.jar /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.jar /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.jar /Users/rmann/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar /Users/rmann/.m2/repository/log4j/log4j/1.2.9/log4j-1.2.9.jar /Users/rmann/.m2/repository/struts/struts/1.2.7/struts-1.2.7.jar /Users/rmann/.m2/repository/xml-apis/xml-apis/1.0.b2/xml- apis-1.0.b2.jar /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.jar.sha1 /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.pom /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils- core/1.7.0/commons-beanutils-core-1.7.0.pom.sha1 /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.jar.sha1 /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.pom /Users/rmann/.m2/repository/commons-beanutils/commons-beanutils/1.6/ commons-beanutils-1.6.pom.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.jar /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.jar.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.pom /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.0/commons-collections-2.0.pom.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.jar.sha1 /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.pom /Users/rmann/.m2/repository/commons-collections/commons-collections/ 2.1/commons-collections-2.1.pom.sha1 /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.jar.sha1 /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.pom /Users/rmann/.m2/repository/commons-digester/commons-digester/1.7/ commons-digester-1.7.pom.sha1 /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.jar.sha1 /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.pom /Users/rmann/.m2/repository/commons-logging/commons-logging/1.0/ commons-logging-1.0.pom.sha1 /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet- api-2.4.jar /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet- api-2.4.jar.sha1 /Users/rmann/.m2/repository/javax/servlet/servlet-api/2.4/servlet-
Re: Ant Maven2 Tasks include all .jars in local repo?
On Aug 26, 2005, at 10:21 AM, Kenney Westerhof wrote: It could be described as a bug: what the task does is create an ant FileSet object. Since you defined no dependencies, it's the same as fileset id=runtime.fileset dir=$ {localRepository}/ (where ${localRepository} = ~/.m2/repository). I guess the default ant implementation for FileSet has an include filter of **/* and no exclude filter. As soon as you specify 1 dependency it will override the default include and put the referenced jar in there. Ah. I tested that assertion and I believe you're right. Could you file a JIRA issue for this please? You got it! Thanks! At least now I can be confident that I'm pulling in the right .jars, and not getting multiple .jars of different versions. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Ant Maven2 Tasks include all .jars in local repo?
On Aug 26, 2005, at 10:21 AM, Kenney Westerhof wrote: Could you file a JIRA issue for this please? Done. I don't know if I assigned it correctly (it's my first Jira bug). http://jira.codehaus.org/browse/MNG-795 -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven IDEA plugin for IDEA 5.0+
Hello, I was wondering if the maven idea plugin can support IDEA 5.0. I have been using IDEA 5.0 and trying to building files for my maven project, and IDEA complains that it doesn't recognize the module. It attempts to support it as a java module, but no jdk can be set correctly, so to me its unusable. Is there a correct way to go about the plugin for IDEA 5.0? Thanks, Anthony Bargnesi Den 4 F/OSS http://www.den-4.com
RE: [m1] How to use Ant script instead of java:compile while creating the site
What does your project.xml and project.properties look like in regard to these dependencies? -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:22 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Thanks David By creating a custom goal named java:compile that run the Ant build it kind of works. I would like to move on to Mavenize this project even more. First thing I would like to be able to compile using the real java:compile goal, but every time I try to do that I get errors like this on every import on the code: container/src/java/com/.../.../.../ESFAxisConnector.java:4: package org.mule.umo does not exist import org.mule.umo.UMOComponent; I've already overridden all the jars in project.properties but it just don't catch the overrides. The thing is the current ant builder basically put every jar on the file tree in the classpath. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 11:50 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Checksum failure and how to build maven2 ant tasks?
Hi. I tried adding some more dependencies to my ant build script using the maven-artifact-ant-2.0-alpha-3-dep.jar. When I tried to build, it reported this: [artifact:dependencies] Resolving dependencies... [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ mail-1.3.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ mail-1.3.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'ec6e8527f18fb7b815e6bbc113741cffb51898fe'; remote = 'ec6e8527f18fb7b815e6bbc113741cffb51898fe [artifact:dependencies] ' - IGNORING [artifact:dependencies] Downloading: javax/activation/activation/ 1.0.2/activation-1.0.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] Downloading: javax/activation/activation/ 1.0.2/activation-1.0.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c'; remote = 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c [artifact:dependencies] ' - IGNORING [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ mail-1.3.2.jar [artifact:dependencies] [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 The checksums seem to be identical, so decided to add some additional logging to maven. I've checked out the sources to maven2, and am currently building maven, but I don't know if that will build the ant artifact .jar. Can someone tell me how to build this piece of things? Thanks! -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Spring Modules
Please bear with me if I've missed something, but from what I can gather on the the mailing lists there may be a way to convert artifacts from M1 repositories to be M2 repository compliant artifacts. I ask this because I have spent some time converting the 0.2 release of springmodules from the ant builds that ship with it to M1 builds, and I am considering creating M2 builds. Looking at Ibiblio, no 0.2 version jars exist in either the M1 or the M2 repositories. I would be willing to contribute the 0.2 jars and poms to the Ibiblio M1 repository, but I'm not sure that my current environment complies with the criteria for the standard maven upload procedure. Anyway, no matter if I can actually contribute the work I've already done, I am trying to reduce the amount of effort needed to produce M2 repository compatible artifacts. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JNLP-plugin + Eclipse RCP
Greetings! Well, this is not so much a Maven question but here goes anyway... I'm just starting to learn about Eclipse Rich Client Platform applications (the whole Eclipse plug-in system is a new thing to me) and would like to build some sample demo that includes JNLP functionality. I've got the Maven JNLP plugin to work with some simple Swing application, but I cannot make anything to work with Eclipse RCP stuff. Has anyone be doing something like this and would know where I could look for more help? I'd appreciate any pointers/examples/etc. The web page http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/java_web_start.htm hasn't helped very much. I really would like to use Maven as the building system and not build RCP applications using Eclipse's tools. --teemu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven IDEA plugin for IDEA 5.0+
Please make sure you are using the latest IDEA plugin (see the Maven download page for instructions on updating). - Brett On 8/27/05, Anthony Bargnesi [EMAIL PROTECTED] wrote: Hello, I was wondering if the maven idea plugin can support IDEA 5.0. I have been using IDEA 5.0 and trying to building files for my maven project, and IDEA complains that it doesn't recognize the module. It attempts to support it as a java module, but no jdk can be set correctly, so to me its unusable. Is there a correct way to go about the plugin for IDEA 5.0? Thanks, Anthony Bargnesi Den 4 F/OSS http://www.den-4.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] How to use Ant script instead of java:compile while creating the site
Bear in mind that I'm totally new to Maven, in an effort to make the thing compile I removed all dependencies in project.xml and put everything in project.properties like this: maven.jar.override = on # Jars set explicitly by path. maven.jar.tools = $JAVA_HOME/lib/tools.jar maven.jar.activation-1.0.1 = ${basedir}/builder/lib/activation-1.0.1.jar ... Lots of jars here... Thanks David your help is extremely appreciated Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:10 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site What does your project.xml and project.properties look like in regard to these dependencies? -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:22 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Thanks David By creating a custom goal named java:compile that run the Ant build it kind of works. I would like to move on to Mavenize this project even more. First thing I would like to be able to compile using the real java:compile goal, but every time I try to do that I get errors like this on every import on the code: container/src/java/com/.../.../.../ESFAxisConnector.java:4: package org.mule.umo does not exist import org.mule.umo.UMOComponent; I've already overridden all the jars in project.properties but it just don't catch the overrides. The thing is the current ant builder basically put every jar on the file tree in the classpath. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 11:50 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] How to use Ant script instead of java:compile while creating the site
That's what I thought you may have done. If the dependency isn't listed in project.xml, then Maven stops there. The maven.jar.override property and its corresponding maven.jar.* properties only apply to dependencies listed in project.xml. The override is telling Maven to find the jar in a location different from the default (which would be the local repository). -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:59 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Bear in mind that I'm totally new to Maven, in an effort to make the thing compile I removed all dependencies in project.xml and put everything in project.properties like this: maven.jar.override = on # Jars set explicitly by path. maven.jar.tools = $JAVA_HOME/lib/tools.jar maven.jar.activation-1.0.1 = ${basedir}/builder/lib/activation-1.0.1.jar ... Lots of jars here... Thanks David your help is extremely appreciated Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:10 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site What does your project.xml and project.properties look like in regard to these dependencies? -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:22 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Thanks David By creating a custom goal named java:compile that run the Ant build it kind of works. I would like to move on to Mavenize this project even more. First thing I would like to be able to compile using the real java:compile goal, but every time I try to do that I get errors like this on every import on the code: container/src/java/com/.../.../.../ESFAxisConnector.java:4: package org.mule.umo does not exist import org.mule.umo.UMOComponent; I've already overridden all the jars in project.properties but it just don't catch the overrides. The thing is the current ant builder basically put every jar on the file tree in the classpath. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 11:50 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] How to use Ant script instead of java:compile while creating the site
I see David. Then no matter how many overrides I add it simply won't work, right? Ho should I proceed in order to squash all those java exceptions caused by the developers imports? Thanks on being so helpful and prompt to respond. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 6:12 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site That's what I thought you may have done. If the dependency isn't listed in project.xml, then Maven stops there. The maven.jar.override property and its corresponding maven.jar.* properties only apply to dependencies listed in project.xml. The override is telling Maven to find the jar in a location different from the default (which would be the local repository). -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:59 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Bear in mind that I'm totally new to Maven, in an effort to make the thing compile I removed all dependencies in project.xml and put everything in project.properties like this: maven.jar.override = on # Jars set explicitly by path. maven.jar.tools = $JAVA_HOME/lib/tools.jar maven.jar.activation-1.0.1 = ${basedir}/builder/lib/activation-1.0.1.jar ... Lots of jars here... Thanks David your help is extremely appreciated Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:10 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site What does your project.xml and project.properties look like in regard to these dependencies? -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:22 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Thanks David By creating a custom goal named java:compile that run the Ant build it kind of works. I would like to move on to Mavenize this project even more. First thing I would like to be able to compile using the real java:compile goal, but every time I try to do that I get errors like this on every import on the code: container/src/java/com/.../.../.../ESFAxisConnector.java:4: package org.mule.umo does not exist import org.mule.umo.UMOComponent; I've already overridden all the jars in project.properties but it just don't catch the overrides. The thing is the current ant builder basically put every jar on the file tree in the classpath. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 11:50 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail:
Re: Checksum failure and how to build maven2 ant tasks?
The difference is a line ending in the remote checksum. We caught a couple of things like that and will try to get them fixed before the beta-1 release. To build the ant tasks, run m2 assembly:assembly from the maven-artifact-ant directory. You will need to have built the m2 libraries it depends on first - the easiest way is to just bootstrap the whole thing (from the top level directory) and use the latest version. - Brett On 8/27/05, Rick Mann [EMAIL PROTECTED] wrote: Hi. I tried adding some more dependencies to my ant build script using the maven-artifact-ant-2.0-alpha-3-dep.jar. When I tried to build, it reported this: [artifact:dependencies] Resolving dependencies... [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ mail-1.3.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ mail-1.3.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'ec6e8527f18fb7b815e6bbc113741cffb51898fe'; remote = 'ec6e8527f18fb7b815e6bbc113741cffb51898fe [artifact:dependencies] ' - IGNORING [artifact:dependencies] Downloading: javax/activation/activation/ 1.0.2/activation-1.0.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] Downloading: javax/activation/activation/ 1.0.2/activation-1.0.2.pom [artifact:dependencies] Transferring 0K [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c'; remote = 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c [artifact:dependencies] ' - IGNORING [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ mail-1.3.2.jar [artifact:dependencies] [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 The checksums seem to be identical, so decided to add some additional logging to maven. I've checked out the sources to maven2, and am currently building maven, but I don't know if that will build the ant artifact .jar. Can someone tell me how to build this piece of things? Thanks! -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Dependency mediation
On 8/27/05, Ralph Pöllath [EMAIL PROTECTED] wrote: I just read the design document on dependency mediation [1], and now I'm wondering where to specify the version range. A version tag like version[1.5.3]/version doesn't seem to be interpreted as a range using maven 2.0-alpha-3 (maven goes looking for asm-[1.5.3].jar on the repository). Ah, sorry. I guess that's a bug that was fixed recently. - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m1] How to use Ant script instead of java:compile while creating the site
With that problem I can't help you much. Projects are less useful if you can't really determine what its dependencies are, so I would say list its dependencies in project.xml. There are some other threads going on in the mail list recently that were discussing this kind of thing if you really don't want to list them all explicitly. Glad I helped a little bit, though. ..David.. PS: My promptness is about to end--I'm leaving now for the weekend. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 4:18 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site I see David. Then no matter how many overrides I add it simply won't work, right? Ho should I proceed in order to squash all those java exceptions caused by the developers imports? Thanks on being so helpful and prompt to respond. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 6:12 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site That's what I thought you may have done. If the dependency isn't listed in project.xml, then Maven stops there. The maven.jar.override property and its corresponding maven.jar.* properties only apply to dependencies listed in project.xml. The override is telling Maven to find the jar in a location different from the default (which would be the local repository). -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:59 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Bear in mind that I'm totally new to Maven, in an effort to make the thing compile I removed all dependencies in project.xml and put everything in project.properties like this: maven.jar.override = on # Jars set explicitly by path. maven.jar.tools = $JAVA_HOME/lib/tools.jar maven.jar.activation-1.0.1 = ${basedir}/builder/lib/activation-1.0.1.jar ... Lots of jars here... Thanks David your help is extremely appreciated Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 3:10 PM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site What does your project.xml and project.properties look like in regard to these dependencies? -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 10:22 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site Thanks David By creating a custom goal named java:compile that run the Ant build it kind of works. I would like to move on to Mavenize this project even more. First thing I would like to be able to compile using the real java:compile goal, but every time I try to do that I get errors like this on every import on the code: container/src/java/com/.../.../.../ESFAxisConnector.java:4: package org.mule.umo does not exist import org.mule.umo.UMOComponent; I've already overridden all the jars in project.properties but it just don't catch the overrides. The thing is the current ant builder basically put every jar on the file tree in the classpath. Alex -Original Message- From: David Jackman [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 11:50 AM To: Maven Users List Subject: RE: [m1] How to use Ant script instead of java:compile while creating the site This exact question (or very similar) was brought up about a month ago. You might find what you need by reading through that thread (there was a lot of discussion). You can find the initial message here: http://www.mail-archive.com/users@maven.apache.org/msg21037.html If this doesn't address your problem, ask again and we'll resume the discussion. ..David.. -Original Message- From: Mayorgaadame, Alex [IT] [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 8:18 AM To: Maven Users List Subject: [m1] How to use Ant script instead of java:compile while creating the site I'm in the early stages of presenting Maven to a huge project that uses Ant. The first goal is to create the site for it. The site goal will always fail because the java compilation files given that the dependencies aren't set in project.xml I've created a custom goal to run the ant build.xml and it compiles perfectly. How can I make the site:site maven goal to use that custom goal instead of java:compile while creating the site and the documentation. Hope you can help me on this so the won't scrap the MAven thing altogether. Thank you Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To
[m2 Ant] Any way to force substitution of a different version of a dependency?
We would like to be able to force a local build environment to substitute a different .jar for one called for in a build.xml artifact:dependencies task. For example, say a project has this in its build.xml file: artifact:dependencies filesetId=runtime.fileset dependency groupId=log4j artifactId=log4j version=1.2.1/ /artifact:dependencies I'd like to be able to specify, outside of that build file (perhaps in .m2/settings.xml) that any project (or better still, a specific ant project) asking for log4j v1.2.1 (or log4j versions in some range) should instead go get log4j v1.2.9. This is a requirement brought up by our QA dept. They want to test a project (or often a collection of projects) with a new version of some dependency. We engineers don't want to deal with a lot of conditional glue in our build.xml files, and we want the build.xml to be the authoritative source for dependency information in absence of some local override. What do you think? TIA, -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Spring Modules
On 8/27/05, Andy Glick [EMAIL PROTECTED] wrote: Please bear with me if I've missed something, but from what I can gather on the the mailing lists there may be a way to convert artifacts from M1 repositories to be M2 repository compliant artifacts. Yes, we run this automatically on the /maven/ central repository to get to /maven2/. The source code is sandbox/repoclean in the m2 repository. We intend to polish it up and release it as a separate tool with Maven 2.0. I ask this because I have spent some time converting the 0.2 release of springmodules from the ant builds that ship with it to M1 builds, and I am considering creating M2 builds. Looking at Ibiblio, no 0.2 version jars exist in either the M1 or the M2 repositories. I would be willing to contribute the 0.2 jars and poms to the Ibiblio M1 repository, that'd be great. Please clean it up, make sure it parses properly, and add propertiesscopetest/scope/properties hints to dependencies if you can. You don't have to have a working m2 build, just the information to use it as a dependency (the basic metadata like name description and dependencies and preferably things like scm details). but I'm not sure that my current environment complies with the criteria for the standard maven upload procedure. I'm not sure what you mean here. Anyway, no matter if I can actually contribute the work I've already done, I am trying to reduce the amount of effort needed to produce M2 repository compatible artifacts. Sounds good - what are you doing to do that? - Brett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2 Ant] Any way to force substitution of a different version of a dependency?
I can think of two options: - externalise all your versions to a properties file - create an m2 POM and use that from the Ant tasks instead. The QA team can use a copy of the POM with different dependencies and you can switch the two from a command line switch by externalising the POM filename to a property. The latter would be preferred. Cheers, Brett On 8/27/05, Rick Mann [EMAIL PROTECTED] wrote: We would like to be able to force a local build environment to substitute a different .jar for one called for in a build.xml artifact:dependencies task. For example, say a project has this in its build.xml file: artifact:dependencies filesetId=runtime.fileset dependency groupId=log4j artifactId=log4j version=1.2.1/ /artifact:dependencies I'd like to be able to specify, outside of that build file (perhaps in .m2/settings.xml) that any project (or better still, a specific ant project) asking for log4j v1.2.1 (or log4j versions in some range) should instead go get log4j v1.2.9. This is a requirement brought up by our QA dept. They want to test a project (or often a collection of projects) with a new version of some dependency. We engineers don't want to deal with a lot of conditional glue in our build.xml files, and we want the build.xml to be the authoritative source for dependency information in absence of some local override. What do you think? TIA, -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2 Ant] Any way to force substitution of a different version of a dependency?
On Aug 26, 2005, at 4:26 PM, Brett Porter wrote: - externalise all your versions to a properties file - create an m2 POM and use that from the Ant tasks instead. The QA team can use a copy of the POM with different dependencies and you can switch the two from a command line switch by externalising the POM filename to a property. The latter would be preferred. Yeah, that's not too far from what the QA guy came up with, where there was a build.properties file that named all of the specific versions. I like having the dependencies listed in one place: build.xml. But more than that, I think they want to be able to say, for all projects, or for this specific set of projects, substitute this for that. This would be different from modifying each individual project in a set. -- Rick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven/Spring Testing -- three builds, three config files per project, anthill
FYI, the way I do it: I use the singleton bean factory locator in my applications. I just use Spring for the bean factory and some programmatic transaction management, not aop style. I also used the mock jndi to simulate a container until I got away from Jboss . . . For each project, I have three beanRefFactory.xml (sp?) files: one for prod, one for unit tests, and one for integration tests. The latter 2 are in the test-conf. I also have three normal spring config files for each app. They are named according to the same explicit convention: integration-test-PROJECTNAME-beanRefFactory.xml, or unit-test-PROJECTNAME-spring.xml, or PROJECTNAME-spring.xml. This keeps everything very clean and explicit! The bean ref includes spring files in dependent projects. I put the child project's spring config files last in the bean ref file, so I can override parent values when needed. I have 4 layers deep in some projects. The distributed artifacts for a particular project only include the prod file, never the test config. The child project is responsible for its own mocks. The difference between the prod and integration test files is usually just the datasource. My projects are small enough that I don't need to only include a subset. If you do, you probably need to shrink your projects. For web apps, I expose a static beanConfigFile name variable on my actions and servlets that allows me to change what files gets loaded. For testing non web components I just get an instance of the beanfactory locator using the appropriate bean ref file. This setup is very simple. If you extend a base unit test class or an integration test class, then you can simplify things further. . . . This results in some test cod duplicaiton, but there is no good way around it. It is often not possible to reuse the same test for both integration and unit tests, since you need to setup mocks in the latter. I use the free version of anthill running in tomcat to run maven builds. I just call ant exec with the appropriate target in my build.xml. (Ha!) I parametrize the test include to look like this: include**/*${test}Test.java/include I have three builds for each project: one that builds the site docs and runs every 6 hours, one that runs all tests that runs every 2 hours, and one that runs just unit tests and runs every hour. For the unit tests I specify and argument -Dtest=Unit to just include unit tests. All tests are name *IntegrationTest.java, *UnitTest.java, ManualTest.java, or LoadTest.java. The last two are excluded from all automated builds. This allows me to use the same project xml for all my continuous integration needs. My continuous integration build also charges my in house maven repository. . . . I use maven 1.0.2. Cheers, Aaron Smuts - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]