Re: How do I run a bat file as a build
Currently it's scm:local|c:/bat|foo.bat Emmanuel Venisse wrote: what is your scm url? Joakim Zetterberg a écrit : How would I set up a project if I would like a bat file to run? Let's say I have the bat file in c:\bat and its called foo.bat. I have tried to enter a local scm url, but I still get errors: Exception: Cannot checkout sources. The module isn't a directory. I guess I have missed something in the configuration, but I don't really know what to change. -- View this message in context: http://www.nabble.com/How-do-I-run-a-bat-file-as-a-build-tf4342442.html#a12382602 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: How do I run a bat file as a build
the latest parameter must be a module name so if you want to checkout the bat directory, the scm url must be: scm:local|c:/|bat Emmanuel Joakim Zetterberg a écrit : Currently it's scm:local|c:/bat|foo.bat Emmanuel Venisse wrote: what is your scm url? Joakim Zetterberg a écrit : How would I set up a project if I would like a bat file to run? Let's say I have the bat file in c:\bat and its called foo.bat. I have tried to enter a local scm url, but I still get errors: Exception: Cannot checkout sources. The module isn't a directory. I guess I have missed something in the configuration, but I don't really know what to change.
Release FileNotFoundException?
Hello: I am using the latest and greatest continuum version (continuum-plexus-runtime-1.1-beta-2-bin.tar). I cannot find any documentation for releasing artifacts (release parameters, etc.). I tried using a basic pom.xml e.g. 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 groupIdmedia/groupId artifactIdservice-provider/artifactId packagingjar/packaging version0.10-SNAPSHOT/version nameService Provider/name parent groupIdmedia/groupId artifactIdparent/artifactId version0.15/version /parent scm connectionscm:svn:http://svn.somehost.com/trunk/workspace/component/service-provider/connection developerConnectionscm:svn:http://svn.somehost.com/trunk/workspace/component/service-provider/developerConnection urlhttp://viewvc.somehost.com/viewvc/trunk/workspace/component/service-provider/url /scm /project It builds successfully... but which I try to release:prepare I receive the following exception: java.io.FileNotFoundException: 1\pom.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileReader.init(FileReader.java:55) at org.apache.maven.continuum.web.action.ReleasePrepareAction.getReleasePluginParameters(ReleasePrepareAction.java:128) at org.apache.maven.continuum.web.action.ReleasePrepareAction.input(ReleasePrepareAction.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216) Thank you in advance, Christiaan _ Learn.Laugh.Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us
Re: Maven repository
You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester
help regarding MAVEN
Hi all, iam getting an error while trying to compile the code on eclipse The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found can anyone help me seen iam in a big trouble. Thanks Ravi S
RE: help regarding MAVEN
Hi, May be you forgot to specify the version or it could not able to find the plugin. http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p lugin/ Resource plugin is available here, different versions are available. You can specify the repository in settings.xml or you can download the jar and install it manually using mvn install command. Best Regard's Murugan -Original Message- From: Samavedula, Ravi (GE Healthcare, consultant) [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 29, 2007 10:11 AM To: users@maven.apache.org Subject: help regarding MAVEN Hi all, iam getting an error while trying to compile the code on eclipse The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found can anyone help me seen iam in a big trouble. Thanks Ravi S ** This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter. Thank you. FADLD Tag ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: environment variable for location of settings.xml?
Got it. Just to confirm since i cannot find anything such as an environment variable. Thanks On 8/28/07, Wayne Fay [EMAIL PROTECTED] wrote: Other than -s, nothing else is built in. Of course, you can easily alter the mvn.bat file for your company and add other parameters, check for environment variables etc. But then you need to make sure everyone is running your modified mvn.bat file. Wayne On 8/28/07, Baz [EMAIL PROTECTED] wrote: Wayne, Thanks for your reply. If I dont use -s then it will only look at user_home/.m2 ? No environment variable will change this behaviour right? B. On 8/28/07, Wayne Fay [EMAIL PROTECTED] wrote: mvn -? -s,--settings Alternate path for the user settings file Wayne On 8/28/07, Baz [EMAIL PROTECTED] wrote: All, Does maven 2.x looking at any environment variables for the location of settings.xml? I know the default location is user_home_dir/.m2 but I want to be able to change the default behavior when you type mvn. Thanks. B. - 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: deploy goal fails
Hi, we manage to get this working adding an execution goal to the war plugin, as per: http://jira.codehaus.org/browse/MNG-1893#action_77870 Hope it helps you too Regards Ivan Ivan Garcia wrote: Hi, Did you find a solution for this? I'm having the same problem: Error deploying artifact: C:\projects\Portal2\code\workflow\web\target\classes (Access is denied) The point is that it only fails when adding a classifier to the war. mvn install OTOH works fine (I also get the : altDeploymentRepository = null ) Regards Ivan John Coleman-6 wrote: It's strange because this is a mapped drive over a local disk, and the folder exists and contains classes. But this looks somewhat like a network permissions problem? Other deployments from this drive work fine. John -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 21 August 2007 16:53 To: Maven Users List Subject: Re: deploy goal fails Caused by: java.io.FileNotFoundException: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at java.io.FileInputStream.open(Native Method) That's your root problem. I can't tell you why its happening or what it means, but that's the reason your deploy is failing. Wayne On 8/21/07, John Coleman [EMAIL PROTECTED] wrote: I have used a classifier on the war plugin, and it looks like this spoils the deploy, but the error message doesn't seem related. Does anyone understand this error pls? TIA John [deploy:deploy] altDeploymentRepository = null [INFO]Retrieving previous build number from repo [DEBUG]repository metadata for: 'snapshot com.eurobase:eTraderII:1.2-SNAPSHOT' could not be found on repository: repo [INFO]Error for project: eTraderII Project (during deploy) [INFO]-- -- [INFO]Error deploying artifact: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) [INFO]-- -- [DEBUG]Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:635) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:551) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:530) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:309) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:276) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:393) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:182) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:760) at org.codehaus.mevenide.netbeans.execute.MavenJavaExecutor.run(MavenJavaEx ecutor.java:257) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:610) ... 10 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul tArtifactDeployer.java:95) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162) ... 12 more Caused by: java.io.FileNotFoundException: Z:\jcoleman\projects\eTraderII\trunk\target\classes (Access is denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:820) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul tArtifactDeployer.java:74) ... 13 more [INFO]-- -- [INFO]BUILD ERRORS [INFO]-- -- [INFO]Total time: 1 minute 1
RE: Maven repository
Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven repository
How did you set up the internal repository? Did you copy a local repository to some server and made it available through http, or are you using one of the proxy tools like proximity or archiva? regards, Wim 2007/8/29, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester
RE: Maven repository
Hi Wim, I just copied the repository from my laptop (that has a connection to the internet) to our company's repository server. I think this is not the correct way to do it, but I can't find any documentation on how I should set up a 'company central repository'. So any suggestions would be welcome... Kind regards, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 9:28 To: Maven Users List Subject: Re: Maven repository How did you set up the internal repository? Did you copy a local repository to some server and made it available through http, or are you using one of the proxy tools like proximity or archiva? regards, Wim 2007/8/29, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven plugin for ckjm ...
Thanks a lot, Wayne ! I haven't try it yet but for information the ckjm-maven-plugin web site has some trouble, cf. : - http://mojo.codehaus.org/ckjm-maven-plugin/examples/simple.html - http://mojo.codehaus.org/ckjm-maven-plugin/usage.html - http://mojo.codehaus.org/ckjm-maven-plugin/faq.html It would be nice also to add a ckjm report in the project reports section, cf http://mojo.codehaus.org/ckjm-maven-plugin/project-reports.html Rémy 2007/8/28, Wayne Fay [EMAIL PROTECTED]: One last thing I forgot... Since the ckjm utility itself does not currently exist in the Central repo, you will need to download it from the site and mvn install it with groupId=gr.spinellis, artifactId=ckjm, and version=1.8 so the ckjm-maven-plugin can find it and use it as needed. Wayne On 8/28/07, Wayne Fay [EMAIL PROTECTED] wrote: Finally got around to submitting the code into the Sandbox... Thanks in advance for any feedback. You can find the (rough draft) code for the ckjm-maven-plugin in the Codehaus Sandbox: https://svn.codehaus.org/mojo/trunk/sandbox/ckjm-maven-plugin I also deployed the snapshot and site, so you could use the snapshot if you didn't want to build and install the code yourself. The site is here: http://mojo.codehaus.org/ckjm-maven-plugin/ Wayne On 8/16/07, Giovanni Azua [EMAIL PROTECTED] wrote: Wow cool! That was fast :) so we would get xml but no html or? Many many thanks! Good job! Regards, Giovanni -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 5:23 AM To: Maven Users List Subject: Re: maven plugin for ckjm ... I got bored and wrote the plugin tonight... ;-) For now, it simply outputs a ckjm.xml file (or plain text file) in ./target. If you want to do the full run ckjm, then make a report with it and add it to the site then you will really need to handle that bit yourself. At least, if you want that report in any reasonable time period... For now, I'll propose this plugin at Codehaus (Mojo project) and, assuming its accepted, you'll see it in the sandbox shortly. I also built a test project so you can see it working. Wayne On 8/15/07, Wayne Fay [EMAIL PROTECTED] wrote: If you want to get ckjm functionality in Maven, I'd encourage you to look into creating the plugin yourself. Its really not that tough in general. Wayne On 8/15/07, Giovanni Azua [EMAIL PROTECTED] wrote: ckjm and Jdepend have overlapping only couple of same metrics e.g. AC but Jdepend misses the most important ones e.g. WMC, RFC and LCOM. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 8:40 PM To: Maven Users List Subject: Re: maven plugin for ckjm ... this sounds like JDepend and there is a plugin for that On 8/15/07, Giovanni Azua [EMAIL PROTECTED] wrote: Hi all, Any existing plugin around ckjm? http://www.spinellis.gr/sw/ckjm/ regards, Giovanni - 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: classifier for maven deploy plugin
Perhaps I need to explain the issue further. While our WARs contain common core code packages, each one is flavoured per client (typically providing custom images) and differing suits of JSPs. We are not interested in the install task as these WARs will never be shared off a repository. However, when we deploy the WARs to our staging server, they must have unique names using the classifier concept. But if we classify the WARs the deploy doesn't like it, and nor does the jetty plugin. I have been trying to resolve this by generating an assembly zip, but the deploy task delivers the WAR. Ideally I'd like to be able to deploy the assembly. Perhaps I should derive my own assembly-deploy plugin and inherit from the regular deploy plugin somehow? If so, how would I override the regular deploy task and replace it with my extended goal? Regards, John -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: 28 August 2007 18:04 To: Maven Users List Subject: Re: classifier for maven deploy plugin I am going to assume that you want to deploy artifacts that are not built by maven. You can create a pom and configure build-helper-maven-plugin to attach all your artifacts to maven, and finally call 'maven deploy' -D On 8/28/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Is there a way to use a classifier with the maven deploy plugin by configuring the plugin in the pom rather that using command line properties? TIA, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - 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: Maven repository
Nele, Why don't you use a maven proxy to setup your company's central repository? Have a look at http://maven-proxy.codehaus.org/ It is rather easy to set up. The idea is to proxy central and/or other repositories, and cache the requested artifacts centrally.. Cheers Jo On 8/29/07, De Vleeschauwer Nele [EMAIL PROTECTED] wrote: Hi Wim, I just copied the repository from my laptop (that has a connection to the internet) to our company's repository server. I think this is not the correct way to do it, but I can't find any documentation on how I should set up a 'company central repository'. So any suggestions would be welcome... Kind regards, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 9:28 To: Maven Users List Subject: Re: Maven repository How did you set up the internal repository? Did you copy a local repository to some server and made it available through http, or are you using one of the proxy tools like proximity or archiva? regards, Wim 2007/8/29, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog: http://www.jroller.com/page/Fester
Re: Maven repository
http://proximity.abstracthorizon.org/ is another you can use. or http://maven.apache.org/archiva/ , but I think proximity is more mature. regards, Wim 2007/8/29, Jo Vandermeeren [EMAIL PROTECTED]: Nele, Why don't you use a maven proxy to setup your company's central repository? Have a look at http://maven-proxy.codehaus.org/ It is rather easy to set up. The idea is to proxy central and/or other repositories, and cache the requested artifacts centrally.. Cheers Jo On 8/29/07, De Vleeschauwer Nele [EMAIL PROTECTED] wrote: Hi Wim, I just copied the repository from my laptop (that has a connection to the internet) to our company's repository server. I think this is not the correct way to do it, but I can't find any documentation on how I should set up a 'company central repository'. So any suggestions would be welcome... Kind regards, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 9:28 To: Maven Users List Subject: Re: Maven repository How did you set up the internal repository? Did you copy a local repository to some server and made it available through http, or are you using one of the proxy tools like proximity or archiva? regards, Wim 2007/8/29, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium (NBB) unless otherwise and previously stated. The opinions expressed in this message are solely those of the author and do not necessarily reflect NBB viewpoints, particularly when the content of this message, or part thereof, is private by nature or does not fall within the professional scope of its author. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Vigilog - an open source log file viewer: http://vigilog.sourceforge.net Blog:
Re: buildNumber plugin error
The same thing just happened today with my project. None of the plugins were updated, svn also functions properly. No idea what has changed :/ DCVer wrote: I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber: null [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at org.codehaus.mojo.buildNumber.BuildNumberMojo.execute(BuildNumberMojo.java:313) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Tue Aug 21 13:12:14 CEST 2007 [INFO] Final Memory: 7M/13M [INFO] The svn info command does the following: [...] Revision: 1048 [...] Last Changed Rev: 1048 [...] So why buildnumber plugin sees null rev number?? All commands were executed in the same directory. This plugin works properly on my local PC - only others have problems.. -- View this message in context: http://www.nabble.com/buildNumber-plugin-error-tf4304675s177.html#a12382986 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: buildNumber plugin error
I have the same issue as I'm french and my svn installation is localized by default, so the svn info command returns : Révision : xxx This makes the plugin fail. I've allready reported this issue to the plugin author and he planned to fix this in next release. Nico. 2007/8/29, cNT [EMAIL PROTECTED]: The same thing just happened today with my project. None of the plugins were updated, svn also functions properly. No idea what has changed :/ DCVer wrote: I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber: null [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at org.codehaus.mojo.buildNumber.BuildNumberMojo.execute( BuildNumberMojo.java:313) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Tue Aug 21 13:12:14 CEST 2007 [INFO] Final Memory: 7M/13M [INFO] The svn info command does the following: [...] Revision: 1048 [...] Last Changed Rev: 1048 [...] So why buildnumber plugin sees null rev number?? All commands were executed in the same directory. This plugin works properly on my local PC - only others have problems.. -- View this message in context: http://www.nabble.com/buildNumber-plugin-error-tf4304675s177.html#a12382986 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Echoing execution phase with a Mojo
Hi: I´m developing a pluging to echoe it´s execution phase to console, in the Wiki FAQ this is one unanswered question so i tried it out by myself. I believed that by using the MojoDescriptor i could get it (javadocs are not too complet) but i´m having a NullPointerException when trying to retrieve the MojoDescriptor: [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDes criptor.java:262) at com.cursomaven.plugin.mojo.PhaseInfoMojo.execute(PhaseInfoMojo.java:5 1) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Im using the mojo´s goal as parameter for the PluginDescriptor.getMojo() method, but i´m not sure if this is a correct use of the API. If not, could anyone give me a hint about the correct use of the getMojo method?. Another problem i´m facing is that the phase binding of my mojo is not working unless i explicity set a execution tag in my pom, i don´t need to specify a execution phase, but i need a goal for my plugin to execute. I Attach both my Mojo and the plugin.xml generated file. Thanks -- This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. Este mensaje y los ficheros adjuntos pueden contener informacion confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente. Pueden estar protegidos por secreto profesional Si usted recibe este correo electronico por error, gracias de informar inmediatamente al remitente y destruir el mensaje. Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera danos que puedan resultar de una transmision de virus -- plugin description/description groupIdEjercicioFasesPlugin/groupId artifactIdEjercicioFasesPlugin/artifactId version0.0.1/version goalPrefixEjercicioFasesPlugin/goalPrefix isolatedRealmfalse/isolatedRealm inheritedByDefaulttrue/inheritedByDefault mojos mojo goalmuestra/goal descriptionEsta clase define un mojo de Maven para imprimir por pantalla una frase con el fin de ayudar en los ejercicios para la comprensión del ciclo de vida de Maven y su modificación, así como el uso de plugins El alumno debería utilizar este plugin asociandolo a diferentes fases del ciclo de vida de Maven y comprobar su funcionamiento. Solo tiene un goal, quot;muestraquot; que genera un fichero ejecuciones.txt con la información./description requiresDirectInvocationfalse/requiresDirectInvocation
Re: buildNumber plugin error
Thanks, thats why it really failed in our project too. Because of some problems with this plugin (e.g. build process fails if there is no .svn directory = if someone exports the project) can maven be so configured, that it wouldn't fail if the revision number will be null? It would just save this null in the property file or wherever the revision number is set to be saved and the build process would continue. nicolas de loof-2 wrote: I have the same issue as I'm french and my svn installation is localized by default, so the svn info command returns : Révision : xxx This makes the plugin fail. I've allready reported this issue to the plugin author and he planned to fix this in next release. Nico. 2007/8/29, cNT [EMAIL PROTECTED]: The same thing just happened today with my project. None of the plugins were updated, svn also functions properly. No idea what has changed :/ DCVer wrote: I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber: null [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at org.codehaus.mojo.buildNumber.BuildNumberMojo.execute( BuildNumberMojo.java:313) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Tue Aug 21 13:12:14 CEST 2007 [INFO] Final Memory: 7M/13M [INFO] The svn info command does the following: [...] Revision: 1048 [...] Last Changed Rev: 1048 [...] So why buildnumber plugin sees null rev number?? All commands were executed in the same directory. This plugin works properly on my local PC - only others have problems.. -- View this message in context: http://www.nabble.com/buildNumber-plugin-error-tf4304675s177.html#a12382986 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/buildNumber-plugin-error-tf4304675s177.html#a12383781 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
wagon
Hi, Has anyone found some decent user documentation for Wagon pls? Regards, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.
Re: Maven repository
and if you aren't able to use a maven proxy (although this is the preferred approach!) then you could try the following scripts to quickly convert your local repository into a remote one, or as close to it as it needs to be... http://wiki.ops4j.org/confluence/x/CIAO I used these in the past to provide an off-line tutorial that pulled artifacts from a CD ( should work on unix / linux / osx / cygwin ... however, YMMV :) On 29/08/2007, Wim Deblauwe [EMAIL PROTECTED] wrote: http://proximity.abstracthorizon.org/ is another you can use. or http://maven.apache.org/archiva/ , but I think proximity is more mature. regards, Wim 2007/8/29, Jo Vandermeeren [EMAIL PROTECTED]: Nele, Why don't you use a maven proxy to setup your company's central repository? Have a look at http://maven-proxy.codehaus.org/ It is rather easy to set up. The idea is to proxy central and/or other repositories, and cache the requested artifacts centrally.. Cheers Jo On 8/29/07, De Vleeschauwer Nele [EMAIL PROTECTED] wrote: Hi Wim, I just copied the repository from my laptop (that has a connection to the internet) to our company's repository server. I think this is not the correct way to do it, but I can't find any documentation on how I should set up a 'company central repository'. So any suggestions would be welcome... Kind regards, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 9:28 To: Maven Users List Subject: Re: Maven repository How did you set up the internal repository? Did you copy a local repository to some server and made it available through http, or are you using one of the proxy tools like proximity or archiva? regards, Wim 2007/8/29, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfiledev/activeProfile /activeProfiles - Visit our website! http://www.nbb.be DISCLAIMER: The content of this e-mail message should not be construed as binding on the part of the National Bank of Belgium
Maven Release Manager
Hello. I would like to create custom Release Manager to use with maven-release-plugin. Could you point me to any documentation how to do it? Has anybody already tried it? Thanks a lot, Libor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wagon
Hi, The best documentation I could suggest is probably the sources itself :) You could checkout the codes here: http://svn.apache.org/repos/asf/maven/wagon/trunk Try looking at the test cases to see how it works.. HTH, Deng John Coleman wrote: Hi, Has anyone found some decent user documentation for Wagon pls? Regards, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Maven for EJB Deployment with RAD
Hi Maven expects the Source code in src/main/java , however RAD expects all the ejb java files to be present in ejbModule. Can I change the directory structure in Maven from src/main/java to ejbModule? If yes, can anyone guide me on how can i do that? Thanks and Regards Hemant Ved
Re: Skiping module during mvn eclipse:eclipse
Marcin, I am not able to reproduce your issue at my side using your example. the only thing i can think of is you are using the wrong eclipse plugin version prior to 2.4. you may want to define eclipse plugin at the top level pom with version configured. and you still need to configure skip individually per child project. -D On 8/28/07, Marcin Waldowski [EMAIL PROTECTED] wrote: Dan, thanks for response. I've reproduced it in two simple as possible module set. See atachement. One is an ejb packaging project and the second is ear packaging project. The second one use skip flag: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration skiptrue/skip /configuration /plugin When I execute 'mvn eclipse:eclipse' for top level pom then ear packaging project is not skipped. Regards, Marcin Dan Tran wrote: can you reproduce in a smaller set of projects? On 8/28/07, Marcin Waldowski [EMAIL PROTECTED] wrote: Hello. I've returned to this subject :) Now I use version 2.4 of maven-eclipse-plugin which gives me a posibility to use 'skip' parameter. After making 'mvn help:effective-pom' I can see for one of my module: plugin artifactIdmaven-eclipse-plugin/artifactId configuration skiptrue/skip ... /configuration /plugin But when I executed 'mvn eclipse:eclipse' (in derictory with top level POM) plugin did not skip one of my module. What I did wrong? Regards, Marcin Marcin Waldowski wrote: Hello. I have a Multiple Module Projects (with top level POM and modules). One of module has ear type (packagingear/packaging) and I don't want to make eclipse project from it. Is it possible to exclude this module from execution of mvn eclipse:eclipse in directory with top level POM? Regards, Marcin - 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: Maven repository
Hi, I used the Maven Proxy to built my central repository and it works perfectly. Thanks for your help everyone ! Kind regards, Nele. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart McCulloch Sent: woensdag 29 augustus 2007 11:54 To: Maven Users List Subject: Re: Maven repository and if you aren't able to use a maven proxy (although this is the preferred approach!) then you could try the following scripts to quickly convert your local repository into a remote one, or as close to it as it needs to be... http://wiki.ops4j.org/confluence/x/CIAO I used these in the past to provide an off-line tutorial that pulled artifacts from a CD ( should work on unix / linux / osx / cygwin ... however, YMMV :) On 29/08/2007, Wim Deblauwe [EMAIL PROTECTED] wrote: http://proximity.abstracthorizon.org/ is another you can use. or http://maven.apache.org/archiva/ , but I think proximity is more mature. regards, Wim 2007/8/29, Jo Vandermeeren [EMAIL PROTECTED]: Nele, Why don't you use a maven proxy to setup your company's central repository? Have a look at http://maven-proxy.codehaus.org/ It is rather easy to set up. The idea is to proxy central and/or other repositories, and cache the requested artifacts centrally.. Cheers Jo On 8/29/07, De Vleeschauwer Nele [EMAIL PROTECTED] wrote: Hi Wim, I just copied the repository from my laptop (that has a connection to the internet) to our company's repository server. I think this is not the correct way to do it, but I can't find any documentation on how I should set up a 'company central repository'. So any suggestions would be welcome... Kind regards, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 9:28 To: Maven Users List Subject: Re: Maven repository How did you set up the internal repository? Did you copy a local repository to some server and made it available through http, or are you using one of the proxy tools like proximity or archiva? regards, Wim 2007/8/29, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, Thanks for the tip, but it doesn't quite do the trick... I've added the following to my settings.xml: mirror idcentral/id mirrorOfcentral/mirrorOf nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /mirror /mirrors When I execute a maven command, our company's central repo is accessed (instead of the repo1.maven.org one), but when I take a network trace I see the following: GET /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml HTTP/1.1\r\n Request Method: GET Request URI: /maven-central-proxy/org/apache/maven/plugins/maven-resources-plugin/mav en-metadata.xml Request Version: HTTP/1.1 This however returns a 404 Not Found error, since the specified directory doesn't contain a maven-metadata.xml but a maven-metadata-central.xml. How can I solve this ? Thanks for your input, Nele. -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: woensdag 29 augustus 2007 8:03 To: Maven Users List Subject: Re: Maven repository You need to say that your repository is a mirror of central, see http://maven.apache.org/guides/mini/guide-mirror-settings.html for more info. regards, Wim (also from Belgium ;)) 2007/8/28, De Vleeschauwer Nele [EMAIL PROTECTED]: Hi, I'm just setting up Maven on a developer's workstation. The developer has no access to the Internet and should therefore always retrieve the latest artifacts from a repository we've set up at our company (which has a connection to the internet). Even when I add the following part to the settings.xml file of the Maven installation on the developer's machine, each Maven command I execute from there still tries to connect to the Maven repository on the Internet. How can this be avoided ? (The repository I've set up is working fine, since I can connect with an Internet Explorer to it) profiles profile iddev/id repositories repository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /repository /repositories pluginRepositories pluginRepository idcentral/id nameMaven Central Proxy Repository/name urlhttp://b2btst04/maven-central-proxy/url /pluginRepository /pluginRepositories /profile
Re: maven plugin for ckjm ...
I didn't actually get around to finishing the website (yet). I am well aware of the fact that there are missing pages. ;-) But thanks. I will see what I can do about it soon/shortly. Also, you should know that there is no reporting output as yet from the plugin -- only the standard xml or text output from the ckjm tool itself. That's also on the to-do list, and Giovanni said he'd look into it, probably before I have a chance to do so myself. Wayne On 8/29/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: Thanks a lot, Wayne ! I haven't try it yet but for information the ckjm-maven-plugin web site has some trouble, cf. : - http://mojo.codehaus.org/ckjm-maven-plugin/examples/simple.html - http://mojo.codehaus.org/ckjm-maven-plugin/usage.html - http://mojo.codehaus.org/ckjm-maven-plugin/faq.html It would be nice also to add a ckjm report in the project reports section, cf http://mojo.codehaus.org/ckjm-maven-plugin/project-reports.html Rémy 2007/8/28, Wayne Fay [EMAIL PROTECTED]: One last thing I forgot... Since the ckjm utility itself does not currently exist in the Central repo, you will need to download it from the site and mvn install it with groupId=gr.spinellis, artifactId=ckjm, and version=1.8 so the ckjm-maven-plugin can find it and use it as needed. Wayne On 8/28/07, Wayne Fay [EMAIL PROTECTED] wrote: Finally got around to submitting the code into the Sandbox... Thanks in advance for any feedback. You can find the (rough draft) code for the ckjm-maven-plugin in the Codehaus Sandbox: https://svn.codehaus.org/mojo/trunk/sandbox/ckjm-maven-plugin I also deployed the snapshot and site, so you could use the snapshot if you didn't want to build and install the code yourself. The site is here: http://mojo.codehaus.org/ckjm-maven-plugin/ Wayne On 8/16/07, Giovanni Azua [EMAIL PROTECTED] wrote: Wow cool! That was fast :) so we would get xml but no html or? Many many thanks! Good job! Regards, Giovanni -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 5:23 AM To: Maven Users List Subject: Re: maven plugin for ckjm ... I got bored and wrote the plugin tonight... ;-) For now, it simply outputs a ckjm.xml file (or plain text file) in ./target. If you want to do the full run ckjm, then make a report with it and add it to the site then you will really need to handle that bit yourself. At least, if you want that report in any reasonable time period... For now, I'll propose this plugin at Codehaus (Mojo project) and, assuming its accepted, you'll see it in the sandbox shortly. I also built a test project so you can see it working. Wayne On 8/15/07, Wayne Fay [EMAIL PROTECTED] wrote: If you want to get ckjm functionality in Maven, I'd encourage you to look into creating the plugin yourself. Its really not that tough in general. Wayne On 8/15/07, Giovanni Azua [EMAIL PROTECTED] wrote: ckjm and Jdepend have overlapping only couple of same metrics e.g. AC but Jdepend misses the most important ones e.g. WMC, RFC and LCOM. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 8:40 PM To: Maven Users List Subject: Re: maven plugin for ckjm ... this sounds like JDepend and there is a plugin for that On 8/15/07, Giovanni Azua [EMAIL PROTECTED] wrote: Hi all, Any existing plugin around ckjm? http://www.spinellis.gr/sw/ckjm/ regards, Giovanni - 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: buildNumber plugin error
You could certainly request this as a new feature in the plugin. Post a RFE in Jira for MOJO project, and hopefully the plugin author will see it and decide to add your feature (or not) if he thinks it makes sense. Wayne On 8/29/07, DCVer [EMAIL PROTECTED] wrote: Thanks, thats why it really failed in our project too. Because of some problems with this plugin (e.g. build process fails if there is no .svn directory = if someone exports the project) can maven be so configured, that it wouldn't fail if the revision number will be null? It would just save this null in the property file or wherever the revision number is set to be saved and the build process would continue. nicolas de loof-2 wrote: I have the same issue as I'm french and my svn installation is localized by default, so the svn info command returns : Révision : xxx This makes the plugin fail. I've allready reported this issue to the plugin author and he planned to fix this in next release. Nico. 2007/8/29, cNT [EMAIL PROTECTED]: The same thing just happened today with my project. None of the plugins were updated, svn also functions properly. No idea what has changed :/ DCVer wrote: I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber: null [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at org.codehaus.mojo.buildNumber.BuildNumberMojo.execute( BuildNumberMojo.java:313) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 7 seconds [INFO] Finished at: Tue Aug 21 13:12:14 CEST 2007 [INFO] Final Memory: 7M/13M [INFO] The svn info command does the following: [...] Revision: 1048 [...] Last Changed Rev: 1048 [...] So why buildnumber plugin sees null rev number?? All commands were executed in the same directory. This plugin works properly on my local PC - only others have problems.. -- View this message in context: http://www.nabble.com/buildNumber-plugin-error-tf4304675s177.html#a12382986 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/buildNumber-plugin-error-tf4304675s177.html#a12383781 Sent from the Maven - Users mailing list archive at Nabble.com. - To
Assembling sources
I want to use the assembly plugin to assemble multiple source jars into one. Is it possible to include a source jar in a dependencySet? I want to create a combined jar for our projects, but there is little point to that if I cannot create a combined source jar as well. :-( -- Daniel Siegmann FJA-US, Inc. 512 7th Ave. 15th Flr. New York, NY 10018 (212) 840-2618 x139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Maven for EJB Deployment with RAD
Hi, you can set that properties in the build section of your pom: build sourceDirectory../src/sourceDirectory testSourceDirectory../test/testSourceDirectory See http://maven.apache.org/general.html#dir-struct Greetings Giancarlo 2007/8/29, Hemant Ved [EMAIL PROTECTED]: Hi Maven expects the Source code in src/main/java , however RAD expects all the ejb java files to be present in ejbModule. Can I change the directory structure in Maven from src/main/java to ejbModule? If yes, can anyone guide me on how can i do that? Thanks and Regards Hemant Ved - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Specifying the jar name in profiles
This has all been helpful. Now I am facing yet another challenge with this setup. when I run mvn -PprofileA clean install my (service module) pom file does not generate the pom that goes into the repository. It only places the jar file into it. This way when I am attempting to access the jar file from another module (my webapp module) by the classifier it is sometimes failing and sometimes working. It works if I manually move to the webapp module and run an install on the webapp pom. It will give me an error that says: [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for SNAPSHOT.pom - IGNORING However when it does this, it will generate those files (the pom and other xml files) for me in my .m2 repository. When it does this, it works. The time it doesn't work is if I am doing an install from the parent of both of these. I have in a parent pom multiple modules in which we do an install from: modules module../model/module module../persistence/module module../service/module module../webapp/module /modules if I call mvn -PprofileA clean install from the parent pom containing this, the webapp is not able to see the service jar file and doesn't attempt to download it like it does when running the same command on the webapp pom directly. I have attempted to tell it to generatePom/ but that doesn't seem to be functioning. Any help? Thanks again, -Ben Tim Kettler wrote: No, this is not possible (with the finalName/ tag). The repository is a structured storage for maven artifacts and the directory hierarchy and filename conventions are well defined. Every artifact in the repository has to adhere to this conventions else maven will not be able to retrieve the artifacts. However, there is a simple solution (and I don't know why I didn't thought at it in the first place): Maven has the concept of classifiers to discriminate between different flavours of the same artifact. This is used for things like providing artifacts for different JDK versions or installing the javadoc and source archives alongsite the main artifact. As classifiers are part of the identity of a dependency, they are preserved in the repository. To cut a long story short, this pom should do what you want: project modelVersion4.0.0/modelVersion groupIdmygroup/groupId artifactIdmyartifact/artifactId version0.1-SNAPSHOT/version profiles profile idprofileA/id build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration classifierprofilea/classifier /configuration /plugin /plugins /build /profile profile idprofileB/id build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId configuration classifierprofileb/classifier /configuration /plugin /plugins /build /profile /profiles /project -Tim drippy schrieb: Thanks Tim, that does work when packaging the jar. Now I realize that I also need the name to stay when I am running install. Is this an option? -Ben Tim Kettler wrote: Hi, you can use build/finalName/ for this. -Tim drippy schrieb: I have two profiles that I am using. I'm trying to figure out if there is a way to make it so that when I package up a jar file I can specify the name of the jar file so that it is identifiable for that profile. TIA, Ben - 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] -- View this message in context: http://www.nabble.com/Specifying-the-jar-name-in-profiles-tf4325808s177.html#a12390956 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: classifier for maven deploy plugin
one quick dirty one, is to attach the same war with a classifier, but you will have same main and classifier artifacts. -D On 8/29/07, John Coleman [EMAIL PROTECTED] wrote: Perhaps I need to explain the issue further. While our WARs contain common core code packages, each one is flavoured per client (typically providing custom images) and differing suits of JSPs. We are not interested in the install task as these WARs will never be shared off a repository. However, when we deploy the WARs to our staging server, they must have unique names using the classifier concept. But if we classify the WARs the deploy doesn't like it, and nor does the jetty plugin. I have been trying to resolve this by generating an assembly zip, but the deploy task delivers the WAR. Ideally I'd like to be able to deploy the assembly. Perhaps I should derive my own assembly-deploy plugin and inherit from the regular deploy plugin somehow? If so, how would I override the regular deploy task and replace it with my extended goal? Regards, John -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: 28 August 2007 18:04 To: Maven Users List Subject: Re: classifier for maven deploy plugin I am going to assume that you want to deploy artifacts that are not built by maven. You can create a pom and configure build-helper-maven-plugin to attach all your artifacts to maven, and finally call 'maven deploy' -D On 8/28/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Is there a way to use a classifier with the maven deploy plugin by configuring the plugin in the pom rather that using command line properties? TIA, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - 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: Assembling sources
Maybe you can use: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId executions execution idcopy/id phasecompile/phase goals goalcopy/goal /goals configuration artifactItems artifactItem groupIdcom.stc/groupId artifactIdstc/artifactId version${com.stc.stc.version }/version typejar/type overWritetrue/overWrite outputDirectory${basedir}/target/BPEL-INF/lib/outputDirectory /artifactItem artifactItem groupIdjavax/groupId artifactIdjms/artifactId version${javax.jms.version }/version typejar/type overWritetrue/overWrite outputDirectory${basedir}/target/BPEL-INF/lib/outputDirectory /artifactItem /artifactItems /configuration /execution /executions /plugin On 8/29/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: I want to use the assembly plugin to assemble multiple source jars into one. Is it possible to include a source jar in a dependencySet? I want to create a combined jar for our projects, but there is little point to that if I cannot create a combined source jar as well. :-( -- Daniel Siegmann FJA-US, Inc. 512 7th Ave. 15th Flr. New York, NY 10018 (212) 840-2618 x139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---
[ANN] Maven archetype plugin 1.0-alpha-6 released
The maven team is pleased to announce the maven archetype plugin 1.0-alpha-6 release. This release substitutes the failed 1.0-alpha-5 release too. Issues fixed ARCHETYPE-78 Dependencies listed as version ${project.version} in maven-archetype prevent the use of archetypes ARCHETYPE-60Archetype Documentation Incorrect ARCHETYPE-38The archetype is using user.dir which prohibits clean embedding Change log http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11095fixfor=13683 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11095fixfor=12413 -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Question on maven-buildnumber-plugin
Seems reasonable. Look for it in 0.9.6. J On 28-Aug-07, at 3:00 PM, Kalle Korhonen wrote: I've been amazed myself by the fact that the plugin (nor any other one) doesn't just provide a straight-up timestamp. buildnumber plugin comes the closest, but if you want to use both svn version number and a timestamp, you are frustratingly out of luck. Looking at buildnumber plugin source, it'd be super simple to add the timestamp as different property rather than re-using buildNumber. Hey Julian, any chance you could add ${timestamp} in the next version? I'm sure a lot of people would be grateful for this, so that not everyone would need to create weird hacks or implement their plugin versions just for this. Kalle On 8/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm using the maven-buildnumber--plugin version 0.9.5 It works but I would like to have both a timestamp and the build number from svn? Is this possible? Regards Gunnar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Julian Wood Web, E-Mail, and Middleware Services University of Calgary Information Technologies, 2500 University Drive, Calgary, Alberta, Canada T2N 1N4 (403) 220-5868
optionaltrue/optional ignored with build from parent
I'm hoping someone has seen this before. My war has a dependency on an ejb-client jar, and I want the ejb-client placed inside the ear not the war. I am using the optionaltrue/optional tag on the dependency in the war so that the manifest gets updated to have the reference to the ejb-client jar, but that the ejb-client is not placed in the web-inf\lib of the war. When I do a Maven install from my war project and then the ear project all is fine. When I build from the parent it is placing the ejb-client jar inside the web-inf\lib of my war. Subsequently at execution time, the code breaks because the war classpath does not have visibility into the ear classpath to find the ejb jar. Has anyone seen this difference ehen building from the parent and know how to get around it? We are using a product called TPM to kick off the Maven builds and it always does so from the parent. Thanks for your help! Amy - This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies. -
[ANN] Maven HAR SAR Plugins Archetypes 0.9 Released
The Vermont Department of Taxes is pleased to announce the initial release of maven-har-plugin, maven-sar-plugin, maven-archetype-har, and maven-archetype-sar. maven-har-plugin - http://maven-har.sf.net/ This plugin generates Hibernate Archive (HAR) files. maven-sar-plugin - http://maven-sar.sf.net/ This plugin generates JBoss Service Archive (SAR) files. Documentation for maven-archetype-har and maven-archetype-sar can be found at the following URLs: http://maven-har.sf.net/examples/using-maven-archetype-har.html http://maven-sar.sf.net/examples/using-maven-archetype-sar.html -- Tom Cort Systems Developer Vermont Department of Taxes smime.p7s Description: S/MIME cryptographic signature
Re: Question on maven-buildnumber-plugin
I owe you one, Julian! The only thing wrong in Dennis' suggestion is that it's exactly what I wanted to avoid - and what others probably would like to avoid as well. Not that writing/compiling plugin is that much work, but there's overhead in maintaining, deploying and versioning anything you have to do yourself. Kalle On 8/29/07, Julian Wood [EMAIL PROTECTED] wrote: Seems reasonable. Look for it in 0.9.6. J On 28-Aug-07, at 3:00 PM, Kalle Korhonen wrote: I've been amazed myself by the fact that the plugin (nor any other one) doesn't just provide a straight-up timestamp. buildnumber plugin comes the closest, but if you want to use both svn version number and a timestamp, you are frustratingly out of luck. Looking at buildnumber plugin source, it'd be super simple to add the timestamp as different property rather than re-using buildNumber. Hey Julian, any chance you could add ${timestamp} in the next version? I'm sure a lot of people would be grateful for this, so that not everyone would need to create weird hacks or implement their plugin versions just for this. Kalle On 8/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm using the maven-buildnumber--plugin version 0.9.5 It works but I would like to have both a timestamp and the build number from svn? Is this possible? Regards Gunnar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Julian Wood Web, E-Mail, and Middleware Services University of Calgary Information Technologies, 2500 University Drive, Calgary, Alberta, Canada T2N 1N4 (403) 220-5868
Trouble with mojo tutorial
I'm trying to follow the instructions at http://maven.apache.org/guides/plugin/guide-java-plugin-development.html. Below are the results. Am I experiencing some problem with the public maven repositories or is this a bug in maven 2.0.7? (Or did I do something wrong?) What would be the wget command to get maven-archetype-creator:jar as the error message suggests? Thanks, Siegfried cd c:/dev/sandboxes/maven/sample-mojo/ mvn archetype:create \ -DgroupId=sample.plugin \ -DartifactId=maven-hello-plugin \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-mojo [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-creator \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-creator \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6 2) org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-5 2) org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-core \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-core \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6 2) org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-5 -- 2 required artifacts are missing. for artifact: org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6 from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 6 seconds [INFO] Finished at: Wed Aug 29 13:09:04 MDT 2007 [INFO] Final Memory: 2M/4M [INFO] Compilation exited abnormally with code 1 at Wed Aug 29 13:09:05
Help Creating My Own Maven 2 Archetype
Hello, I am trying to make an archtype in mvn2. My Archetype project has the following directory structure: blockquote pre Java6ArchetypeProjectRoot | Java6ArchetypeProject.txt | pom.xml | pom.xml~ | +---src | \---main | \---resources | +---archetype-resources | | | pom.xml | | | | | \---src | | +---main | | | \---java | | | App.java | | | | | \---test | | \---java | | AppTest.java | | | \---META-INF | \---maven | archetype.xml | archetype.xml~ | \---target | maven-archetype-java-6-1.0-SNAPSHOT.jar | \---classes +---archetype-resources | | .pom.xml.swp | | pom.xml | | | \---src | +---main | | \---java | | App.java | | | \---test | \---java | AppTest.java | \---META-INF \---maven archetype.xml /pre /blockquote I then installed the new Archetype in the repository using mvn install. When I attempt to generate the project using the command: blockquote pre mvn archetype:create -DarchetypeGroupId=com.mooo.mv.archetype.compilerversion -DarchetypeArtifactId=maven-archetype-java-6 -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.mooo.archetype.test -DartifactId=Java6TestArtifact /pre /blockquote I receive the following flawed directory structure: (flawed mainly because of the placement of AppTest.java in src\main\java\moo\archetype\test\AppTest.java blockquote pre Java6TestProjectFromAboveArcheType | Java6TestArtifactFromArcheType.txt | pom.xml | \---src +---main | \---java | \---com | \---mooo | \---archetype | \---test | App.java | \---test \---java \---com \---mooo \---archetype \---test AppTest.java /pre /blockquote My archetype.xml looks like the following: pre blockquotelt;archetypegt; lt;idgt;maven-archetype-java-6lt;/idgt; lt;sourcesgt; lt;sourcegt;src/main/java/App.javalt;/sourcegt; lt;/sourcesgt; lt;testSourcesgt; lt;sourcegt;src/test/java/AppTest.javalt;/sourcegt; lt;/testSourcesgt; lt;!-- Allows archetype:create to be called on an existing project. --gt; lt;allowPartialgt;truelt;/allowPartialgt; lt;/archetypegt; /blockquote /pre Thank you, Andrew J. Leer P.S. Thank the DOS tree command for generating that directory structure for me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven archetype plugin 1.0-alpha-6 released
Carlos, we've got a bad pom: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype/1.0-alpha-6/maven-archetype-1.0-alpha-6.pom Its pointing to 1.0-alpha-5 for model, core, creator which of course does not exist. Also the metadata in core, model, creator all have 1.0-alpha-5 in version/. Wayne On 8/29/07, Carlos Sanchez [EMAIL PROTECTED] wrote: The maven team is pleased to announce the maven archetype plugin 1.0-alpha-6 release. This release substitutes the failed 1.0-alpha-5 release too. Issues fixed ARCHETYPE-78 Dependencies listed as version ${project.version} in maven-archetype prevent the use of archetypes ARCHETYPE-60Archetype Documentation Incorrect ARCHETYPE-38The archetype is using user.dir which prohibits clean embedding Change log http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11095fixfor=13683 http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truepid=11095fixfor=12413 -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - 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: Trouble with mojo tutorial
Try mvn -U ... to force an update. 1.0-alpha-5 was a failed release. The only available versions are -4 and -6. Wayne On 8/29/07, siegfried [EMAIL PROTECTED] wrote: I'm trying to follow the instructions at http://maven.apache.org/guides/plugin/guide-java-plugin-development.html. Below are the results. Am I experiencing some problem with the public maven repositories or is this a bug in maven 2.0.7? (Or did I do something wrong?) What would be the wget command to get maven-archetype-creator:jar as the error message suggests? Thanks, Siegfried cd c:/dev/sandboxes/maven/sample-mojo/ mvn archetype:create \ -DgroupId=sample.plugin \ -DartifactId=maven-hello-plugin \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-mojo [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [archetype:create] (aggregator-style) [INFO] Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cre ator/1.0-alpha-5/maven-archetype-creator-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype-cor e/1.0-alpha-5/maven-archetype-core-1.0-alpha-5.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-creator \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-creator \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6 2) org.apache.maven.archetype:maven-archetype-creator:jar:1.0-alpha-5 2) org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-5 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-core \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.maven.archetype -DartifactId=maven-archetype-core \ -Dversion=1.0-alpha-5 -Dpackaging=jar -Dfile=/path/to/file \ -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6 2) org.apache.maven.archetype:maven-archetype-core:jar:1.0-alpha-5 -- 2 required artifacts are missing. for artifact: org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:1.0-alpha-6 from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e
Re: [ANN] Maven archetype plugin 1.0-alpha-6 released
Here's a (not-so-funny?) anecdote... I have been using Maven in the shop that pays my salary, for better than 8 months now. Just today, my friend who works for another company close by, he asked me have you ever used Maven? I explained how Maven has greatly helped with my company's software modularizing effort, but also how sometimes it's too inflexible, sometimes stuff breaks out from under you due to no fault of your own, etc. He decided to try it out. I pointed him at a couple of online resources that I have tended to use pretty heavily, and about a half hour later, he IM'd me because maven-archetype-plugin was reporting 2 required artifacts are missing. After proving that it works on my box I decided to update our mirror of central (my company uses an internal mirror of Maven's central, which was a few days out of date). Before that was finished, though, I decided to check this mailing list... Having tracked down the problem to this plugin update, my friend's response was, Yeah... now I'm beginning to suspect that it's overly complicated for what I'm trying to do I mean, it sounds nice, but knowing that this stuff may be trash in a week or two when the direction changes... FWIW, I might suggest that this is a lesson useful to the whole Maven community. Also, I realize that this version of the maven-archetype- plugin is marked as an alpha release, but when the tool chooses the alpha-level plugin by default, maybe that's a design decision that could use a revisit... again, I say, FWIW, \Tommy On 29 Aug 2007, at 16:01 , Wayne Fay wrote: Carlos, we've got a bad pom: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven- archetype/1.0-alpha-6/maven-archetype-1.0-alpha-6.pom Its pointing to 1.0-alpha-5 for model, core, creator which of course does not exist. Also the metadata in core, model, creator all have 1.0-alpha-5 in version/. Wayne
Re: [ANN] Maven archetype plugin 1.0-alpha-6 released
probably the docs need to define the version of the plugin Anyway I'm going to release alpha-7 fixed On 8/30/07, Tommy Knowlton [EMAIL PROTECTED] wrote: Here's a (not-so-funny?) anecdote... I have been using Maven in the shop that pays my salary, for better than 8 months now. Just today, my friend who works for another company close by, he asked me have you ever used Maven? I explained how Maven has greatly helped with my company's software modularizing effort, but also how sometimes it's too inflexible, sometimes stuff breaks out from under you due to no fault of your own, etc. He decided to try it out. I pointed him at a couple of online resources that I have tended to use pretty heavily, and about a half hour later, he IM'd me because maven-archetype-plugin was reporting 2 required artifacts are missing. After proving that it works on my box I decided to update our mirror of central (my company uses an internal mirror of Maven's central, which was a few days out of date). Before that was finished, though, I decided to check this mailing list... Having tracked down the problem to this plugin update, my friend's response was, Yeah... now I'm beginning to suspect that it's overly complicated for what I'm trying to do I mean, it sounds nice, but knowing that this stuff may be trash in a week or two when the direction changes... FWIW, I might suggest that this is a lesson useful to the whole Maven community. Also, I realize that this version of the maven-archetype- plugin is marked as an alpha release, but when the tool chooses the alpha-level plugin by default, maybe that's a design decision that could use a revisit... again, I say, FWIW, \Tommy On 29 Aug 2007, at 16:01 , Wayne Fay wrote: Carlos, we've got a bad pom: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven- archetype/1.0-alpha-6/maven-archetype-1.0-alpha-6.pom Its pointing to 1.0-alpha-5 for model, core, creator which of course does not exist. Also the metadata in core, model, creator all have 1.0-alpha-5 in version/. Wayne -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Possible filter bug?
Not sure but I think this is a bug. I have a place holder in a spring config file named ${jdbc.url} With filtering set to true for this resource ${jdbc.url} gets replaced by the url http://maven.apache.org/url specified in the pom file. Anyone else ever seen this or is this the intended use of filtering? Nathan
cross platform pom
I have a pom that works on windows, but does not work if I use it on Linux because the paths are different, such as: dependency groupIdcom.toedter/groupId artifactIdjcalendar/artifactId version1.2.2/version scopesystem/scope systemPath C:/projects/java.3rdParty/jars/jcalendar-1.3.2.jar /systemPath /dependency is there any way to use an environment variable for the start of the path or some other solution? on Linux the path would be systemPath /home/myname/workspace/java.3rdParty/jars/jcalendar-1.3.2.jar /systemPath I asked on the eclipse maven list and got this advice: Andy, check out what it says on the maven website: systemPath : is used only if the dependency scope is system . Otherwise, the build will fail if this element is set. The path must be absolute, so it is recommended to use a property to specify the machine-specific path (more on properties below), such as $java.home/lib . http://maven.apache.org/pom.html#Properties I tried doing this and am getting the following error (below) Perhaps the settings.xml file is not getting processed correctly? How can I debug if the environment variable I am setting is getting read in correctly? my settings.xml is /home/dingfelder/.m2/settings.xml and contains: settings profiles profile iddefault/id activation activeByDefault/ /activation properties java-third-party.home/home/dingfelder/workspace/java.3rdparty/jars//java-third-party.home /properties /profile /profiles /settings the error is: [DEBUG] Building Maven user-level plugin registry from: '/home/dingfelder/.m2/plugin-registry.xml' [DEBUG] Building Maven user-level plugin registry from: '/home/dingfelder/.m2/plugin-registry.xml' [INFO] Scanning for projects... [ERROR] reactor-execute : /home/dingfelder/workspace/java.common Diagnosis: Failed to validate POM FATAL ERROR: Error executing Maven for a project [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: com.sirtrack:common_java POM Location: /home/dingfelder/workspace/java.common/pom.xml Validation Messages: [0] For dependency Dependency {groupId=com.toedter, artifactId=jcalendar, version=1.2.2, type=jar}: system-scoped dependency must specify an absolute path systemPath. Reason: Failed to validate POM [INFO] [DEBUG] Trace Failed to validate POM [INFO] [INFO] Total time: 1 second [INFO] Finished at: Wed Aug 29 21:55:23 NZST 2007 [INFO] Final Memory: 1M/4M [INFO] java.lang.NullPointerException at org.apache.maven.DefaultMaven.logReactorSummary(DefaultMaven.java:611) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:130) at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:531) at org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:82) thoughts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven HAR SAR Plugins Archetypes 0.9 Released
Could you add their information to this page: http://docs.codehaus.org/display/MAVENUSER/Archetypes+List Thanks, Don On 8/30/07, Cort, Tom [EMAIL PROTECTED] wrote: The Vermont Department of Taxes is pleased to announce the initial release of maven-har-plugin, maven-sar-plugin, maven-archetype-har, and maven-archetype-sar. maven-har-plugin - http://maven-har.sf.net/ This plugin generates Hibernate Archive (HAR) files. maven-sar-plugin - http://maven-sar.sf.net/ This plugin generates JBoss Service Archive (SAR) files. Documentation for maven-archetype-har and maven-archetype-sar can be found at the following URLs: http://maven-har.sf.net/examples/using-maven-archetype-har.html http://maven-sar.sf.net/examples/using-maven-archetype-sar.html -- Tom Cort Systems Developer Vermont Department of Taxes - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cross platform pom
I think what you want to do is install the dependency into your local repository on both Windows and Linux and then remove the scope and systemPath options from the pom.xml Something like this: http://maven.apache.org/plugins/maven-install-plugin/examples/ specific-local-repo.html Use the same group and artifact ID you have specified in your pom.xml on the command line. -Josh On Aug 29, 2007, at 6:31 PM, Andy Dingfelder wrote: I have a pom that works on windows, but does not work if I use it on Linux because the paths are different, such as: dependency groupIdcom.toedter/groupId artifactIdjcalendar/artifactId version1.2.2/version scopesystem/scope systemPath C:/projects/java.3rdParty/jars/jcalendar-1.3.2.jar /systemPath /dependency is there any way to use an environment variable for the start of the path or some other solution? on Linux the path would be systemPath /home/myname/workspace/java.3rdParty/jars/jcalendar-1.3.2.jar /systemPath I asked on the eclipse maven list and got this advice: Andy, check out what it says on the maven website: systemPath : is used only if the dependency scope is system . Otherwise, the build will fail if this element is set. The path must be absolute, so it is recommended to use a property to specify the machine-specific path (more on properties below), such as $java.home/lib . http://maven.apache.org/pom.html#Properties I tried doing this and am getting the following error (below) Perhaps the settings.xml file is not getting processed correctly? How can I debug if the environment variable I am setting is getting read in correctly? my settings.xml is /home/dingfelder/.m2/settings.xml and contains: settings profiles profile iddefault/id activation activeByDefault/ /activation properties java-third-party.home/home/dingfelder/workspace/java. 3rdparty/jars//java-third-party.home /properties /profile /profiles /settings the error is: [DEBUG] Building Maven user-level plugin registry from: '/home/ dingfelder/.m2/plugin-registry.xml' [DEBUG] Building Maven user-level plugin registry from: '/home/ dingfelder/.m2/plugin-registry.xml' [INFO] Scanning for projects... [ERROR] reactor-execute : /home/dingfelder/workspace/java.common Diagnosis: Failed to validate POM FATAL ERROR: Error executing Maven for a project [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] Error building POM (may not be this project's POM). Project ID: com.sirtrack:common_java POM Location: /home/dingfelder/workspace/java.common/pom.xml Validation Messages: [0] For dependency Dependency {groupId=com.toedter, artifactId=jcalendar, version=1.2.2, type=jar}: system-scoped dependency must specify an absolute path systemPath. Reason: Failed to validate POM [INFO] -- -- [DEBUG] Trace Failed to validate POM [INFO] -- -- [INFO] Total time: 1 second [INFO] Finished at: Wed Aug 29 21:55:23 NZST 2007 [INFO] Final Memory: 1M/4M [INFO] -- -- java.lang.NullPointerException at org.apache.maven.DefaultMaven.logReactorSummary (DefaultMaven.java:611) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:130) at org.apache.maven.embedder.MavenEmbedder.execute (MavenEmbedder.java:531) at org.maven.ide.eclipse.embedder.Maven2Executor.main (Maven2Executor.java:82) thoughts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Joshua ChaitinPollak Software Engineer Kiva Systems - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The packaging for this project did not assign a file to the build artifact
Dear colleagues, I added distributionManagement to my project's pom.xml using scp and wagon-ssh-external. The project uses war packaging. When I run mvn deploy it successfully deploys my project's war file. However, when I run mvn deploy:deploy it gives the following: [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy' -- [DEBUG] (f) artifact = com.xxx:yyy:war:1.0-SNAPSHOT [DEBUG] (f) attachedArtifacts = [] [DEBUG] (f) deploymentRepository = [xxx-repository] - scp://xxx.net/ [DEBUG] (s) localRepository = [local] - file:///home/najmi/.m2/repository [DEBUG] (f) packaging = war [DEBUG] (f) pomFile = /home/najmi/.../pom.xml [DEBUG] (f) updateReleaseInfo = false [DEBUG] -- end configuration -- [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The packaging for this project did not assign a file to the build artifact [INFO] -- What am I missing in my pom.xml? -- Regards, Farrukh Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven archetype plugin 1.0-alpha-6 released
alpha 6 has been removed. If you have problems delete it from your local repo and it will pick up the previous version On 8/30/07, Carlos Sanchez [EMAIL PROTECTED] wrote: probably the docs need to define the version of the plugin Anyway I'm going to release alpha-7 fixed On 8/30/07, Tommy Knowlton [EMAIL PROTECTED] wrote: Here's a (not-so-funny?) anecdote... I have been using Maven in the shop that pays my salary, for better than 8 months now. Just today, my friend who works for another company close by, he asked me have you ever used Maven? I explained how Maven has greatly helped with my company's software modularizing effort, but also how sometimes it's too inflexible, sometimes stuff breaks out from under you due to no fault of your own, etc. He decided to try it out. I pointed him at a couple of online resources that I have tended to use pretty heavily, and about a half hour later, he IM'd me because maven-archetype-plugin was reporting 2 required artifacts are missing. After proving that it works on my box I decided to update our mirror of central (my company uses an internal mirror of Maven's central, which was a few days out of date). Before that was finished, though, I decided to check this mailing list... Having tracked down the problem to this plugin update, my friend's response was, Yeah... now I'm beginning to suspect that it's overly complicated for what I'm trying to do I mean, it sounds nice, but knowing that this stuff may be trash in a week or two when the direction changes... FWIW, I might suggest that this is a lesson useful to the whole Maven community. Also, I realize that this version of the maven-archetype- plugin is marked as an alpha release, but when the tool chooses the alpha-level plugin by default, maybe that's a design decision that could use a revisit... again, I say, FWIW, \Tommy On 29 Aug 2007, at 16:01 , Wayne Fay wrote: Carlos, we've got a bad pom: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven- archetype/1.0-alpha-6/maven-archetype-1.0-alpha-6.pom Its pointing to 1.0-alpha-5 for model, core, creator which of course does not exist. Also the metadata in core, model, creator all have 1.0-alpha-5 in version/. Wayne -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
error getting maven-ant-plugin 2.0-SNAPSHOT
Any help on how to get the latest maven-ant-plugin ( maven-ant-plugin-2.0-SNAPSHOT.jar) ? I am trying to use the latest maven-ant-plugin, but when I execute mvn ant:ant after setting the settings.xml entry mirror idrepo1/id urlhttp://repo1.maven.org/maven2/url mirrorOfcentral/mirrorOf /mirror mirror idsnapshot.apache.org/id urlhttp://people.apache.org/maven-snapshot-repository/url mirrorOfcentral/mirrorOf /mirror to locate maven-ant-plugin-2.0-SNAPSHOT.jar from http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-ant-plugin/2.0-SNAPSHOT/ which contains only maven-ant-plugin-2.0-20070414.154352-1.jar I got the following exception. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'ant'. [DEBUG] Loading plugin prefixes from group: open-esb [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo [DEBUG] maven-compiler-plugin: resolved to version 2.0.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8 for project: null:maven-compiler-plugin:maven-p lugin:2.0.2 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.plugins:maven-plugins:pom: 8 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository . [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-surefire-plugin:maven-p lugin:2.1.3 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom: 1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository . [DEBUG] maven-antrun-plugin: resolved to version 1.1 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0.1 for project: null:maven-antrun-plugin :maven-plugin:1.1 from the repository. [DEBUG] Adding managed dependencies for unknown:maven-antrun-plugin [DEBUG] org.apache.maven:maven-project:jar:2.0.1 [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5 [INFO] artifact org.apache.maven.plugins:maven-ant-plugin: checking for updates from central [DEBUG] maven-ant-plugin: resolved to version 2.0-SNAPSHOT from repository central [DEBUG] Skipping disabled repository central [DEBUG] maven-ant-plugin: using locally installed snapshot [DEBUG] Skipping disabled repository central [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-ant-plugin Reason: Error getting POM for 'org.apache.maven.plugins:maven-ant-plugin' from the repository: Failed to resolve artifac t, possibly due to a repository list that is not appropriately equipped for this artifact's metadata. org.apache.maven.plugins:maven-ant-plugin:pom:2.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-ant-plugin [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error resolving version for 'org.apache.maven.plugins:maven-ant- plugin': Unable to read the metadata file for artifact 'org.apache.maven.plugins:maven-ant-plugin:pom': Error getting PO M for 'org.apache.maven.plugins:maven-ant-plugin' from the repository: Failed to resolve artifact, possibly due to a rep ository list that is not appropriately equipped for this artifact's metadata. org.apache.maven.plugins:maven-ant-plugin:pom:2.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-ant-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1266) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1522) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecuto r.java:386) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:138) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at
RE: [ANN] Maven HAR SAR Plugins Archetypes 0.9 Released
Could you add their information to this page: http://docs.codehaus.org/display/MAVENUSER/Archetypes+List Done. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Help Creating My Own Maven 2 Archetype
Everything looks right/good to me. What exactly is wrong, from your perspective? Its not clear what you're getting vs what you expect to get. Wayne On 8/29/07, Andrew Leer [EMAIL PROTECTED] wrote: See: http://docs.codehaus.org/download/attachments/37533/MavenArchTypes_Template_N_Result2.zip For full code of Archetype and resulting project from Archetype. Thank you, Andrew J. Leer quote author=Andrew Leer-2 Hello, I am trying to make an archtype in mvn2. My Archetype project has the following directory structure: blockquote pre Java6ArchetypeProjectRoot | Java6ArchetypeProject.txt | pom.xml | pom.xml~ | +---src | \---main | \---resources | +---archetype-resources | | | pom.xml | | | | | \---src | | +---main | | | \---java | | | App.java | | | | | \---test | | \---java | | AppTest.java | | | \---META-INF | \---maven | archetype.xml | archetype.xml~ | \---target | maven-archetype-java-6-1.0-SNAPSHOT.jar | \---classes +---archetype-resources | | .pom.xml.swp | | pom.xml | | | \---src | +---main | | \---java | | App.java | | | \---test | \---java | AppTest.java | \---META-INF \---maven archetype.xml /pre /blockquote I then installed the new Archetype in the repository using mvn install. When I attempt to generate the project using the command: blockquote pre mvn archetype:create -DarchetypeGroupId=com.mooo.mv.archetype.compilerversion -DarchetypeArtifactId=maven-archetype-java-6 -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.mooo.archetype.test -DartifactId=Java6TestArtifact /pre /blockquote I receive the following flawed directory structure: (flawed mainly because of the placement of AppTest.java in src\main\java\moo\archetype\test\AppTest.java blockquote pre Java6TestProjectFromAboveArcheType | Java6TestArtifactFromArcheType.txt | pom.xml | \---src +---main | \---java | \---com | \---mooo | \---archetype | \---test | App.java | \---test \---java \---com \---mooo \---archetype \---test AppTest.java /pre /blockquote My archetype.xml looks like the following: pre blockquotelt;archetypegt; lt;idgt;maven-archetype-java-6lt;/idgt; lt;sourcesgt; lt;sourcegt;src/main/java/App.javalt;/sourcegt; lt;/sourcesgt; lt;testSourcesgt; lt;sourcegt;src/test/java/AppTest.javalt;/sourcegt; lt;/testSourcesgt; lt;!-- Allows archetype:create to be called on an existing project. --gt; lt;allowPartialgt;truelt;/allowPartialgt; lt;/archetypegt; /blockquote /pre Thank you, Andrew J. Leer P.S. Thank the DOS tree command for generating that directory structure for me. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] /quote - 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]