RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread LAMY Olivier
Afert adding installations to a profile don't use save but go to the profile list page. In fact, the workflow is a litte bit confusing here. It will be fixed in beta-2 ( you have patch here : http://jira.codehaus.org/browse/CONTINUUM-1361 ) Concerning IE, it's an issue (I have only tested with

java.lang.NullPointerException: groupId was null

2007-08-07 Thread Otto Kolsi
Hi! I'm testing Continuum 1.1 beta 1 with Ant projects. So far it seems to work fine. I noticed following minor issue and thought to mention. I haven't yet created any Project Groups, so my Ant project is in the Default Group. The Release functionality is new so without configuring it, I

Re: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread Emmanuel Venisse
What are your installations? profiles with installations associated? [EMAIL PROTECTED] a écrit : Hi, I already wrote a message about that. I can't add any installation to a profile : with IE the add button doesn't work and with Firefox, when I click on the add button I obtain a

Re: java.lang.NullPointerException: groupId was null

2007-08-07 Thread Emmanuel Venisse
Can you file an issue? The release feature is designed actually to run only with maven2 projects. Emmanuel Otto Kolsi a écrit : Hi! I'm testing Continuum 1.1 beta 1 with Ant projects. So far it seems to work fine. I noticed following minor issue and thought to mention. I haven't yet

Re: Build Fresh option

2007-08-07 Thread Emmanuel Venisse
If you don't have symbolic links, you can use it Morgovsky, Alexander (US - Glen Mills) a écrit : It appears that the Build Fresh option does not fully work. I found a Jira issue #1156. Is it recommended to not use the Build Fresh option until later? Thank you. This message (including

Re: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread Emmanuel Venisse
What is the process to reproduce it? Stephane Nicoll a écrit : Hey, I've also a NPE (see below) but I'm able to create the build profile anyway. I'm on 1.1-beta-1, war version on tomcat 5.5.23/JDK5. Cheers, Stéphane 12790974 [TP-Processor6] INFO

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread LAMY Olivier
Hi, For IE, there is an issue (CONTINUUM-1369). For the other point, I need the exact workflow. I aggree profile/installation workflow was not correct (I have send some patchs concerning this). -- Olivier -Message d'origine- De : Emmanuel Venisse [mailto:[EMAIL PROTECTED] Envoyé :

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread LAMY Olivier
Do you have an error message or something in the log ? -- Olivier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 7 août 2007 11:59 À : continuum-users@maven.apache.org Cc : continuum-users@maven.apache.org Objet : Re: Continuum 1.1-beta-1 profile

Re: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread Stephane Nicoll
- Firefox - Login as admin - Profiles, add profiles, give a name, save - Edit profile, add an installation, save - NPE But the profile is there with the installation. Note I never restarted the service so it's maybe not saved at all (and in a transient cache or something). Stéphane On 8/7/07,

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread LAMY Olivier
I think it's due to CONTINUUM-1361. Rewrite the end of the workflow ;-) - Edit profile, add an installation, go to Profiles List -- Olivier -Message d'origine- De : Stephane Nicoll [mailto:[EMAIL PROTECTED] Envoyé : mardi 7 août 2007 12:11 À : continuum-users@maven.apache.org Objet :

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread remi . chevalier
Sorry, I forgot the workflow, fro me, the error appears earlier than Stéphane : - Firefox - Login as admin - Profiles, add profiles, give a name, save - Edit profile, add an installation -- java.lang.NullPointerException [EMAIL PROTECTED] 07/08/2007 12:17 Veuillez répondre à

Re: java.lang.NullPointerException: groupId was null

2007-08-07 Thread Otto Kolsi
Emmanuel Venisse wrote: Can you file an issue? Yes, I just created CONTINUUM-1371. -- Otto

refreshing a changed POM

2007-08-07 Thread brad hadfield
I've noticed that when I change a POM file that it does not seem to refresh within Continuum. Is there a way to tell Continuum that the POM file has changed? At what point does Continuum check the POM. Thanks

Re: getting relative paths maven + continuum

2007-08-07 Thread Emmanuel Venisse
Continuum doesn't build projects directly. It start maven in the right directory then maven do the build and Continuum look at the output and the result. Can you add more details about your problem? Emmanuel brad hadfield a écrit : Hi, I am a new maven and continuum user. I'm having

Re: getting relative paths maven + continuum

2007-08-07 Thread Christian Gruber
Maven does start in a project directory, but I suspect what you're looking for is a parent project's directory. Because Continuum does not necessarily know about parent folders, since it pulls each project out individually, you need your build setup to not be dependent on folder location.

RE: getting relative paths maven + continuum

2007-08-07 Thread brad hadfield
Thanks Emmanuel, I have a property with a path that looks like ${basedir}/../../../core-parent/trunk/ If I use the variable ${basedir} by running maven from the command line the location looks like: C:\CIProjects\ProjectsMain\ But when I run the build in Continuum the Maven variable

Re: getting relative paths maven + continuum

2007-08-07 Thread Christian Gruber
Good point, though it's not entirely true, since if you're using maven and always building with the full tree checked-out into a comprehensive workspace, this will work. It's only because continuum pulls things out sub-project (maven project) at-a-time that this becomes unworkable. But

RE: getting relative paths maven + continuum

2007-08-07 Thread brad hadfield
Thanks again for all your help, just to clarify, the file is not found in a parent project but in a sibling project. We have a situation where a number of Web applications have an XML schema file that extends objects found a base schema file. The base schema file is part of the base project.

Re: getting relative paths maven + continuum

2007-08-07 Thread Christian Gruber
What I've done before is actually created a jar project that contains the base schema and only contains the base schema, and make it a provided dependency for the other projects. Then I use the maven dependency plugin to grab that .jar, pull it into a temporary folder during the build of

Problems with Space in Perforce URL Path

2007-08-07 Thread Anshula
Hi, Today I tried adding an Ant project to Continuum with the SCM URL as - scm:perforce:[EMAIL PROTECTED]:1966://Project-Development/project - support libraries I am not able to build this Ant project. In the logs the error message is - Provider message: Unable to sync. Are you logged in? I

RE: continuum-1.1-beta-1: Error while generating mail contents.

2007-08-07 Thread LAMY Olivier
Issue CONTINUUM-1374. Simple workaround add a jdk to your profile. Will be fix in beta-2. -- Olivier -Message d'origine- De : Andreas Guther [mailto:[EMAIL PROTECTED] Envoyé : mardi 7 août 2007 03:05 À : continuum-users@maven.apache.org Objet : continuum-1.1-beta-1: Error while

RE: continuum-1.1-beta-1: Build succeeded or failed ???

2007-08-07 Thread LAMY Olivier
Have you tried with mvn 2.0.6 or 2.0.5 ? What is your OS ? If windows I think there is an issue with mvn.bat concerning cli return code (MAVEN_TERMINATE_CMD ) (don't remember the issue id) -- Olivier De : Poli García [mailto:[EMAIL PROTECTED] Envoyé : mardi

Re: Retrieving subversion revision number

2007-08-07 Thread DCVer
Thanks for all replies, but when I use this plugin I receive the version of my my project (e.g. 1.0-SNAPSHOT), but I would like to get somehow the revision number of the svn version (e.g. 768). If someone commits some changes and the revision number turns to 769 this would be shown in some

Re: How to increase the memory usage for mvn?

2007-08-07 Thread William Ferguson
From mvn.bat: @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven Eg set MAVEN_OPTS=-Xmx1024m William -Original Message- From: Baz [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 August 2007 9:19 AM To: Maven Users List Subject: [***POSSIBLE SPAM***] - How to increase

RE: Retrieving subversion revision number

2007-08-07 Thread Jörg Schaible
DCVer wrote on Tuesday, August 07, 2007 8:57 AM: Thanks for all replies, but when I use this plugin I receive the version of my my project (e.g. 1.0-SNAPSHOT), but I would like to get somehow the revision number of the svn version (e.g. 768). If someone commits some changes and the revision

RE: Retrieving subversion revision number

2007-08-07 Thread DCVer
Hmm, now I see that the revision number is null.. Looks like maven is ignoring the scm tag.. Jörg Schaible wrote: DCVer wrote on Tuesday, August 07, 2007 8:57 AM: Thanks for all replies, but when I use this plugin I receive the version of my my project (e.g. 1.0-SNAPSHOT), but I would

Re: Retrieving subversion revision number

2007-08-07 Thread Nick Stolwijk
I've configured the buildnumber plugin as follows: plugin groupIdorg.codehaus.mojo/groupId artifactIdmaven-buildnumber-plugin/artifactId version0.9.5/version executions execution phasevalidate/phase

plugin 'org.apache.maven.plugins:maven-clean-plugin' does not exist or... - FYI

2007-08-07 Thread Praveen Kumar Kumashi
Hi, I used to get the error, The plugin org.apache.maven.plugins:maven-clean-plugin' does not exist or no valid version could be found every time I tried mvn clean, or issued a command that in turn called this plugin. C:\dev\selenium-rc\trunkmvn clean [INFO] Scanning for projects... [INFO]

RE: Retrieving subversion revision number

2007-08-07 Thread Jörg Schaible
DCVer wrote on Tuesday, August 07, 2007 9:36 AM: Hmm, now I see that the revision number is null.. Looks like maven is ignoring the scm tag.. ?!?! Cannot make any sense out of your comment. What is here your revision number, how do you gather it and how is it related to the SCM tag at all ?

Re: Retrieving subversion revision number

2007-08-07 Thread DCVer
Have you made any configuration to scm plugin (groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId) or used scm tags in your pom.xml? I would be thankful if you could paste your configuration (if u used one of them). My svn repository uses ssh private key to get to it.

Re: Retrieving subversion revision number

2007-08-07 Thread Nick Stolwijk
My SCM section of my pom file (slightly modified for security reasons) scm connectionscm:svn:https://servername:port/svnroot/svn-repository/trunk/connection developerConnectionscm:svn:https://servername:port/svnroot/svn-repository/trunk/developerConnection /scm The only

Re: castor plugin and castor version

2007-08-07 Thread Thorsten Heit
Hi, I'm using castor to generate code. the plugin (mojo) has a dependency on castor:castor:0.9.7 This version has a generator bug (http://jira.codehaus.org/browse/CASTOR-742) that is solved in 1.0.4 But I can't override the plugin classpath to set version to 1.0.4 as the groupId has been

RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-07 Thread remi . chevalier
Here is my log (in continuum.log): [SocketListener0-1] INFO com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - Error ocurred during execution java.lang.NullPointerException at

[m2] mvn launch script under cygwin and release-plugin / svn

2007-08-07 Thread James Abley
Hi, I'm using the release plugin to release a module. $ mvn -B release:prepare -f release-1.3.0/the_module/pom.xml -DtagBase=svn://path.to.my.repository/the_module/tags -Dtag=MMP-REL-1.3.0_20070807_101709 -Dusername=myusername This fails with the below message: [INFO] Checking in modified

[soapui plugin] Project file not in superpom

2007-08-07 Thread Rodolphe Beck
Hello, I wish to use the SOAPui plugin for Maven. When I put it in the superpom it works nice, but is it possible to include it in the project where the web services are instead ? Here is my statement: plugins plugin groupIdeviware/groupId artifactIdmaven-soapui-plugin/artifactId

Re: Bug in archiva with non-standard artifact name (ganymed-ssh2)

2007-08-07 Thread Joakim Erdfelt
This is a known issue with Archiva at the moment. See http://jira.codehaus.org/browse/MRM-432 It is important, and will be fixed prior to an Archiva 1.0 final release. - Joakim Antonio Parolini wrote: Hello, I setted up archiva as a central repository proxy and it works fine but for

RE: [m2] mvn launch script under cygwin and release-plugin / svn

2007-08-07 Thread LAMY Olivier
It's a know issue (don't remember the id). A simple workaround is add first in your PATH the windows svn. If svn is in C:\Subversion\bin. export PATH=C:\\Subversion\\bin:$PATH Then release plugin works fine. HTH, -- Olivier -Message d'origine- De : James Abley [mailto:[EMAIL PROTECTED]

Re: castor plugin and castor version

2007-08-07 Thread nicolas de loof
castor 1.0 split code into castor + castor-codegen-antask, so I tried : - creating a relocation pom for castor 1.1 - adding castor:castor:1.1 and org.codehaus.castor:castor-codegen-anttask as dependencies to the plugin I get the expected warning : [WARNING] While downloading

Re: WebLogic Deployment ok from child, fails from parent ?

2007-08-07 Thread Scott Ryan
You have to run the deploy command from the war directory if you want to deploy the war. This is because the project type and object location are dynamically determined from the pom.xml of the directory you are running in. You cannot run the command from the parent directory because it

Re: [OT] Mini-interview with Emmanuel Venisse of Maven and Continuum

2007-08-07 Thread Brian Flaherty
It is interesting to learn about the committers. I was fortunate enough to meet Emmanuel last month. Regards, Brian On 8/6/07, Brett Porter [EMAIL PROTECTED] wrote: Hi all, I thought I might post this in case anyone was interested in getting to know Emmanuel a bit better:

Re: [1.1-beta-1] group/project build definitions

2007-08-07 Thread Jesse McConnell
there are two types of build definitions, group definitions and project definitions. group definitions apply to all projects in the group, project definitions apply to just that project. if your concerned about the default build definition that is fired off during the schedules then a project

maven-ant-tasks-2.0.7 settings file read hangs at install-provider

2007-08-07 Thread Mykel Alvis
Hi all, I'm trying to make an example ant project for one of our teams who currently uses ant to do their builds. Relevant sections of build.xml target name=init tstamp format property=build.date pattern=[EMAIL PROTECTED] /

Re: M2 POM Url protected

2007-08-07 Thread Oscar Picasso
Thanks. It works fine. Though actually you have to write: http://username:[EMAIL PROTECTED]:port/path/pom.xml On 8/6/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: you can use an url like that: http:username:[EMAIL PROTECTED] :port/path/pom.xml Oscar Picasso a écrit : Hi, On continuum

Re: Parent POM, properties and scm problem

2007-08-07 Thread Eric Redmond
Might I suggest for the time being, to download and install the maven-pom-plugin ( http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-pom-plugin/) and manually manage the scm fields in the projects. I know it's a hack, but non-standard layouts tend to produce non-standard solutions.

Re: getting relative paths maven + continuum

2007-08-07 Thread Christian Gruber
Yes - I thought it might be this. You can't do that and expect continuum to understand it. In fact, continuum checked out your child projects into their own folders that have no relation to the parent. There's literally no way to know what to set that property to. If you have things in

RE: getting relative paths maven + continuum

2007-08-07 Thread brad hadfield
Christian, thanks for your help. This is a situation where an artifact is not workable... this might be too much to ask but can you give me an idea how I might use metadata to solve my problem? Ultimately I must pass a file location to an Ant task... Brad -Original Message- From:

artifact class question

2007-08-07 Thread Sommers, Elizabeth
I am writing a plugin and I need to get the scm information out of the artifact. There does not seem to be a getter for this information in the artifact class. How do I get this info? Thanks Liz Sommers [EMAIL PROTECTED]

Container not set in plexus DefaultArchiverManager

2007-08-07 Thread Dave Mellors
I am trying to write an installer plugin which makes use of the ArchiverManager to unpack artifacts. However when it tries to determine which Unarchiver to use, the plugin fails with a NullPointerException because the plexus container has not been initialised. I have attempted to use the

Re: maven-ant-tasks-2.0.7 settings file read hangs at install-provider

2007-08-07 Thread Hervé BOUTEMY
Hi Mykel, There is something weird happenning: I don't understand why reading a file would hang. FYI, it's working perfectly in a number of places. We'll have to find what is so special in your case. Can you get a thread dump when ant freezes? On Linux, it's: kill -SIGQUIT pid Hervé Le mardi

Re: getting relative paths maven + continuum

2007-08-07 Thread Emmanuel Venisse
Christian, It's the best solution. Emmanuel Christian Gruber a écrit : What I've done before is actually created a jar project that contains the base schema and only contains the base schema, and make it a provided dependency for the other projects. Then I use the maven dependency plugin to

{m2] Error specifying phase for ant-run

2007-08-07 Thread Mick Knutson
I have the ant plugin for a group of modules: plugin artifactIdmaven-antrun-plugin/artifactId executions execution idbpelc/id phasepackage/phase

Re: refreshing a changed POM

2007-08-07 Thread Emmanuel Venisse
Continuum check the POM after to run a scm update. Emmanuel brad hadfield a écrit : I've noticed that when I change a POM file that it does not seem to refresh within Continuum. Is there a way to tell Continuum that the POM file has changed? At what point does Continuum check the POM. Thanks

Re: maven-ant-tasks-2.0.7 settings file read hangs at install-provider

2007-08-07 Thread Mykel Alvis
Hi Hervé, OK. I lied. It timed out after several minutes. I don't know why it would delay the 10 minutes it took before, but must recently it timed out in less than 4. The log was then: BUILD FAILED /home/mykel/workspace-tutorial/ExampleAntMavenProject/build.xml:32: Error downloading wagon

Re: Perforce SCM

2007-08-07 Thread jpringle
I'm seeing this as well in 1.1-beta-1. I see that the client is actually getting created correctly (p4 clients -u user), but for whatever reason it's like the checkout commands aren't really getting executed or something. It must be something in continuum that's changed, as the relevant files

RE: Perforce SCM

2007-08-07 Thread Randall Fidler
Good to know I'm not the only one seeing this. I agree with you, it acts like the actual Perforce commands aren't being executed. Hmmm -Original Message- From: jpringle [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 12:34 PM To: [EMAIL PROTECTED] Subject: Re: Perforce

Re: getting relative paths maven + continuum

2007-08-07 Thread Mykel Alvis
+1 . If you're into managing things with maven, it's pretty much the only consistently workable way. On 8/7/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: Christian, It's the best solution. Emmanuel Christian Gruber a écrit : In general, I try to take any shared resource or group of

Continuum 1.1-beta-1 auto refresh can cause repeated builds.

2007-08-07 Thread Madsen,Bryan
I like the auto refresh feature and tend to leave continuum up on the project group summary page while doing other work. Today I forced a build for a project on one of the project group pages and left my browser on that page. I checked my build emails later and found that project had built 8

Re: Continuum 1.1-beta-1 auto refresh can cause repeated builds.

2007-08-07 Thread Emmanuel Venisse
It's a known issue that will be fixed in beta-2 Emmanuel Madsen,Bryan a écrit : I like the auto refresh feature and tend to leave continuum up on the project group summary page while doing other work. Today I forced a build for a project on one of the project group pages and left my browser

Re: maven-ant-tasks-2.0.7 settings file read hangs at install-provider

2007-08-07 Thread Hervé BOUTEMY
ok, settings.xml has been read, but the task is hanging when trying to download wagon-provider-api from central http://repo1.maven.org/maven2 Do you have direct internet access, or through a proxy? If through a proxy, how was it configured in settings.xml? Did you try your configuration with

Need to add .class files through classpath

2007-08-07 Thread Some user
Hi, I'm using applescript in my application that's being built using maven. I'm developing on a mac os x. To compile applescript code (I wrote a couple of proof-of-concept classes outside the project just to test things out), I had to run javac -classpath /System/Library/Java Test.java How/where

[m2] Trying to wildcard build helper

2007-08-07 Thread Mick Knutson
I want to add *.jar as a file artifact like: plugin groupIdorg.codehaus.mojo/groupId artifactIdbuild-helper-maven-plugin/artifactId executions execution

Re: Need to add .class files through classpath

2007-08-07 Thread Hervé BOUTEMY
Le mardi 7 août 2007, Some user a écrit : Hi, I'm using applescript in my application that's being built using maven. I'm developing on a mac os x. To compile applescript code (I wrote a couple of proof-of-concept classes outside the project just to test things out), I had to run javac

Re: [m2] Trying to wildcard build helper

2007-08-07 Thread Hervé BOUTEMY
I suppose you'll have to file a feature request on Mojo's JIRA. Or vote for http://jira.codehaus.org/browse/MOJO-652, which could be a solution in your case? Le mardi 7 août 2007, Mick Knutson a écrit : I want to add *.jar as a file artifact like: plugin

Re: {m2] Error specifying phase for ant-run

2007-08-07 Thread Hervé BOUTEMY
If I understand well, you've declared the antrun execution in a parent pom, and want it to be executed in your modules. That's it? And I suppose it's executed in the parent project before modules. Did you try to write the antrun execution in modules, and not in parent pom? Le mardi 7 août 2007,

Re: artifact class question

2007-08-07 Thread Hervé BOUTEMY
Le mardi 7 août 2007, Sommers, Elizabeth a écrit : I am writing a plugin and I need to get the scm information out of the artifact. There does not seem to be a getter for this information in the artifact class. How do I get this info? Thanks Liz Sommers [EMAIL PROTECTED] Did you try

RE: continuum-1.1-beta-1: Build succeeded or failed ???

2007-08-07 Thread Madsen,Bryan
It is a known issue in 2.0.7. http://jira.codehaus.org/browse/MNG-3084 You can update the bat file in your local install as described in the bug and it will start working. Bryan -Original Message- From: LAMY Olivier [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 4:09 PM To:

Assembly: snapshot archive name with timestamp

2007-08-07 Thread Michal Palička
Hello, is it possible to set up the assembly plugin, so that the name of the resulting snapshot archive contains the timestamp? Example: current name: myproject-1.0-SNAPSHOT-bin.zip desired name: myproject-1.0-20070807.140024-bin.zip Thank you in advance Michal Palicka

Maven SVN Integration

2007-08-07 Thread Steven Crosley
I'm pretty new to Maven, but I've created some sample multi-project applications successfully in the last couple of weeks. I'm a bit stuck as to how SVN integration works. This is kind of a 2-part question. 1.) I've added the dependency in my top-level pom.xml like so:

Re: WebLogic Deployment ok from child, fails from parent ?

2007-08-07 Thread Ronn . Chinowutthichai
Thanks Scott, I just wanted to confirm that the behaviour that Anton asked for is not supported. Your response to him didn't really answer that question. I think the *default* behaviour that would be nice to have is when you perform mvn weblogic:deploy at root pom and any child poms that has

Re: {m2] Error specifying phase for ant-run

2007-08-07 Thread Mick Knutson
No. I have the ant run plugin running, but there is no maven compile first. It skips the compile altogether. On 8/7/07, Hervé BOUTEMY [EMAIL PROTECTED] wrote: If I understand well, you've declared the antrun execution in a parent pom, and want it to be executed in your modules. That's it?

Re: file based profile activation - best practice ?

2007-08-07 Thread Eric Redmond
Why would you need to duplicate it? Have the antrun code only run if a property is set - and only set that property under the profiles you want it to execute under. You can see how to active a block of ant code here in my book:

Re: two questions about maven

2007-08-07 Thread Eric Redmond
On 8/4/07, wangq/Wang Qiang(IT) [EMAIL PROTECTED] wrote: Dear Sirs I'm maven's new user. There are some questions I want to ask you. Can you help me 1 ) how can maven scm checkout two different directories into another two target directory. For Example, in cvs , I have two directories :

Re: Database lifecycle in Maven

2007-08-07 Thread Eric Redmond
This may be a good suggestion for JIRA. I am not against the addition of a database lifecycle, since it is a valid case. Though some may claim it is a slippery slope - I have suggested a release lifecycle for similar arguments... it is something you do occasionally (like clean or site) but is

Re: two questions about maven

2007-08-07 Thread Antony Stubbs
This seems to be working _against_ the maven way... Why do you need this? Why not just configure your pom to tell maven where your java and test java actually is? wangq/Wang Qiang(IT) wrote: Dear Sirs I'm maven's new user. There are some questions I want to ask you. Can you help me

RE: Container not set in plexus DefaultArchiverManager

2007-08-07 Thread Brian E. Fox
You need to exclude the container-api jars. Take a look at the exclusions in the maven-dependency-plugin pom, along with the enforcer use to alert me if it creeps in via another dependency. -Original Message- From: Dave Mellors [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007

[CREATE:ARCHETYPE - MAVEN EMBEDDER]

2007-08-07 Thread João Kreuzberg
Maria, I tried the user.dir within the command line and it works just fine. When I try to execute it using maven-embedder it just ignores the base directory. Here is how I'm using it: MavenExecutionRequest executionRequest = new DefaultMavenExecutionRequest();

RE: two questions about maven

2007-08-07 Thread Dave Hoffer
Why don't you change your code structure in cvs so you can just checkout the folder structure the way Maven wants it? In the long run it is better to go the Maven way instead of working around it. In time you will have more folders...resources, etc to deal with and it is much easier to go with

Re: two questions about maven

2007-08-07 Thread Eric Redmond
Well, sure. I think we can all agree that the default answer to any of these kinds of questions is just do it the default Maven way. I presumed he was dealing with a legacy layout - otherwise why the hell would you use CVS anyway? :) -- Eric Redmond http://blog.propellors.net On 8/7/07, Dave

Re: How to increase the memory usage for mvn?

2007-08-07 Thread Baz
Can i set MAVEN_OPTS in system variables instead of mvn.bat? Is there any problems with it? On 8/6/07, William Ferguson [EMAIL PROTECTED] wrote: From mvn.bat: @REM MAVEN_OPTS - parameters passed to the Java VM when running Maven Eg set MAVEN_OPTS=-Xmx1024m William -Original

RE: How to increase the memory usage for mvn?

2007-08-07 Thread Murugan, Vellaichamy
You can set it there also. No problem. And include in this line. %MAVEN_JAVA_EXE% %ANT_OPTS% %MAVEN_OPTS% Best Regard's Murugan -Original Message- From: Baz [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 9:35 AM To: Maven Users List Subject: Re: How to increase the memory