Re: [maven-eclipse-plugin] We need your help to test the future 2.7
Ok a 2.7 is being built and voting has started. If you would like to participate in testing please see Guide to testing staged releases: http://maven.apache.org/guides/development/guide-testing-releases.html And the nabble archive of the vote at http://www.nabble.com/-VOTE--Release-Maven-Eclipse-plugin-version-2.7-to23845855.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
WebLogic Plugin Sourcecode
I'm trying to use the maven-weblogic-plugin version 2.8 as we're deploying on WebLogic 8.1. When I try and do a release:prepare, it fails as the 2.8 version I have is a SNAPSHOT version. Sounds an odd question, but does anyone know where the source code is located so I can build a release version locally? I've checked all the usual places, but can't seem to find it. Pete
Re : WebLogic Plugin Sourcecode
Hi, https://svn.codehaus.org/mojo/branches/weblogic-maven-plugin-2.8.0/ Regards, Julien De : Inman, Peter peterin...@mcpplc.com À : Maven Users List users@maven.apache.org Envoyé le : Mercredi, 3 Juin 2009, 10h57mn 24s Objet : WebLogic Plugin Sourcecode I'm trying to use the maven-weblogic-plugin version 2.8 as we're deploying on WebLogic 8.1. When I try and do a release:prepare, it fails as the 2.8 version I have is a SNAPSHOT version. Sounds an odd question, but does anyone know where the source code is located so I can build a release version locally? I've checked all the usual places, but can't seem to find it. Pete
RE: Re : WebLogic Plugin Sourcecode
Perfect, thanks very much. Pete -Original Message- From: Julien HENRY [mailto:henr...@yahoo.fr] Sent: 03 June 2009 10:46 To: Maven Users List Subject: Re : WebLogic Plugin Sourcecode Hi, https://svn.codehaus.org/mojo/branches/weblogic-maven-plugin-2.8.0/ Regards, Julien De : Inman, Peter peterin...@mcpplc.com À : Maven Users List users@maven.apache.org Envoyé le : Mercredi, 3 Juin 2009, 10h57mn 24s Objet : WebLogic Plugin Sourcecode I'm trying to use the maven-weblogic-plugin version 2.8 as we're deploying on WebLogic 8.1. When I try and do a release:prepare, it fails as the 2.8 version I have is a SNAPSHOT version. Sounds an odd question, but does anyone know where the source code is located so I can build a release version locally? I've checked all the usual places, but can't seem to find it. Pete - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven collect JAR files into one ZIP
Hi, I have maven project. If I make eclipse project (mvn eclipse:eclipse) then from Eclipse I see, that I have many dependency JAR files resolved. Is there any plug-in that can make for me one ZIP file where all these are collected together? I found that I can make one JAR where all these are collected. I don't need that solution. -- View this message in context: http://www.nabble.com/Maven-collect-JAR-files-into-one-ZIP-tp23849432p23849432.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven collect JAR files into one ZIP
Assembly plugin maybe? http://maven.apache.org/plugins/maven-assembly-plugin/ -Deng On Wed, Jun 3, 2009 at 7:01 PM, Krabi imr...@hot.ee wrote: Hi, I have maven project. If I make eclipse project (mvn eclipse:eclipse) then from Eclipse I see, that I have many dependency JAR files resolved. Is there any plug-in that can make for me one ZIP file where all these are collected together? I found that I can make one JAR where all these are collected. I don't need that solution. -- View this message in context: http://www.nabble.com/Maven-collect-JAR-files-into-one-ZIP-tp23849432p23849432.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven Site plugin - no parent link
I upgraded to version 2.0 and I am still not able to get the parent menu link to generate. The modules menu reference also does not generate in my child project sites (never did with beta-7 version either). At this point I have to assume that there is a problem with my POMs or site.xml files since it appears that this is working for others. Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com On Jun 2, 2009, at 1:45 PM, Dennis Lundberg wrote: Please start by upgrading the Site Plugin to version 2.0. Tom Bollwitt wrote: I am testing out the site plugin on a multi module project and the module project's site is not getting a link back to the parent site. I am using maven version... Apache Maven 2.1.0 (r755702; 2009-03-18 14:10:27-0500) Java version: 1.5.0_16 OS name: mac os x version: 10.5.7 arch: i386 Family: unix Site plugin version... maven-site-plugin 2.0-beta-7 The basic directory structure is as follows.. parent |_module1 | |_pom.xml |_module2 | |_pom.xml |_... |_pom.xml The parent pom is structured like... project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdmy.company/groupId artifactIdsuper-pom/artifactId version1.0/version /parent groupIdcom.mycompany.testproject/groupId artifactIdtestparent/artifactId nametest parent/name packagingpom/packaging version1.0.0-SNAPSHOT/version ... distributionManagement site idtestServer1/id urlfile:///var/www/html//url /site /distributionManagement ... modules modulemodule1/module modulemodule2/module ... /modules ... /project The pom for module1 is like... project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdcom.mycompany.testproject/groupId artifactIdtestparent /artifactId version1.0.0-SNAPSHOT/version /parent groupIdcom.mycompany.testproject/groupId artifactIdmodule1/artifactId nametest module1/name packagingjar/packaging version1.0.0-SNAPSHOT/version ... /project The site.xml for module1 is as follows... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/DECORATION/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd; body menu ref=parent / menu name=My Test project item name=My XDoc Test href=/myTest.html / /menu menu ref=reports / /body /project After reading the docs I thought menu ref=parent / would create a link in module1's menu back to the parent site. Am I missing something or is this just a bug in the site plugin? http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html Including Generated Content There are several preset menus that can be used in the site descriptor to include generated content from your project. These are: reports - a menu with links to all the generated reports for your project parent - a menu with a link to the parent project's site modules - a menu containing the links to the sites of the submodules of this project Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
share static files among projects
Hi I have a multi-modules project. Some of this modules are web applications, and thus have a folder like this: src\main\webapp My problem is that inside src\main\webapp there are files that should be shared but all web application modules in that project. But right now, there is a copy of these files in every module. So in every web application module I have src\main\webapp\js for javascript files. Is it possible to create a commons modules and put those static files inside that module and have every web application use those files instead? If it is, when mavem generates the eclipse project files, is it going to work? How do I do it? Thanks -- Marcos Mendonça - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven collect JAR files into one ZIP
Hi, Yes I now that, but if I look at http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#bin http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#bin then I must write a XML where I must point all files that are ZIPed! I think that better is to have plug-in that resolves deps(from POM) and adds into one ZIP. Jar with deps is not nice solution - long build proccess and I cant send send ~50MB files. Deng Ching wrote: Assembly plugin maybe? http://maven.apache.org/plugins/maven-assembly-plugin/ -Deng On Wed, Jun 3, 2009 at 7:01 PM, Krabi imr...@hot.ee wrote: Hi, I have maven project. If I make eclipse project (mvn eclipse:eclipse) then from Eclipse I see, that I have many dependency JAR files resolved. Is there any plug-in that can make for me one ZIP file where all these are collected together? I found that I can make one JAR where all these are collected. I don't need that solution. -- View this message in context: http://www.nabble.com/Maven-collect-JAR-files-into-one-ZIP-tp23849432p23849432.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://www.nabble.com/Maven-collect-JAR-files-into-one-ZIP-tp23849432p23851158.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Spring unit test cfg file
Great, it worked. I can easily adjust Eclipse IDE to look for src/test/resources/ to make both mvn and IDE working. Thanks a lot! -Herbert On Tue, Jun 2, 2009 at 3:50 PM, Herbert Wu herber...@gmail.com wrote: Sorry for the rookie question as I am just learning Maven and had difficulty to find an answer for a simple spring cfg file issue: In my unit test, I placed the unit-test spring-bean xml file client-config.xml in src/test/com/demo folder, and how to instruct maven classloader to load from this folder? This is the annotated Spring unit test code that uses classpath to load the spring-bean client-config.xml( Eclipse IDE loads it fine). @ContextConfiguration(locations = {classpath:com/demo/client-config.xml}) @RunWith(SpringJUnit4ClassRunner.class) public class HelloWorldAnnotationTest { ... } But mvn test apparently only looks target\test-classes\com\demo path - not src/test/com/demo path, and complains client-config.xml file not found. Thanks -Herbert
Re: Question about C-Builds
resend to get more attention :-) Advice is greatly appreciated -D On Wed, May 27, 2009 at 9:30 PM, Dan Tran dant...@gmail.com wrote: Hi, Can i use C-builds to download and unpack a source tar ball thru maven dependencies, apply some patches, or replace some files, run configure with a --prefix, run make, install it to fakeroot, zip/tgz/tbz2 the fakeroot to become final artifacts. Look likes Cbuild do most, but the fakeroot and zip up the fakeroot ( it uses rpm instead ) Thanks -Dan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
snapshot timestamp dependency classpath
Scenario Description: 1) Project Foo has a dependency on Bar-SNAPSHOT. 2) Bar-SNAPSHOT is downloaded correctly from our repository and is timestamped. 3) The classpath of Foo shows Bar-SNAPSHOT, however the included jar has Bar-SNAPSHOT-time-time-time. Questions: q1) Is there a way to rename the downloaded snapshot to not have the timestamp? q2) Or is there a way for maven to work out what the latest snapshot is and insert the timestamp into the classpath? The only work around we have the moment is to install Bar-SNAPSHOT locally where it doesn't have the timestamp. However this is a fudgy solution which won't always work because we won't always have access to build Bar-SNAPSHOT locally. maven, 2.0.9, 2.0.10, 2.1.0 -- View this message in context: http://n2.nabble.com/snapshot-timestamp-dependency-classpath-tp3019277p3019277.html Sent from the maven users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven collect JAR files into one ZIP
I think that better is to have plug-in that resolves deps(from POM) and adds into one ZIP. Jar with deps is not nice solution - long build proccess and I cant send send ~50MB files. You realize that the Jar file format is essentially zip plus some text files, right? What do you think would be magically different in this proposed Zip vs what Jar with deps is producing? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven collect JAR files into one ZIP
I think that better is to have plug-in that resolves deps(from POM) and adds into one ZIP. Jar with deps is not nice solution - long build proccess and I cant send send ~50MB files. You realize that the Jar file format is essentially zip plus some text files, right? What do you think would be magically different in this proposed Zip vs what Jar with deps is producing? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Spring unit test cfg file
If you install the m2eclipse plugin, it will (among other cool things) automatically update your .classpath file to use the src/test/resources directory. On Wed, 3 Jun 2009 09:26:13 -0500, Herbert Wu herber...@gmail.com wrote: Great, it worked. I can easily adjust Eclipse IDE to look for src/test/resources/ to make both mvn and IDE working. Thanks a lot! -Herbert On Tue, Jun 2, 2009 at 3:50 PM, Herbert Wu herber...@gmail.com wrote: Sorry for the rookie question as I am just learning Maven and had difficulty to find an answer for a simple spring cfg file issue: In my unit test, I placed the unit-test spring-bean xml file client-config.xml in src/test/com/demo folder, and how to instruct maven classloader to load from this folder? This is the annotated Spring unit test code that uses classpath to load the spring-bean client-config.xml( Eclipse IDE loads it fine). @ContextConfiguration(locations = {classpath:com/demo/client-config.xml}) @RunWith(SpringJUnit4ClassRunner.class) public class HelloWorldAnnotationTest { ... } But mvn test apparently only looks target\test-classes\com\demo path - not src/test/com/demo path, and complains client-config.xml file not found. Thanks -Herbert - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven Site Plugin - site.xml custom tag
I am creating a custom Velocity template to use with a skin for site generation. My site.xml has the following... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/DECORATION/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd custom siteOwnerFooBar/siteOwner /custom body menu ref=modules inherit=top inheritAsRef=false/ /body /project My velocity template has the following... $decoration.custom $decoration.custom.siteOwner $decoration.custom.siteOwner.name The template renders as... FooBar $decoration.custom.siteOwner $decoration.custom.siteOwner.name I would have expected $decoration.custom.siteOwner.name to be the one to work. This causes a problem because if I need multiple custom tags there is no way to reference them individually. so this custom siteOwnerFooBar/siteOwner MyCustomTagsome value/MyCustomTag /custom ends up rendering as this... FooBar some value $decoration.custom.siteOwner $decoration.custom.siteOwner.name I have not been able to find any docs on proper usage for the custom site.xml tags. Can anyone provide a little insight to the proper usage? Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com
Re: Maven Site Plugin - site.xml custom tag
Sorry, made a mistake on the site.xml (I was playing around with it while composing the original email). It should be this... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/DECORATION/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd custom siteOwner nameFooBar/name /siteOwner /custom body menu ref=parentProject inherit=top/ menu ref=modules inherit=top inheritAsRef=false/ /body /project Regards, Tom Bollwitt SYSTEMS ENGINEER Mersoft 9300 W. 110th St. Building 55, Suite 350 Overland Park, KS 66210 913-871-6200 tlbollw...@mersoft.com On Jun 3, 2009, at 11:55 AM, Tom Bollwitt wrote: I am creating a custom Velocity template to use with a skin for site generation. My site.xml has the following... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/DECORATION/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd custom siteOwnerFooBar/siteOwner /custom body menu ref=modules inherit=top inheritAsRef=false/ /body /project My velocity template has the following... $decoration.custom $decoration.custom.siteOwner $decoration.custom.siteOwner.name The template renders as... FooBar $decoration.custom.siteOwner $decoration.custom.siteOwner.name I would have expected $decoration.custom.siteOwner.name to be the one to work. This causes a problem because if I need multiple custom tags there is no way to reference them individually. so this custom siteOwnerFooBar/siteOwner MyCustomTagsome value/MyCustomTag /custom ends up rendering as this... FooBar some value $decoration.custom.siteOwner $decoration.custom.siteOwner.name I have not been able to find any docs on proper usage for the custom site.xml tags. Can anyone provide a little insight to the proper usage? Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com
Re: Maven Site plugin - no parent link
Do you have a url specified in the parent POM and/or the module POM? There has been reports of problems when some/all of these are missing. Tom Bollwitt wrote: I upgraded to version 2.0 and I am still not able to get the parent menu link to generate. The modules menu reference also does not generate in my child project sites (never did with beta-7 version either). At this point I have to assume that there is a problem with my POMs or site.xml files since it appears that this is working for others. Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com On Jun 2, 2009, at 1:45 PM, Dennis Lundberg wrote: Please start by upgrading the Site Plugin to version 2.0. Tom Bollwitt wrote: I am testing out the site plugin on a multi module project and the module project's site is not getting a link back to the parent site. I am using maven version... Apache Maven 2.1.0 (r755702; 2009-03-18 14:10:27-0500) Java version: 1.5.0_16 OS name: mac os x version: 10.5.7 arch: i386 Family: unix Site plugin version... maven-site-plugin 2.0-beta-7 The basic directory structure is as follows.. parent |_module1 | |_pom.xml |_module2 | |_pom.xml |_... |_pom.xml The parent pom is structured like... project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdmy.company/groupId artifactIdsuper-pom/artifactId version1.0/version /parent groupIdcom.mycompany.testproject/groupId artifactIdtestparent/artifactId nametest parent/name packagingpom/packaging version1.0.0-SNAPSHOT/version ... distributionManagement site idtestServer1/id urlfile:///var/www/html//url /site /distributionManagement ... modules modulemodule1/module modulemodule2/module ... /modules ... /project The pom for module1 is like... project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdcom.mycompany.testproject/groupId artifactIdtestparent /artifactId version1.0.0-SNAPSHOT/version /parent groupIdcom.mycompany.testproject/groupId artifactIdmodule1/artifactId nametest module1/name packagingjar/packaging version1.0.0-SNAPSHOT/version ... /project The site.xml for module1 is as follows... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/DECORATION/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd; body menu ref=parent / menu name=My Test project item name=My XDoc Test href=/myTest.html / /menu menu ref=reports / /body /project After reading the docs I thought menu ref=parent / would create a link in module1's menu back to the parent site. Am I missing something or is this just a bug in the site plugin? http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html Including Generated Content There are several preset menus that can be used in the site descriptor to include generated content from your project. These are: reports - a menu with links to all the generated reports for your project parent - a menu with a link to the parent project's site modules - a menu containing the links to the sites of the submodules of this project Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Does reactor spawn a subprocess for each submodule?
I explained the overall goal, in case there are alternative ways to get there that might be preferable to a forked execution. However, I can also explain why we are exploring a forked execution at this point. We are currently setting the version like this: version${env.MY_BUILD_VARIABLE}/version. Prior to building, we call a script that sets up the build environment, including assigning a value to MY_BUILD_VARIABLE, which gets its value from the top Perforce changenum. Because this variable is set once, the version of every POM in the multi-module system is set to this value. This does not allow us to distinguish whether a given module has had any changes (and thus needs to be rebuilt), so it results in a complete rebuild of the system. We are trying to make the build system more agile, such that we can skip building modules that have not had any changes since the last build. So, the sub-problem is how to assign a module-specific version to the POM via an environment variable? We are considering two approaches. The first is to create a unique environment variable for each submodule, set it prior to beginning the build, and set the POM version to pull from its specific environment variable. The second is to set one variable, but reassign its value prior to executing each submodule. This requires forked execution. We would prefer to use Maven to get the correct version. We have failed to identify a way to do so. One reason is that only text or variables are accepted inside a version/, not commands. Another reason is that you can't dynamically set the version because the values of POM properties are solidified prior to any plugins running, though it is not clear exactly when and how the solidification happens (Parsing? Validation phase?). If not for the properties solidifying, we could use a plugin to gather the version number, such as antrun. We can't use SCM:perforce or release to set the version, because the perforce implementation is buggy. Therefore, unless we want to manually hardcode every POM (which we don't), we concluded that we need to pull it from an environment variable. With forking, we would be able to update the value of the variable in a new process, and the goal would be invoked on the POM in the new process. -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Tuesday, June 02, 2009 10:45 PM To: Maven Users List Subject: Re: Does reactor spawn a subprocess for each submodule? We are all still wondering _why_ you feel you need to do this forking? 2009/6/3 Tracy Hartford tra...@zillow.com I have spent some time looking into the invoker plugin, and according to the specs, it is primarily used for integration testing. My original question was whether it was possible, when invoking a maven goal on a parent POM, to force the reactor to spawn a new process for each of the submodule executions of that goal. How can I use the invoker to force the executions to fork? Assuming the invoker could be used to cause forked execution of the goal on the subprocesses, if I were to use a preBuildHookScript, would the execution of the script occur in the same process as the goal invocation, or would it be executed in its own process, then return to the parent process to proceed with the goal execution? Thanks ~ Tracy -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: Sunday, May 24, 2009 5:51 AM To: Maven Users List Subject: Re: Does reactor spawn a subprocess for each submodule? It runs inside the same process. You can use the invoker to fork a maven process, but this is not usually done as you describe. Why do you want to fork a new process for each module? On Fri, May 22, 2009 at 6:43 PM, Tracy Hartford tra...@zillow.com wrote: I am working on a large multi-module project, and I need to know how the reactor works when I invoke a maven goal on the parent POM. I know that Maven adds all the submodule POMs into the Reactor, which analyzes the dependencies between them, and determines the build order. I understand that the Reactor then effectively executes the goal for each submodule. What I need to know is, when the Reactor executes the goal for a given submodule, does it spawn a child process to do so, or does it execute in the current process? If it execute in the current process, is there a way to force it to spawn a new process first? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Spring unit test cfg file
hmm..., I got this error when installing m2eclipse plugin: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.0.v3448f]. I use http://m2eclipse.sonatype.org/update/ and is this the correct url? Thanks, -Herbert On Wed, Jun 3, 2009 at 11:41 AM, Nayan Hajratwala na...@chikli.com wrote: If you install the m2eclipse plugin, it will (among other cool things) automatically update your .classpath file to use the src/test/resources directory. On Wed, 3 Jun 2009 09:26:13 -0500, Herbert Wu herber...@gmail.com wrote: Great, it worked. I can easily adjust Eclipse IDE to look for src/test/resources/ to make both mvn and IDE working. Thanks a lot! -Herbert On Tue, Jun 2, 2009 at 3:50 PM, Herbert Wu herber...@gmail.com wrote: Sorry for the rookie question as I am just learning Maven and had difficulty to find an answer for a simple spring cfg file issue: In my unit test, I placed the unit-test spring-bean xml file client-config.xml in src/test/com/demo folder, and how to instruct maven classloader to load from this folder? This is the annotated Spring unit test code that uses classpath to load the spring-bean client-config.xml( Eclipse IDE loads it fine). @ContextConfiguration(locations = {classpath:com/demo/client-config.xml}) @RunWith(SpringJUnit4ClassRunner.class) public class HelloWorldAnnotationTest { ... } But mvn test apparently only looks target\test-classes\com\demo path - not src/test/com/demo path, and complains client-config.xml file not found. Thanks -Herbert - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Spring unit test cfg file
I'm guessing you have an eclipse pre-3.4. I use the current 3.5 RC, which works fine. I also use the update-dev site, but it should be basically the same. On Wed, 3 Jun 2009 13:07:12 -0500, Herbert Wu herber...@gmail.com wrote: hmm..., I got this error when installing m2eclipse plugin: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.0.v3448f]. I use http://m2eclipse.sonatype.org/update/ and is this the correct url? Thanks, -Herbert On Wed, Jun 3, 2009 at 11:41 AM, Nayan Hajratwala na...@chikli.com wrote: If you install the m2eclipse plugin, it will (among other cool things) automatically update your .classpath file to use the src/test/resources directory. On Wed, 3 Jun 2009 09:26:13 -0500, Herbert Wu herber...@gmail.com wrote: Great, it worked. I can easily adjust Eclipse IDE to look for src/test/resources/ to make both mvn and IDE working. Thanks a lot! -Herbert On Tue, Jun 2, 2009 at 3:50 PM, Herbert Wu herber...@gmail.com wrote: Sorry for the rookie question as I am just learning Maven and had difficulty to find an answer for a simple spring cfg file issue: In my unit test, I placed the unit-test spring-bean xml file client-config.xml in src/test/com/demo folder, and how to instruct maven classloader to load from this folder? This is the annotated Spring unit test code that uses classpath to load the spring-bean client-config.xml( Eclipse IDE loads it fine). @ContextConfiguration(locations = {classpath:com/demo/client-config.xml}) @RunWith(SpringJUnit4ClassRunner.class) public class HelloWorldAnnotationTest { ... } But mvn test apparently only looks target\test-classes\com\demo path - not src/test/com/demo path, and complains client-config.xml file not found. Thanks -Herbert - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Nayan Hajratwala http://agileshrugged.com 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: War Plugin does not copy Main-Class to / of war file
You can do it in a single module. Since a self-executable war is non-standard, the war plugin doesn't know that a main class should be in the root. Here's how I do it: plugin artifactIdmaven-antrun-plugin/artifactId executions execution idmove-main-class/id phasecompile/phase configuration tasks move todir=${project.build.directory}/${project.artifactId} fileset dir=${project.build.directory}/classes/ include name=MyWebApp*.class / /fileset /move /tasks /configuration goals goalrun/goal /goals /execution /executions /plugin Kalle On Mon, Jun 1, 2009 at 11:33 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: You'll probably want to put your main class in a separate jar and then use dependency:unpack-dependencies to unpack the main class 2009/6/2 nambi sankaran snambi...@yahoo.com Hi All I am trying to embed jetty into a war file, so that the war file becomes executable. java -jar mywar.war will start jetty on port 8080. ie, Main-Class will start Jetty programmatically. To achieve this I have added configuration section for war plugin, build finalNametestwar/finalName plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration archive manifest mainClassTestMain/mainClass /manifest /archive /configuration /plugin /plugins /build This results in correct MANIFEST.MF file, with the following entry Main-Class : TestMain Howvever, TestMain class is coped to WEB-INF/classes directory To make the war executable, the TestMain should be at the root level of war file. The war plugin documentation doesn't provide enough information how to configure the plugin, to copy Main-Class to root level. Have anyone come across this issue? Thanks Nambi - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven Site plugin - no parent link
No, I do not have a url specified in every POM. I will try that out when I get a chance and respond back with the results. Thanks for the info. :-) Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com On Jun 3, 2009, at 12:40 PM, Dennis Lundberg wrote: Do you have a url specified in the parent POM and/or the module POM? There has been reports of problems when some/all of these are missing. Tom Bollwitt wrote: I upgraded to version 2.0 and I am still not able to get the parent menu link to generate. The modules menu reference also does not generate in my child project sites (never did with beta-7 version either). At this point I have to assume that there is a problem with my POMs or site.xml files since it appears that this is working for others. Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com On Jun 2, 2009, at 1:45 PM, Dennis Lundberg wrote: Please start by upgrading the Site Plugin to version 2.0. Tom Bollwitt wrote: I am testing out the site plugin on a multi module project and the module project's site is not getting a link back to the parent site. I am using maven version... Apache Maven 2.1.0 (r755702; 2009-03-18 14:10:27-0500) Java version: 1.5.0_16 OS name: mac os x version: 10.5.7 arch: i386 Family: unix Site plugin version... maven-site-plugin 2.0-beta-7 The basic directory structure is as follows.. parent |_module1 | |_pom.xml |_module2 | |_pom.xml |_... |_pom.xml The parent pom is structured like... project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdmy.company/groupId artifactIdsuper-pom/artifactId version1.0/version /parent groupIdcom.mycompany.testproject/groupId artifactIdtestparent/artifactId nametest parent/name packagingpom/packaging version1.0.0-SNAPSHOT/version ... distributionManagement site idtestServer1/id urlfile:///var/www/html//url /site /distributionManagement ... modules modulemodule1/module modulemodule2/module ... /modules ... /project The pom for module1 is like... project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdcom.mycompany.testproject/groupId artifactIdtestparent /artifactId version1.0.0-SNAPSHOT/version /parent groupIdcom.mycompany.testproject/groupId artifactIdmodule1/artifactId nametest module1/name packagingjar/packaging version1.0.0-SNAPSHOT/version ... /project The site.xml for module1 is as follows... ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/DECORATION/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd; body menu ref=parent / menu name=My Test project item name=My XDoc Test href=/myTest.html / /menu menu ref=reports / /body /project After reading the docs I thought menu ref=parent / would create a link in module1's menu back to the parent site. Am I missing something or is this just a bug in the site plugin? http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html Including Generated Content There are several preset menus that can be used in the site descriptor to include generated content from your project. These are: reports - a menu with links to all the generated reports for your project parent - a menu with a link to the parent project's site modules - a menu containing the links to the sites of the submodules of this project Regards, Tom Bollwitt Mersoft tlbollw...@mersoft.com -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Does reactor spawn a subprocess for each submodule?
have a look at versions:set in the latest 1.0-beta-1-SNAPSHOT Sent from my [rhymes with myPod] ;-) On 3 Jun 2009, at 18:51, Tracy Hartford tra...@zillow.com wrote: I explained the overall goal, in case there are alternative ways to get there that might be preferable to a forked execution. However, I can also explain why we are exploring a forked execution at this point. We are currently setting the version like this: version${env.MY_BUILD_VARIABLE}/version. Prior to building, we call a script that sets up the build environment, including assigning a value to MY_BUILD_VARIABLE, which gets its value from the top Perforce changenum. Because this variable is set once, the version of every POM in the multi-module system is set to this value. This does not allow us to distinguish whether a given module has had any changes (and thus needs to be rebuilt), so it results in a complete rebuild of the system. We are trying to make the build system more agile, such that we can skip building modules that have not had any changes since the last build. So, the sub-problem is how to assign a module-specific version to the POM via an environment variable? We are considering two approaches. The first is to create a unique environment variable for each submodule, set it prior to beginning the build, and set the POM version to pull from its specific environment variable. The second is to set one variable, but reassign its value prior to executing each submodule. This requires forked execution. We would prefer to use Maven to get the correct version. We have failed to identify a way to do so. One reason is that only text or variables are accepted inside a version/, not commands. Another reason is that you can't dynamically set the version because the values of POM properties are solidified prior to any plugins running, though it is not clear exactly when and how the solidification happens (Parsing? Validation phase?). If not for the properties solidifying, we could use a plugin to gather the version number, such as antrun. We can't use SCM:perforce or release to set the version, because the perforce implementation is buggy. Therefore, unless we want to manually hardcode every POM (which we don't), we concluded that we need to pull it from an environment variable. With forking, we would be able to update the value of the variable in a new process, and the goal would be invoked on the POM in the new process. -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Tuesday, June 02, 2009 10:45 PM To: Maven Users List Subject: Re: Does reactor spawn a subprocess for each submodule? We are all still wondering _why_ you feel you need to do this forking? 2009/6/3 Tracy Hartford tra...@zillow.com I have spent some time looking into the invoker plugin, and according to the specs, it is primarily used for integration testing. My original question was whether it was possible, when invoking a maven goal on a parent POM, to force the reactor to spawn a new process for each of the submodule executions of that goal. How can I use the invoker to force the executions to fork? Assuming the invoker could be used to cause forked execution of the goal on the subprocesses, if I were to use a preBuildHookScript, would the execution of the script occur in the same process as the goal invocation, or would it be executed in its own process, then return to the parent process to proceed with the goal execution? Thanks ~ Tracy -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: Sunday, May 24, 2009 5:51 AM To: Maven Users List Subject: Re: Does reactor spawn a subprocess for each submodule? It runs inside the same process. You can use the invoker to fork a maven process, but this is not usually done as you describe. Why do you want to fork a new process for each module? On Fri, May 22, 2009 at 6:43 PM, Tracy Hartford tra...@zillow.com wrote: I am working on a large multi-module project, and I need to know how the reactor works when I invoke a maven goal on the parent POM. I know that Maven adds all the submodule POMs into the Reactor, which analyzes the dependencies between them, and determines the build order. I understand that the Reactor then effectively executes the goal for each submodule. What I need to know is, when the Reactor executes the goal for a given submodule, does it spawn a child process to do so, or does it execute in the current process? If it execute in the current process, is there a way to force it to spawn a new process first? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,
dependencies ignored if duplicated
seems that with maven 2.1 if I have a dependency in a pom.xml listed *twice* (or is it twice with differing versions?) the dependency is silently ignored. Thanks! -=r - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Problem with artifact resolution in Maven 2.1.0
We're in the process of upgrading Maven to 2.1.0 from 2.0.9, and our build is not working (it uses the Flexmojos plugin). I can see how it fails, but I don't understand why it only fails in Maven 2.1.0. Perusing the release notes did not seem to indicate anything obvious as to why the behavior change, but I don't understand Maven internals that well. When run in 2.0.9 I get this output: . [DEBUG] com.example.project:libC:rb.swc:1.0.2-SNAPSHOT:compile (selected for compile) . [DEBUG] libA: using locally installed snapshot [DEBUG] libB: using locally installed snapshot [DEBUG] libC: using locally installed snapshot [DEBUG] getResourcesBundles([Ljava.lang.String;@557a2adf) returning resourceBundles: [., /Users/logan/.m2/repository/com/example/project/libA/1.0.2-SNAPSHOT/libA-1.0.2-SNAPSHOT-en_US.rb.swc, /Users/logan/.m2/repository/com/example/project/libB/1.0.2-SNAPSHOT/libB-1.0.2-SNAPSHOT-en_US.rb.swc, /Users/logan/.m2/repository/com/example/project/libC/1.0.2-SNAPSHOT/libC-1.0.2-SNAPSHOT-en_US.rb.swc,.] However, when running from 2.1.0 I get this output: [DEBUG] com.example.project:libC:resource-bundle:1.0.2-SNAPSHOT:compile (selected for compile) . [DEBUG] libA: using locally installed snapshot [DEBUG] libB: using locally installed snapshot [DEBUG] getResourcesBundles([Ljava.lang.String;@2ff3376a) returning resourceBundles: [., /Users/logan/.m2/repository/com/example/project/libA/1.0.2-SNAPSHOT/libA-1.0.2-SNAPSHOT-en_US.rb.swc, /Users/logan/.m2/repository/com/example/project/libB/1.0.2-SNAPSHOT/libB-1.0.2-SNAPSHOT-en_US.rb.swc,.] Notice that 2.1.0 shows the coordinate type as resource-bundle but 2.0.9 has it as rb.swc, 2.1.0 also does not have the message: [DEBUG] libC: using locally installed snapshot and the plugin debug message about getResourcesBundles does not include libC. The getResourcesBundles() method eventually calls: resolver.resolveTransitively( project.getDependencyArtifacts(), project.getArtifact(), remoteRepositories, localRepository, artifactMetadataSource ); (resolver is of type ArtifactResolver) and then filters out all of the artifacts that aren't rb.swc. Does anyone understand why the 2.1.0 behavior is different, and what needs to be done to get it resolved (fix pom, fix Flexmojos, log bug against Maven 2.1.0)? thanks, Logan MORE PROJECT INFO: We are using the Flexmojos maven plugin, which has a special packaging type (from components.xml): component roleorg.apache.maven.artifact.handler.ArtifactHandler/role role-hintresource-bundle/role-hint implementationorg.apache.maven.artifact.handler.DefaultArtifactHandler/implementation configuration typeresource-bundle/type extensionrb.swc/extension includesDependenciesfalse/includesDependencies languageactionscript/language addedToClasspathfalse/addedToClasspath /configuration /component Then these artifacts are looked up like this: resolver.resolveTransitively( project.getDependencyArtifacts(), project.getArtifact(), remoteRepositories, localRepository, artifactMetadataSource ); resolver is of type ArtifactResolver. We have a multi-module build: modules modulelibA/module modulelibB/module modulelibC/module . moduleapp/module /modules app depends on libC and libB, and libC depends on libB and libA etc.: (from app pom.xml): dependency groupIdcom.example.project/groupId artifactIdlibB/artifactId version1.0.2-SNAPSHOT/version typeswc/type /dependency dependency groupIdcom.example.project/groupId artifactIdlibB/artifactId version1.0.2-SNAPSHOT/version typerb.swc/type /dependency dependency groupIdcom.example.project/groupId artifactIdlibC/artifactId version1.0.2-SNAPSHOT/version typeswc/type /dependency dependency groupIdcom.example.project/groupId artifactIdlibC/artifactId version1.0.2-SNAPSHOT/version typerb.swc/type /dependency (from libC pom.xml): dependency groupIdcom.example.project/groupId artifactIdlibA/artifactId version1.0.2-SNAPSHOT/version typeswc/type /dependency dependency groupIdcom.example.project/groupId artifactIdlibA/artifactId version1.0.2-SNAPSHOT/version typerb.swc/type /dependency dependency groupIdcom.example.project/groupId artifactIdlibB/artifactId version1.0.2-SNAPSHOT/version typeswc/type /dependency dependency groupIdcom.example.project/groupId artifactIdlibB/artifactId version1.0.2-SNAPSHOT/version typerb.swc/type /dependency
Re: dependencies ignored if duplicated
seems that with maven 2.1 if I have a dependency in a pom.xml listed *twice* (or is it twice with differing versions?) the dependency is silently ignored. I've never experienced that myself. Can you provide your pom along with the output of mvn help:effective-pom? Post them on www.pastebin.com and send us the link -- this list strips many attachments. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
BUILD ERROR with relative path on install-file goal
Hi all... I've tried to install a .jar file using a relative path to a file located in a folder named common-lib under the parent folder of the project... Just like: -parent-project | |-module1 | |-availability_queue | |-common-lib | | | |-j2ee.jar | |-praxis.jar | |-moduleN And I want to install these jars in the clean phase by using maven-install-plugin. Whe I run mvn clean, the plugin installs the dependency, but it still try to install the file from the other modules, and causes the next error: [INFO] [clean:clean] [INFO] [install:install-file {execution: j2ee-library}] [INFO] Installing D:\dev\workspace\parent-project\availability_queue\common-lib\j2ee.jar to C:\Documents and Settings\Jorge Ruiz\.m2\repository\javax\j2ee\1.4\j2ee-1.4.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error installing artifact 'javax:j2ee:jar': Error installing artifact: File D:\dev\workspace\parent-project\availability_queue\common-lib\j2ee.jar does not exist Looks like the plugin try to find the file into the submodules, however the file is correctly installed and the dependency is now in the local repository... There is my parent pom.xml... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-install-plugin/artifactId version2.2/version executions execution idj2ee-library/id phaseclean/phase goals goalinstall-file/goal /goals configuration file${common-lib}/j2ee.jar/file groupIdjavax/groupId artifactIdj2ee/artifactId version1.4/version packagingjar/packaging /configuration /execution execution idpraxis-library/id phaseclean/phase goals goalinstall-file/goal /goals configuration file${common-lib}/praxis.jar/file groupIdpraxis/groupId artifactIdpraxis/artifactId version1.0/version packagingjar/packaging /configuration /execution /executions /plugin . properties common-libcommon-lib/common-lib /properties -- View this message in context: http://www.nabble.com/BUILD-ERROR-with-relative-path-on-install-file-goal-tp23861813p23861813.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Resolving plugin dependencies
Hello, I'm trying to create a plugin that can either run in process or run in a separate process. To run in a separate process I need to examine the plugins dependencies and resolve them in case they have been overridden in the pom. For instance, I want to be able to do plugin groupIdcom.3levers.maven.plugins/groupId artifactIdmy-maven-plugin/artifactId version1.0-SNAPSHOT/version configuration backgroundfalse/background /configuration /plugin Which has a dependency on dependency.groupId:artifactId:1.1 I'd like to allow users to define their own version of the dependency such as plugin groupIdcom.3levers.maven.plugins/groupId artifactIdmy-maven-plugin/artifactId version1.0-SNAPSHOT/version configuration backgroundfalse/background /configuration dependencies dependency groupIddependency.groupId/groupId artifactIdartifactId/artifactId version1.2/version /dependency /dependencies /plugin To do that, I need to somehow be able to find the overridden dependencies version. I'll now the groupId and artifactId ahead of time and be able to hardcode them in the plugin. I just haven't been able to figure out how to get that version, of even better the artifact itself, and all of it's dependencies so I can build the classpath for the forked process. I've tried using the MavenProject.getPluginArtifacts() but that only gives me the plugin artifacts and I can't get the plugins dependencies from that. Is there any way I can do this or do I have to settle with the plugin dependency version not being overrideable? Thanks, Rich - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: share static files among projects
Hello, one solution to the problem is to put the static files in src/main/ webapp/js in a separate module on which those webapp modules depend upon. Then use the assembly plugin in the build section of those webapp modules to copy the js-files from the new module into the correct place during a build. Instructions on how to use the assembly-plugin can be found at http://www.sonatype.com/books/maven-book/reference/assemblies.html Cheers, Samuli Ulmanen On Jun 3, 2009, at 3:59 PM, Marcos Mendonça wrote: Hi I have a multi-modules project. Some of this modules are web applications, and thus have a folder like this: src\main\webapp My problem is that inside src\main\webapp there are files that should be shared but all web application modules in that project. But right now, there is a copy of these files in every module. So in every web application module I have src\main\webapp\js for javascript files. Is it possible to create a commons modules and put those static files inside that module and have every web application use those files instead? If it is, when mavem generates the eclipse project files, is it going to work? How do I do it? Thanks -- Marcos Mendonça - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org