Re: how to start

2010-11-05 Thread Nayan Hajratwala
Right on with Justin's comment. Also, I'd suggest starting with the simplest possible POM and slowly add things to it as you discover a need for them. Don't try to create a tomcat/hibernate/git/xslt/struts pom right out of the gate. On Nov 5, 2010, at 8:57 AM, Justin Edelson wrote: I'm not

Re: how to start

2010-11-05 Thread Nayan Hajratwala
On Nov 5, 2010, at 9:47 AM, tom.m2h. wrote: Thanks for your help. All right, it is a fantastic idea that u can add what u need. if I want to start with git, web container and db. So do I have to set maven in any special way or any maven-archetype to save time? Personally, I don't tend to

Re: Running test takes too long

2010-11-05 Thread Nayan Hajratwala
On Nov 5, 2010, at 1:50 PM, Pradnya Gawade wrote: Hi, I am new to running the test cases through maven. I am trying to run the junit test cases trough maven. Even if I run the tests just from one class having 2-3 tests it takes more then 15 minutes. Because I am trying the debug the test

naming now that Maven 3 is out..

2010-10-13 Thread Nayan Hajratwala
Kind of a random thought -- now that Maven 3 is out, are all those M2 based names going to be changed to M3, or more preferably a non-version specific name? i.e. M2_HOME, m2eclipse, etc.? --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032

Re: Maven 3.0 has landed!

2010-10-08 Thread Nayan Hajratwala
The ZIP appears to be working fine, but the tar.gz is only downloading a 12.3K file --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 On Oct 8, 2010, at 8:06 AM, Jason van Zyl wrote: The day has finally come, Maven 3.0 is here: http

Re: maven 3.0

2010-10-08 Thread Nayan Hajratwala
I have this rule set up running under 3.0 and it works fine: rules requireJavaVersion version1.6/version /requireJavaVersion ... /rules What's the tag for the rule that is failing for you? --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw

Re: maven 3.0

2010-10-08 Thread Nayan Hajratwala
/java.version /properties rules requireJavaVersion version[${java.version},)/version messageJava version: ${java.version} is required/message /requireJavaVersion /rules -Original Message- From: Nayan Hajratwala [mailto:na...@chikli.com] Sent: Friday, October 08, 2010

Re: Problems with Scala unit testing

2010-09-27 Thread Nayan Hajratwala
/artifactId version2.1/version /plugin /plugins You probably don't need anything in the reporting section. /reporting /project --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032

Re: release - modify SCM information

2010-09-22 Thread Nayan Hajratwala
: svn_root/tags/R1/project_1 svn_root/tags/R2/project_1 Do I have it right, and if so, is it possible for you to switch it around? Many tools (maven included) assume this layout. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032

Re: why I do not see the parent pom file in Nexus?

2010-09-21 Thread Nayan Hajratwala
, I cannot see it in Nexus, why? How can i find it? Thank you. A. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Dependancy failure when building ear file

2010-09-20 Thread Nayan Hajratwala
, not 1.0.. Can you post your whole pom? It would probably make it much quicker to detect the problem. An easy place to share stuff like this is: http://gist.github.com/ --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 On Sep 20, 2010, at 1:03 PM, Jon Paynter

Re: Dependancy failure when building ear file

2010-09-20 Thread Nayan Hajratwala
works okay. And again -- if theres a better way to accomplish what im trying to do, let me know. Im very new to maven. Thanks, Jon. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032

Re: Maven dependency library versioning issue

2010-09-17 Thread Nayan Hajratwala
line. So I wanted to confirm if I am using it in a right way or not. Please take a look at my pom.xml syntax in my last post and let me know if I am wrong. Your syntax looks fine, which is why i'm suggesting other ideas. Good luck! --- Nayan Hajratwala http://agileshrugged.com http

Re: How can i test release plugin locally?

2010-09-16 Thread Nayan Hajratwala
in local source tree? Have you tried the -DdryRun=true option? http://maven.apache.org/plugins/maven-release-plugin/usage.html --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe

Re: Buildmanagement-Strategy

2010-09-16 Thread Nayan Hajratwala
really like, that we don't have a release-branch containing the full production-code - instead we would release a mixture of different release-branches. This would all be resolved by using the proper maven strategy. Hope this makes sense. Good luck! --- Nayan Hajratwala http

Re: Buildmanagement-Strategy

2010-09-16 Thread Nayan Hajratwala
On Sep 16, 2010, at 12:31 PM, Stefan Schulze wrote: Sadly it's not simply done by the proper maven strategy - it has to correlate to the SCM and some internal processes. :( Ahh -- the infamous internal processes. Perhaps you might find some help with that part of it over on the Scrum

Re: Maven dependency library versioning issue

2010-09-16 Thread Nayan Hajratwala
you might be getting POI from somewhere else. Check your dependency tree by running mvn dependency:tree. This will show you what transitive dependency POI is coming from. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 On Sep 16, 2010, at 3:06 PM, Pradnya

Re: Maven Release Plugin

2010-09-16 Thread Nayan Hajratwala
-hibernate3/artifactId /dependency --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: Is there a plugin to automatically increment pom version ?

2010-09-08 Thread Nayan Hajratwala
--- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: copy list of jars into a war

2010-08-30 Thread Nayan Hajratwala
likely help you make it more maven-ish. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: Integration tests vs. unit tests

2010-08-27 Thread Nayan Hajratwala
On Aug 27, 2010, at 6:34 AM, Thomas Sundberg wrote: Assume that we are dealing with a multi module build, how would you organize the modules? Would you consider adding a separate 'integration-test' tree next to main and test? I set it up like so: parent module |-- domain

3.0-alpha-7 regression? w/ JBehave 2.5

2010-03-17 Thread Nayan Hajratwala
to log this in case anyone is seeing something similar. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands

Re: Automated Build and Check In

2009-11-11 Thread Nayan Hajratwala
Sounds like you could benefit from a Continuous Integration Server ... Try https://hudson.dev.java.net/ -- very easy to set up. You could configure it to check in the generated artifact via a post-build command (setup via hudson), but you might want to consider just publishing your generated

Re: Automated Build and Check In

2009-11-11 Thread Nayan Hajratwala
- From: Nayan Hajratwala [mailto:na...@chikli.com] Sent: Wed 11/11/2009 10:49 AM To: Maven Users List Subject: Re: Automated Build and Check In Sounds like you could benefit from a Continuous Integration Server ... Try https://hudson.dev.java.net/ -- very easy to set up. You could configure

Re: Building Multiple Eclipse with Maven

2009-09-27 Thread Nayan Hajratwala
directory... is there some sort of project specific reason for this? --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 On Sep 25, 2009, at 6:41 PM, Piyush Gupta wrote: I have configured Multiple project in my eclipse workspace and each project has its own

Re: Building Multiple Eclipse with Maven

2009-09-27 Thread Nayan Hajratwala
On Sep 27, 2009, at 11:26 AM, Jason van Zyl wrote: On 2009-09-27, at 6:59 AM, Nayan Hajratwala wrote: if you're using the m2eclipse plugin, building project b will force a build of project a... but all the jar files will be installed into and resolved from your local maven repository

Re: Installing Multiple JARs to Maven repository

2009-07-20 Thread Nayan Hajratwala
I don't think you don't want them all in the same group. Once you define the dependency on org.springframework:spring-webmvc: 2.5.6 in your project's POM, all the transitive dependencies will get downloaded and placed in the appropriate location in your local repository. On Jul 20, 2009,

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-16 Thread Nayan Hajratwala
sorry you're having so much trouble, robert -- i just tested 2.2.0-RC3, and it worked fine for me. Good luck on IRC! On Tue, 16 Jun 2009 11:50:29 -0700 (PDT), Robert Glover robertglove...@yahoo.com wrote: Ok, I located a DSL line that does not go through the proxy. Tomorrow I'll bring in my

Re: Spring unit test cfg file

2009-06-03 Thread Nayan Hajratwala
If you install the m2eclipse plugin, it will (among other cool things) automatically update your .classpath file to use the src/test/resources directory. On Wed, 3 Jun 2009 09:26:13 -0500, Herbert Wu herber...@gmail.com wrote: Great, it worked. I can easily adjust Eclipse IDE to look for

Re: Spring unit test cfg file

2009-06-03 Thread Nayan Hajratwala
: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.0.v3448f]. I use http://m2eclipse.sonatype.org/update/ and is this the correct url? Thanks, -Herbert On Wed, Jun 3, 2009 at 11:41 AM, Nayan Hajratwala na

Re: Version Control Maven Dependencies

2009-06-01 Thread Nayan Hajratwala
I'd strongly suggest revisiting the internal proxy. In the time it takes you to come up with a solution to store your artifacts in a VCS, you could have set up Nexus and left early for the day :-) It's really simple, and once up, requires very little maintenance effort.

Re: Version Control Maven Dependencies

2009-06-01 Thread Nayan Hajratwala
If your org is set on not using a repo manager, then I'm not sure that a VCS is the way to go anyway. Since maven doesn't overwrite it's artifacts with a new revision, but rather keeps distinct copies of each deployed artifact (excepting SNAPSHOTS) -- I think a simple filesystem layout

Re: War Overlays and Conflicting Jars

2009-05-12 Thread Nayan Hajratwala
versions in different modules. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 On May 11, 2009, at 3:55 PM, Harper, Brad wrote: Is there a way to detect when the dependencies of two war artifacts are inconsistent with respect to packaged jar versions

Re: setup maven2 with icefaces

2009-05-08 Thread Nayan Hajratwala
Contact me off list -- I recently completed two projects using IceFaces and Maven. I can share the config files with you, but would prefer not to post them to the list as they need to be stripped of proprietary info. Thanks! -- Nayan Hajratwala http://agileshrugged.com http://twitter.com

Re: setup maven2 with icefaces

2009-05-08 Thread Nayan Hajratwala
After looking at the files, it turned out to be pretty simple to sanitize them, so here you go. Hope it helps:pom.xml.generic is the WAR project, and pom.xml.generic-parent is from the parent moduleunder WEB-INF/faces-config.xmlweb.xml?xml version=1.0 encoding=UTF-8? faces-config

Re: Dependency management management

2009-04-21 Thread Nayan Hajratwala
...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Nayan Hajratwala http

Re: Using a 'main' resource from a test

2009-04-21 Thread Nayan Hajratwala
By default, classes under src/test/java should have access to: all classes under src/main/java src/test/java all resources under src/main/resources src/test/resources There must be something else wrong. Can you post your pom? On Tue, 21 Apr 2009 11:08:43 -0700, Ross E Bundy

project structure recommendation: multiple wars with shared web content

2009-04-17 Thread Nayan Hajratwala
web content in each war file... Thanks! --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: project structure recommendation: multiple wars with shared web content

2009-04-17 Thread Nayan Hajratwala
Cool -- I've never seen that before :-) - Looks like it will do the trick. On Apr 17, 2009, at 11:44 AM, Wayne Fay wrote: I have a project that consists of 1 War module and a bunch of supporting modules. War overlays