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
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
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
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
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
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
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
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
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
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
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:
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
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
[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
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
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
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
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
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
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
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
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
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.
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
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
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
=
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
=
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
Hi
I have a structure as
MyAppModule
Src
Main
Java
Com
Myapp
Bankapplication
Some classes
Utilities
FormulaCalc
someclasses
DateCalc
Maven has got some properties (inherent) like
project.build.outputDirectory where can I find the rest of the
properties?
- 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
-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
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
You can use copy plugin
plugin
groupIdde.qu.maven.maven-plugins/groupId
artifactIdcopy-maven-plugin/artifactId
version1.0.3/version
executions
execution
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
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
*
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;
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
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
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
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:
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
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
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
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
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
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
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
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
49 matches
Mail list logo