Fwd: Post-1.0.0 release actions

2007-08-31 Thread Craig L Russell
Hi, Any best practice for continuum-ly building two separate branches of a code line? Thanks, Craig Begin forwarded message: From: Brett Porter [EMAIL PROTECTED] Date: August 30, 2007 5:25:16 PM PDT To: Craig L Russell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: Post-1.0.0

Re: Fwd: Post-1.0.0 release actions

2007-08-31 Thread Emmanuel Venisse
The best practice is to create two groups, one by branch. So you can identify easily all projects in a branch and you can build all projects of the branch by building the group. When you want to delete the branch from Continuum, you only need to remove the group that contain the branch.

Re: Email notification to just the committer and the administrator

2007-08-31 Thread Emmanuel Venisse
I isn't possible actually. We're looking at a solution and will try to include it in 1.1 Emmanuel mfs a écrit : Dear All, Is there a way i can configure Continuum to send email notifications just to 1) the committer of the code 2) administrator Write now the emails are being sent to the

Re: Deployment Repository Directory in case of artifactory ?

2007-08-31 Thread mfs
Thanks Brett, will do so..but do you think thats the only option for atifactory users ? Farhan Brett Porter wrote: You should change the Maven goals to be deploy instead of install, and configuration the distributionManagement appropriately. It's best to just let Maven handle it :)

Re: 'mvn eclipse:eclipse' fail problem

2007-08-31 Thread Marcin Waldowski
So you should vote for http://jira.codehaus.org/browse/MECLIPSE-252 too :P Regards, Marcin Dan Tran wrote: You poms are fine. I have seen this in my projects too. -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For

exporting classworlds or testing assembly output

2007-08-31 Thread Josh ChaitinPollak
Hello, I have a unit test which tests a shell script. This shell script calls java code, so it fails under Maven, because the java coded launched by the shell script doesn't have a complete classpath. I can work around this by using useSystemClassloader, but it turns out this was

RE: Trouble with mojo tutorial

2007-08-31 Thread siegfried
Thanks Wayne, that -U appeared to work. Now I started out the tutorial with the command mvn -U archetype:create \ -DgroupId=sample.plugin \ -DartifactId=maven-hello-plugin \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-mojo because the tutorial

Re: Trouble with mojo tutorial

2007-08-31 Thread Wayne Fay
You need to run mvn install to install your plugin into the local repo cache. Then you can test your plugin in another project by specifying mvn ...:sayhi. Wayne On 8/31/07, siegfried [EMAIL PROTECTED] wrote: Thanks Wayne, that -U appeared to work. Now I started out the tutorial with the

Re: filtering properties like pom.

2007-08-31 Thread meiko
Hello William, I don't need the files in the resources folder for my .war. There is only the components.properties (my filter file): jndi.pattern=trilobita-1.0... embeddedEjb=true I filter the web.xml. ... webResource directory ${basedir}/src/main/webapp /directory

Test resources in final release ?

2007-08-31 Thread Werner Guttmann
Hi, a few days ago, I have made available a new (snapshot) release of a Castor module using Maven 2. A user just pointed out to me that the JAR file in question http://repository.codehaus.org/org/codehaus/castor/spring-orm/1.1/spring-orm-1.1.jar includes a few resources at the root level

[M2] Maven 2 and WebDav protocol

2007-08-31 Thread Rémy Sanlaville
I have a deployment problem with maven 2 and WebDav protocol. My context : --- I have corporate repositories (inhouse and inhouse.snapshot) with Proximity proxy. As Proximity seems to not support efficiently WebDav protocol, I also have a apache frontal allowing access to my

Re: [M2] Maven 2 and WebDav protocol

2007-08-31 Thread Carlos Sanchez
wagon-webdav does create directories and it's being widely used, i even use it with svn I'd look for something specific to your configuration that may not be the typical configuration or an error in your server setup On 8/31/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: I have a deployment

Re: [M2] Maven 2 and WebDav protocol

2007-08-31 Thread Michael McCallum
i have webdav working without problems... using digest authentication i might have a had a few issues but nothing that was not resolved by watching the apache logs... much faster than ssh/sftp IMO On Friday 31 August 2007 21:50, Rémy Sanlaville wrote: I have a deployment problem with maven 2

Retrieving version of the pom itself - not the child projects pom

2007-08-31 Thread PeterNilsson
Hi, Project C has project P as parent. Is it possible in the pom of P to refer to its own version? If I use ${pom.version} or ${project.version} in the pom of P it will evaluate to the version of C when building C. I need a way to refer to the version of P. Peter -- View this message in

Re: Retrieving version of the pom itself - not the child projects pom

2007-08-31 Thread Jo Vandermeeren
Hi Peter, You can access all POM information by specifying the elements in a dot notation. E.g. the parent version is defined in your pom.xml as follows: project parent version /... The property notation to access this value would be: ${ project.parent.version}. Cheers Jo On 8/31/07,

Re: cross platform pom

2007-08-31 Thread adam hardy
Andy are you having problems with the hsqldb dependency anymore? I assume, since you haven't said otherwise, that you now get a Unable to get resource 'jcalendar-etc' from repository. Is that correct? Is anything working? Can you build any project successfully with maven? Did you modify

Re: Retrieving version of the pom itself - not the child projects pom

2007-08-31 Thread PeterNilsson
Yes, but if I use ${project.parent.version} in my parent pom then it would only work when building the child, not when building the parent (or a grandchild). What I would like is a way to refer to the version of this pom (ie the same as the reference) not relative to the pom from which the build

assembly-plugin: how to tell to use lib-xx-SNAPSHOT.jar and not lib-xx-{timeStamp}.jar

2007-08-31 Thread aldana
hi, i am using assembly:assembly to pack my release. inside jar plugin i enable classpath setting with addClasspath. this way when working with snapshots inside MANIFEST.MF lib-xx-SNAPSHOT.jar gets added. conversely when executing assembly goal i get a timestamp added to libary. mainJar -lib/

activeProfiles and maven-invoker-plugin problem

2007-08-31 Thread S . Bloch
Hi I've got a problem. When I'm running invoker:run with active profile defined in settings.xml evrything works fine. But when i want to activate profile through commandline -P profile, invoker don't get it. Is there a way to get current profile name from some varible like

install:install-file usage

2007-08-31 Thread Gary Bauer
Hi I have a question regarding the use of the install:install-file goal for instalation of a Codehaus mojo. I managed to install the Cobertura mojo, but I am sure I didn't do it in the intended manner. From the page http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html I

Multiple Primary Artifacts from a Single WAR Project

2007-08-31 Thread Shelley
I have a single web project which requires three distinct .war endstates, where the only difference between each are the runtime dependencies (some configuration files may also be different in the future). Are there any recommendations for accomplishing this? Some background: * The assembly

Maven Hibernate Plugin with Maven2

2007-08-31 Thread David Williams
Hi Everyone, Is it possible to use the maven hibernate plugin with Maven2? Is there a replacement for this Maven1 plugin? Thanks, David

Re: install:install-file usage

2007-08-31 Thread Wayne Fay
I think this is simply an incorrect assumption on your part. I'm not surprised Maven doesn't like URLs specified for install-file. You are welcome to file an RFE in Jira and perhaps someone will add that feature, it sounds reasonable. Same goes with expecting Maven to get the groupId etc fields

Re: Multiple Primary Artifacts from a Single WAR Project

2007-08-31 Thread Wayne Fay
I'd take the overlays approach with an abstract web project, resulting in 3 separate poms and projects, and thus 3 separate war endstates as you called it. Wayne On 8/31/07, Shelley [EMAIL PROTECTED] wrote: I have a single web project which requires three distinct .war endstates, where the

RE: Trouble with mojo tutorial

2007-08-31 Thread siegfried
Thanks Wayne. I tried that but no luck! The tutorial does not specify where to put c:/dev/sandboxes/maven/sample-mojo/maven-hello-plugin/src/main/java/sample/p lugin/GreetingMojo.java. I suspect I don't have this in the correct directory. Since I did the steps out of order, I already had a

Re: Maven Hibernate Plugin with Maven2

2007-08-31 Thread Tim Kettler
Hi, here's the Maven2 plugin [1]. -Tim [1] http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/ David Williams schrieb: Hi Everyone, Is it possible to use the maven hibernate plugin with Maven2? Is there a replacement for this Maven1 plugin? Thanks, David

xdoclet plugin and weblogic-ejb-jar.xml descriptor

2007-08-31 Thread Brian Smith
I'm working on a simple HelloWorldEJB stateless session bean that I want to run in Weblogic. I'm using the xdoclet plugin and xdoclet is able to generate the home/remote classes. Should xdoclet be able to generate the weblogic-ejb-jar.xml descriptor? If so, how do I do this? Is there a special

Re: Trouble with mojo tutorial

2007-08-31 Thread Tim Kettler
Hi, perhaps it would be better if you would start from scratch, to have a clean state. Then just do this: 1. mvn archetype:create \ -DgroupId=sample.plugin \ -DartifactId=maven-hello-plugin \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-mojo

Re: Trouble with mojo tutorial

2007-08-31 Thread Wayne Fay
I think we're talking past each other here. I don't believe you can USE a plugin in the same pom you're using to BUILD the plugin. You need to REMOVE the plugin node in the pom, run mvn install, then make another pom/project and USE the plugin there. Wayne On 8/31/07, siegfried [EMAIL

Re: Maven Hibernate Plugin with Maven2

2007-08-31 Thread Marc Dugger
Yes, I recently switched from Torque to Hibernate3 and am using this: http://tinyurl.com/2rqanm On 8/31/07, David Williams [EMAIL PROTECTED] wrote: Hi Everyone, Is it possible to use the maven hibernate plugin with Maven2? Is there a replacement for this Maven1 plugin? Thanks, David

Re: Maven Hibernate Plugin with Maven2

2007-08-31 Thread Mick Knutson
Have you looked at the XDoclet plugin to create Hibernate mappings? On 8/31/07, Tim Kettler [EMAIL PROTECTED] wrote: Hi, here's the Maven2 plugin [1]. -Tim [1] http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/ David Williams schrieb: Hi Everyone, Is it possible to

Re: [M2] Maven 2 and WebDav protocol

2007-08-31 Thread Rémy Sanlaville
Thanks Carlos and Michael for your reply. I try to find what's wrong with apache. I will tell you if I find something wrong. Did you have a specific configuration of apache for the WebDav protocol ? Rémy

Re: install:install-file usage

2007-08-31 Thread Gary Bauer
Thanks for the response Wayne. This was pretty much a learning exercise. I let my misreading of some documentation guide me. Now that you say it, seems pretty obvious now that a third-party plug-in is just like a Maven-provided plug-in, but from another repository. So I need to define the

Maven Plugins for Eclipse

2007-08-31 Thread Dave Feltenberger
All, Do you have recommendations on a good Maven2 plugin for Eclipse? I just tried M2 Eclipse from Codehaus (http://m2eclipse.codehaus.org) and it seems a little klunky - my Eclipse projects have build errors (they didn't prior to the plugin, and compiling using the poms from the command line

Maven Netbeans IDE Integration issue

2007-08-31 Thread jayaram . x . ganapathy
Hi, I am using Netbeans 6 M 10 with maven 2.0.7 configured for external build. Normal compile and build uses the external IDE. But if I try to run or debug my application then it shows the message WARNING: Project Run execution within Netbeans requires running the build within the same VM

NoClassDefFoundError: org/apache/log4j/Category

2007-08-31 Thread Farrukh Najmi
Hello, I am using cargo-maven2-plugin for deploying my webapp into my webcontainer. I have no problems using tomcat5x profile but when I use the jetty6x profile with: container containerIdjetty6x/containerId

selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Dan Tran
First, I believe this question may not relate to maven, but I believe lot of users on this forum use Selenium for webtesting. I am running into a problem where selenium server does not shut down b/c a webtest encounters a http 500 error. I use a combination of selenium-maven-plugin, cargo for

deploy with uniqueVersion = false not working

2007-08-31 Thread Farrukh Najmi
Hello, I have a multi-module maven2 project. I am trying to deploy my modules to a remote m2 repo without including the timestamp suffix in file names. I use maven-deploy-plugin and the deploy phase using the command: mvn deploy -DuniqueVersion=false on the top level project. This is

Re: selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Farrukh Najmi
Dan Tran wrote: First, I believe this question may not relate to maven, but I believe lot of users on this forum use Selenium for webtesting. I am running into a problem where selenium server does not shut down b/c a webtest encounters a http 500 error. I use a combination of

Re: Retrieving version of the pom itself - not the child projects pom

2007-08-31 Thread Thorsten Heit
Hi, What I would like is a way to refer to the version of this pom (ie the same as the reference) not relative to the pom from which the build is invoked. What about ${project.version}? AFAIK this should work. HTH Thorsten

Re: selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Dan Tran
the HTTP 500 comes from my tomcat throwst back to selenium web browser due to a application error. However once in that mode, the browser does not terminate itself just like any other test. My test case's tearDown does instruct Selenium to close its session, however since the browser does not

[m2] Failed to load plugin: org.apache.maven.plugins:maven-antrun-plugin. Adding to late-bound plugins list.

2007-08-31 Thread Mick Knutson
I am running eclipse 3.3 witht eh codehause maven integration. When I run mvn clean install at the command line, it runs fine. But when I run through eclipse it gets this error: [INFO] [INFO] Building

Re: Maven Hibernate Plugin with Maven2

2007-08-31 Thread David Williams
Thanks Tim!!! I tried to use the plugin but the schema-export goal doesn't exist in the 2.0-alpha-2.jar. Do you have any suggestions? In the meantime I'll look at the XDoclet plugin. Thanks, David On 8/31/07, Tim Kettler [EMAIL PROTECTED] wrote: Hi, here's the Maven2 plugin [1]. -Tim

Re: Maven Netbeans IDE Integration issue

2007-08-31 Thread Milos Kleint
On 8/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using Netbeans 6 M 10 with maven 2.0.7 configured for external build. Normal compile and build uses the external IDE. But if I try to run or debug my application then it shows the message WARNING: Project Run execution within

Re: Maven Netbeans IDE Integration issue

2007-08-31 Thread jayaram . x . ganapathy
Hi Milos, Even if you set the entire IDE global preference to use external maven, if you click the execute ot debug button of the IDE it switches to the internal plugin I get this warning too. WARNING: Automatically falling back to embedded Maven despite project setup. The symbol error I

Re: Inherited Site Menu Contexts in Modules

2007-08-31 Thread Dennis Lundberg
This is the expected behavior. Cameron Jones wrote: Hi, In my maven project when i generate the site for the parent and all sibling modules the module's inherited menus have default context paths from their deployment location and not the relative path from the parent site. Is this expected

Re: NoClassDefFoundError: org/apache/log4j/Category

2007-08-31 Thread Dennis Lundberg
This is a classic, but really has nothing to do with Maven. The root cause is that commons-logging and log4j are in different class loaders. The best way to track down what is going on is to install commons-logging 1.1 (if you are not already using that version) and to turn on diagnostics

Re: Links wrongs for the child submodules

2007-08-31 Thread Dennis Lundberg
Some pom.xml and site.xml examples would be helpful... Martin Alejandro Villalobos wrote: Hello, I have a question. I'm executing mvn site site:deploy on a project with several modules , but... when the site is deployed, the links in the Modules section are right for the parent index, but

Re: Community review of the next commons-logging pom

2007-08-31 Thread Dennis Lundberg
Thanks Tom, I'll bring this up with the commons developers and we'll see what happens. Probably won't be in this release though. Tom Huybrechts wrote: This is the OSGi technical whitepaper: http://www.osgi.org/documents/collateral/OSGiTechnicalWhitePaper.pdf . Most relevant here is the

Re: Maven Netbeans IDE Integration issue

2007-08-31 Thread Milos Kleint
Hey, it's switching to the IDE's own embedder (if I recall correctly) in 6.0 M10 only if the netbeans-run-jar plugin is invoked on Run Project action. If it's not, (after you change that setting in the project dialog), it shall invoked the command line version. BTW: I've got a fix for the

Re: Community review of the next commons-logging pom

2007-08-31 Thread Dennis Lundberg
I would like to extend a big Thank you to the Maven community for helping us out with this review. -- Dennis Lundberg on behalf of the Apache Commons Logging team Dennis Lundberg wrote: Hi all The poms for commons logging has taken some beating on this list over the years. The reason for

Re: Maven Plugins for Eclipse

2007-08-31 Thread Nicky Sandhu
We hit the same problem. maven 2 plugin uses maven 2.1 and we prefer using hte command line tool. You can setup a launch configuration in eclipse which relies on variables ${project_loc} and ${maven_bin} which gives the launch the context of the current project and maven_bin is user defined to

Re: Maven Plugins for Eclipse

2007-08-31 Thread Alexander Sack
Dave, What I do for some large projects is use the Codehaus plugin to resolve dependencies which it does alright (it has its bugs no doubt but I find it usable) and actually use the Ant view to execute Maven. This allows me to essentially do similar things as an External Launch configuration and

Re: Building JBoss EAR archives with SAR included

2007-08-31 Thread Alan D. Salewski
On Thu, Aug 30, 2007 at 04:52:05PM -0500, Wayne Fay spake thus: On 8/30/07, Alan D. Salewski [EMAIL PROTECTED] wrote: Hope that cookbook is helpful to someone, This is a great contribution. I don't suppose I could get you to post it in the Maven User Wiki?

alternative release plugin

2007-08-31 Thread Tom Huybrechts
Hi all, I have a lot of multi-module projects that I need to release in an automated way. To help me with that, I wrote an alternative release plugin based on the release-manager infrastructure; Features/Limitations: - svn only - no separate prepare/perform. POMs are modified locally, and if the

RE: Trouble with mojo tutorial

2007-08-31 Thread siegfried
That worked! Thanks! Can someone make changes to the tutorial on the website with the directions below? I'd be glad to if someone gives me the password. Thanks, siegfried -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 9:39 AM To: Maven Users

Re: xdoclet plugin and weblogic-ejb-jar.xml descriptor

2007-08-31 Thread Scott Ryan
What version of Weblogic are you using? You can use the weblogic tag to generate the XML files but as far as I know xdoclet can only generate xml files for 8.x and prior. 9.x and 10.x are not supported but then maybe you should be using JPA, EJB 3.0 or Hibernate by then. Scott Ryan CTO

Re: deploy with uniqueVersion = false not working

2007-08-31 Thread Maria Odea Ching
Hi Farrukh, The uniqueVersion is not a parameter of the deploy:deploy goal (which is what's being executed when you do 'mvn deploy'). This parameter is for the deploy:deploy-file goal. And since you did 'mvn deploy', the uniqueVersion parameter is ignored.. There's an open issue for this

Re: deploy with uniqueVersion = false not working

2007-08-31 Thread Farrukh Najmi
Maria Odea Ching wrote: Hi Farrukh, The uniqueVersion is not a parameter of the deploy:deploy goal (which is what's being executed when you do 'mvn deploy'). This parameter is for the deploy:deploy-file goal. And since you did 'mvn deploy', the uniqueVersion parameter is ignored.. There's

Re: deploy with uniqueVersion = false not working

2007-08-31 Thread Maria Odea Ching
Np :-) I don't think it's already fixed yet.. the issue is still open. -Deng Farrukh Najmi wrote: Maria Odea Ching wrote: Hi Farrukh, The uniqueVersion is not a parameter of the deploy:deploy goal (which is what's being executed when you do 'mvn deploy'). This parameter is for the

Re: selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Maria Odea Ching
Hi Dan, This is just from my experience with selenium.. The browser is never closed whenever there is a problem (like the HTTP 500), and there have been times when I've been left with 20+ Firefox windows open :-( What I usually do is just figure out what the cause of the problem and fix it

Re: selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Dan Tran
a, i am stucked then. and your selenium hangs as well? Thanks -D On 8/31/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Hi Dan, This is just from my experience with selenium.. The browser is never closed whenever there is a problem (like the HTTP 500), and there have been times when

Re: selenium testing with maven hangs b/c of http 500 error

2007-08-31 Thread Dan Tran
actually, my continuum box ( 1.0.3 with windows ) hang due to open browsers, not the selenium server. any solution to this? -D On 8/31/07, Dan Tran [EMAIL PROTECTED] wrote: a, i am stucked then. and your selenium hangs as well? Thanks -D On 8/31/07, Maria Odea Ching [EMAIL

Re: Maven Hibernate Plugin with Maven2

2007-08-31 Thread Tim Kettler
You are right, the plugin website seems to be out of date. Have you looked at the hbm2ddl goal? You should ask specific questions about the plugin on the mojo-user list [1]. -Tim [1] http://mojo.codehaus.org/mail-lists.html David Williams schrieb: Thanks Tim!!! I tried to use the plugin