Re: artifacts associated with a WAR

2009-10-30 Thread huser
mvn help:effective-pom shows the outout in the project POM.xml and the source tree. I want to see the same information on a WAR/EAR/JAR/ZIP file. TIA, Wayne Fay wrote: > >> I know that we can see useful info using mvn help:effective-pom on the >> source code. But how can I see the same on a

artifacts associated with a WAR

2009-10-30 Thread huser
Hi, We use Maven WAR plugin for generating WAR. Is there a way to see the artifacts associated with a WAR. I know that we can see useful info using mvn help:effective-pom on the source code. But how can I see the same on a WAR file ? We deploy the WARS to nexus. TIA, -- View this message in co

emma exclude filter

2009-10-13 Thread huser
Hi, We are using M2.2 and Emma plugin to report coverage. I want to exlcude certain packages from code coverage using emma-maven plugin. I dont want to use CLI. This doesnt seem to work. Any suggestions ? I still see coverage reported for com.abc.t3.db ? org.codehaus.mojo

maven build from central repossitory

2009-08-21 Thread huser
Hi, Is there a way to run maven build in such a way that it forcefully downloads the artifacts from central/in-house repository instead of using the local .m2 repo ? I realise cleaning .m2 will force the artifacts download from Nexus (our repo manager). But since we run builds through Hudson I c

Re: maven deploy plugin

2009-08-12 Thread huser
ual file i.e pom.xml in this case. What could be wrong here ? Thanks, huser wrote: > > Hi, > > I want to deploy a project POM file only. I added maven-deploy plugin as > follows. When I run > > mvn dpeloy:deploy-file > > It still complains about missing modules

maven deploy plugin

2009-08-10 Thread huser
Hi, I want to deploy a project POM file only. I added maven-deploy plugin as follows. When I run mvn dpeloy:deploy-file It still complains about missing modules directories. I dont want to build the modules. I want to generate the pom file only. How can I do this ? co

change outputfile name

2009-06-18 Thread huser
Hi, I have a maven module which builds moduleA-1.0-SNAPSHOT.jar. I need the output file name to be moduleA.jar. How can I do this via CLI or POM change ? Thanks -- View this message in context: http://www.nabble.com/change-outputfile-name-tp24095098p24095098.html Sent from the Maven - Users ma

maven assembly plugin

2009-06-04 Thread huser
Hi, I am using the maven assembly plugin to create a zip file containing certain jars. The zip file contains the version info of the jars as well. Example: abc.zip has activation-1.1.jar, commons-7.2.jar How can I remove the version info from getting attached to the jar file and consequently g

maven cobertura plugin - haltonFailure ?

2009-05-22 Thread huser
Hi, I am trying to use Maven Cobertura Plugin. I want to setup different lineRate/branchRate for different packages. But this doesnt seem to be working. 1. haltnFailure does not work even if I set the values to 100 for the top level module. 2. regex doesnt seem to do anything. I specified higher

unit test coverage

2009-05-12 Thread huser
Hi, Is there a way to setup different BranchRate in Cobertura Plugin for each maven module ? I have a Maven build which runs cobertura covergae and shows the results for the entire project. The team wants to seup different BranchRate values for different values. Is this possible ? I am usung Hud

cobertura results

2009-05-11 Thread huser
Hi, I have Cobertura plugin configured in my pom.xml. Hudson renders the results from coverage.xml and reports the coverage results classified as Packages,Files, Classes,Methods,Lines,Conditionals Why am I not seeing BranchRate,LineRate,PackageLineRate etc ? I am not using "Maven Genertate Site

Re: maven release plugin issue

2009-05-04 Thread huser
: > > ugh! > > that sounds hacky hacky hack > > you probably should try having the dependency plugin unpack for you > > -Stephen > On 04/05/2009, huser wrote: >> >> Hi, >> >> I am running maven release plugin by: >> >> mvn -f pom.xml

maven release plugin issue

2009-05-04 Thread huser
FO] An Ant BuildException has occured: The following error occurred wh ile executing this line: [INFO] C:\mvn_rel\int_002_dev_test\services-api\abc-interface-api\xsd-extract.xm l:19: Error while expanding C:\Documents and Settings\huser\.m2\repository\co m\abc\t3\abc-websvc-api\1.5\abc-websvc-api-1.5

Maven variable in antrun plugin

2009-04-29 Thread huser
Hi, I have a maven-antrun-plugin in sub-project\pom.xml which does this: org.apache.maven.plugins maven-antrun-plugin

Re: maven antrun plugin

2009-04-23 Thread huser
22 Apr 2009, at 22:40, huser wrote: > >> >> Hi , >> >> I added maven ant run plugin to my project POM.xml. Then I ran mvn >> clean >> install antrun:run. >> >> I do not see the javadoc target getting generated. The plugin is not >> work

maven antrun plugin

2009-04-22 Thread huser
Hi , I added maven ant run plugin to my project POM.xml. Then I ran mvn clean install antrun:run. I do not see the javadoc target getting generated. The plugin is not working as expected. Any ideas ? My project has various modules inside it. Following change was made in project\pom.xml

Re: maven changelog plugin

2009-04-13 Thread huser
Any ideas ? Anyone ? huser wrote: > > Hi, > > I have a situation in which I need to specify different location for scm > connections in the plugin. How can I set this up ? See the comment > and > > Adding new locations like these do

maven changelog plugin

2009-04-09 Thread huser
Hi, I have a situation in which I need to specify different location for scm connections in the plugin. How can I set this up ? See the comment and Adding new locations like these does not work. Thanks, scm:svn:https://domain1.na.abcglobal.com/abc_r

Equivalent of latest.integration in maven ?

2009-04-08 Thread huser
Hi, The developers setup the rev number in ivy.xml as "latest.integration" for project dependencies. Is there an equivalent of this in Maven ? Revision always pointing to latest SNAPSHOT version (coming from Nexus) ? Thanks, -- View this message in context: http://www.nabble.com/Equivalent-of-

Re: maven release plugin issue

2009-04-06 Thread huser
I am using tagBase and still the same result [INFO] Tagging release with the label REL1.0-TEST... [INFO] Executing: svn --non-interactive copy --file C:\DOCUME~1\huser\LOCALS~ 1\Temp\maven-scm-1923501528.commit . https://domain1.na.abcglobal.com/abc_repos /sip/tags/REL1.0-TEST [INFO] Working

Re: maven release plugin issue

2009-04-06 Thread huser
repos/tags ? [INFO] Executing: svn --non-interactive copy --file C:\DOCUME~1\huser\LOCALS~ 1\Temp\maven-scm-1466134858.commit . https://domain1.na.abcglobal.com/abc_repos /sip/tags/REL_1.0-TEST [INFO] Working directory: C:\ws17\sip

maven release plugin issue

2009-04-06 Thread huser
Hi, I setup the maven release plugin as org.apache.maven.plugins maven-release-plugin 2.0-beta-9-SNAPSHOT

Maven release plugin issue- Error code 401

2009-03-26 Thread huser
Hi, I am running maven perform and get the following error. I am the Nexus Administrator and I have commented out in settings.xml in my local repo. What could be wrong here ? I want to use the release plugin only for deployments. [ERROR] BUILD ERROR [INFO] -

Duplicate name in parent and current

2009-03-25 Thread huser
Hi, I have a situation in which the dir names are same. Example: /base /base/modA /base/modA/modA I get the following error while trying to run mvn compile. The code for 2 POM's is below. What should I change in the parent to make this work ? Thanks, Reason: Parent element is a duplicate of

mvn site issue with cobertura

2009-03-16 Thread huser
Hi, I am getting the following error while running mvn site. What is wrong here ? [INFO] Storing buildNumber: 65557 at timestamp: 2009-03-16T14:33:40-0500 [INFO] [cobertura:instrument] [INFO] Not executing cobertura:instrument as the project is not a Java classpath -capable package [INFO] [site

Re: changelog plugin SVN issue

2009-03-16 Thread huser
Thanks this worked ! MP Reinhard Nägele wrote: > > Why did you configure connection and developerConnection differently? I > guess they should both point to the trunk. The changelog plugin by > default uses "connection." > > Reinhard > > huser schrieb:

Re: changelog plugin SVN issue

2009-03-13 Thread huser
Any ideas anyone ? The code is under "trunk". How/Where can I change the path for Maven to look at the correct path ? Thanks, huser wrote: > > Hi, > > I added the ChangeLog Plugin in Maven2. But I get the following error: > > [INFO] Executing: svn --non-intera

changelog plugin SVN issue

2009-03-13 Thread huser
Hi, I added the ChangeLog Plugin in Maven2. But I get the following error: [INFO] Executing: svn --non-interactive log -v -r "{2009-02-11 16:57:46 +}:{ 2009-03-14 16:57:46 +}" https://my-co-srvr/ABC_tools/ABC-tool s-src/ABC-maven/jarred-test-wsdls [INFO] Working directory: C:\ABC_tools\A

mvn compile issue

2009-03-09 Thread huser
Hi, I am new to Maven. I wanted to compile a list of sources using Maven. I get the following error. The compilation with ANT is fine. What is wrong here ? C:\workspace\sip\SIPProxy\src\main\java\com\atxg\SIPProxy\SIPProxyMsgHandler\E91 1CallHistory.java:[10,15] generics are not supported in -so