Re: location of pom.xml
Emmanuel, thank you, genius :). The scm in the pom took out an entire module, where infact it should only take a subdirecotry (where the same pom is located for delightful recursive directory foo'in) Thanks again :) On 9/12/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: Do you have you rpom.xml in your cvs? under /cvs-repository. Emmanuel CyTG a écrit : My first post to the mailing I must have some level of a beginners problem here, but i really cant figure it out! Say i have this project C:\test\ConversionWebAdmin\src C:\test\ConversionWebAdmin\target C:\test\ConversionWebAdmin\logs C:\test\ConversionWebAdmin\pom.xml i go here C:\test\ConversionWebAdmin\src and run mvn clean install and it runs fine (ok tests fail, but's partially what this is all about) Now i add the pom in continuum as a file; file:///C:/test/ConversionWebAdmin/pom.xml and output from the console is as follows INFO Continuum:default - Created 1 projects. INFO Continuum:default - Created 1 project groups. INFO Continuum:default - 0 errors. (ed. fine) INFO ContinuumScm:default - Checking out project: 'Conversion Web Administration', id: '23' to 'C:\continuum\continuum-1.1-beta-2\23'. INFO ScmManager:default - Executing: cmd.exe /X /C 'cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/cvs-repository -q checkout -d 23 Conversion' INFO ScmManager:default - Working directory: C:\continuum\continuum-1.1-beta-2 INFO ContinuumScm:default - Checked out 619 files. - and this is where trouble begins, i'll point it out loud. ...to 'C:\continuum\continuum-1.1-beta-2\23' So it checks out the project to homedirectory (set under config) and appends \23, then sets working directory to C:\continuum\continuum-1.1-beta-2 - Alright, i'll try to build this sucker and i press Build Now, and get .. INFO BuildController:default- Initializing build INFO BuildController:default- Starting build of Conversion Web Administration INFO BuildController:default- Updating working dir INFO BuildController:default- Performing action check-working-directory INFO BuildController:default- Performing action update-working-directory-from-scm INFO ContinuumScm:default - Updating project: id: '23', name 'Conversion Web Administration'. INFO ScmManager:default - Executing: cmd.exe /X /C 'cvs -z3 -f -q update-d' INFO ScmManager:default - Working directory: C:\continuum\continuum-1.1-beta-2\23 INFO BuildController:default- Merging SCM results INFO BuildController:default- Changes found, building INFO BuildController:default- Performing action update-project-from-working-directory INFO Action:update-project-from-working-directory - Updating project 'Conversion Web Administration' from checkout. ERROR BuildController:default- Error executing action update-project-from-working-directory ' org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error executing action 'update-project-from-working-directory' at org.apache.maven.continuum.buildcontroller.DefaultBuildController.performAction (DefaultBuildController.java:432) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:137) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask (BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run (ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run( FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:690) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.maven.continuum.execution.ContinuumBuildExecutorException: Could not find Maven project descriptor. and inspecting the log from within continuum ; [INFO] Scanning for projects... [INFO] [INFO] Building Maven Default Project [INFO]task-segment: [clean, install] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Cannot execute mojo: clean. It requires a project with an
problems with mail using Continuum on Tomcat
Hi, I'm having some trouble getting Continuum 1.1-beta-2 to run properly on Tomcat 5.5.25 I followed the hints on http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat Everything seems to work ok but an error (trace below) is generated whenever Continuum tries to send mail. I get the feeling I missed some startup variable somewhere, due to the InstallationException: cli to get mvn version return code 127. I tried adding a JDK to the profile as explained on this list a month ago, but that didn't help. Any pointers would be appreciated. I use: Continuum 1.1-beta-2 Tomcat 5.5.25 JDK 1.5.0_06 ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default - Error while trying to use the mailnotifier. org.codehaus.plexus.notification.NotificationException: Error while generating mail contents. at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:335) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:227) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:219) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:173) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.maven.continuum.installation.InstallationException: cli to get mvn version return code 127 at org.apache.maven.continuum.installation.DefaultInstallationService.getExecutorConfiguratorVersion(DefaultInstallationService.java:422) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.getBuilderVersion(MailContinuumNotifier.java:409) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:310) ... 13 more -- Thijs Schnitger Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500
Re: Group build all order
Continuum looks at dependencies and find the build order with them. Do you think to an ANT/Shell project? Emmanuel Raúl Arabaolaza Barquín a écrit : Hi: Using continuum 1.1-beta2 is possible to control the order in wich projects are build when using the build all button in a group? I think continuum analyces dependency tree and for projects in the same level of the tree it uses alphabetical order, is this correct? I´m thinking in independent projects under the same continuum group, with dependencies relations between them but no maven modules used. 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 --
Re: problems with mail using Continuum on Tomcat
Hi, What is your os ? I think return code 127 for a cli means command not found. Does your jdk installation linked to an existing jdk path ? There is a validation when you add a jdk but if is it removed after. What is the type of project : mvn, maven1, ant or shell ? -- Olivier 2007/9/13, Thijs Schnitger [EMAIL PROTECTED]: Hi, I'm having some trouble getting Continuum 1.1-beta-2 to run properly on Tomcat 5.5.25 I followed the hints on http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat Everything seems to work ok but an error (trace below) is generated whenever Continuum tries to send mail. I get the feeling I missed some startup variable somewhere, due to the InstallationException: cli to get mvn version return code 127. I tried adding a JDK to the profile as explained on this list a month ago, but that didn't help. Any pointers would be appreciated. I use: Continuum 1.1-beta-2 Tomcat 5.5.25 JDK 1.5.0_06 ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default - Error while trying to use the mailnotifier. org.codehaus.plexus.notification.NotificationException: Error while generating mail contents. at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete (MailContinuumNotifier.java:335) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification (MailContinuumNotifier.java:227) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification (DefaultContinuumNotificationDispatcher.java:199) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification (DefaultContinuumNotificationDispatcher.java:151) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete (DefaultContinuumNotificationDispatcher.java:103) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild (DefaultBuildController.java:219) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( DefaultBuildController.java:173) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask (BuildProjectTaskExecutor.java:50) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run (ThreadedTaskQueueExecutor.java:116) at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:442) at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run( FutureTask.java:176) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:987) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:528) at java.lang.Thread.run(Thread.java:595) Caused by: org.apache.maven.continuum.installation.InstallationException: cli to get mvn version return code 127 at org.apache.maven.continuum.installation.DefaultInstallationService.getExecutorConfiguratorVersion (DefaultInstallationService.java:422) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.getBuilderVersion (MailContinuumNotifier.java:409) at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete (MailContinuumNotifier.java:310) ... 13 more -- Thijs Schnitger Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500 -- Olivier
Re: problems with mail using Continuum on Tomcat
Do you have export M2_HOME before starting your tomcat ? or do you use an installation for your mvn ? -- Olivier 2007/9/13, Thijs Schnitger [EMAIL PROTECTED]: olivier lamy wrote: What is your os ? i use debian linux with a 2.6.18 kernel I think return code 127 for a cli means command not found. Does your jdk installation linked to an existing jdk path ? There is a validation when you add a jdk but if is it removed after. yep i did not change that. i double checked, the path is correct. What is the type of project : mvn, maven1, ant or shell ? it's an mvn project (maven 2) -- Thijs Schnitger Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500 -- Olivier
RE: Group build all order
Hi Emmanuel Thanks for the response, i´m thinking in maven2 projects without composition (modules) I would like to control wich projects in the same level of the dependency graph are executed before. I.E: Project B and C both depend on project A, i would like to control project B and C build order. One more example i´ve a Webservice api, a webservice implementation and a webservice client, both the implementation and the client depend on the APi but for the integration test i need the implementation to be deployed before the client. Thanks again for the answer -Mensaje original- De: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Enviado el: jue 13/09/2007 13:44 Para: continuum-users@maven.apache.org Asunto: Re: Group build all order Continuum looks at dependencies and find the build order with them. Do you think to an ANT/Shell project? Emmanuel Raúl Arabaolaza Barquín a écrit : Hi: Using continuum 1.1-beta2 is possible to control the order in wich projects are build when using the build all button in a group? I think continuum analyces dependency tree and for projects in the same level of the tree it uses alphabetical order, is this correct? I´m thinking in independent projects under the same continuum group, with dependencies relations between them but no maven modules used. 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 -- -- 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 --
Re: problems with mail using Continuum on Tomcat
is the project build correctly? Do you have /bin/bash? Emmanuel olivier lamy a écrit : Do you have export M2_HOME before starting your tomcat ? or do you use an installation for your mvn ? -- Olivier 2007/9/13, Thijs Schnitger [EMAIL PROTECTED]: olivier lamy wrote: What is your os ? i use debian linux with a 2.6.18 kernel I think return code 127 for a cli means command not found. Does your jdk installation linked to an existing jdk path ? There is a validation when you add a jdk but if is it removed after. yep i did not change that. i double checked, the path is correct. What is the type of project : mvn, maven1, ant or shell ? it's an mvn project (maven 2) -- Thijs Schnitger Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500
Re: Group build all order
If you don't have a specific project for your integration tests but they are in your client, you need to add a test dependency in your client to the implementation. We'll add the possibility to add new dependencies on a project in Continuum but I don't think it will be in 1.1 Emmanuel Raúl Arabaolaza Barquín a écrit : Hi Emmanuel Thanks for the response, i´m thinking in maven2 projects without composition (modules) I would like to control wich projects in the same level of the dependency graph are executed before. I.E: Project B and C both depend on project A, i would like to control project B and C build order. One more example i´ve a Webservice api, a webservice implementation and a webservice client, both the implementation and the client depend on the APi but for the integration test i need the implementation to be deployed before the client. Thanks again for the answer -Mensaje original- De: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Enviado el: jue 13/09/2007 13:44 Para: continuum-users@maven.apache.org Asunto: Re: Group build all order Continuum looks at dependencies and find the build order with them. Do you think to an ANT/Shell project? Emmanuel Raúl Arabaolaza Barquín a écrit : Hi: Using continuum 1.1-beta2 is possible to control the order in wich projects are build when using the build all button in a group? I think continuum analyces dependency tree and for projects in the same level of the tree it uses alphabetical order, is this correct? I´m thinking in independent projects under the same continuum group, with dependencies relations between them but no maven modules used. 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 -- -- 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 --
Re: problems with mail using Continuum on Tomcat
Emmanuel Venisse wrote: is the project build correctly? I have several (10) projects that build ok, and then some with failures and 2 with errors. All are maven2 projects. Do you have /bin/bash? I don't know what you mean here. I use the bash shell, yes. -- Thijs Schnitger Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500
Re: problems with mail using Continuum on Tomcat
I asked about /bin/bash because all externals processes are launched with it instead of /bin/sh (http://jira.codehaus.org/browse/CONTINUUM-1447) I just don't understand why you get this error during the notification if your projects build fine under continuum for the build we run 'mvn goals' and for your exception, we run 'mvn -v' You use a profile, right? can you check value defined on it are correct? Emmauel Thijs Schnitger a écrit : Emmanuel Venisse wrote: is the project build correctly? I have several (10) projects that build ok, and then some with failures and 2 with errors. All are maven2 projects. Do you have /bin/bash? I don't know what you mean here. I use the bash shell, yes.
No Mail being sent with version 1.1 beta 2
Hello, I am currently testing Version 1.0.3 and Version 1.1 beta 2. When a build in version 1.0.3 completes, I have it set to send an email automatically. I set the alwaysSend value in the application.xml to true so that I get an email regardless. In version 1.1 beta 2, I cannot find the same value thus if there is not change to the code, I do not get an email after the build completes. Does anyone know how to change this in 1.1 beta 2 so that it will always send an email? I tried adding the ici notifier section from the application.xml in 1.0.3 to the plexus.xml in 1.1 beta 2 but it does not seem to recognize this. (This is the setion that has the alwaysSend value defined. Regards, Mark -- View this message in context: http://www.nabble.com/No-Mail-being-sent-with-version-1.1-beta-2-tf4438386.html#a12663412 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Parametrisizing artifact version numbers
Hi! I tried the release plugin a few months ago and couldn't get it to work for such a complex setup. If I remember correctly, when I did the release:prepare stage with -DdryRun=true it worked fine, but when I did it for real I got some exception... But still, even if I got that to work, I would still have to manually replace all snapshot dependency versions that was not part of the current project. Maybe I'll find the time to experiment a bit today to find out what the error was... And Yan, I tried your idea to put the properties in settings.xml (via a profile), but that didn't work either. /Anders, - Message from Huang, Yan [EMAIL PROTECTED] on Wed, 12 Sep 2007 12:10:16 -0700 - To: Maven Users List users@maven.apache.org Subject: RE: Parametrisizing artifact version numbers It always puzzles me that maven does not resolve the property when building in the individual module vs. it's able to do so when building from the parent level. The property is defined in the settings.xml, should maven pick up and resolve it when building from inside of individual modules? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 8:59 AM To: Maven Users List Subject: Re: Parametrisizing artifact version numbers Have you considered the release plugin? Wayne On 9/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi! I'm working on a few different maven projects with several modules in each. Most of the modules have dependencies to other modules within the same project and also to other projects. Since the development in most of these projects go in parallell, most of the dependencies are towards snapshot versions. Now, my problem is that when I want to make a release, I have to go through 30+ poms and replace snapshot versions with the new versions, check in the new poms, tag, and then I have to replace the versions to new snapshot versions... A lot of work, and it's easy to make a mistake. So, I'm trying to put the version numbers in properties instead, so I only have to update the properties of the parent pom in each project. Here's a few sample poms of two projects, where myotherproject depends on myproject: !-- parent pom for myproject -- 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. groupIdmy.project/groupId version${my.project.version}/version artifactIdmyparentpom/artifactId packagingpom/packaging modules modulemyjar/module /modules properties my.project.version1.2-SNAPSHOT/my.project.version /properties /project !-- jar module pom for myproject -- 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. groupIdmy.project/groupId version${my.project.version}/version artifactIdmyjar/artifactId packagingjar/packaging parent groupIdmy.project/groupId artifactIdmyparentpom/artifactId version${my.project.version}/version /parent /project !-- parent pom for myotherproject -- 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. groupIdmy.other.project/groupId version${my.other.project.version}/version. artifactIdmyotherparentpom/artifactId packagingpom/packaging modules modulemyotherjar/module /modules properties my.project.version1.2-SNAPSHOT/my.project.version my.other.project.version1.1-SNAPSHOT/my.other.project.version /properties /project !-- jar module pom for myotherproject -- 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. groupIdmy.other.project/groupId version${my.other.project.version}/version. artifactIdmyotherjar/artifactId} packagingjar/packaging parent groupIdmy.other.project/groupId artifactIdmyotherparentpom/artifactId version${my.other.project.version}/version /parent dependencies. dependency. groupIdmy.project/groupId artifactIdmyjar/artifactId
Re: [M2] Acessing command line properties from JUnit tests
Thanks! Ok I'm getting further. If I use reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration systemProperties property namefoo/name valuebar/value /property /systemProperties /configuration /plugin /plugins /reporting Its picked up. What I need though is to pass the value on the command line as originally mentioned. I noticed that you can activate a profile based on the presence of a system property - can I use this to activate the profile and still get its value as above? Dan Tran wrote: that wont work, please take a look at maven-surefire-plugin's doco on how to configure your pom.xml to passin system property into your test -D On 9/12/07, carl.whalley [EMAIL PROTECTED] wrote: If I use mvn -Dfoo=bar integration-test I was expecting System.getProperty(foo) to return bar in the invoked tests. It isn't - have I misunderstood this please? Thanks. -- View this message in context: http://www.nabble.com/-M2--Acessing-command-line-properties-from-JUnit-tests-tf4427748s177.html#a12630944 Sent from the Maven - Users mailing list archive at Nabble.com. - 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/-M2--Acessing-command-line-properties-from-JUnit-tests-tf4427748s177.html#a12650371 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 specify remote repository on mvn command line
specify the repositories that you might want to use in a profile within settings.xml - then just activate it using the -PprofileId option to maven Andy On 7 Sep 2007, at 17:34, Farrukh Najmi wrote: Is there a way to specify to mvn command line to pickup additional remote repositories? I tried the -DremoteRepositories property that works with maven- archetype-plugin but it did not work. If this is not supported, IMHO this would be a very good thing to add to a future version. Thanks for any word on this. -- Regards, Farrukh Web: http://www.wellfleetsoftware.com - 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: Continuum 1.1.0-beta-2 UI performance
Hi, I have created the issue : http://jira.codehaus.org/browse/CONTINUUM-1446. We will fix this for beta-3. -- Olivier 2007/9/13, Emmanuel Venisse [EMAIL PROTECTED]: Damien Lecan a écrit : 2007/9/12, Emmanuel Venisse [EMAIL PROTECTED]: I'd like you test something about performance. As explain in this page ( http://wiki.opensymphony.com/display/WW/Performance+Tuning), you can create a freemarker.properties file under WEB-INF/classes that contains 'template_update_delay=6' then you extract the template directory from webwork jar to WEB-INF/classes Let us know if it's better with that. Much better than before : the 17 module project page takes now just between 7,5s and 11s to load. And all pages are loaded faster. Cool, I'll look if I can add these changes in the release. Thanks I noticed something else : pages are loaded much faster as guest than as admin with full roles. For the same 17 module project page, I get the following values (average for 10 loads) : - guest : 7,6s - admin : 11,5s Checking of roles takes ~4s. Improvements could be done ? It isn't the roles check that take some seconds but pages aren't the exactly the same for a guest and an admin. If you don't get project group admin or project group developer roles to guest, he can't see some actions/links like build/edit/remove... that require some more webwork cycles Emmanuel -- Olivier
Re: Pronuciation
3 our of 4 of those examples don't count - only maverick has vowel- consonant-vowel :) On 5 Sep 2007, at 18:07, Lee Meador wrote: Except in mattress or matrimony or mad or maverick where the 'a' is pronounced as in dad. English is funny because we stole words from almost every other language on the globe so any rule tends to have lots of exceptions. We just keep the pronunciation or some mangled version of it from the other language. -- Lee On 8/15/07, Roberto del Fuego [EMAIL PROTECTED] wrote: From an English linguistics viewpoint, as a rule of thumb, whenever you have vowel-consonant-vowel (as in mAVEn), the first vowel sound is pronounced its 'long' way (a as in ape as opposed to a as in fact). So I think you are right! Roberto - Original Message - From: Wayne Fay [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Wednesday, August 15, 2007 8:23 PM Subject: Re: Pronuciation I am not an expert in this matter, but I have always pronounced it may-vin. If you check the Oxford dictionary, it seems this is the right way to pronounce this word. http://www.askoxford.com/results/?view=dictfreesearch=maven Wayne On 8/13/07, brad hadfield [EMAIL PROTECTED] wrote: Just a trivia question... hope you don't mind settling a point of discussion. What is the proper pronuciation of the word Maven? I have been using mey-vuhn with the a as in bacon or gate. I have heard the a pronounced as in fact or back. Anyone? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] jars not being built and deployed during release:perform
Hi, I have done three previous release:prepare and release:perform cycles on this project, but something seems to have changed and I need a hand pin-pointing it. I have used the maven-release-plugin to prepare a release of my multi-module project and that went fine. When I try to perform the release, I get the message: [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. Later in the release:perform, it fails with: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) com.example.module:module-api:jar:1.5 No surprise it's missing, since for some reason, the jar isn't being built and deployed. Any pointers on what I need to do / specific versions of various plugins to use to make this work again? Cheers, James -- View this message in context: http://www.nabble.com/-m2--jars-not-being-built-and-deployed-during-release%3Aperform-tf4435031s177.html#a12652733 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Group build all order
Hi: Using continuum 1.1-beta2 is possible to control the order in wich projects are build when using the build all button in a group? I think continuum analyces dependency tree and for projects in the same level of the tree it uses alphabetical order, is this correct? I´m thinking in independent projects under the same continuum group, with dependencies relations between them but no maven modules used. 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 --
Re: Patch plugin and filter
use the resources configuration block in your .pom file - you can add extra directories and filter them. Andy On 23 Aug 2007, at 17:02, JC Walmetz wrote: It would be great to be able to filter patches before applying patch with the patch plugin (plugin such as resources manages this filter). It looks like it is not supported yet. I'd like to filter the patches dir before applying patches (I need to replace some version in patches). Is it possible to filter files that are not in a resources dir ? I do not find any plugin for that. -- View this message in context: http://www.nabble.com/Patch-plugin- and-filter-tf4318430s177.html#a12296584 Sent from the Maven - Users mailing list archive at Nabble.com. - 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: Continuum 1.1.0-beta-2 UI performance
Checking of roles takes ~4s. Improvements could be done ? It isn't the roles check that take some seconds but pages aren't the exactly the same for a guest and an admin. If you don't get project group admin or project group developer roles to guest, he can't see some actions/links like build/edit/remove... that require some more webwork cycles Webwork cycles raise the rendering time by 50%. Something must be wrong with Webwork/freemarker. I'm managing JSP/Struts, JSP/Spring MVC applications with Acegi to manage roles. Displaying or not actions/links... maybe 50 times in a page is not so slow. Good luck and thank you for the first improvement. Damien
Re: problems with mail using Continuum on Tomcat
olivier lamy wrote: What is your os ? i use debian linux with a 2.6.18 kernel I think return code 127 for a cli means command not found. Does your jdk installation linked to an existing jdk path ? There is a validation when you add a jdk but if is it removed after. yep i did not change that. i double checked, the path is correct. What is the type of project : mvn, maven1, ant or shell ? it's an mvn project (maven 2) -- Thijs Schnitger Func. Internet Integration W http://www.func.nl T +31 20 423 F +31 20 4223500
annotations are not supported in -source 1.3
I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I have my JAVA_HOME env variable set to point to JDK6 and I can compile the java file fine using javac command but when I try using mvn compile I receive the above error... I feel like a goof not being able to figure this one out. Is there a way to set in the Maven POM file the JDK version to compile against??? Thanks for anyone's help in advance... -Kyle -- View this message in context: http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4435690s177.html#a12654771 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: annotations are not supported in -source 1.3
http://docs.codehaus.org/display/MAVEN/Java+5+Annotations+for+Plugins On 9/13/07, Kyle.Bober [EMAIL PROTECTED] wrote: I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I have my JAVA_HOME env variable set to point to JDK6 and I can compile the java file fine using javac command but when I try using mvn compile I receive the above error... I feel like a goof not being able to figure this one out. Is there a way to set in the Maven POM file the JDK version to compile against??? Thanks for anyone's help in advance... -Kyle -- View this message in context: http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4435690s177.html#a12654771 Sent from the Maven - Users mailing list archive at Nabble.com. - 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: annotations are not supported in -source 1.3
On Thu, September 13, 2007 3:24 pm, Kyle.Bober wrote: I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I suspect the compiler plugin is adding a -source parameter to the compile step, and defaulting it to v1.3. Our poms enforce JDK v5 only, we define this in our root pom for the compiler plugin: configuration source1.5/source target1.5/target /configuration Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Acessing command line properties from JUnit tests
yes On 9/13/07, carl.whalley [EMAIL PROTECTED] wrote: Thanks! Ok I'm getting further. If I use reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration systemProperties property namefoo/name valuebar/value /property /systemProperties /configuration /plugin /plugins /reporting Its picked up. What I need though is to pass the value on the command line as originally mentioned. I noticed that you can activate a profile based on the presence of a system property - can I use this to activate the profile and still get its value as above? Dan Tran wrote: that wont work, please take a look at maven-surefire-plugin's doco on how to configure your pom.xml to passin system property into your test -D On 9/12/07, carl.whalley [EMAIL PROTECTED] wrote: If I use mvn -Dfoo=bar integration-test I was expecting System.getProperty(foo) to return bar in the invoked tests. It isn't - have I misunderstood this please? Thanks. -- View this message in context: http://www.nabble.com/-M2--Acessing-command-line-properties-from-JUnit-tests-tf4427748s177.html#a12630944 Sent from the Maven - Users mailing list archive at Nabble.com. - 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/-M2--Acessing-command-line-properties-from-JUnit-tests-tf4427748s177.html#a12650371 Sent from the Maven - Users mailing list archive at Nabble.com. - 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: annotations are not supported in -source 1.3
See also http://jira.codehaus.org/browse/MCOMPILER-57 -Gisbert Kyle.Bober wrote: I have been using Maven for quite sometime and this is the first JDK6 project POM I have created. I am running into a compilation issue using the compiler:compile goal... This is what I get annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @WebService I have my JAVA_HOME env variable set to point to JDK6 and I can compile the java file fine using javac command but when I try using mvn compile I receive the above error... I feel like a goof not being able to figure this one out. Is there a way to set in the Maven POM file the JDK version to compile against??? Thanks for anyone's help in advance... -Kyle -- Gisbert Amm Softwareentwickler Infrastruktur WEB.DE GmbH Brauerstraße 48 · D-76135 Karlsruhe Tel. +49-721-91374-4224 · Fax +49-721-91374-2740 [EMAIL PROTECTED] · http://www.web.de/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error constituent[0]:
Hi I am getting following error when I run maven in Linux 64 bit environment, I didn't get what is the line constituent[0] : file ... says , is it that these some exception thrown from this file? [INFO] Executed tasks [INFO] Preparing exec:java [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [exec:java {execution: default}] [INFO] [ERROR] BUILD ERROR [INFO] --- constituent[0]: file:/usr/local/maven-2.0.6/lib/maven-core-2.0.6-uber.jar --- java.lang.NullPointerException at org.apache.maven.usability.MojoExecutionExceptionDiagnoser.diagnose(Mojo ExecutionExceptionDiagnoser.java:64) at org.apache.maven.usability.diagnostics.ErrorDiagnostics.diagnose(ErrorDi agnostics.java:84) at org.apache.maven.DefaultMaven.logDiagnostics(DefaultMaven.java:711) at org.apache.maven.DefaultMaven.logError(DefaultMaven.java:656) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:131) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.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) Regards, Nishant Sonar
Re: Problem Performing Build - Version 1.0.3
Hi Wendy, Thanks for the suggestion. I actually have 1.0.3 running now and I like it so I look forward to the improvements/enhancements in the 1.1 beta. I'll certainly take a look at it. Regards, Mark -- View this message in context: http://www.nabble.com/Problem-Performing-Build---Version-1.0.3-tf4430122.html#a12654884 Sent from the Continuum - Users mailing list archive at Nabble.com.
Subversion SCM plugin and --non-interactive parameter
Hi all, I'm trying to use the maven-release-plugin. Our SVN is only accessible on https with ssl mutual authentication. Yes we have to type our P12 password every time we do a svn operation. That's the way it is ... So, my problem is that maven run svn with the --non-interactive parameter when doing a release:perform. Is it possible to prevent maven to add this svn parameter ? Regards Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion SCM plugin and --non-interactive parameter
no it isn't possible but you can add your password in command line parameters Emmanuel Paul MERLIN a écrit : Hi all, I'm trying to use the maven-release-plugin. Our SVN is only accessible on https with ssl mutual authentication. Yes we have to type our P12 password every time we do a svn operation. That's the way it is ... So, my problem is that maven run svn with the --non-interactive parameter when doing a release:perform. Is it possible to prevent maven to add this svn parameter ? Regards Paul - 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: Subversion SCM plugin and --non-interactive parameter
Le Thursday 13 September 2007 16:21:50 Emmanuel Venisse, vous avez écrit : no it isn't possible but you can add your password in command line parameters Emmanuel Hi Emmanuel, Unfortunately storing the password in a config file is not an option. Nor adding it to a command line (think about the shell history). So, I keep these words : no it isn't possible :( Thanks for your answer ! Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3
On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration verbosetrue/verbose forktrue/fork executable${JAVA_HOME}/bin/javac/executable compilerVersion6/compilerVersion /configuration /plugin Add this: source1.5/source target1.5/target Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion SCM plugin and --non-interactive parameter
Not really a Maven-solution, but: write a small shell-script that triggers the release for you. In this script you can query the user for the password and store it in a variable. You can then use this variable in the command-line and everything should work out just fine! Hope this helps. On Thursday 13 September 2007 16:27, Paul MERLIN wrote: Le Thursday 13 September 2007 16:21:50 Emmanuel Venisse, vous avez écrit : no it isn't possible but you can add your password in command line parameters Emmanuel Hi Emmanuel, Unfortunately storing the password in a config file is not an option. Nor adding it to a command line (think about the shell history). So, I keep these words : no it isn't possible :( Thanks for your answer ! Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien Tel.: +43/1/513 88 77 - 27 Fax.: +43/1/513 88 62 Email: [EMAIL PROTECTED] Web: www.cfc.at - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Parent POM and versions...
Hi, I have a question related to the use of a company POM. In Better builds with Maven there is a description of how to set up a POM regime for a company, where we can have say 3 levels of POM's: one companywide POM, one department wide POM and one projectspecific POM. Lets call these with the following geoupId com.mycompany and Artifact Ids: Company pom : mycompany Department pom : mydepartment Project pom: someproject The company pom will be something like: project modelversion... groupIdcom.mycompany/groupId artifactIdmycomapny/artifactId version1version . /project The department pom would initially be something like: project modelversion... parent groupIdcom.mycompany/groupId artifactIdmycomapny/artifactId version1version /parent groupIdcom.mycompany/groupId artifactIdmydepartment/artifactId version1version . /project and finally, the project POM would initially be something like project modelversion... parent groupIdcom.mycompany/groupId artifactIdmydepartment/artifactId version1version /parent groupIdcom.mycompany/groupId artifactIdsomeproject/artifactId version1.0-SNAPSHOTversion . /project Now, what happens if I need to update the company POM ? I will update it, and set it to version 2. How can I then ensure that all my current projects will be using the new version of my company POM (available, offcourse from our company repository) ? Do I have to update the department pom so that it's parent now becomes v2 of the company POM, or will Maven use version 1 or whichever is newer of the company POM (ie. the v2) ? The same goes for the project POM. I recon if I need to update the department POM as a result of haveing updated the company POM, I also need to update the project POM to use version 2 of the department POM ? Is there no way of saying that I want the latest version of a POM to be the parent POM ? Regards Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: annotations are not supported in -source 1.3
Thanks for all the help guys! In actuality all I needed to do was add the following: build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.6/source target1.6/target /configuration /plugin /plugins /build Everything compiled fine after that... Lesson learned... -- View this message in context: http://www.nabble.com/JDK6-compilation-issue-using-Maven2---annotations-are-not-supported-in--source-1.3-tf4435690s177.html#a12655881 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Eclipse and Maven best practice
Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s177.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven execution running task/script that generates some java code
Hi, I'm using Maven 2.0.7 and Eclipse to develop a Java app, and need some help on including some auto-generated java code through an Ant task or even a batch script. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. My appTest will use, let's say, jaxb for xml processing. I have created some xsd schemas, and manually executed jaxb to generate the jaxb java source code to process xml, and that code is included in the appCommon project. Nice and easy. Now I want to do something more ... I want that Maven, when executes the compile goal, pre-runs the generation of that same java code. How do I do it? And if I have an Ant task from jaxb that does the job, the problem is that I don't know where it is located, since it depends on the version I specify for maven (that it will download from central repo). How can I achieve a dynamic way of doing it? Any help would be appreciated for me to learn more about this software. Thank You. -- View this message in context: http://www.nabble.com/Maven-execution-running-task-script-that-generates-some-java-code-tf4436042s177.html#a12655886 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: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3
Kyle, you sent this an hour ago and people responded to it. Why did you resend? I've noticed a few people sending the same message multiple times and I'm curious why this happens. Wayne On 9/13/07, Graham Leggett [EMAIL PROTECTED] wrote: On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration verbosetrue/verbose forktrue/fork executable${JAVA_HOME}/bin/javac/executable compilerVersion6/compilerVersion /configuration /plugin Add this: source1.5/source target1.5/target Regards, Graham -- - 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: Parent POM and versions...
no way of saying the latest but in order to ensure repeatedable builds thats how it has to be... maven 2.1 will encourage people to not put stuff in the parent that should not be there e.g. repositories... other than that you just have to tough it out and update projects as they are released... hack if you break stuff it can be handy to edit a tag as in released parent and redeploy the artifact to your repository /hack bash, for, find, sed can be used to easily update all the projects in a source control repository... On Friday 14 September 2007 02:58, Arne Styve wrote: Hi, I have a question related to the use of a company POM. In Better builds with Maven there is a description of how to set up a POM regime for a company, where we can have say 3 levels of POM's: one companywide POM, one department wide POM and one projectspecific POM. Lets call these with the following geoupId com.mycompany and Artifact Ids: Company pom : mycompany Department pom : mydepartment Project pom: someproject The company pom will be something like: project modelversion... groupIdcom.mycompany/groupId artifactIdmycomapny/artifactId version1version . /project The department pom would initially be something like: project modelversion... parent groupIdcom.mycompany/groupId artifactIdmycomapny/artifactId version1version /parent groupIdcom.mycompany/groupId artifactIdmydepartment/artifactId version1version . /project and finally, the project POM would initially be something like project modelversion... parent groupIdcom.mycompany/groupId artifactIdmydepartment/artifactId version1version /parent groupIdcom.mycompany/groupId artifactIdsomeproject/artifactId version1.0-SNAPSHOTversion . /project Now, what happens if I need to update the company POM ? I will update it, and set it to version 2. How can I then ensure that all my current projects will be using the new version of my company POM (available, offcourse from our company repository) ? Do I have to update the department pom so that it's parent now becomes v2 of the company POM, or will Maven use version 1 or whichever is newer of the company POM (ie. the v2) ? The same goes for the project POM. I recon if I need to update the department POM as a result of haveing updated the company POM, I also need to update the project POM to use version 2 of the department POM ? Is there no way of saying that I want the latest version of a POM to be the parent POM ? Regards Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Group build all order
I can do that, thanks for the answer Enmanuel :) -Mensaje original- De: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Enviado el: jue 13/09/2007 14:12 Para: [EMAIL PROTECTED] Asunto: Re: Group build all order If you don't have a specific project for your integration tests but they are in your client, you need to add a test dependency in your client to the implementation. We'll add the possibility to add new dependencies on a project in Continuum but I don't think it will be in 1.1 Emmanuel Raúl Arabaolaza Barquín a écrit : Hi Emmanuel Thanks for the response, i´m thinking in maven2 projects without composition (modules) I would like to control wich projects in the same level of the dependency graph are executed before. I.E: Project B and C both depend on project A, i would like to control project B and C build order. One more example i´ve a Webservice api, a webservice implementation and a webservice client, both the implementation and the client depend on the APi but for the integration test i need the implementation to be deployed before the client. Thanks again for the answer -Mensaje original- De: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Enviado el: jue 13/09/2007 13:44 Para: [EMAIL PROTECTED] Asunto: Re: Group build all order Continuum looks at dependencies and find the build order with them. Do you think to an ANT/Shell project? Emmanuel Raúl Arabaolaza Barquín a écrit : Hi: Using continuum 1.1-beta2 is possible to control the order in wich projects are build when using the build all button in a group? I think continuum analyces dependency tree and for projects in the same level of the tree it uses alphabetical order, is this correct? I´m thinking in independent projects under the same continuum group, with dependencies relations between them but no maven modules used. 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 -- -- 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 -- -- This e-mail and the documents attached are confidential and intended solely for
RE: Eclipse and Maven best practice
http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -Original Message- From: zm [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 10:54 AM To: users@maven.apache.org Subject: Eclipse and Maven best practice Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s17 7.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - 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]
Deploying an assembly from a war project via the release plugin
I have a WAR project that contains an assembly configuration within a profile. (The purpose of the assembly is to create a ZIP'd version of the webapp that contains an embedded servlet container). Anyway, my assembly configuration in my POM looks like this: ... profile idassembly/id build plugins plugin artifactIdmaven-assembly-plugin/artifactId executions execution phasepackage/phase goals goalattached/goal /goals configuration descriptor src/main/assembly/assembly.xml /descriptor /configuration /execution /executions /plugin /plugins /build /profile When I execute mvn -Passembly package, I see the appropriate ZIP file created in my target directory (along with the WAR file). When I execute mvn -Passembly deploy, I see the ZIP file in the remote repository. However, when I try to create a release with mvn -Passembly release:prepare, I do *not* see the ZIP file in the remote repository. It is almost as if my profile is being ignored by the release plugin. Any thoughts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse and Maven best practice
Is there any reason why you don't use a Maven/Eclipse plugin such as m2eclipse and now q4e? They integrate fully into Eclipse's build and do autodependency management. Also have you setup a CLASSPATH Container variable within Eclipse in order to use your local M2 repository? See here: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html And for plugins: http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -aps On 9/13/07, zm [EMAIL PROTECTED] wrote: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s177.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - 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
tie dependency to one repository
Is it possible to bind a dependency to a single repository so that when it comes time to check for updates, only that repository is checked? I currently have a bunch of repositories, and all of them get checked for updates, slowing my build significantly. Thanks in advance! Maven2.0.6 Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tie dependency to one repository
Hi Sebastian, I still have this type of problem when going for a plugin (exec), it referred to both of the sites central and snapshots.codehaus, and got conflicts later on at build. Till now you can tell the version number as a chosing option. Otherwise I don't see anything to specify the repository. Regards, Nishant Sonar -Original Message- From: Sebastian Johnck [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 1:11 PM To: users@maven.apache.org Subject: tie dependency to one repository Is it possible to bind a dependency to a single repository so that when it comes time to check for updates, only that repository is checked? I currently have a bunch of repositories, and all of them get checked for updates, slowing my build significantly. Thanks in advance! Maven2.0.6 Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC - 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 execution running task/script that generates some java code
We use a jaxb plugin to generate code in our build. The plugin generates the code into the generated sources folder and that source is subsequently included in the artifact. Here's what it looks like plugin groupIdcom.sun.tools.xjc.maven2/groupId artifactIdmaven-jaxb-plugin/artifactId version1.0/version executions execution goals goalgenerate/goal /goals /execution /executions configuration includeBindings includeBinding*.xjb/includeBinding /includeBindings /configuration /plugin --- zm [EMAIL PROTECTED] wrote: Hi, I'm using Maven 2.0.7 and Eclipse to develop a Java app, and need some help on including some auto-generated java code through an Ant task or even a batch script. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. My appTest will use, let's say, jaxb for xml processing. I have created some xsd schemas, and manually executed jaxb to generate the jaxb java source code to process xml, and that code is included in the appCommon project. Nice and easy. Now I want to do something more ... I want that Maven, when executes the compile goal, pre-runs the generation of that same java code. How do I do it? And if I have an Ant task from jaxb that does the job, the problem is that I don't know where it is located, since it depends on the version I specify for maven (that it will download from central repo). How can I achieve a dynamic way of doing it? Any help would be appreciated for me to learn more about this software. Thank You. -- View this message in context: http://www.nabble.com/Maven-execution-running-task-script-that-generates-some-java-code-tf4436042s177.html#a12655886 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=listsid=396545433 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)
I can just answer for myself: I subscribed to the list yesterday and did my first 2 postings also yesterday. We have similar lists internally at work and when I post to these I receive my own posts along with everyone else's posts. However, it seems that here you do not receive your own posts. So twice yesterday I sat around wondering what happened to my posts and decided to resend slightly reworded versions of the original posts, thinking that some odd filter was at work. Cheers, - Anders. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 13. september 2007 16:47 To: Maven Users List Subject: Re: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3 Kyle, you sent this an hour ago and people responded to it. Why did you resend? I've noticed a few people sending the same message multiple times and I'm curious why this happens. Wayne On 9/13/07, Graham Leggett [EMAIL PROTECTED] wrote: On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration verbosetrue/verbose forktrue/fork executable${JAVA_HOME}/bin/javac/executable compilerVersion6/compilerVersion /configuration /plugin Add this: source1.5/source target1.5/target Regards, Graham -- - 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: Snapshot access to maven-assembly-plugin-2.2-beta-2-SNAPSHOT
Hi, this works for me without problems: [...] plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-2-SNAPSHOT/version plugin [...] What exactly is your problem? Have you configured the the Apache snapshot repository [1]? -Tim [1] http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html Mark Diggory schrieb: I'm having difficulty getting Maven to detect the maven-assembly-plugin snapshots at http://people.apache.org/repo/m2-snapshot-repository. While I can download maven-assembly-plugin-2.2-SNAPSHOT the wierd beta-N numbering scheme seems to be confusing Maven. Is there any way we can get a new SNAPSHOT under 2.2-SNAPSHOT or lose the number on the beta in people? thanks, Mark Diggory ~ 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse and Maven best practice
Hi, It give a book a Better Builds with Maven vor free on the page: http://www.devzuz.com/web/guest/products/resources#BBWM. I think it help you. Alexander Vaysberg (pc-hilfe) zm schrieb: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)
That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting. Wayne On 9/13/07, Anders Blehr [EMAIL PROTECTED] wrote: I can just answer for myself: I subscribed to the list yesterday and did my first 2 postings also yesterday. We have similar lists internally at work and when I post to these I receive my own posts along with everyone else's posts. However, it seems that here you do not receive your own posts. So twice yesterday I sat around wondering what happened to my posts and decided to resend slightly reworded versions of the original posts, thinking that some odd filter was at work. Cheers, - Anders. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tie dependency to one repository
I'd suggest installing a Corporate repository using something like Artifactory, Proximity etc and getting all of your artifacts from it. This speeds things up dramatically as all requests are on your LAN. Wayne On 9/13/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Hi Sebastian, I still have this type of problem when going for a plugin (exec), it referred to both of the sites central and snapshots.codehaus, and got conflicts later on at build. Till now you can tell the version number as a chosing option. Otherwise I don't see anything to specify the repository. Regards, Nishant Sonar -Original Message- From: Sebastian Johnck [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 1:11 PM To: users@maven.apache.org Subject: tie dependency to one repository Is it possible to bind a dependency to a single repository so that when it comes time to check for updates, only that repository is checked? I currently have a bunch of repositories, and all of them get checked for updates, slowing my build significantly. Thanks in advance! Maven2.0.6 Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC - 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]
[M2] ckjm-mojo: extend classpath with the dependencies of the report project
Hello, - I am trying to extend the ckjm-mojo (http://mojo.codehaus.org/ckjm-maven-plugin/ckjm-mojo.html). - ckjm needs the dependencies of the project to report on - Right now I have the following: --- snip --- /** * The set of dependencies required by the project * * @parameter default-value=${project.dependencyArtifacts} * @required * @readonly */ private java.util.SetArtifact dependencyArtifacts; /** * Extends classpath with dependencies. This is needed, as bcel otherwise * will raise ClassNotFoundExceptions. */ void extendClassPathWithDependencies() { getLog().debug([ckjm:cjkm] dependencies: + dependencyArtifacts.toString()); StringBuilder classpath = new StringBuilder(System.getProperty( java.class.path, )); for (Artifact artifact : dependencyArtifacts) { classpath.append(File.pathSeparator); classpath.append(artifact.getFile().getAbsolutePath()); } getLog().info([ckjm:cjkm] Setting classpath to: + classpath.toString()); System.setProperty(java.class.path, classpath.toString()); } --- snap --- Is there an automated way to extend the classpath just for this mojo? Best Regards Mirko
Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)
So when you reply to a message on this list or start a new thread with just a To: Maven Users List users@maven.apache.org header, you don't recieve the sent mail via the mailinglist? This is working for me. -Tim Wayne Fay schrieb: That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting. Wayne On 9/13/07, Anders Blehr [EMAIL PROTECTED] wrote: I can just answer for myself: I subscribed to the list yesterday and did my first 2 postings also yesterday. We have similar lists internally at work and when I post to these I receive my own posts along with everyone else's posts. However, it seems that here you do not receive your own posts. So twice yesterday I sat around wondering what happened to my posts and decided to resend slightly reworded versions of the original posts, thinking that some odd filter was at work. Cheers, - Anders. - 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: Eclipse and Maven best practice
I'm recently involved in an SAP NWDS (NetWeaver Dev Studio) project at work. NWDS is really just Eclipse 2.1 with some SAP-specific stuff added. Among the things they took away in this customized Eclipse is the ability to add plugins etc the usual way through the menu system. I'm wondering if anyone else is stuck using NWDS and if there's any chance to use m2e or q4e etc with this tool? Wayne On 9/13/07, Alexander Sack [EMAIL PROTECTED] wrote: Is there any reason why you don't use a Maven/Eclipse plugin such as m2eclipse and now q4e? They integrate fully into Eclipse's build and do autodependency management. Also have you setup a CLASSPATH Container variable within Eclipse in order to use your local M2 repository? See here: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html And for plugins: http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -aps On 9/13/07, zm [EMAIL PROTECTED] wrote: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s177.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)
gmail doesn't register your own messages as 'new'. as such your own first posts hardly get noticed in gmail, only when someone responds they light up. This is at least what I've learned over the years. Martijn On 9/13/07, Tim Kettler [EMAIL PROTECTED] wrote: So when you reply to a message on this list or start a new thread with just a To: Maven Users List users@maven.apache.org header, you don't recieve the sent mail via the mailinglist? This is working for me. -Tim Wayne Fay schrieb: That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting. Wayne On 9/13/07, Anders Blehr [EMAIL PROTECTED] wrote: I can just answer for myself: I subscribed to the list yesterday and did my first 2 postings also yesterday. We have similar lists internally at work and when I post to these I receive my own posts along with everyone else's posts. However, it seems that here you do not receive your own posts. So twice yesterday I sat around wondering what happened to my posts and decided to resend slightly reworded versions of the original posts, thinking that some odd filter was at work. Cheers, - Anders. - 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] -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Repostings (Was: RE: JDK6 compilation issue using Maven2 - annotations are not supported in -source 1.3)
Not in Gmail, I don't. My sent mail gets added to the thread, but I don't get anything back... at least, I've never seen anything. Its possible that Gmail is doing something funky or hiding something from me. I see that both Anders and I are on Gmail, which is why I'm thinking this might be the reason behind the confusion. When I'm unsure if something I've sent has landed on the mailing list, I just check Nabble, and 9 times out of 10 its there in the archive already. Its just that no one has responded (yet). Wayne On 9/13/07, Tim Kettler [EMAIL PROTECTED] wrote: So when you reply to a message on this list or start a new thread with just a To: Maven Users List users@maven.apache.org header, you don't recieve the sent mail via the mailinglist? This is working for me. -Tim Wayne Fay schrieb: That explains a lot. And now that you mention it, something happened to me the first time I posted... a while back. I wonder if we could perhaps ask (someone) about changing the configuration of the mail list server, or something along those lines, if this is what people are generally expecting. Wayne On 9/13/07, Anders Blehr [EMAIL PROTECTED] wrote: I can just answer for myself: I subscribed to the list yesterday and did my first 2 postings also yesterday. We have similar lists internally at work and when I post to these I receive my own posts along with everyone else's posts. However, it seems that here you do not receive your own posts. So twice yesterday I sat around wondering what happened to my posts and decided to resend slightly reworded versions of the original posts, thinking that some odd filter was at work. Cheers, - Anders. - 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: Eclipse and Maven best practice
I've had the most success with using maven and eclipse by: 1) having both systems build to a separate locations 2) using command line to run maven and when I need to sync up metadata using eclipse:eclipse then hitting refresh in eclipse. 3) for any eclipse specific data (.classpath, .mymetadata, etc), having those are part of the .cvsignore (not checked into source control) Not against anyone who has worked on the m2e or q4e plug-ins, but when I tried any plug-ins that were available close to a year ago (?) I had troubles. I still have not found a reason to move away from the command line. Jim On 9/13/07, Wayne Fay [EMAIL PROTECTED] wrote: I'm recently involved in an SAP NWDS (NetWeaver Dev Studio) project at work. NWDS is really just Eclipse 2.1 with some SAP-specific stuff added. Among the things they took away in this customized Eclipse is the ability to add plugins etc the usual way through the menu system. I'm wondering if anyone else is stuck using NWDS and if there's any chance to use m2e or q4e etc with this tool? Wayne On 9/13/07, Alexander Sack [EMAIL PROTECTED] wrote: Is there any reason why you don't use a Maven/Eclipse plugin such as m2eclipse and now q4e? They integrate fully into Eclipse's build and do autodependency management. Also have you setup a CLASSPATH Container variable within Eclipse in order to use your local M2 repository? See here: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html And for plugins: http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -aps On 9/13/07, zm [EMAIL PROTECTED] wrote: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s177.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse and Maven best practice
This is the way I generally work, too. I just thought maybe I'd look into one of these new tools since I'm back in Eclipse regularly and have never really given any of these tools a chance. Wayne On 9/13/07, Jim Sellers [EMAIL PROTECTED] wrote: I've had the most success with using maven and eclipse by: 1) having both systems build to a separate locations 2) using command line to run maven and when I need to sync up metadata using eclipse:eclipse then hitting refresh in eclipse. 3) for any eclipse specific data (.classpath, .mymetadata, etc), having those are part of the .cvsignore (not checked into source control) Not against anyone who has worked on the m2e or q4e plug-ins, but when I tried any plug-ins that were available close to a year ago (?) I had troubles. I still have not found a reason to move away from the command line. Jim On 9/13/07, Wayne Fay [EMAIL PROTECTED] wrote: I'm recently involved in an SAP NWDS (NetWeaver Dev Studio) project at work. NWDS is really just Eclipse 2.1 with some SAP-specific stuff added. Among the things they took away in this customized Eclipse is the ability to add plugins etc the usual way through the menu system. I'm wondering if anyone else is stuck using NWDS and if there's any chance to use m2e or q4e etc with this tool? Wayne On 9/13/07, Alexander Sack [EMAIL PROTECTED] wrote: Is there any reason why you don't use a Maven/Eclipse plugin such as m2eclipse and now q4e? They integrate fully into Eclipse's build and do autodependency management. Also have you setup a CLASSPATH Container variable within Eclipse in order to use your local M2 repository? See here: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html And for plugins: http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -aps On 9/13/07, zm [EMAIL PROTECTED] wrote: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s177.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - 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 - 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: Eclipse and Maven best practice
Wayne, I don't think you are going to get an m2e for Eclipse 2 and q4e, as I remember, is for 3.3 (but maybe it works with 3.2 too). But you can install pretty much as many versions of Eclipse as you want each working on a different part of your code. Just put them in different folders. I even use multiples of the same version with different groups of plugins. Then start up the eclipse version you want but be careful about pointing different versions at the same workspace. Sometimes a different version or some plugin will store some configuration that causes some other instance to die completely or go into slow-eclipse mode where everything takes 20 seconds. It works pretty good to keep your source in a version control (eg. SVN) and then set up multiple local workspaces tied to the version control. Run the Eclipse you want against its own workspace and then save the changes to the one repo and update to the other repo. Its like working on two computers at once with the different versions. You can even run multiple eclipse instances at the same time if you have the RAM. -- Lee On 9/13/07, Wayne Fay [EMAIL PROTECTED] wrote: I'm recently involved in an SAP NWDS (NetWeaver Dev Studio) project at work. NWDS is really just Eclipse 2.1 with some SAP-specific stuff added. Among the things they took away in this customized Eclipse is the ability to add plugins etc the usual way through the menu system. I'm wondering if anyone else is stuck using NWDS and if there's any chance to use m2e or q4e etc with this tool? Wayne On 9/13/07, Alexander Sack [EMAIL PROTECTED] wrote: Is there any reason why you don't use a Maven/Eclipse plugin such as m2eclipse and now q4e? They integrate fully into Eclipse's build and do autodependency management. Also have you setup a CLASSPATH Container variable within Eclipse in order to use your local M2 repository? See here: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html And for plugins: http://m2eclipse.codehaus.org/ http://code.google.com/p/q4e/ -aps On 9/13/07, zm [EMAIL PROTECTED] wrote: Hi, Can anyone help me with the best way to setup a Maven/Eclipse environment? I know there is a goal to produce an eclipse project with the pom, but I'm trying to understand how to create one at hand, customise and include it's dependencies. I have created 2 projects, appTest and appCommon. The main project is appTest that depends on appCommon. The source directories are the default Maven (src/main/java) and that directory is configured as source in eclipse, so it can compile the code. Then I've configured a specific directory build (same level as the src above), that eclipse will use to put the compiled classes (this folder will be ignored for SVN/CVS integration). Everything looks great, and works nicelly. Or so it seems ... No let's say I put a dependency on version Log4J 1.0. I make some code accessing it, then eclipse will just mark it as invalid, since the Log4J is not in it's classpath. Maven, on the other end, downloads it from central repository and compiles successfully. Now what would be the best way to put it to compile in eclipse? The way I see it, I can include it in the project's classpath, and point it to the local repository jar that maven just downloaded. Would this be the best option? -- View this message in context: http://www.nabble.com/Eclipse-and-Maven-%22best-practice%22-tf4436040s177.html#a12655883 Sent from the Maven - Users mailing list archive at Nabble.com. - 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com
Re: Deploying an assembly from a war project via the release plugin
Ryan, According to the docs ( http://maven.apache.org/plugins/maven-release-plugin/introduction.html) the release:prepare only gets things ready for the release. (Stuff like changing versions in the poms and running tests.) But only when you do the release:perform are the predefined goals run (which default to deploy and site-deploy). Thanks. -- Lee On 9/13/07, Ryan Breidenbach [EMAIL PROTECTED] wrote: I have a WAR project that contains an assembly configuration within a profile. (The purpose of the assembly is to create a ZIP'd version of the webapp that contains an embedded servlet container). Anyway, my assembly configuration in my POM looks like this: ... profile idassembly/id build plugins plugin artifactIdmaven-assembly-plugin/artifactId executions execution phasepackage/phase goals goalattached/goal /goals configuration descriptor src/main/assembly/assembly.xml /descriptor /configuration /execution /executions /plugin /plugins /build /profile When I execute mvn -Passembly package, I see the appropriate ZIP file created in my target directory (along with the WAR file). When I execute mvn -Passembly deploy, I see the ZIP file in the remote repository. However, when I try to create a release with mvn -Passembly release:prepare, I do *not* see the ZIP file in the remote repository. It is almost as if my profile is being ignored by the release plugin. Any thoughts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com
Re: Pronuciation
Point well taken. On 9/13/07, Andrew Williams [EMAIL PROTECTED] wrote: 3 our of 4 of those examples don't count - only maverick has vowel- consonant-vowel :) On 5 Sep 2007, at 18:07, Lee Meador wrote: Except in mattress or matrimony or mad or maverick where the 'a' is pronounced as in dad. English is funny because we stole words from almost every other language on the globe so any rule tends to have lots of exceptions. We just keep the pronunciation or some mangled version of it from the other language. -- Lee On 8/15/07, Roberto del Fuego [EMAIL PROTECTED] wrote: From an English linguistics viewpoint, as a rule of thumb, whenever you have vowel-consonant-vowel (as in mAVEn), the first vowel sound is pronounced its 'long' way (a as in ape as opposed to a as in fact). So I think you are right! Roberto - Original Message - From: Wayne Fay [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Wednesday, August 15, 2007 8:23 PM Subject: Re: Pronuciation I am not an expert in this matter, but I have always pronounced it may-vin. If you check the Oxford dictionary, it seems this is the right way to pronounce this word. http://www.askoxford.com/results/?view=dictfreesearch=maven Wayne On 8/13/07, brad hadfield [EMAIL PROTECTED] wrote: Just a trivia question... hope you don't mind settling a point of discussion. What is the proper pronuciation of the word Maven? I have been using mey-vuhn with the a as in bacon or gate. I have heard the a pronounced as in fact or back. Anyone? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com
Problem with Cobertura plugin
Hi im having this problem when using the Cobertura plugin. When I execute the cobertura:cobertura goal within eclipse (m2eclipse) I get the following error: [INFO] Failed to configure plugin parameters for: org.codehaus.mojo:cobertura-maven-plugin:2.1 on the command line, specify: '-Dcheck=VALUE' Cause: Class name which was explicitly given in configuration using 'implementation' attribute: 'org.codehaus.mojo.cobertura.configuration.ConfigCheck' cannot be loaded But when I run it from a console (typing mvn cobertura:cobertura), I have no problems. I thought that m2eclipse does the same thing than running from console but inside eclipse and with some IDE benefits, but now I can see that its not the same thing. Any advices? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] multi-module centralized filter.properties
I am trying to make all my sub-modules use the same filter.properties like: filters filter${project.root }/src/main/filters/filter.properties/filter /filters I keep getting this error: [INFO] [INFO] Error loading property file 'C:\viewstore\esp_lynx_dap\esp\dap\utilities\common\common-jar\${ project.root}\src\main\filters\filter.properties' My settings.xml has it defined though: project.rootC:/viewstore/esp_lynx_dap/esp/dap/project.root How can I define a global without having to do: filters filter../../../src/main/filters/filter.properties/filter /filters As I wanted to define this in my master pom.xml and have all my modules inherit the same filter? -- 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 ---
pacthed dependency
i have to patch some libraries for a project but i'd like to keep the project in maven. is it possible to add patches for dependencies to the maven-compile goal? maybe a plugin? thanks christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Snapshot access to maven-assembly-plugin-2.2-beta-2-SNAPSHOT
Yes, it appears to be working now. I'm unsure why it wasn't working earlier, I was using the proper settings for the repository location and proper groupId and artifactID dependency groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId version2.2-beta-2-SNAPSHOT/version /dependency /dependencies repository idpeople.apache.org-m2-snapshot-repository/id nameApache Snapshot Maven Repository/name urlhttp://people.apache.org/repo/m2-snapshot-repository/url releases updatePolicydaily/updatePolicy checksumPolicyfail/checksumPolicy /releases snapshots updatePolicyalways/updatePolicy checksumPolicyfail/checksumPolicy /snapshots /repository Thanks again, Mark In article [EMAIL PROTECTED] Tim Kettler [EMAIL PROTECTED]wrote: Hi, this works for me without problems: [...] plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-2-SNAPSHOT/version plugin [...] What exactly is your problem? Have you configured the the Apache snapshot repository [1]? -Tim [1] http://maven.apache.org/guides/development/guide-plugin-snapshot-repos itories.html Mark Diggory schrieb: I'm having difficulty getting Maven to detect the maven-assembly-plugin snapshots at http://people.apache.org/repo/m2-snapshot-repository. While I can download maven-assembly-plugin-2.2-SNAPSHOT the wierd beta-N numbering scheme seems to be confusing Maven. Is there any way we can get a new SNAPSHOT under 2.2-SNAPSHOT or lose the number on the beta in people? thanks, Mark Diggory ~ 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] -- I'm trying a new usenet client for Mac, Nemo OS X. You can download it at http://www.malcom-mac.com/nemo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pacthed dependency
hi wayne, Tell us more about your patches. How are they delivered? Why do you think you might not be able to use Maven along with the patches? ok, lets say i have seam as a dependency: dependency groupIdjboss/groupId artifactIdjboss-seam/artifactId version1.2.1.ga/version /dependency but would need to apply the patch from http://jira.jboss.com/jira/browse/JBSEAM-1009. christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pacthed dependency
Tell us more about your patches. How are they delivered? Why do you think you might not be able to use Maven along with the patches? Wayne On 9/13/07, Christian Klocker [EMAIL PROTECTED] wrote: i have to patch some libraries for a project but i'd like to keep the project in maven. is it possible to add patches for dependencies to the maven-compile goal? maybe a plugin? thanks christian - 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: pacthed dependency
Then you would pull down the source code to jboss-seam, apply the patch, change the version to something like 1.2.1.ga2, and mvn install the file (or ideally, mvn deploy it to your corporate repo. Then you'd also need to change your dep to reflect the new version. Or of course you can ask jboss to make a formal release of that dependency with that patch applied. Wayne On 9/13/07, Christian Klocker [EMAIL PROTECTED] wrote: hi wayne, Tell us more about your patches. How are they delivered? Why do you think you might not be able to use Maven along with the patches? ok, lets say i have seam as a dependency: dependency groupIdjboss/groupId artifactIdjboss-seam/artifactId version1.2.1.ga/version /dependency but would need to apply the patch from http://jira.jboss.com/jira/browse/JBSEAM-1009. christian - 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: pacthed dependency
Then you would pull down the source code to jboss-seam, apply the patch, change the version to something like 1.2.1.ga2, and mvn install the file (or ideally, mvn deploy it to your corporate repo. Then you'd also need to change your dep to reflect the new version. yes, that will do it. i was looking for a way to keep other users on track what patches are applied do an artifcat ... i thought it would be best to put the patches to project and let maven build it with it :-) maybe overdone since one can always get the source from corporate scm and check it and if only a few patches are applied that could be reflacted on the artifcat-id thanks wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with Cobertura plugin
Send your plugin node with configuration and perhaps we can help figure out what's going on and how to fix it. Wayne On 9/13/07, Juan Ignacio Garzón [EMAIL PROTECTED] wrote: Hi im having this problem when using the Cobertura plugin. When I execute the cobertura:cobertura goal within eclipse (m2eclipse) I get the following error: [INFO] Failed to configure plugin parameters for: org.codehaus.mojo:cobertura-maven-plugin:2.1 on the command line, specify: '-Dcheck=VALUE' Cause: Class name which was explicitly given in configuration using 'implementation' attribute: 'org.codehaus.mojo.cobertura.configuration.ConfigCheck' cannot be loaded But when I run it from a console (typing mvn cobertura:cobertura), I have no problems. I thought that m2eclipse does the same thing than running from console but inside eclipse and with some IDE benefits, but now I can see that its not the same thing. Any advices? - 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]