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 t

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

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 s

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/n

Re: maven 3.0

2010-10-08 Thread Nayan Hajratwala
t; > 1.6.0_20 > > > > > [${java.version},) > Java version: ${java.version} is required > > > > -Original Message- > From: Nayan Hajratwala [mailto:na...@chikli.com] > Sent: Friday, October 08, 2010 3:29 PM > To: Maven Users List > Subject:

Re: maven 3.0

2010-10-08 Thread Nayan Hajratwala
I have this rule set up running under 3.0 and it works fine: 1.6 ... What's the tag for the rule that is failing for you? --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 On Oct 8, 2010, at 6:00 PM, Jason Chaffee

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: >

Re: Problems with Scala unit testing

2010-09-27 Thread Nayan Hajratwala
org.apache.maven.plugins >maven-surefire-plugin >2.6 > > >**/*Test.* >**/*Suite.* > > > > > > > > >org.scala-tools >maven-scala-pl

Re: release - modify SCM information

2010-09-22 Thread Nayan Hajratwala
_1 /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
wever, for some reason, 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: user

Re: Dependancy failure when building ear file

2010-09-20 Thread Nayan Hajratwala
ed puts all the files for a single OC4J > component into the proper directories, so that part 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.

Re: Dependancy failure when building ear file

2010-09-20 Thread Nayan Hajratwala
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: Maven dependency library versioning issue

2010-09-17 Thread Nayan Hajratwala
debug problems like this from the command 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! ---

Re: Maven Release Plugin

2010-09-16 Thread Nayan Hajratwala
t all the configuration from the parent: org.springframework spring-hibernate3 --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail

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,

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 Develop

Re: Buildmanagement-Strategy

2010-09-16 Thread Nayan Hajratwala
is built, which contains in parts of "fresh compiled" code and in > parts of artifacts out of the the Maven-repository. > At the detail, this is a quite complex approach. I don't really like, that we > don't have a release-branch containing the full production-code - ins

Re: How can i test release plugin locally?

2010-09-16 Thread Nayan Hajratwala
t; in perforce but only 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 --

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

2010-09-08 Thread Nayan Hajratwala
time :) > > any help be appreciated :) > > Prashant --- 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
uctured, we can 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,

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 cl

3.0-alpha-7 regression? w/ JBehave 2.5

2010-03-17 Thread Nayan Hajratwala
d some time to build a more isolated test case -- but just wanted to log this in case anyone is seeing something similar. --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe,

Re: Automated Build and Check In

2009-11-11 Thread Nayan Hajratwala
-Original Message- > 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.

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 WA

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 repos

Re: Building Multiple Eclipse with Maven

2009-09-27 Thread Nayan Hajratwala
arget 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 it

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, a

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 wrote: > Ok, I located a DSL line that does not go through the proxy. Tomorrow > I'll bring in my personal laptop to work

Re: Spring unit test cfg file

2009-06-03 Thread Nayan Hajratwala
t 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, J

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 wrote: > Great, it worked. I can easily adjust Eclipse IDE to look for > src/test/resources/ to

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 corr

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. http://nexus.sonat

Re: War Overlays and Conflicting Jars

2009-05-12 Thread Nayan Hajratwala
ifferent 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 ver

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.xml  web.xml http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://ww

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: 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 wrote: > I'

Re: Dependency management management

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

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 http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.ht

project structure recommendation: multiple wars with shared web content

2009-04-17 Thread Nayan Hajratwala
good way to package this? I'm not sure how to include the the shared web content in each war file... Thanks! --- Nayan Hajratwala http://agileshrugged.com http://twitter.com/nhajratw 734.658.6032 - To unsubscribe, e-mail: