packing jars in another jar

2008-03-26 Thread Sonar, Nishant
Hi I have multi module project. I need to make a distributable JAR in a way that should hold all the dependent jars, including the jars referred by dependent jars. Need help I am trying to pack dependent jars in another jars (don't want to use assembley plugin) Is it possible

how can i install maven-copy-plugin

2008-03-10 Thread Sonar, Nishant
Hi I was using this maven-copy-plugin which copies files from src to destination, I did downloaded from a site (http://quebbemann.kicks-ass.net/development/qu-base/maven-plugins/copy- maven-plugin) earlier but I can't find it now. All I have is the older downloaded jars and poms , but now I

RE: Can't get to work exec plugin

2008-01-23 Thread Sonar, Nishant
Hi You must add the dependency(jar) under dependencies for following classs javax/jms/MessageListener Regards, Nishant Sonar -Original Message- From: Daniele De Francesco [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 8:15 PM To: Maven Users List Subject: Can't get to

assembly plugin builds again

2007-12-16 Thread Sonar, Nishant
I am using assembly plugin to generate a jar/zip. Why is this plugin compiling again the stuffs it wants to pack in the assembly? I want to created zip containing some properties file and the jar created, but I cant understand why it recompiles retests again and again. Is there a way to stop

RE: gathe rlist of plugin in poms

2007-12-06 Thread Sonar, Nishant
for this. The following command will give you *lots* of information, but it will include the plugins that you have configured. mvn help:effective-pom Sonar, Nishant wrote: Hi I want to gather list of all plugins used in the poms , with there versions,groupid and artifact id

deploy jar with dependencies

2007-12-05 Thread Sonar, Nishant
Hi I need to build on a machine and deploy the jar on another machine. Now there are dependencies in my jar are to be supplied with this jar, as it is no the build machine the classpath. How should I create a single distributable comprising all the jars? Like Myjar.jar

multiple profiles sharing a sommon set of plugin execution

2007-12-03 Thread Sonar, Nishant
Hi I have a project where I want to read a properties file depending on the environment. I want to use profiles here. Now my build differed only in the properties file and the plugin , rest of the plugin execution remains same. This way I need to create two profiles with 2 build and the

jaxws plugin doesnt works on linux

2007-11-13 Thread Sonar, Nishant
Hi I am running jaxws-plugin (wsimport) when I run it on windows maching it works fine but the same pom when running on linux environment creates problems , while generating wsimport artifacts. I am using following as the jaxws-plugin in pom !-- generate ws client artifacts -- plugin

RE: jaxws plugin doesnt works on linux

2007-11-13 Thread Sonar, Nishant
I've found the solution now, it was issue with absolute path for linux environment for everything binding files, wsdl location etc Nishant -Original Message- From: Sonar, Nishant Sent: Tuesday, November 13, 2007 7:48 PM To: Maven Users List Subject: jaxws plugin doesnt works on linux

RE: jaxws plugin doesnt works on linux

2007-11-13 Thread Sonar, Nishant
I've found the solution now, it was issue with absolute path for linux environment for everything binding files, wsdl location etc Nishant -Original Message- From: Sonar, Nishant Sent: Tuesday, November 13, 2007 7:48 PM To: Maven Users List Subject: jaxws plugin doesnt works on linux

RE: compilation error when building jaxb using mvn2

2007-11-13 Thread Sonar, Nishant
Search for ajar which has this class SAXParseException2 and add it to plugin dependency. Rem full name com/sun/istack/SAXParseException2 Nishant Sonar, -Original Message- From: chandan choudhary [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 1:04 PM To:

driver not found for hibernate3-maven-plugin

2007-11-02 Thread Sonar, Nishant
Hi I have 2 child modules under 1 parent; one of them is using the mssqlserver driver and other the oracle driver. When I run the POMs for these which are using the hibernate3-maven-plugin, the one which executes later says that the driver is not found I've tried changing the sequence of

jars always added to ear

2007-10-31 Thread Sonar, Nishant
Hi I am building an ear from ear-plugin which composes of two moduels a.war and b.jar .i only want ti add these 2 modules to ear , but the followinf lisr of jars are always added. This is strange for me, I'[ve checked in my parent poms for this module and other , nowhere I am using these as

RE: copy jars to jboss lib

2007-10-29 Thread Sonar, Nishant
[EMAIL PROTECTED] wrote: Not positive, but dependency:unpack might be what you need. Wayne On 10/28/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Hi, I need to add some libraries (Jars) to jboss in {JBOSS_HOME}/server/default/lib, these libraries are in the hosted central server

use a dependency in system scope witout version

2007-10-29 Thread Sonar, Nishant
Hi Can I use a dependency with scope=system with no version number I want to use rt.jar which is inside C:\Java\jdk1.5.0_11\jre\lib . now this jar doesn't has a verion number How should I use ot dependency groupIdwhat to use here?/ artifactIdWhat to use

copy jars to jboss lib

2007-10-28 Thread Sonar, Nishant
Hi, I need to add some libraries (Jars) to jboss in {JBOSS_HOME}/server/default/lib, these libraries are in the hosted central server repository (proximity). What I need is to write a POM that can download these dependencies to a lib folder (without group directories) and then copy these to

profiles qustion

2007-10-14 Thread Sonar, Nishant
Hi We work with profiles in maven as Mvn -Pprofile1,profile2 On pom profiles profile idprofile1/id build plugin ... /plugin /build profile profile idprofile2/id build plugin ... /plugin /build profile /profiles In this

package file in ear throug ear-plugin

2007-10-10 Thread Sonar, Nishant
Hi I want to add a file 'aop.xml' to ear in the META-INF folder, is it possible through Maven-ear-plugin? xxx.ear | |---META-INF | |application.xml |---aop.xml (want toad this file here) |---abc.war |---pqr.war

RE: package file in ear throug ear-plugin

2007-10-10 Thread Sonar, Nishant
As seen in the documentation: http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html The configuration you are looking for is earSourceDirectory which defaults to ${basedir}/src/main/application. Try putting your file there. Wayne On 10/10/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Hi

RE: Load a property file in a pom.xml

2007-10-04 Thread Sonar, Nishant
You can use a maven-properties-plugin developed by Zarar Sidddiqui , this way u can have a properties file , and all name=value pairs available to the build from the global prop file. http://arsenalist.com/2007/02/07/maven-properties-plugin-download/ Thanks Nishant Sonar -Original

adding with current classpath a resource?

2007-10-04 Thread Sonar, Nishant
Hello, I want to add a reference (folder) for the current classpath Ie .i wanna set something as Classpath=classpath;some/folder/ref Through sirefireplugin I am not getting what to write for existing 'classpath' I wrote as plugin

RE: selective modules build

2007-10-04 Thread Sonar, Nishant
build Put each module in a profile and then you could do mvn -P1,2 or -P3. If you put all of them in a profile with activeByDefault then this one will go if nothing else is active but is deactivated if something else is. -Original Message- From: Sonar, Nishant [mailto:[EMAIL PROTECTED

RE: maven-surefire-plugin

2007-10-04 Thread Sonar, Nishant
I came across your mail for providing the classpath argument in surefire plugin. I am coming across the same need , for adding a dependency in classpath plus the existing classpath. Did you come across the workaround , found some maven property to refer to current classpath? If yes please share.

RE: The build classpath

2007-10-04 Thread Sonar, Nishant
Hi Yan Did you get any solution to this one, got any hold on the property? Please share. -Nishant -Original Message- From: Yan Huang [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 12:28 PM To: Maven Users List Subject: The build classpath Hello, Is there a maven property

RE: an issue with maven clean plug-in

2007-10-04 Thread Sonar, Nishant
Hi You can try different workaround of specifying the excludes first and then includes. I never tried it but you can give it a shot... Like plugin artifactIdmaven-clean-plugin/artifactId configuration filesets fileset directorysrc/directory

classes not refering to test resources internally?

2007-10-03 Thread Sonar, Nishant
Hi I have some XML files as test resources to work on. I have the classes use these resources as String SOAP_REQUEST_SAML2_UNSIGNED_NO_ROLES = xml/SoapRequestSaml2Unsigned-NoRoles.xml; String SOAP_REQUEST_SAML2_ENVELOPED_DIGITAL_SIGNATURE_NO_ROLES =

classes not refering to test resources internally?

2007-10-03 Thread Sonar, Nishant
Hi I have some XML files as test resources to work on. I have the classes use these resources as String SOAP_REQUEST_SAML2_UNSIGNED_NO_ROLES = xml/SoapRequestSaml2Unsigned-NoRoles.xml; String SOAP_REQUEST_SAML2_ENVELOPED_DIGITAL_SIGNATURE_NO_ROLES =

didnt get this phenomena with symlinks

2007-10-02 Thread Sonar, Nishant
Hello I have a dir structure as LoginModules |---LMCore |---LMHttp |---LMWebTest |---supportfiles what I want to do is 1 . In the parent pom (LoginModules), I am copying something from a 'suppportfiles' in To target/generated-resources/deployable/server/default/. 2. For the

custom jar contents?

2007-10-01 Thread Sonar, Nishant
Hi I have a structure as MyAppModule Src Main Java Com Myapp Bankapplication Some classes Utilities FormulaCalc someclasses DateCalc

how to refer set of properties for maven?

2007-09-28 Thread Sonar, Nishant
Maven has got some properties (inherent) like project.build.outputDirectory where can I find the rest of the properties? - Nishant

sending a file to remote place through ftp

2007-09-27 Thread Sonar, Nishant
Hi Users, I need to copy a file to a remote server through ftp://server/place , is there a plugin that picks the specific file and ftpes to the destination, The distribution management way is not what I want I don't want the artifacts to be hosted to a remote repository , I want to send a file

RE: selective modules build

2007-09-25 Thread Sonar, Nishant
-profilesComma-delimited list of profiles to activate -Tim Sonar, Nishant schrieb: Hi, I want to run a selective modules when I am building, my pom hierarchy is like * Super- parent * Parent1 * Ch1

plugin for XML properties file read?

2007-09-25 Thread Sonar, Nishant
Hi Does anyone knows an XML Properties file plugin , like we had XML property file in ANT property name='foo' value='bar' property name='foo'1 value='bar1' property name='foo2' value='bar2' I catch up with properties plugin from Zarar Siddiqui but it doesn't solve my problem

RE: Copying files after a build

2007-09-25 Thread Sonar, Nishant
You can use copy plugin plugin groupIdde.qu.maven.maven-plugins/groupId artifactIdcopy-maven-plugin/artifactId version1.0.3/version executions execution

RE: selective modules build

2007-09-25 Thread Sonar, Nishant
That is the only available option at this time. Wayne On 9/25/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Thanks tim, But for this I need to add profiles /profiles for all kind of combinations for modules. e.g. profile profile id1n2/id modules

selective modules build

2007-09-24 Thread Sonar, Nishant
Hi, I want to run a selective modules when I am building, my pom hierarchy is like * Super- parent * Parent1 * Ch1 * Ch2 * Parent 2 * Ch1 * Ch2 *

how NOT to include any lib (dependencies) in the WAR ?

2007-09-18 Thread Sonar, Nishant
Whenever I create a WAR , it creates a WEB-INF/lib inside the war and adds all the dependencies in the WAR . What can I do NOT to include any lib (dependencies) in the WAR , and exclude the lib folder to be in war, here's my POM project xmlns=http://maven.apache.org/POM/4.0.0;

RE: how NOT to include any lib (dependencies) in the WAR ?

2007-09-18 Thread Sonar, Nishant
NOT to include any lib (dependencies) in the WAR ? Hi, try to configure SCOPE dependency. scopeprovided/scope Marcelo. -Original Message- From: Sonar, Nishant [mailto:[EMAIL PROTECTED] Sent: 18 September 2007 17:18 To: Maven Users List Subject: how NOT to include any lib

RE: how NOT to include any lib (dependencies) in the WAR ?

2007-09-18 Thread Sonar, Nishant
be your problem. Barrett :: Barrett Nuzum Sr. Consultant Direct: 918.640.4414 Fax: 972.789.1340 Valtech Technologies, Inc. 5080 Spectrum Drive Suite 700 West Addison, Texas 75001 www.valtech.us http://www.valtech.us/ Delivering Business Agility From: Sonar

RE: jaxws-maven-plugin jaxws:wsgen - Could not find class file

2007-09-18 Thread Sonar, Nishant
I think you changed the package for com.heartlab.ws.services.HelloServiceWS Regards, Nishant Sonar Synechron Technologies -Original Message- From: Kyle.Bober [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 4:46 PM To: users@maven.apache.org Subject: jaxws-maven-plugin

RE: tie dependency to one repository

2007-09-14 Thread Sonar, Nishant
Hi Brian, For plugins we can specify repositories in the pluginrepository/repositorypluginRepository/pluginRepos itory/plugin tags . I never tried to an extent for this but you can hit for it. How can we do it using proximity? Regards, Nishant Sonar -Original Message- From:

RE: tie dependency to one repository

2007-09-14 Thread Sonar, Nishant
repository using something like Artifactory, Proximity etc and getting all of your artifacts from it. This speeds things up dramatically as all requests are on your LAN. Wayne On 9/13/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Hi Sebastian, I still have this type of problem when going for a plugin

RE: tie dependency to one repository

2007-09-14 Thread Sonar, Nishant
of the latest snapshots of px, you can create rules that say for group xyz look in this repo etc. -Original Message- From: Sonar, Nishant [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 10:46 AM To: Maven Users List Subject: RE: tie dependency to one repository Hi Brian

Error constituent[0]:

2007-09-13 Thread Sonar, Nishant
Hi I am getting following error when I run maven in Linux 64 bit environment, I didn't get what is the line constituent[0] : file ... says , is it that these some exception thrown from this file? [INFO] Executed tasks [INFO] Preparing exec:java [WARNING] Removing: java from forked

RE: tie dependency to one repository

2007-09-13 Thread Sonar, Nishant
Hi Sebastian, I still have this type of problem when going for a plugin (exec), it referred to both of the sites central and snapshots.codehaus, and got conflicts later on at build. Till now you can tell the version number as a chosing option. Otherwise I don't see anything to specify the

Assembly Plugin Error : appXML attribute required

2007-09-12 Thread Sonar, Nishant
Hi Can anyone help me? I am receiving following error with assembly plug-in Failed to create assembly: Error creating assembly archive: appxml attribute is required Here's my descriptor file assembly iddist/id formats formatear/format

RE: Assembly Plugin Error : appXML attribute required

2007-09-12 Thread Sonar, Nishant
I think that is it because EAR assembling is not implemented so far? Regards, Nishant Sonar -Original Message- From: Sonar, Nishant Sent: Wednesday, September 12, 2007 10:49 AM To: Maven Users List Subject: Assembly Plugin Error : appXML attribute required Hi Can anyone help me

RE: FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-11 Thread Sonar, Nishant
and so the normal Proximity support channels are not available. Wayne On 9/10/07, Sonar, Nishant [EMAIL PROTECTED] wrote: Hello I am trying to setup a corporate repository through proximity. Her's what I did Installed proximity on apache by deploying the px

FW: Using Proximity Corporate Repository doesnt download plugins/dependencies

2007-09-10 Thread Sonar, Nishant
Hello I am trying to setup a corporate repository through proximity. Her's what I did Installed proximity on apache by deploying the px-webap. Now I can browse to the proximity site through apache http://localhost:8080/px-webap. I will be using this site to host my repository in a way like