Emmanuel Venisse said: actually, it isn't possible to use a pom with modules from a repository

2007-07-31 Thread javijava
This issue is from codehous at 22/Jun/06 , I want know if actually is possible add multiprojects from a SVN repository without problems. Emmanuel said:If you want to add a multi-module pom in continuum, you should use an http interface of your scm like viewcvs or http svn browser. I have the

Re: Emmanuel Venisse said: actually, it isn't possible to use a pom with modules from a repository

2007-07-31 Thread javijava
Is possible that... an structure like this is not supported by continuum? : repo | | |--parentpom | |--project1--pom | |--project2--pom -- View this message in context:

Re: Emmanuel Venisse said: actually, it isn't possible to use a pom with modules from a repository

2007-07-31 Thread Jesse McConnell
you might need to put scm info into each of those poms if it is a nonstandard use of modules etc.. generally modules is analogous to having to having that module being a directory in the same directory as that pom. so if you are not following that convention then you should probably construct

Re: Can not startup Continuum 1.1-beta-1

2007-07-31 Thread Jesse McConnell
oh good catch wendy :) for the record, we are trying to get a short cycle for the next beta release that will include updated documentation and site, etc.. jesse On 7/28/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 7/27/07, L. J. [EMAIL PROTECTED] wrote: Get below exception during startup

Re: First build errors

2007-07-31 Thread Jesse McConnell
I would recommend trying out the continuum 1.1-beta-1, there as been a lot of work all across continuum since the version you are using. log file and configuration would help, if the log file is too big just post a link to it and we can take a peek. I would recommend changing your mail

Re: First build errors

2007-07-31 Thread Christian Gruber
I'm having problems building 1.1-beta-1 (from tag). The problem is during surefire test execution - 3 assertions fail within MavenTwoContinuumProjectBuilderTest. The equality assertions on: testCreateProjectsWithModules (line 193) testCreateProjectsWithModuleswithParentPomIsntPomXml

RE: First build errors

2007-07-31 Thread LAMY Olivier
Yes. http://jira.codehaus.org/browse/CONTINUUM-1356 ;-) -- Olivier -Message d'origine- De : Christian Gruber [mailto:[EMAIL PROTECTED] Envoyé : mardi 31 juillet 2007 22:51 À : continuum-users@maven.apache.org Objet : Re: First build errors I'm having problems building 1.1-beta-1

deploying war automatically to tomcat

2007-07-31 Thread maven2
hi i want to deploy war file to webapps folder under tomcat automatically after running mvn install like in ant .can u please help -- View this message in context: http://www.nabble.com/deploying-war-automatically-to--tomcat-tf4191146s177.html#a11918830 Sent from the Maven - Users mailing list

Re: deploying war automatically to tomcat

2007-07-31 Thread James Abley
On 31/07/07, maven2 [EMAIL PROTECTED] wrote: hi i want to deploy war file to webapps folder under tomcat automatically after running mvn install like in ant .can u please help Sure. What have you tried already? Google gave me lots of suggestions [1]. Maybe one of them would work for you?

Re: deploying war automatically to tomcat

2007-07-31 Thread maarten roosendaal
http://mojo.codehaus.org/tomcat-maven-plugin When you have a question like this do a search like this: Maven 2 tomcat plugin Most of the time the result will point you in the right direction. - Original Message From: maven2 [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday,

Re: Passing System Variables to Maven

2007-07-31 Thread Graham Leggett
Eric Redmond wrote: I would stick to -D options. env variables are going away in Maven soon. -D options are simply command line options, they are not an environment. Trying to create a pretend environment using -D violates the principle of least astonishment in a big way, and is a major

Maven file creation

2007-07-31 Thread Shilpac
How to create a file under maven project? I have created folder using the following command mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes - DgroupId=com.cognizant -DartifactId=MavenDemo getting build successful. But tried creating file using the following command mvn

How to add dependencies in the POM.xml?

2007-07-31 Thread Shilpac
After creating a project automatically one POM.xml is getting created. There I tried to add some new dependencies but I am getting error while running the command mvn install. Do I need to do any changes in the settings.xml as well to avoid this error? -- View this message in context:

Re: Emmanuel Venisse said: actually, it isn't possible to use a pom with modules from a repository

2007-07-31 Thread javijava
Maybe the is a problem with the build of the SCM URL Which is the correct URL in SCM?? : urlhttp://server/repositorysvn/project/trunk/url ?? I read something about continuum have an special way to build url's -- View this message in context:

Re: How to add dependencies in the POM.xml?

2007-07-31 Thread maarten roosendaal
what is the error? - Original Message From: Shilpac [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, July 31, 2007 10:08:32 AM Subject: How to add dependencies in the POM.xml? After creating a project automatically one POM.xml is getting created. There I tried to add some

QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eugeny N Dzhurinsky
Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as a JAR file and place it into WEB-INF/lib/? Also I need to include some external resources

Re: How to add dependencies in the POM.xml?

2007-07-31 Thread Shilpac
Hi, I am getting the following error C:\Maven\Demomvn archetype:create -DarchetypeGroupId=org.apache.maven.archet es -DarchetypeArtifactId=maven-archetype-site -DgroupId=com.cognizant -Dartifa Id=Demo [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix:

Re: Maven file creation

2007-07-31 Thread Maria Odea Ching
Hi, It would be more helpful if you could post your build stack trace.. Thanks, Deng Shilpac wrote: How to create a file under maven project? I have created folder using the following command mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes - DgroupId=com.cognizant

Re: Exit codes on Windows

2007-07-31 Thread Martin Gilday
It seems to not work on XP SP2 for me. I have set MAVEN_TERMINATE_CMD=on whichever command I use %ERRORLEVEL% is always 0 from cmd. When I set the terminate command then my prompt correctly closes afterwards. When you use cmd /c mvn then %ERRORLVEL% remains at 0. Can anyone else confirm this?

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Richard Kirby
Put your java classes into a separate Maven project, and include it as a dependency in your WAR project. Cheers Richard Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and

Re: Exit codes on Windows

2007-07-31 Thread Martin Gilday
Changing back to 2.0.6 fixes the issue for me. I have created the following jira entry http://jira.codehaus.org/browse/MNG-3126 - Original message - From: Martin Gilday [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Date: Tue, 31 Jul 2007 11:03:53 +0100 Subject: Re: Exit

Re: Maven file creation

2007-07-31 Thread Shilpac
Hi, Following is the error when I tried to create a file using maven C:\Mavenmvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -Da rchetypeArtifactId=maven-archetype-site -DgroupId=com.mycompany.app -DartifactI d=my-app-site [INFO] Scanning for projects... [INFO] Searching

Re: Maven file creation

2007-07-31 Thread Maria Odea Ching
Could you try deleting the maven-archetype-plugin and maven-archetype-site (including the poms and metadata files) from you local repository, then build again? -Deng Shilpac wrote: Hi, Following is the error when I tried to create a file using maven C:\Mavenmvn archetype:create

Maven: cannot find symbol build error

2007-07-31 Thread Ian Dunlop
Hello, I am trying to use Maven (2.0.7) to build an application on an Intel Mac (OSX 10.4.10). It keeps failing with 'cannot find symbol' related to a Junit class. The app builds perfectly on Linux. Building with the -Dmaven.test.skip=true flag on the Mac is successful. I have

RE: QAR question - generate JAR from classes and include intoWEB-INF/lib

2007-07-31 Thread Annies, Sebastian
I used two projects: 1. a base project with packaging=jar 2. a web project with packaging=war depending on 1. If anybody finds a better solution please tell me. Regards, Sebastian -Original Message- From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007

RE: Hibernate and 2.0.7

2007-07-31 Thread Annies, Sebastian
Some more information about what happens would be helpful. -Original Message- From: jallen [mailto:[EMAIL PROTECTED] Sent: Sunday, July 29, 2007 10:00 PM To: users@maven.apache.org Subject: Hibernate and 2.0.7 Has anyone else experienced issues with 2.0.7 and hibernate 3.2.4.ga?

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Ian Springer
Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as a JAR file and place it into WEB-INF/lib/?

assembly issue with an ear

2007-07-31 Thread nicolas de loof
My project has multiple modules, one of them packages my webapp as ear. My parent project has an assembly descriptor to build a tar from artifacts + some script files If I run mvn assembly:assembly I get a strange error about my ear having no file attached : [INFO] Failed to create assembly:

Re: Maven: cannot find symbol build error

2007-07-31 Thread Ian Dunlop
Hello, Here is some more info, with the stack trace: [INFO] Compiling 5 source files to /Users/Ian/scratch/taverna1.0/ taverna-bootstrap/target/test-classes [INFO] [ERROR] BUILD FAILURE [INFO]

jetty plugin from Mavenide

2007-07-31 Thread John Coleman
Hi, Does anyone know how to stop the jetty plugin after staring it using Mavenide please? Hitting the orange X button doesn't seem to do anything. TIA, John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information

Re: jetty plugin from Mavenide

2007-07-31 Thread Milos Kleint
exiting the IDE should help I suppose. That's not a good solution though. Please file a bug against mevenide, I'll take a look what can be done. What version of netbeans/mevenide are you using? Milos On 7/31/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Does anyone know how to stop the

Re: Deployment of runtime configurations? / Deployment of assemblies?

2007-07-31 Thread Stephen Coy
I think that what you need is profiles + classifiers. I've done it this way in the past. My preferred option is to push as much deployment target specific configuration (such as datasources, mail sessions, etc) in to the application server configuration, but this is not always possible,

Re: Passing System Variables to Maven

2007-07-31 Thread Eric Redmond
That's fine, then stick them in the settings.xml. But you missed my point: env access via properties won't be around in the next version of Maven, so they aren't a good suggestion. Eric On 7/31/07, Graham Leggett [EMAIL PROTECTED] wrote: Eric Redmond wrote: I would stick to -D options. env

Re: assembly issue with an ear

2007-07-31 Thread nicolas de loof
Found the answer myself : http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html *NOTE:* Because of a quirk in Maven 2.0's execution model relating to aggregator mojos and the inheritance hierarchy, we need to explicitly execute the package

Re: Parent POM, properties and scm problem

2007-07-31 Thread Eric Redmond
Maven does this so that child module's scm can be defined once in the parent. scm connectionscm:svn:https://url/project/trunk /scm modules moduleChild Then the Child module's scm url is automatically set as: scm connectionscm:svn:https://url/project/trunk/Child /scm Which is the

Re: Maven: cannot find symbol build error

2007-07-31 Thread Michael Meyer
Hi, how did you define the junit dependency in the pom? You're not using scopesystem/scope or something like that, are you? Cheers, michael Ian Dunlop wrote: Hello, Here is some more info, with the stack trace: [INFO] Compiling 5 source files to

Re: assembly issue with an ear

2007-07-31 Thread Eric Redmond
Have you tried binding assembly:attached to the packaging phase? I don't know which would execute first (std package or assembly), but it might be worth a short. In 2.1 the pre-package phase will be added, so things like this should be easier to deal with in a consistent way. -- Eric Redmond

Re: Maven: cannot find symbol build error

2007-07-31 Thread Eric Redmond
That's curious - makes me think a transative dep of junit is not found? Natrually skipping the test will work, since maven.test.skip also skips test compilation, however, what version of junit are you using? -- Eric Redmond http://blog.propellors.net On 7/31/07, Ian Dunlop [EMAIL PROTECTED]

Re: How to use ${project.build.directory}?

2007-07-31 Thread Eric Redmond
I second Wendy's or Michael's suggestions - avoid system scope at all costs. Moreover, it may be removed in future versions of Maven, so don't depend on it being there forever. May as well make preperations now :) -- Eric Redmond http://blog.propellors.net On 7/30/07, Wendy Smoak [EMAIL

continuum 1.0.3 build errors but mvn fine

2007-07-31 Thread John Coleman
My continuum builds continue to spew this message out... [INFO] artifact com.eurobase.maven.plugins:web-flavour: checking for updates from central [WARNING] repository metadata for: 'artifact com.eurobase.maven.plugins:web-flavour' could not be retrieved from repository: central due to an

RE: jetty plugin from Mavenide

2007-07-31 Thread John Coleman
NetBeans 5.5 Mavenide 2.3 Where do I file a bug pls? Thanks, John -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: 31 July 2007 14:28 To: Maven Users List Subject: Re: jetty plugin from Mavenide exiting the IDE should help I suppose. That's not a good solution

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eugeny N Dzhurinsky
On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java sources compiled and placed into WEB-INF/classes - package those classes as

Re: Maven file creation

2007-07-31 Thread Wayne Fay
Shilpac, Please do not post the same question twice (!!). It just clutters the list and confuses people. I've solved your problem in the other thread. Please refer to it. Wayne On 7/31/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Could you try deleting the maven-archetype-plugin and

Re: Passing System Variables to Maven

2007-07-31 Thread David Williams
Guys, Thanks for your responses. What I really want to do is pass the current system date and or time to a properties file. I already know what I need to do to filter in maven but I'm trying to figure out the best way to get these variables in a build.properties file for example. I'm currently

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eugeny N Dzhurinsky
On Tue, Jul 31, 2007 at 05:38:53PM +0300, Eugeny N Dzhurinsky wrote: On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it possible to create WAR file from WEB application, but instead of having Java

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Wayne Fay
Did you run mvn clean package to delete the *.class files, or simply mvn package? Wayne On 7/31/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Wayne Fay
No, in all likelihood, version 2.0 of the war plugin did not have this feature. It must have been added in a version greater than 2.0. Wayne On 7/31/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Tue, Jul 31, 2007 at 05:38:53PM +0300, Eugeny N Dzhurinsky wrote: On Tue, Jul 31, 2007 at

Re: How to add dependencies in the POM.xml?

2007-07-31 Thread Wayne Fay
You simply need to provide the archetypeVersion number as well. This exact error/issue is mentioned on the guide creating archetypes page: http://maven.apache.org/guides/mini/guide-creating-archetypes.html Don't forget to include the version of your archetype (if you don't include the version,

Re: Maven: cannot find symbol build error

2007-07-31 Thread Ian Dunlop
Hello, I think this is where it is declared. The system has built on other Macs, so if it is just my system maybe I will have to reload OSX (but that is the last resort). This is my first time using maven (mainly used Ant before) so I have haven't got a great idea about what is going

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Eric Redmond
Yeah, it was added in 2.0.1, iirc. So he could specify version 2.0.1 if he wants to stick to a defined version (which I like to do). -- Eric Redmond http://blog.propellors.net On 7/31/07, Wayne Fay [EMAIL PROTECTED] wrote: No, in all likelihood, version 2.0 of the war plugin did not have this

Re: assembly issue with an ear

2007-07-31 Thread nicolas de loof
Doesn't work in any way (assembly:*) when the assembly plugin is configured to run during package phase. The only way to make it work is to run mvn package assembly:* 2007/7/31, Eric Redmond [EMAIL PROTECTED]: Have you tried binding assembly:attached to the packaging phase? I don't know which

Re: Maven: cannot find symbol build error

2007-07-31 Thread Ian Dunlop
Hello, In the repository are junit 3.8.1, 3.8.2, 4.0 4.1. I believe it is 4.0 that is being used. Ian On 31 Jul 2007, at 15:04, Eric Redmond wrote: That's curious - makes me think a transative dep of junit is not found? Natrually skipping the test will work, since maven.test.skip also

Re: Assembly plugin includes directories

2007-07-31 Thread Eric Redmond
I don't remember includeBaseDirectory being a valid element under dependencytSet. Try removing it, and re-running the assembly by first running clean: mvn clean assembly:assembly -- Eric Redmond http://blog.propellors.net On 7/30/07, Petar Tahchiev [EMAIL PROTECTED] wrote: Andrew hi, and

Re: assembly issue with an ear

2007-07-31 Thread Eric Redmond
That's unfortunate... looks like you'll have to wait until 2.1 for a better solution :( -- Eric Redmond http://blog.propellors.net On 7/31/07, nicolas de loof [EMAIL PROTECTED] wrote: Doesn't work in any way (assembly:*) when the assembly plugin is configured to run during package phase.

Re: Maven: cannot find symbol build error

2007-07-31 Thread Eric Redmond
Are your tests actually using the 4.0 annotations, or the old reflection-based execution (methods prefixed w/ test*). If the latter, try using junit 3.8.2 - which has always worked for me on Mac. -- Eric Redmond http://blog.propellors.net On 7/31/07, Ian Dunlop [EMAIL PROTECTED] wrote: Hello,

Re: Maven: cannot find symbol build error

2007-07-31 Thread Wayne Fay
You might want to check the junit 4.0 jar itself to make sure there isn't some weird problem in the archive. I know some people have had weird problems when they were using a mis-configured mirror, resulting in some .jar and .pom files being HTML 404 error text rather than the proper content. So

Re: Passing System Variables to Maven

2007-07-31 Thread Steven Rowe
Hi David, I have used an antrun plugin execution to generate a timestamp properties file in the initialize phase, like this: properties ... generated-resources-dir target/generated-resources /generated-resources-dir ... /properties build ... plugins ... plugin

Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have a project structure such that an EAR is created containing a WAR, and an EJB JAR. Thus, each module has its own directory and its own pom. THe parent directory (say projectOverAll) has a pom with packaging = pom. Now, the project packages successfully - mvn clean install works fine.

RE: Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A \(US - Chicago\)
Sorry - wrong POMs were attached previously - here are the right ones, that generate the error From: Vaidya, Supriya A (US - Chicago) Sent: Tuesday, July 31, 2007 11:11 AM To: 'Maven Users List' Subject: Deploying EAR project to Weblogic Hi: I have a

Re: Bundling a WsrModule in my EAR

2007-07-31 Thread Marc Chung
Hi folks, I'm trying to include a WSR (Web Service aRchive; JBoss) in my EAR. Has anybody ever used the WsrModule documented over at the maven-ear-plugin? I don't know how to do a few things: 1. Reference a dependency to a WSR module dependency groupIdcom.company/groupId

Re: Deploying EAR project to Weblogic

2007-07-31 Thread Scott Ryan
Try running the deploy mojo from the ear directory. It is reading the project type to figure out what to deploy and it is confused since your pom.xml seems to have project type of pom rather than ear. You can also set the parameters manually and it will not try to guess but it will need

[m2] Correct use of ejb/ejb3 dependency type and ejbModule/ejb3Module plugin configuration in ear project?

2007-07-31 Thread Roy Brokvam
I've spent some time trying to understand how to assemble EJB3s into EAR applications, reading the (very scarce...) plugin documentation and searching in the mailing archive, but I still don't get it. My understanding is that the first EAR POM should work, but it doesn't (I've stripped it to the

RE: Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A (US - Chicago)
Hi: But if I do try running the command from the EAR directory, then all the dependencies would have to be transferred to the EAR POM.xml... which would be rather inconvenient From: Scott Ryan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 12:57

getting version number from subversion and adding to pom property

2007-07-31 Thread mattcoarr
Hi, Is there any way that I can extract the version of my working copy from subversion (or the scm plug-in) and save this in a system property? I would like to take this and stick this in a properties file so that it can be displayed on a Help - About page. Thanks, Matt -- View this message

Re: Assembly plugin includes directories

2007-07-31 Thread Petar Tahchiev
Eric hi, thank you for your suggestions, but unfortunatelly it didn't help. I want to clarify that I am calling the plugin from my pom.xml on the install phase: build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: jetty plugin from Mavenide

2007-07-31 Thread Milos Kleint
http://jira.codehaus.org/browse/MEVENIDE Milos On 7/31/07, John Coleman [EMAIL PROTECTED] wrote: NetBeans 5.5 Mavenide 2.3 Where do I file a bug pls? Thanks, John -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: 31 July 2007 14:28 To: Maven Users List

getting version number from subversion and adding to pom property

2007-07-31 Thread Coarr, Matt
Hi, Is there any way that I can extract the version of my working copy from subversion (or the scm plug-in) and save this in a system property? I would like to take this and stick this in a properties file so that it can be displayed on a Help - About page. Thanks for your help, Matt PS

Re: Bundling a WsrModule in my EAR

2007-07-31 Thread Stephane Nicoll
Hey, wsrModule or any module configuration is *ONLY* necessary if you want to customize the way the artifact is bundled in the EAR. If you're happy with the defaults, you don't need any special configuration at all (except the dependencies). How is it doing with only the WSR dependency in your

Re: [m2] Correct use of ejb/ejb3 dependency type and ejbModule/ejb3Module plugin configuration in ear project?

2007-07-31 Thread Stephane Nicoll
ejb3 module was deprecated a long time ago. You should use the ejb plugin and configure it to use the ejb3 version with an ejb packaging. Then you should use the ejb type in your dependencies and the ejbModule in your custom EAR configuration. HTH, Stéphane On 7/31/07, Roy Brokvam [EMAIL

setting default location of settings.xml

2007-07-31 Thread Baz
Hi, Is there a way to setup default location of settings.xml? I understand the default location is M2 repo. I am trying to have settings.xml stored in Perforce and add an environment variable to point to a directory so developers can have a consistent settings.xml file. Suggestion? Thanks. A.

RE: Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A (US - Chicago)
Does this latter error have anything to do withteh fact that I am using JDK 1.6 Update 2? From: Vaidya, Supriya A (US - Chicago) Sent: Tuesday, July 31, 2007 1:19 PM To: 'Scott Ryan' Subject: RE: Deploying EAR project to Weblogic Hi Scott: I have 4

Re: setting default location of settings.xml

2007-07-31 Thread Wayne Fay
Looks like you want to use mvn -s your location here. C:\cvs_root\xsltc-maven-pluginmvn -h usage: mvn [options] [goal(s)] [phase(s)] Options: -s,--settings Alternate path for the user settings file To make this work consistently, you could probably edit the mvn.bat file itself

Re: setting default location of settings.xml

2007-07-31 Thread Baz
Wayne, Thanks for your reply. I forgot to say that I also checked the -s flag. So, there is no environment variable to indicate the path or exact_path/file_name right? It is possible to edit mvn.bat but i want to make sure it is possible for developers to use their personal copy also. I am sure

RE: setting default location of settings.xml

2007-07-31 Thread Lacoste, Dana
We checked into our project home a settings.xml.sample so that users could customize their own environment. But if you added the -s flag to your maven command in cruise control you could force it to use the checked in/perforce version at build time (then just get the developers to use the shared

RE: getting version number from subversion and adding to pom property

2007-07-31 Thread Lalor, Brian
-Original Message- From: Coarr, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 3:05 PM Is there any way that I can extract the version of my working copy from subversion (or the scm plug-in) and save this in a system property? I would like to take this and stick

Re: setting default location of settings.xml

2007-07-31 Thread Baz
Dana, Wayne, What about this? 1. Change mvn.bat to do -s $MVN_SETTING_FILE. 2. Define MVN_SETTING_FILE in the shell environment. 3. Point the MVN_SETTING_FILE to the default workspace location where your SCM tool will update the latest settings.xml (or any name in this case) This way, you can

Question about ordering of dependencies

2007-07-31 Thread Ryan Moquin
I'm a little puzzled since I thought I understood a simple thing about how Maven2 adds dependencies to the classpath. If I have a dependency that is a compile dependency and one that is a test dependency, won't the test dependency be included in the classpath first in the test phase? The reason

RE: getting version number from subversion and adding to pom property

2007-07-31 Thread Coarr, Matt
Good idea. I thought about that too. But that version number would only get updated whenever that properties file gets updated, not whenever a commit is made to the subversion module. Matt -Original Message- From: Lalor, Brian [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007

Re: Bundling a WsrModule in my EAR

2007-07-31 Thread Marc Chung
Stephane, Thanks for the reply, I didn't know that the defaults were smart enough.. I'll be able to erase half the pom.xml file :) But I'm still unsure of a few things: 1. What does the pom.xml for a WSR project look like? There is neither a WSR packaging type nor a plugin, that I have found,

Re: setting default location of settings.xml

2007-07-31 Thread Wayne Fay
Sounds reasonable to me, and should be easy enough to test that it works etc before committing everyone to it, only to discover a problem, etc. Wayne On 7/31/07, Baz [EMAIL PROTECTED] wrote: Dana, Wayne, What about this? 1. Change mvn.bat to do -s $MVN_SETTING_FILE. 2. Define

Re: getting version number from subversion and adding to pom property

2007-07-31 Thread Arnaud HERITIER
This is certainly what you are looking for : http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html Arnaud On 31/07/07, Coarr, Matt [EMAIL PROTECTED] wrote: Good idea. I thought about that too. But that version number would only get updated whenever that properties file

linux maven ant weblogic combination

2007-07-31 Thread Pawel Jasinski
Hi all, I got a very strange situation. I can observe intermittent problem which is triggered by the following combination: linux system (open suse, or ubuntu) maven driven build (2.0.5 or 2.0.7) ant (1.6.5 or 1.7.0) used to call weblogic tasks jwsc ant task of weblogic 9.2.1 When used in the

Re: First build errors

2007-07-31 Thread Jesse McConnell
olivier, do you get these errors as well? are emm and I the only ones that don't have this behavior exhibited? jesse On 7/31/07, LAMY Olivier [EMAIL PROTECTED] wrote: Yes. http://jira.codehaus.org/browse/CONTINUUM-1356 ;-) -- Olivier -Message d'origine- De : Christian Gruber

RE: getting version number from subversion and adding to pom property

2007-07-31 Thread Coarr, Matt
Awesome! Thanks Arnaud! That sounds exactly like what I was looking for! I'll give buildnumber-plugin a whirl and let you know how it works. Matt -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 17:22 To: Maven Users List Subject: Re:

Re: getting version number from subversion and adding to pom property

2007-07-31 Thread Arnaud HERITIER
I used it with success but with an incremental build number (the project wasn't using SVN). If it works for you I'll try to use it with my projects under SVN thx arnaud On 31/07/07, Coarr, Matt [EMAIL PROTECTED] wrote: Awesome! Thanks Arnaud! That sounds exactly like what I was looking for!

creating a branch from a tag with release:branch

2007-07-31 Thread shea
Hello, I am trying to create a branch based on a release tag. The branch would be used for maintenance purposes. (I am using an svn scm provider with the standard layout) The release plugin doco doesn't indicate where I should be running the release:branch goal from... If I run it from the

Re: creating a branch from a tag with release:branch

2007-07-31 Thread Emmanuel Venisse
It's a problem I fixed one week ago. It is actually in the new snapshot of the release plugin deployed Emmanuel shea a écrit : Hello, I am trying to create a branch based on a release tag. The branch would be used for maintenance purposes. (I am using an svn scm provider with the standard

[m2] possible to have just a module archetype?

2007-07-31 Thread Mick Knutson
I have a large project that has many modules. I want to explore creating an archetype for developers to add a module to the existing project. Is this possible? -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson

Julia Vilke/Moscow/Canon/FI is out of the office.

2007-07-31 Thread Julia . Vilke
I will be out of the office starting 16.05.2007 and will not return until 08.01.2008. I'm on maternity leave till January 2008. In case of Canon Consumable business, please contact Mikhail Popov, in case of Paper business - Maria Bondarenko.

Re: JAXP DocumentBuilderFactory not found by maven-antrun-plugin initiated Ant

2007-07-31 Thread Developer Abe
Hi Sahoo, I had a similar problem. There are the dependecies that I had to provide to get rid of those exceptions: dependency groupIdxerces/groupId artifactIdxercesImpl/artifactId version2.8.0/version /dependency dependency

Re: [m2] possible to have just a module archetype?

2007-07-31 Thread Wendy Smoak
On 7/31/07, Mick Knutson [EMAIL PROTECTED] wrote: I have a large project that has many modules. I want to explore creating an archetype for developers to add a module to the existing project. Is this possible? IME, you just do the usual 'mvn archetype:create' in the right place, and it will

Where are instructions for eclipse plugin?

2007-07-31 Thread siegfried
I did a google search and found http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/ but it appears to be very old because it says maven instead of m2 for the command. Is there an eclipse plug-in that implements a GUI that will allow me to browse the repository and drag and drop dependencies

Re: linux maven ant weblogic combination

2007-07-31 Thread Wayne Fay
What specifically do you mean by non-deterministic? Simply saying not always correct is not sufficient -- we need details about what you expect to occur vs what did occur, etc. Wayne On 7/31/07, Pawel Jasinski [EMAIL PROTECTED] wrote: Hi all, I got a very strange situation. I can observe

Re: Where are instructions for eclipse plugin?

2007-07-31 Thread Wayne Fay
That is a Maven1 plugin. You are probably looking for: http://m2eclipse.codehaus.org/ Wayne On 7/31/07, siegfried [EMAIL PROTECTED] wrote: I did a google search and found http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/ but it appears to be very old because it says maven instead of

RE: Where are instructions for eclipse plugin?

2007-07-31 Thread siegfried
I'm trying to download the dependencies given at http://www.mojavelinux.com/blog/archives/2007/05/putting_entities_to_rest_wi th_groovy_hibernate_and_jpa/ Using maven. Using the http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html I got the first two dependencies (antlr-2.7.6.jar and

Re: Where are instructions for eclipse plugin?

2007-07-31 Thread Wayne Fay
I don't use m2eclipse personally so I'm probably the wrong one to answer your question... Having said that, did you try just typing in commons and seeing what it came back with? Wayne On 7/31/07, siegfried [EMAIL PROTECTED] wrote: I'm trying to download the dependencies given at

[m1] Anyone have JDiff working with Perforce?

2007-07-31 Thread Jeff Jensen
Not successful yet with my initial setup (not much to it!), and the error message doesn't reveal much other than it happens on the scm:checkout: jdiff: [mkdir] Created dir: C:\devroot\perforce\VANTAG~1\main\target\jdiff\vantage_3.0.15 [echo] *** WARNING: Error ignored:

RE: Where are instructions for eclipse plugin?

2007-07-31 Thread siegfried
Oh -- sorry! I did not make myself clear. Yes, I did exactly that: I typed commons. Nothing happened (except for the error below). I tried cglib which had previously worked and that did not work again either. Neither did antl. Hmmm... I just restarted eclipse and the problem is fixed -- sort of.

Re: Where are instructions for eclipse plugin?

2007-07-31 Thread Wayne Fay
I know of at least 2 free e-books available which cover Maven2: http://www.devzuz.com http://www.sonatype.com The default repository for M2 is http://repo1.maven.org/maven2 Wayne On 8/1/07, siegfried [EMAIL PROTECTED] wrote: Oh -- sorry! I did not make myself clear. Yes, I did exactly that: I

Re: Very odd central maven repo problem

2007-07-31 Thread Milos Kleint
AFAIK that's intentional. To avoid people downloading the whole repo through wget. rsynch is the preferred method I think. Milos Paul Smith wrote: This has happened before, and then appeared to magically resolve itself, but it's quite sticky at the moment. It seems to stem from this

  1   2   >