Re: Non-terminating Builds
It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition.
Re: Non-terminating Builds
In the Build Result table, you should have a endTime field. Morgovsky, Alexander (US - Glen Mills) a écrit : I am using 1.0.3. I have three builds running in a particular project. The end date filed in the database is not set for any projects. Thus, what is the name of the table which will hold these three failed builds, as the Build Result table does not have them? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:01 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds No, it only the end date field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: Non-terminating Builds
Right, but if the end date field is set for all the builds, where do I find the 3 builds which never terminated? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:23 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds In the Build Result table, you should have a endTime field. Morgovsky, Alexander (US - Glen Mills) a écrit : I am using 1.0.3. I have three builds running in a particular project. The end date filed in the database is not set for any projects. Thus, what is the name of the table which will hold these three failed builds, as the Build Result table does not have them? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:01 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds No, it only the end date field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: Non-terminating Builds
I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: Non-terminating Builds
Thank you, I will do this. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 9:33 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds On 5/17/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I have no choice but to reinstall the application. Is there an idea of when Continuum will give the user the capability to stop builds? Speaking for myself, I can't answer questions about 1.0.3 because I don't use it. If you're going to reinstall, consider moving to Continuum 1.1-alpha-1. It has lots of improvements, thought not afaik the 'stop a running build' feature you're looking for. You can open an enhancement request in JIRA for it: http://jira.codehaus.org/browse/CONTINUUM -- Wendy This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: Non-terminating Builds
No, it only the end date field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: Non-terminating Builds
I am using 1.0.3. I have three builds running in a particular project. The end date filed in the database is not set for any projects. Thus, what is the name of the table which will hold these three failed builds, as the Build Result table does not have them? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:01 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds No, it only the end date field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: continuum-users@maven.apache.org Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: How to backup project?
Most people backup their project in an SCM of some kind (CVS, SVN, etc). You can use the maven-source-plugin to create a file XXX-version-sources.jar as part of your build process. Or just run a system tar or zip command. Or even configure maven-antrun-plugin and re-use your current tar tasks. Wayne On 5/18/07, wolverine my [EMAIL PROTECTED] wrote: Hi! With Ant, I used to create tasks for tar and backup the files in XXX-src.tar.gz. May I know how do we backup the project source files in Maven? /newbie - 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]
Fw: Assistance required - why doesn't my index.html get generated when generating my site?
I'm using Maven 2.0.5. My sites have no customisation (which I won't do until I get this to work). I am getting the following generated: Apart from subdirectories, I get: checkstyle.html (plus checkstyle.rss) cpd.html and cpd.xml dependencies.html integration.html issue-tracking.html jdepend-report.html pmd.html and pmd.xml project-info.html project-reports.html surefire-report.html I'm using version 2.0-beta-5 of the web site plugin. I have been told that an index.html should be generated, and it is not. This is an issue because it is a multi-module project, and links on the parent project all link to the index.html of the sub-projects. So without the index.html nobody can navigate the site correctly. Any suggestions? Is there any other information that I can provide which would help diagnosis? Regards, Ian Rowlands Disclaimer: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from your computer. Privacy: If you are responding to this email or providing personal information to the SRO for the purposes of one of the Acts it administers, such information is used only for the purpose for which it was collected ( administration of SRO legislation ) and is protected by the Information Privacy Act 2000 and secrecy provisions contained in legislation administered by SRO. It is not disclosed otherwise than in accordance with the law. If you would like a copy of the SRO Privacy Policy please refer to SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a copy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
External dependencies in Maven remote repository
Hi! May I know who is updating the Maven remote repository (http://www.ibiblio.org/maven2)? What should I do when I can't find my dependency in the remote repository? For example SLF4J (http://www.slf4j.org/) and MINA (http://mina.apache.org/), how can Maven download these libraries automatically? In Maven remote repository, there is a directory for 1.2.14 but the maven-metadata.xml shows the versions up to 1.2.13. How does this maven-metadata.xml affects Maven? The Maven is still able to download Log4j 1.2.14 anyway. /newbie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems with preparationGoals config in the release plugin
Hi, Just try : preparationGoalsassembly:assembly/preparationGoals If you have more than one, just use as this : preparationGoalsclean test-compile/preparationGoals Have a look : http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals HTH, -- Olivier -Message d'origine- De : Evan Toliopoulos [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18 mai 2007 05:26 À : Maven Users List Objet : Problems with preparationGoals config in the release plugin Hi, Has any one managed to configure the *preparationGoals *for the *release *plugin successfully. I have the following in my pom.xml (which is a parent POM with packaging pom): plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-release-plugin/artifactId configuration tagBasescm:svn:svn://svn.emagineinternational.com/tags/sms-transceiver/tagBase preparationGoals preparationGoalassembly:assembly/preparationGoal /preparationGoals /configuration /plugin and when I try to run Maven v2.0.6 with goal *release:prepare* I get: [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-release-plugin:2.0-beta-4 Cause: When configuring a basic element the configuration cannot contain any child elements. Configuration element 'preparationGoals'. Does anyone know what I am doing wrong? Thanks, Evan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. -- Ce message électronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci après le message ), sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le renvoyer à son émetteur et de le détruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées de ce message, sont interdites. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Run package life cyclic for the subproject occur error.
This might be the cause for the cyclic reference. Your parent pom contains a dependency on and has a module defined as 'agentcommon' ... dependency groupIdcom.sinosafe.pcies/groupId artifactIdagentcommon/artifactId version${project.version}/version /dependency /dependencies modules moduleagentcommon/module moduleagentwar/module moduleagentapp/module /modules ... cheers Varghese C V sam wrote: HI, Guys!I have set up a parent project which has three sub project.(see the attachments please).Both the agentapp project and the agentwar project is dependence agentcommon project. I have installed the agentcommon project to the local repo. and run mvn -N install under the parent project agent directory.so I can package the other subproject agentapp and agentwar, But when I package the agentcommon again,maven has reported the error message like this: = D:\workspace\agent\agentcommonmvn package -X + Error stacktraces are turned on. Maven version: 2.0.5 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Administrator\.m2 \plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'E:\maven-2.0.5\bin\..\conf\plugin-registr y.xml' [INFO] Scanning for projects... [DEBUG] Searching for parent-POM: com.sinosafe.pcies:agent::1.0-SNAPSHOT of project: com.sinosafe.pc ies:agentcommon:jar:1.0-SNAPSHOT in relative path: ../pom.xml [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: com.sinosafe.pcies :agentcommon:jar:1.0-SNAPSHOT [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinos afe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon -- com.sinosafe.pcies:agentcommon [INFO] [DEBUG] Trace org.apache.maven.BuildFailureException : The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinosafe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agen tcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon -- com.sinosafe.pcies:ag entcommon at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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) Caused by: org.codehaus.plexus.util.dag.CycleDetectedException: Edge between 'Vertex{label='com.sino safe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon' }' introduces to cycle i n the graph com.sinosafe.pcies:agentcommon -- com.sinosafe.pcies:agentcommon at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:127) at org.codehaus.plexus.util.dag.DAG.addEdge (DAG.java:107) at org.apache.maven.project.ProjectSorter.init(ProjectSorter.java:104) at org.apache.maven.execution.ReactorManager.init(ReactorManager.java:59) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:296) ... 10 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri May 18 17:14:20 CST 2007 [INFO] Final Memory: 1M/2M [INFO] === what this message mean please?thanks in Advance! ?xml version=1.0 encoding=UTF-8? 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;
Run package life cyclic for the subproject occur error.
HI, Guys!I have set up a parent project which has three sub project.(see the attachments please).Both the agentapp project and the agentwar project is dependence agentcommon project. I have installed the agentcommon project to the local repo. and run mvn -N install under the parent project agent directory.so I can package the other subproject agentapp and agentwar, But when I package the agentcommon again,maven has reported the error message like this: = D:\workspace\agent\agentcommonmvn package -X + Error stacktraces are turned on. Maven version: 2.0.5 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Administrator\.m2 \plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'E:\maven- 2.0.5\bin\..\conf\plugin-registr y.xml' [INFO] Scanning for projects... [DEBUG] Searching for parent-POM: com.sinosafe.pcies:agent::1.0-SNAPSHOT of project: com.sinosafe.pc ies:agentcommon:jar:1.0-SNAPSHOT in relative path: ../pom.xml [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: com.sinosafe.pcies :agentcommon:jar:1.0-SNAPSHOT [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinos afe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon -- com.sinosafe.pcies:agentcommon [INFO] [DEBUG] Trace org.apache.maven.BuildFailureException: The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.sinosafe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agen tcommon'}' introduces to cycle in the graph com.sinosafe.pcies:agentcommon-- com.sinosafe.pcies:ag entcommon at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) 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) Caused by: org.codehaus.plexus.util.dag.CycleDetectedException: Edge between 'Vertex{label='com.sino safe.pcies:agentcommon'}' and 'Vertex{label='com.sinosafe.pcies:agentcommon'}' introduces to cycle i n the graph com.sinosafe.pcies:agentcommon -- com.sinosafe.pcies:agentcommon at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:127) at org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:107) at org.apache.maven.project.ProjectSorter.init(ProjectSorter.java :104) at org.apache.maven.execution.ReactorManager.init( ReactorManager.java:59) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:296) ... 10 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri May 18 17:14:20 CST 2007 [INFO] Final Memory: 1M/2M [INFO] === what this message mean please?thanks in Advance! ?xml version=1.0 encoding=UTF-8? 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 groupIdcom.sinosafe.pcies/groupId artifactIdagent/artifactId packagingpom/packaging version1.0-SNAPSHOT/version nameagent/name urlhttp://maven.apache.org/url build resources resource directory${basedir}/agentcommon/src/main/java/directory /resource /resources plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdacegi-security/groupId artifactIdacegi-security/artifactId version1.0.0/version /dependency dependency
Re: MailSender configuration for continuum 1.1-alpha on tomcat
Emmanuel could you please send me a Tomcat resource definition for a working mail configuration with authentication (e.g. you mentioned gmail)... are any additional system properties required? I'm working with continuum 1.1 alpha that I built around May 5th! Martin Emmanuel Venisse wrote: I don't know what's happen, it works fine for me with several smpt server (internal with/without authentication/ssl, gmail...) Emmanuel -- View this message in context: http://www.nabble.com/MailSender-configuration-for-continuum-1.1-alpha-on-tomcat-tf3763986.html#a10678874 Sent from the Continuum - Users mailing list archive at Nabble.com.
jaxb2-maven-plugin
Hi, I am using jaxb2-maven-plugin and in the application I would like to validate the xml. And for that I would like to include schema in the artifact. Is it possible to configure the plugin for that? Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
axistools-maven-plugin
Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? plugin groupIdorg.codehaus.mojo/groupId artifactIdaxistools-maven-plugin/artifactId configuration urls urlhttp://samwise:8080/TTCWebServices/XSLTTransform?WSDL/url urlhttp://samwise:8080/dealamendments-2/AmendmentsBean?WSDL/url /urls packageSpaceza.co.rmb.wsdl/packageSpace testCasestrue/testCases serverSidetrue/serverSide subPackageByFileNametrue/subPackageByFileName /configuration executions execution goals goalwsdl2java/goal /goals /execution /executions /plugin Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
RE: axistools-maven-plugin
Hi, U have to change the URL to the following urlfile:///C:/somefolder/src/main/swdl/somewsdl.wsdl/url Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org Subject: axistools-maven-plugin Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? plugin groupIdorg.codehaus.mojo/groupId artifactIdaxistools-maven-plugin/artifactId configuration urls urlhttp://samwise:8080/TTCWebServices/XSLTTransform?WSDL/url urlhttp://samwise:8080/dealamendments-2/AmendmentsBean?WSDL/url /urls packageSpaceza.co.rmb.wsdl/packageSpace testCasestrue/testCases serverSidetrue/serverSide subPackageByFileNametrue/subPackageByFileName /configuration executions execution goals goalwsdl2java/goal /goals /execution /executions /plugin Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.h tml ** 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: axistools-maven-plugin
Thanks for the reply. Yes.. I presume I could do that. But I would like to download the wsdl file which is sitting in a different server. I just have a URL of that file. Regards, Vidya Murugan, Vellaichamy [EMAIL PROTECTED] 18/05/2007 12:48 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject RE: axistools-maven-plugin Hi, U have to change the URL to the following urlfile:///C:/somefolder/src/main/swdl/somewsdl.wsdl/url Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org Subject: axistools-maven-plugin Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? plugin groupIdorg.codehaus.mojo/groupId artifactIdaxistools-maven-plugin/artifactId configuration urls urlhttp://samwise:8080/TTCWebServices/XSLTTransform?WSDL/url urlhttp://samwise:8080/dealamendments-2/AmendmentsBean?WSDL/url /urls packageSpaceza.co.rmb.wsdl/packageSpace testCasestrue/testCases serverSidetrue/serverSide subPackageByFileNametrue/subPackageByFileName /configuration executions execution goals goalwsdl2java/goal /goals /execution /executions /plugin Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.h tml ** 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] This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html
multiple execution in exec-maven-plugin
Hi, I need to call some executables from a single pom file and using exec-maven-plugin for that. Is there a way to configure it to run a set of executions and not just one? Thanks, Erez. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dependency:unpack is not checking reactor artifacts for dependencies
I have a parent project which has two modules 'my-app' and 'my-dep-app' (both created by the archetype-create example). The 'my-dep-app' project wants the 'my-app' dependency to be unpacked into its target\classes folder. I am trying to merge the classes of multiple model projects before I can run the jibx xml binding compiler on them. This way I need only one jibx binding factory for a group of related models. The error 'Failed to resolve artifact' and the fact that it works when installed in the local repository suggests that reactor artifacts are not checked to resolve the dependency. Is this a multi-module problem? I would like to point out that looks very similar to a resolved dependency plugin issue (http://jira.codehaus.org/browse/MDEP-44), except that I dont use the assembly plugin as shown in the test case. Any help is appreciated. Maven : 2.0.6 Maven dependency plugin : 2.0 alpha 4 This is the output I get. PFA the poms(Zip attachments are getting rejected) * [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] my-app [INFO] my-dep-app [INFO] My-apps parent pom [INFO] [INFO] Building my-app [INFO]task-segment: [package] [INFO] ... [INFO] [jar:jar] [INFO] Building jar: C:\test\mvn\dependency-unpack-test\my-app\target\my-app-1.0-SNAPSHOT.jar [INFO] [INFO] Building my-dep-app [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [dependency:unpack {execution: default}] [INFO] Configured Artifact: com.mycomp.app:my-app:?:jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: com.mycomp.app ArtifactId: my-app Version: 1.0-SNAPSHOT Reason: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.mycomp.app -DartifactId=my-app \ -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file com.mycomp.app:my-app:jar:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Fri May 18 15:32:07 GST 2007 [INFO] Final Memory: 7M/13M [INFO] * project groupIdcom.zafinlabs.project.miRevenue.hdfc.impl/groupId modelVersion4.0.0/modelVersion artifactIdmyApps/artifactId version1.0-SNAPSHOT/version packagingpom/packaging nameMy-apps parent pom/name modules modulemy-app/module modulemy-dep-app/module /modules /projectproject 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 groupIdcom.mycomp.app/groupId artifactIdmy-app/artifactId packagingjar/packaging version1.0-SNAPSHOT/version namemy-app/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies /project 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 groupIdcom.mycomp.app/groupId artifactIdmy-dep-app/artifactId packagingjar/packaging version1.0-SNAPSHOT/version namemy-dep-app/name urlhttp://maven.apache.org/url dependencyManagement dependencies dependency groupIdcom.mycomp.app/groupId artifactIdmy-app/artifactId version${project.version}/version /dependency /dependencies /dependencyManagement dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdcom.mycomp.app/groupId artifactIdmy-app/artifactId /dependency /dependencies build plugins plugin
Re: using blame
No, it isn't possible actually, but I think you can do it if you modify the actual mail notifier or create your own Emmanuel Ionut S a écrit : Nobody can comment on this one ? Ionut S [EMAIL PROTECTED] wrote: Actually we already get something like that .. I was wondering if there is some kind of module that parses the last error from continuum (the one that made the build fail) then verifies who modified any of the classes obtained after parsing. As a result, Continuum should send an email with a title like this: [BUILD FAILED] Committer: John Doe Is there such a module ? Wendy Smoak wrote: On 5/12/07, Ionut S wrote: How can we use the blame mechanism ? We already have emails coming when the build fails, but the only thing they say is the build failed, nothing more. I searched the continuum site and I couldn't find anything clear, this is why I'm writing you here.. What version of Continuum are you using? Here's an example of a build failure notice that shows the recent changes in scm and dependencies: http://mail-archives.apache.org/mod_mbox/myfaces-commits/200705.mbox/[EMAIL PROTECTED] Is that what you're looking for?
Maven 1.0.2 build problem
We have a build that has been working for a couple years now, but when I tried this on Vista I ended up getting an error. Just wondering if anybody has seen this or had any ideas on what may be wrong. Error: It happens when trying to build a sub-project. We are using a jbrew pluggin, when it tries to build the jbrew target. I get a CreateProcess error=2 The system cannot find file specified. Which is maven.bat Now the maven home directory is in the path, but for some reason when it switches to the jbrew directory to run that build file it is not able to find it. -- View this message in context: http://www.nabble.com/Maven-1.0.2-build-problem-tf3778230s177.html#a10683841 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: axistools-maven-plugin
This may not be a supported function of the plugin at this time. I don't use it so I can't be sure. But if you need this feature, you are welcome to download the plugin code, modify as necessary, and contribute back your changes for the benefit of all Maven users. Wayne On 5/18/07, Vidya Mahavadi [EMAIL PROTECTED] wrote: Thanks for the reply. Yes.. I presume I could do that. But I would like to download the wsdl file which is sitting in a different server. I just have a URL of that file. Regards, Vidya Murugan, Vellaichamy [EMAIL PROTECTED] 18/05/2007 12:48 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject RE: axistools-maven-plugin Hi, U have to change the URL to the following urlfile:///C:/somefolder/src/main/swdl/somewsdl.wsdl/url Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org Subject: axistools-maven-plugin Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me, if I am missing anything in the configuration? plugin groupIdorg.codehaus.mojo/groupId artifactIdaxistools-maven-plugin/artifactId configuration urls urlhttp://samwise:8080/TTCWebServices/XSLTTransform?WSDL/url urlhttp://samwise:8080/dealamendments-2/AmendmentsBean?WSDL/url /urls packageSpaceza.co.rmb.wsdl/packageSpace testCasestrue/testCases serverSidetrue/serverSide subPackageByFileNametrue/subPackageByFileName /configuration executions execution goals goalwsdl2java/goal /goals /execution /executions /plugin Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.h tml ** 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] This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Non-terminating Builds
ok, what is the state of your 3 build in the db and the state of the related project? Morgovsky, Alexander (US - Glen Mills) a écrit : Right, but if the end date field is set for all the builds, where do I find the 3 builds which never terminated? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:23 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds In the Build Result table, you should have a endTime field. Morgovsky, Alexander (US - Glen Mills) a écrit : I am using 1.0.3. I have three builds running in a particular project. The end date filed in the database is not set for any projects. Thus, what is the name of the table which will hold these three failed builds, as the Build Result table does not have them? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:01 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds No, it only the end date field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: How to handle inter-project dependencies
Hi again, No answer to this one in a few days, so I would have to suppose that it is not possible to solve this using standard Continuum features? In the mean time, our solution is a symlink in Continuum's working directory to a checked-out version of the 'common' project. When the builds fail due to a change in the common part, we simply have to update that and we can get by, more or less. From our perspective, this type of project linking is a necessary feature of a continuous integration server. I've been very much in favour of Continuum over Cruisecontrol due to its simplicity of configuration. But Cruisecontrol lets me solve this particular problem, so if there really is no solution using Continuum, I guess that Cruisecontrol has to be the tool we use after all. I have added this as a feature request to JIRA. I really hope it can be implemented, because it is a necessity for us and I don't at all enjoy the prospect of going back to the complexity of configuring Cruisecontrol again.. :( / Petter -Original Message- From: Petter Måhlén [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:32 PM To: [EMAIL PROTECTED] Subject: How to handle inter-project dependencies Hi, We have a setup that works well during development but doesn't agree with Continuum's philosophy of how to handle things - or so it seems to me. I think there is a point in doing it another way than we are, but I am not sure how. Hopefully, somebody here can enlighten me. :) We have three projects: 1. 'common', which basically contains an XML schema definition file for code generation with XJC (other things as well, but that's probably not relevant for the issue at hand). 2. 'client', which is built using Ant (for historical reasons, would have preferred Maven but no time to fix that yet). One step of the build looks like so: target name=generate-xsd-source mkdir dir=${xjc.gen.dir} / exec executable=${xjc.exe} arg value=-p / arg value=se.jadestone.hc.client.database/ arg value=-d / arg value=${xjc.gen.dir}/ arg value=${common.dir}/src/main/schemas/database.xsd/ /exec /target In our local environments, '${common.dir}' points to a directory where the source code of the 'common' project resides (../common by default). 3. 'server', which is built using Maven, and which contains the following dependency: ... build ... plugins plugin groupIdcom.sun.tools.xjc.maven2/groupId artifactIdmaven-jaxb-plugin/artifactId executions execution goals goalgenerate/goal /goals /execution /executions configuration generatePackagese.jadestone.hc.client.database/generatePackage schemaDirectory../common/src/main/schemas/schemaDirectory stricttrue/strict verbosetrue/verbose /configuration /plugin /plugin /build Since we cannot know (I think) which directory name Continuum will choose when checking out and building the 'common' project, both of these builds fail. As far as I have been able to figure out, both the XJC tool and the maven-jaxb-plugin require that we specify an explicit path to the file to generate code from, so it doesn't seem to be an option to use the jar file that we actually build from other things in the 'common' project. I would like to get away from using explicit paths the way we are, but I am not sure how. Does anybody have a solution to this problem? We're using 1.0.3, by the way. Thanks in advance, Petter
m2 update plugin version
Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the eclipse:eclipse command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download But how can I do this in Maven2? Thanks in Advance, Don ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Non-terminating Builds
I cannot find the build ID in the SA.TABLE.BUILDRESULT table, as the latest build ID from the GUI is 1500 and that in this table is 1200. I am looking at SA.TABLE.BUILDRESULT.PROJECT_ID_IOD and SA.TABLE.PROJECT.ID, but I cannot find find a way to relate these two tables. Where can I find the rest of the build results? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 11:18 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds ok, what is the state of your 3 build in the db and the state of the related project? Morgovsky, Alexander (US - Glen Mills) a écrit : Right, but if the end date field is set for all the builds, where do I find the 3 builds which never terminated? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:23 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds In the Build Result table, you should have a endTime field. Morgovsky, Alexander (US - Glen Mills) a écrit : I am using 1.0.3. I have three builds running in a particular project. The end date filed in the database is not set for any projects. Thus, what is the name of the table which will hold these three failed builds, as the Build Result table does not have them? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 10:01 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds No, it only the end date field in the database that isn't set. Morgovsky, Alexander (US - Glen Mills) a écrit : I think the build is still running because the time elapsed for the build is constantly increasing. -Original Message- From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 8:28 AM To: [EMAIL PROTECTED] Subject: Re: Non-terminating Builds It doesn't sound like the build is still running. It sounds like the project still looks like it's building because of the icon. I've had this happen several times. I clear it up by adding a build definition to the project and specify the goal as -v (which just gives the maven version) then I run that build definition. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
RE: How to share a common checkstyle config across modules?
Thanks, Gerald. This is exactly what I wanted and it worked just as you described. This mechanism will be useful for many other applications. Tim -Original Message- From: Nunn, Gerald [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 1:52 PM To: Maven Users List Subject: RE: How to share a common checkstyle config across modules? I jar my checkstyle configuration and then store it in an intranet Maven repository. Projects can then declare a dependency on this jar using the extensions tag in the build section of pom.xml. For example: build extensions extension groupIdcom./groupId artifactId-checkstyle/artifactId version1.0.0/version /extension /extensions /build reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationconfig/cibc_checks.xml/configLocation /configuration /plugin /plugins /reporting The configLocation is the classpath location in the -checkstyle.jar. Hope this helps. Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 update plugin version
mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM [EMAIL PROTECTED] wrote: Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the eclipse:eclipse command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download But how can I do this in Maven2? Thanks in Advance, Don ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Assembly my dependencies
Hi! I would like to create an assembly with all artifacts that my project depends on so that the archive can easily be used to update an internal repository with the artifacts used by your project. Like is described at: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-repositories.html But when I do what is described there, I get a jar file but inside the maven2 directory is empty. I don't understand, because the assembly descriptor is copy paste form the maven page. Any ideas ? Regards, Rodrigo. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sudden change to SNAPSHOT behaviour
Hi all, I have a weird problem that has just struck - in the past, I have used mvn deploy to deploy snapshot packages to our internal repository, so that mvn install can pull down those snapshots to other environments. All of a sudden, mvn deploy complains that my snapshot artifact cannot be found. Turns out that mvn deploy has uploaded a file like this: alchemy-transformer-4.0.28-20070518.155230-1-R2006b-windows-x86.jar While mvn install is trying to download a file like this: alchemy-transformer-4.0.28-SNAPSHOT-R2006b-windows-x86.jar And the install fails. Does anyone know why mvn deploy no longer deploys -SNAPSHOT jars to the repository, or why the install plugin no longer downloads -timestamp jars from the repository? I am using mvn 2.0.4 for upload, and mvn v2.0.6 for download. Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 update plugin version
Hi, Thanks for the advice. But how do I specify the plugin that I want it to update? I guessed: mvn -Dplugin=eclipse -cpu But apparently my guess was wrong. Thanks, Don - Original Message From: Wayne Fay [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, 18 May, 2007 12:08:41 PM Subject: Re: m2 update plugin version mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM [EMAIL PROTECTED] wrote: Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the eclipse:eclipse command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download But how can I do this in Maven2? Thanks in Advance, Don ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Assembly filtering
It seems filtering is broken in the latest release of the assembly plugin (2.2-beta-1). The tip describing how to combine a fileSets element with a files element to filter a select number of files within the directory named by a fileSet used to work in 2.1, but not now. The tip is here: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html I do see properly filtered files beneath target/archive-tmp but not in the actual assembly file. It's as if the fileSet overwrites the filtered files, or maybe they're never even added to the archive. The only thing I've been able to get to filter properly is a single files element with no other fileSets elements in the assembly descriptor. But that doesn't work for me since I'm only filtering a small subset of the directory of files I'm assembling. Adding a filteredtrue/filtered element to a fileSet (supposedly supported in 2.2) does not work at all. I hate to go back to 2.1 since dependency resolution is so broken there, though filtering does seem to work ok. In case I'm doing something horribly stupid, has *anyone* gotten filtering to work with fileSets in version 2.2? Thanks, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 update plugin version
Just run the plugin like you normally do, and include -cpu to force an update check. Wayne On 5/18/07, DM [EMAIL PROTECTED] wrote: Hi, Thanks for the advice. But how do I specify the plugin that I want it to update? I guessed: mvn -Dplugin=eclipse -cpu But apparently my guess was wrong. Thanks, Don - Original Message From: Wayne Fay [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Friday, 18 May, 2007 12:08:41 PM Subject: Re: m2 update plugin version mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM [EMAIL PROTECTED] wrote: Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the eclipse:eclipse command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed. In maven1, I could have updated it by running: maven -DartifactId=maven-eclipse-plugin -DgroupId=org.apache.maven.plugins -Dversion=2.3 plugin:download But how can I do this in Maven2? Thanks in Advance, Don ___ Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/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]
Merge assemblies across projects?
Hello List, I have a couple projects (each with their own assemblies) as modules of a current project. Is there a way I can have their generated assemblies merged when I call assembly:assembly? thanks, Mark ~ Mark R. Diggory - DSpace Systems Manager MIT Libraries, Systems and Technology Services Massachusetts Institute of Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse plugin for maven - first letter missing in .classpath file
Hello I have a problem with eclipse plugin for maven 2 (i'm using maven 2.0.6). it generates wrong .classpath file - all classpath entries describing external jars have missing first letter (after M2_REPO env variable). let take an example: classpathentry kind=var path=M2_REPO/unit/junit/3.8.1/junit-3.8.1.jar sourcepath=M2_REPO/unit/junit/3.8.1/junit-3.8.1-sources.jar/ i found that someone already had this problem with maven, but there was no solution for it. do anybody know how to deal with that ? thanks in advance Kamil Pietak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Properties files in a WAR artifact...
Hey All... I think I'm hitting one of the biggest problem areas in Maven: Properties. I'll put my requirement first, and the wrinkles I see after that. 1) I need to have a default set of properties for db connection (host, port, username, password) that end up next to my compiled .class files. - Ok: User resource filtering. But where to put the default property values in the POM? 2) I need each user to be able to override the default in their own environment. - My users are new, so I'd rather not make then specify anything extra at the command line. (I'd prefer documenting a changes to settings.xml first.) - Can I have them specify their values in a /settings/profiles/profile (that is meant to be an xpath-ish descriptor for example specification only) section? X-3-X) I also need this to work with the jetty:run (Jetty 6) plugin... (I didn't know if the resource filtering would work, but I just checked and the Jetty6 plugin has /target/classes as the first entry in the classpath... So, I am good on this point.) Am I going about this the wrong way? Isn't 2-tier web-app development explicitly requiring non-portability? - nelz Here's what I've gathered so far from: 1a) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Add and Label Artifact in SCM after Release:Perform
We are in the process of converting our build lifecycle from using ANT to Maven and are using Subversion as a SCM repository. Our desire is to version in SCM the project source and Pom.xml. However, not the Target directory. This is already working by using the release:prepare and release:perform goals. We are able to perform a complete build, label the source in SCM and move our artifacts to our Proximity repository. Our problem: However, after the release:perform, we desire to add the project artifact (ProjectName.war) in our Subversion repository (without the version number), tag the artifact, and copy the artifact to a specific directory (Tomcat webapps). Can anyone provide assistance how to perform this task? Lastly, if a new goal is necessary, any recommendation how to bind this new goal to the lifecycle to run after the release:perform? Any assistance is appreciated. Thanks in advance... Regards, Neil Hall Confidentiality Notice: This e-mail is intended only for the personal and confidential use of the individual to whom it is addressed and may contain information that is privileged, confidential and protected by law. If you are not the intended recipient, you are hereby notified that any use or disclosure of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply e-mail and delete the original message. Your compliance is appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Properties files in a WAR artifact...
Hi Nelz, Let me throw some ideas at you and take what you can. Here is what I do for all our internal projects: In the project's parent POM I have this: profiles profile idprofile-db-postgresql/id properties jdbc.driverClassNameorg.postgresql.Driver/jdbc.driverClassName jdbc.usernamesomeusername/jdbc.username jdbc.passwordsomepassword/jdbc.password jdbc.url jdbc:postgresql://localhost:5432/somedatabase?autoReconnect=true/fjdbc.url /properties activation property nameprofile-db-postgresql/name /property /activation /profile /profiles This allows me to activate databases based on a command line switch (I know you don't like this approach). Your class files are probably loading them from some properties files. That properties files can be then included in your WAR or JAR and loaded from the classpath. In the example above, I have a sub project that builds a EJB3 jar. I use the resource substitution via my pom.xml like: build resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource /resources /build So within my project, I have a src/main/resources where I stick my files that I want to be filtered. Btw, the resources directory is the default directory for a JAR to pick up extra files so I know it will be included in my final target output when I launch a build. Obviously the file included in src/main/resources looks like this: someapp.jdbc.ClassName = ${jdbc.driverClassName} someapp.jdbc.userName = ${jdbc.userName} ... etc. You could even have maven filter frame specific files such as an iBatis config or Hibernate file. I actually use the above approach to filter out datasource xml files for JBoss deployments. Your looking for per user username and password I suppose, so as per: http://maven.apache.org/guides/introduction/introduction-to-profiles.html You can EASILY do this via user specific profiles (I'm using the global POM based one, but the same approach applies, just change where the profile file is loaded from). Hopefully some of this helps, -aps On 5/18/07, Nelz [EMAIL PROTECTED] wrote: Hey All... I think I'm hitting one of the biggest problem areas in Maven: Properties. I'll put my requirement first, and the wrinkles I see after that. 1) I need to have a default set of properties for db connection (host, port, username, password) that end up next to my compiled .class files. - Ok: User resource filtering. But where to put the default property values in the POM? 2) I need each user to be able to override the default in their own environment. - My users are new, so I'd rather not make then specify anything extra at the command line. (I'd prefer documenting a changes to settings.xml first.) - Can I have them specify their values in a /settings/profiles/profile (that is meant to be an xpath-ish descriptor for example specification only) section? X-3-X) I also need this to work with the jetty:run (Jetty 6) plugin... (I didn't know if the resource filtering would work, but I just checked and the Jetty6 plugin has /target/classes as the first entry in the classpath... So, I am good on this point.) Am I going about this the wrong way? Isn't 2-tier web-app development explicitly requiring non-portability? - nelz Here's what I've gathered so far from: 1a) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
RE: M2 Repository Resolution
This sounds a lot like a problem I was seeing. I haven't have very much time to investigate, but it appears as though Maven gets to the first repository and it does have an entry for the groupId and artifactId, but not the particular version of the artifact. However, instead of going on to the other repositories, Maven just gives up and says it can't find it. Could that be what you're seeing as well? ..David.. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 8:46 PM To: Maven Users List Subject: Re: M2 Repository Resolution On 5/17/07, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I define three repositories, but when the build does not find the dependency in the first repository, the build fails. Specifically, the build does not proceed to search the other two repositories for the dependency. Why could this be? Thanks. Sorry, there isn't enough information here to help... Where/how did you define the repositories? What command did you execute, and what is the exact error message? It's probably not relevant to this problem but it never hurts to tell us what version you're using. :) If you can get on irc (#maven on codehaus, there's a web interface here: http://irc.codehaus.org/) we can probably sort it out fairly quickly. -- Wendy - 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]
Setting classpath during junit execution
Hi was wondering if anyone knows how I would set a classpath to a jdbc properties file that is required by by a Junit test executed during the Maven build. Would it work if I placed it in the test resources area. Thanks, Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [groovy-user] Let your Mojo's be Groovy baby!
Sorry, I never got these emails in my inbox... dunno why. So I haven't just been ignoring you ;-) Anyways, looks like a bug in the Groovy descriptor extractor. I've filled an issue here: http://jira.codehaus.org/browse/MGROOVY-40 Will try to get that fixed asap. --jason Andrew Perepelytsya wrote: In a nice tradition of answering one's own questions... ;) Jason't other thread about site goal and similar symptoms gave me another idea, which finally shaped into a solution. This could be included in the Groovy m2 plugins development guide, smth under 'Building Groovy m2 plugins in a reactor/multi-module project'. Full poms are available at the above mentioned SVN locations, I'll post snippets here only. Parent: === build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-plugin-plugin/artifactId configuration !-- *MUST* override the extractors to disable everything except java, as groovy can handle both java and groovy files. Duplicate processing chokes maven. Java is the default for plugin implementation language, overridable in individual projects. -- extractors extractorjava/extractor !-- add custom default extractors here if needed -- !-- extractorbsh/extractor -- /extractors /configuration dependencies dependency groupIdorg.codehaus.mojo/groupId artifactIdgroovy-mojo-tools/artifactId version1.0-alpha-3-SNAPSHOT/version /dependency /dependencies /plugin /plugins /build The key here is the dependency of the plugin AND extractor configuration. It's critical to not enable groovy extractor for plugins implemented in Java, as maven will try to process them with both java and groovy and fail. Child m2 plugin project implemented in groovy (the same build/plugins section): === plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-plugin-plugin/artifactId configuration extractors !-- *MUST* override the extractors to disable everything except groovy, as groovy can handle both java and groovy files. Duplicate processing chokes maven. The rest of the config is inherited. -- extractorgroovy/extractor /extractors /configuration /plugin Hope it saves much pain to others. And the best part is those settings are available in released m2 plugins, which lessens the snapshot pain. Cheers! Andrew -- View this message in context: http://www.nabble.com/-groovy-user--Let-your-Mojo%27s-be-Groovy-baby%21-tf3529339s177.html#a10689632 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: How to share a common checkstyle config across modules?
Hi Tim, I recently did something like this (with PMD instead). I used extensions then someone suggested I not use it -- it seems extensions is headed towards deprecation. Instead under build/plugins/plugin add you stuff as a dependency. Something like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId !- I'm guessing at the name - dependencies dependency groupIdcom.xxx/groupId artifactId-checkstyle/artifactId version1.0.o/version /dependency /dependencies /plugin Regards, Chris -Original Message- From: Tim Foster [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 11:51 AM To: Maven Users List Subject: RE: How to share a common checkstyle config across modules? Thanks, Gerald. This is exactly what I wanted and it worked just as you described. This mechanism will be useful for many other applications. Tim -Original Message- From: Nunn, Gerald [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 1:52 PM To: Maven Users List Subject: RE: How to share a common checkstyle config across modules? I jar my checkstyle configuration and then store it in an intranet Maven repository. Projects can then declare a dependency on this jar using the extensions tag in the build section of pom.xml. For example: build extensions extension groupIdcom./groupId artifactId-checkstyle/artifactId version1.0.0/version /extension /extensions /build reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationconfig/cibc_checks.xml/configLocation /configuration /plugin /plugins /reporting The configLocation is the classpath location in the -checkstyle.jar. Hope this helps. Gerald - 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] ** This communication and all information (including, but not limited to, market prices/levels and data) contained therein (the Information) is for informational purposes only, is confidential, may be legally privileged and is the intellectual property of ICAP plc and its affiliates (ICAP) or third parties. No confidentiality or privilege is waived or lost by any mistransmission. The Information is not, and should not be construed as, an offer, bid or solicitation in relation to any financial instrument or as an official confirmation of any transaction. The Information is not warranted, including, but not limited, as to completeness, timeliness or accuracy and is subject to change without notice. ICAP assumes no liability for use or misuse of the Information. All representations and warranties are expressly disclaimed. The Information does not necessarily reflect the views of ICAP. Access to the Information by anyone else other than the recipient is unauthorized and any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting classpath during junit execution
Larry Suto [EMAIL PROTECTED] writes: Hi was wondering if anyone knows how I would set a classpath to a jdbc properties file that is required by by a Junit test executed during the Maven build. Would it work if I placed it in the test resources area. Yes. Anything residing in src/test/resources will be picked up from the classpath *before* anything in src/main/resources. Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]