Modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
during the maven-assembly-plugin execution during the build of the last module. Can any one please help me figure this one out? Thanks. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail

Re: maven-assembly-plugin causing modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
cause the maven-assembly-plugin to build my multi-module project again? Note that a few of the sub-modules of the root / parent pom are also dependencies of the module with the maven-assembly-plugin and used in dependencySets of the assembly.xml file. On 05/08/2012 09:21 AM, Farrukh Najmi

Re: Modules in multi-module project being build twice

2012-05-08 Thread Farrukh Najmi
, Anders Hammar wrote: You're using the wrong goal of the maven-assembly-plugin in that module. It should be the single goal. /Anders On Tue, May 8, 2012 at 3:21 PM, Farrukh Najmi farr...@wellfleetsoftware.com wrote: Hi Guys, I have a multi-module project to which I recently added a new module

maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-10-05 Thread Farrukh Najmi
. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

maven-surefire-plugin groups parameter not working with testng

2011-03-31 Thread Farrukh Najmi
: @org.testng.annotations.Test(groups = {prepareTests} ) public void testSomething() throws Exception { } Any suggestions what I am doing wrong? Is the problem that my test is a junit test? -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

How to rename files in maven-assembly-plugin

2011-03-11 Thread Farrukh Najmi
a bad rule but one that we have to live with for now. Is there some way that the maven-assembly-plugin can be told to rename certain artifacts in the assembly zip? I know I can do rename this via maven-antrun-plugin but is there a cleaner way? -- Regards, Farrukh Najmi Web: http

Re: How to rename files in maven-assembly-plugin

2011-03-11 Thread Farrukh Najmi
-assembly-plugin/assembly.html#class_file. It worked perfectly but for the verbosity of the assembly descriptor. On 03/11/2011 09:25 AM, Farrukh Najmi wrote: My maven project manages files for an open standard and uses the maven-assembly-plugin to produce a zip for all artifacts for a specific

How to skip integration tests

2009-06-04 Thread Farrukh Najmi
Hi Guys, I see that specifying -Dmaven.test.skip=true skips units tests vut does not skip integration tests. Is there a way to specify an option to skip integration tests? If not, is there an open issue to request a way to do this? Thanks for your help. -- Regards, Farrukh Web:

Using maven with eclipse

2009-01-15 Thread Farrukh Najmi
Hello, I am experienced with maven but new to Eclipse IDE. I have used maven with Netbeans IDE and the mevenide Netbeans plugin. WHat I liked about it was how Netbeans was completely driven by the pom configuration and how natural and familiar everything was for a maven user. I would like

Re: mvn install on a top level of multimodule project

2008-12-21 Thread Farrukh Najmi
Thanks for verifying that my expectations where correct. I have seen this problem in mvn 2.0.8. Make a standalone test case may be hard but I will try and do it if I can find the time. John Stoneham wrote: On Sat, Dec 20, 2008 at 4:57 PM, Farrukh Najmi farr...@wellfleetsoftware.com wrote

mvn install on a top level of multimodule project

2008-12-20 Thread Farrukh Najmi
the sub-modules. The problem is that some sub-modules depend upon other sub-modules and I have to manually run mvn install on thos modules first in order for my tope level mvn install to succeed. Is there a more elegant way to address my problem? Thanks for your help. -- Regards, Farrukh Najmi

Re: maven-surefire-plugin not excluding tests for test goal

2008-11-11 Thread Farrukh Najmi
, Farrukh Najmi [EMAIL PROTECTED] wrote: Dear colleagues, I have a test that was excluded in my maven-surefire-plugin configuration. When I run the test goal on my pom the excluded test still runs. Is this a known bug? How can I work around it? Thanks. -- View this message in context

maven-surefire-plugin not excluding tests for test goal

2008-11-07 Thread Farrukh Najmi
Dear colleagues, I have a test that was excluded in my maven-surefire-plugin configuration. When I run the test goal on my pom the excluded test still runs. Is this a known bug? How can I work around it? Thanks. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

How to turn on verbose option to ant in maven-antrun-plugin

2008-11-03 Thread Farrukh Najmi
Dear mavenites, I cant seem to figure out how to turn on verbose option to ant in maven-antrun-plugin. Surely this must be supported? TIA for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

How to cope with conflicting jar versions

2008-08-25 Thread Farrukh Najmi
dependencies which expect older versions of apis from spring and its dependencies. Is there a good way to deal with this dependency hell? If so I would appreciate any advice. Thanks. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

Re: How to cope with conflicting jar versions

2008-08-25 Thread Farrukh Najmi
also use the enforcer plugin to ensure this has been properly applied. Cheers, Brett 2008/8/26 Farrukh Najmi [EMAIL PROTECTED]: In my project there are many direct and indirect dependencies at the lowest level on springframework jars. One such dependency requires use of the most recent

Where to place design documents

2008-08-15 Thread Farrukh Najmi
input. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Base class for tests not being found by junit 4.4 via surefire plugin

2008-04-15 Thread Farrukh Najmi
) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e

Re: Base class for tests not being found by junit 4.4 via surefire plugin

2008-04-15 Thread Farrukh Najmi
it was a ClassNotFound issue. Farrukh Najmi wrote: This may be a junit questions rather than a maven question I have a project where I have under the src/test tree a class called server.common.ServerTestBase that serves as a base classfor other test classes. For some reason this class is not found

Can sub pom have different version than super pom

2008-04-04 Thread Farrukh Najmi
groupIdderived/groupId artifactIdderived/artifactId version1.0/version ... /project It appears that building above pom causes version 1.0 of base to be used instead of 2.0. What am I doing wrong? -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

Re: Can sub pom have different version than super pom

2008-04-04 Thread Farrukh Najmi
If this is not possible then whats is the best way to avoid duplication of conetnt between base.pom and extension.pom? Also please see a typo fix inline below... Farrukh Najmi wrote: Dear Colleagues, I have two separate projects base and extension. Each project is really a multi-project

Re: Can sub pom have different version than super pom

2008-04-04 Thread Farrukh Najmi
Najmi wrote: If this is not possible then whats is the best way to avoid duplication of conetnt between base.pom and extension.pom? Also please see a typo fix inline below... Farrukh Najmi wrote: Dear Colleagues, I have two separate projects base and extension. Each project is really

Managing plugin versions using dependencyManagement?

2008-04-03 Thread Farrukh Najmi
for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re-spinning a release via maven-release-plugin

2008-04-03 Thread Farrukh Najmi
this is a valid use case when a release was cut and perhaps even deployed but not announced and a bug is found during testing of the release. TIA for your guidance on how best to meet this use case. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

Re: Re-spinning a release via maven-release-plugin

2008-04-03 Thread Farrukh Najmi
Farrukh Najmi wrote: Dear colleagues, Does maven-release-plugin easily support the re-spinning of a release. Re-spinning means that one makes a bug fix and then creates a new release using the same release # as the previous release. Also, the previous releases tag is reused to tag the latest

Multiple executions of xslt-maven-plugin

2008-03-22 Thread Farrukh Najmi
... xslFileVALUE/xslFile /configuration. But I *have* specified xslFile and other tags within each of the configuration tags above. What am I doing wrong? TIA for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com

[Ann] Benefits of maven blog entry and wiki page

2008-02-15 Thread Farrukh Najmi
like to add more under Benefits for Developer Who Consumes Maven Project TIA for your help. -- Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: internationalization (i18n) of XML files during process-resources phase

2008-01-12 Thread Farrukh Najmi
, and what do you want as output), and perhaps someone will have specific suggestions that will be helpful. Wayne On 1/5/08, Farrukh Najmi [EMAIL PROTECTED] wrote: Can any one guide me as to best practice for doing internationalization (i18n) of XML files using standard java properties files

internationalization (i18n) of XML files during process-resources phase

2008-01-05 Thread Farrukh Najmi
Can any one guide me as to best practice for doing internationalization (i18n) of XML files using standard java properties files in a maven2 project. TIA. -- Regards, Farrukh Najmi - To unsubscribe, e-mail: [EMAIL

webstart-maven-plugin: jnlp configuration element missing.

2007-12-18 Thread Farrukh Najmi
/configuration /plugin TIA for your help. - - Regards, Farrukh Najmi Web: http://www.wellfleetsoftware.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Looking for macro like capability in maven

2007-11-03 Thread Farrukh Najmi
I have a situation where I need many instances of the same plugin within my pom. Each instance would typically require quite a long configuration. However, all such plugin instances are basically very similar with a few minor differences. Is it somehow possible to minimize the content of the

Re: Looking for macro like capability in maven

2007-11-03 Thread Farrukh Najmi
about what you're trying to do, what plugin(s) you're using, and why you're doing this. There may be a smarter, more Maven-ish way to do it. Wayne On 11/3/07, Farrukh Najmi [EMAIL PROTECTED] wrote: I have a situation where I need many instances of the same plugin within my pom. Each instance would

Multi-module project site has incorrect URLs for sub-module links

2007-10-17 Thread Farrukh Najmi
I have a multi-module project. The parent root module is called root while the sub-module is called sub. The pom.xml for root defines sub-modules as follows (pom composition): modules modulesub/module /modules It is also used as a parent pom by pom.xml for sub: parent

Re: How can I determine which dependencies are essential?

2007-10-17 Thread Farrukh Najmi
James Adams wrote: I have a few dependencies in my pom.xml which pull in many transitive dependencies, and this results in a huge war artifact. I want to pare down the dependencies using exclusions in order that the resulting war will contain only the jars that it really needs, but my problem

How to access archetype project pom version in prototype pom

2007-09-09 Thread Farrukh Najmi
I have created an archetype using instructions here: http://maven.apache.org/guides/mini/guide-creating-archetypes.html As instructed, the main project defines the prototype pom.xml. However, I need the prototype pom.xml to somehow have access to the main project pom's version as it needs to

How to specify remote repository on mvn command line

2007-09-07 Thread Farrukh Najmi
Is there a way to specify to mvn command line to pickup additional remote repositories? I tried the -DremoteRepositories property that works with maven-archetype-plugin but it did not work. If this is not supported, IMHO this would be a very good thing to add to a future version. Thanks

Re: NoClassDefFoundError: org/apache/log4j/Category

2007-09-05 Thread Farrukh Najmi
commons-logging 1.1 (if you are not already using that version) and to turn on diagnostics [1]. Commons-logging might be installed in the container and/or your webapp, so make sure you install 1.1 everywhere. [1] http://commons.apache.org/logging/troubleshooting.html Farrukh Najmi wrote

Re: deploy with uniqueVersion = false not working

2007-09-05 Thread Farrukh Najmi
usability issue that should merit a hi priority fix in a coming SNAPSHOT. Can someone from the maven-deploy-plugin dev team please share your insights on this. TIA. Maria Odea Ching wrote: Np :-) I don't think it's already fixed yet.. the issue is still open. -Deng Farrukh Najmi wrote: Maria

Re: NoClassDefFoundError: org/apache/log4j/Category

2007-09-04 Thread Farrukh Najmi
Farrukh Najmi wrote: 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

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

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

Best practices for providing installation and deployment for a maven war project

2007-08-30 Thread Farrukh Najmi
I have a maven project called foo-server which produces a war. I am looking for guidance on best practices for the following questions: * What is the best practice for distributing a packaged release of the foo-server project such that it is really simple for any deployment to

Re: Confused about servlet-api.jar

2007-08-30 Thread Farrukh Najmi
Joshua ChaitinPollak wrote: Hello, I'm still having trouble with getting embedded tomcat to compile my JSPs. What did you mean by embedded tomcat? Is this a tomcat instance provided by an IDE like Netbeans? Right now I'm trying to understand the difference between javax.servlet:servlet-api

The packaging for this project did not assign a file to the build artifact

2007-08-29 Thread Farrukh Najmi
Dear colleagues, I added distributionManagement to my project's pom.xml using scp and wagon-ssh-external. The project uses war packaging. When I run mvn deploy it successfully deploys my project's war file. However, when I run mvn deploy:deploy it gives the following: [DEBUG] Configuring

Junit testing of webapps in maven

2007-08-22 Thread Farrukh Najmi
I have recently started using maven-jetty6-plugin for my webapp project. A common problem is that the webapp needs to be deployed in order for the junit tests to work. At present I manually start jetty6 server using maven jetty6:run and then manually run the junit tests in a separate process.

How to avoid hardcoding parent pom version in child poms?

2007-08-20 Thread Farrukh Najmi
I have a fairly large multi-project maven 2 project. All my child projects specify parent poms version using something like: parent artifactIdmyid/artifactId groupIda.b.c/groupId versionparent-pom-version/version /parent Every time I change parent pom's version I

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
Maria Odea Ching wrote: Hi Farrukh, The version for the parent pom is required, so you can't remove that from the child poms. Usually, you only change the version of your project when you release it. The maven release plugin already updates all the versions of the parent and child poms (in

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
at it, and add it to your parent pom. Wayne On 8/20/07, Farrukh Najmi [EMAIL PROTECTED] wrote: Maria Odea Ching wrote: Hi Farrukh, The version for the parent pom is required, so you can't remove that from the child poms. Usually, you only change the version of your project when you

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
Wayne Fay wrote: You asked for the best practice -- the answer is dependencyManagement. I just don't see any reason to use versions defined in properties like this when you can easily use depMgmt. Sorry for asking the question incorrectly. I guess the question is: What is the best practive

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
Farrukh Najmi wrote: Sorry to ask a basic question on how best to set a property in top parent. If I set in in top parent's profiles.xml would it be inherited by child poms? Thanks again for your terrific help. According to: http://maven.apache.org/pom.html#Properties The way to specify

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
yourself) before implementing this version as property approach. I think you must be using depMgmt wrong. The mojo mvn help:effective-pom is a useful tool for exploring issues like this. Wayne On 8/20/07, Farrukh Najmi [EMAIL PROTECTED] wrote: Wayne Fay wrote: You asked for the best

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
Thank you Wayne! I had completely missed this subtle but important distinction between dependencies and dependencyManagement.. So I tried this out. It seems to work but not for dependencies that are plugin dependencies in child poms. In my parent pom I specified dependencyManagement

Re: How to globally set version of dependencies used commonly in child poms

2007-08-20 Thread Farrukh Najmi
Farrukh Najmi wrote: Thank you Wayne! I had completely missed this subtle but important distinction between dependencies and dependencyManagement.. So I tried this out. It seems to work but not for dependencies that are plugin dependencies in child poms. In my parent pom I specified

Re: where to get xmldsig-1.0.jar

2007-08-20 Thread Farrukh Najmi
Jacques Couzteau wrote: Hi, I'm trying to build an existing spring framework applictaion. It's trying to download xmldsig-1.0.jar from here http://download.java.net/maven/1//javax.xml.crypto/jars/xmldsig-1.0.jar and here

Re: where to get xmldsig-1.0.jar

2007-08-20 Thread Farrukh Najmi
Farrukh Najmi wrote: Jacques Couzteau wrote: Hi, I'm trying to build an existing spring framework applictaion. It's trying to download xmldsig-1.0.jar from here http://download.java.net/maven/1//javax.xml.crypto/jars/xmldsig-1.0.jar and here http://repo1.maven.org/maven2/javax/xml