Re: Error during compiling xsd's using maven xjc

2012-08-17 Thread Pankaj
You can try by adding extensiontrue/extension under configuration /configuration in your pom file. -- View this message in context: http://maven.40175.n5.nabble.com/Error-during-compiling-xsd-s-using-maven-xjc-tp3779661p5717418.html Sent from the Maven - Users mailing list archive at

RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-22 Thread Pankaj
I used dependecySet to solve this problem and as walsmatt mentioned correctly, we can use wildcard to add all binaries. assembly xmlns=http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Pankaj
I've multi module project and using maven's assembly plugin to zip the project's artifact. Proj +Module A pom.xml +Module B pom.xml pom.xml When i build main module, it will produce following things Proj +Module A target\A.jar

RE: Maven Assembly plugin -Multi module project- source and javadoc not getting added to zip file

2012-05-17 Thread Pankaj
Thanks for your reply. I'm still getting the same problem. Getting below warning [WARNING] The following patterns were never triggered in this artifact inclusion filter: o 'groupA:A:jar:javadoc' o 'groupA:A:jar:source' where as artifact which has all classes is getting added. Thanks Pankaj

Re: Maven replacer plugin

2012-05-09 Thread Pankaj
publicSrc/mySrc. Is there anything wrong with my configuration ? Regards Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Maven-replacer-plugin-tp5696070p5698807.html Sent from the Maven - Users mailing list archive at Nabble.com

Maven replacer plugin

2012-05-08 Thread Pankaj
was looking at http://code.google.com/p/maven-replacer-plugin/ which is used for replacing text/value, i don't think this can be used for replacing content. am i right ? Regards Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Maven-replacer-plugin-tp5696070.html Sent from

Execution default-cli of goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse failed. NullPointerException

2011-11-03 Thread Pankaj Pai
from C:\Users\pankaj\.m2\settings.xml [DEBUG] Using local repository at C:\Users\pankaj\.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for C:\Users\pankaj\.m2\repository [INFO] Scanning for projects... [DEBUG] Extension realms for project ruleplayer:chapter6:jar

Dynamic content generation for a file using maven archetype plugin

2011-02-25 Thread Pankaj
we use velocity in maven archetype ? or Is there any other way to address this requirement ? - Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Dynamic-content-generation-for-a-file-using-maven-archetype-plugin-tp3399850p3399850.html Sent from the Maven - Users mailing

Re: Dynamic content generation for a file using maven archetype plugin

2011-02-25 Thread Pankaj
find any solution. - Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Dynamic-content-generation-for-a-file-using-maven-archetype-plugin-tp3399850p345.html Sent from the Maven - Users mailing list archive at Nabble.com

Archetype with a property file

2011-02-24 Thread Pankaj
=1.0 Which all step should i follow. I was referring below link for help. http://maven.apache.org/archetype/maven-archetype-plugin/examples/create-with-property-file.html - Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Archetype-with-a-property-file-tp3398151p3398151

Need to customize existing maven command

2011-02-11 Thread Pankaj
Hi, I wants to customize mvn archetype:create to mvn xyzarchtype:create. Is it possible ? If yes, how should i go about it ? Regards Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Need-to-customize-existing-maven-command-tp3380707p3380707.html Sent from the Maven

Re: Need to customize existing maven command

2011-02-11 Thread Pankaj
for the plugin prefix hibernate3. If it doesn't find the plugin prefix xyzarchetype in the org.apache.maven.plugins group it will scan the metadata for the org.codehaus.mojo group. - Pankaj -- View this message in context: http://maven.40175.n5.nabble.com/Need-to-customize-existing-maven-command

Re: plugin descriptor missing mojos section

2010-08-06 Thread Pankaj Tandon
Just for the record, here's the solution if anyone else were to encounter this: My mistake was to do with basic annotation syntax: In the header of my Mojo class, I had: /** * This goal will process a ... * * @goal metadatagenerator * @phase compile * @author Pankaj Tandon

plugin descriptor missing mojos section

2010-08-05 Thread Pankaj Tandon
point it was, given that I was able to run and attach my plugin to the compile phase of the lifecycle. So, can someone explain what's the deal here... Why is my plugin descriptor not generating the mojos section as expected? Thanks, Pankaj -- Here's my plugin descriptor: ?xml version

Why do some projects in the repo contain only .pom files, no jars

2010-04-21 Thread Pankaj Tandon
not get downloaded to my corporate repo, instead only antlr-2.7.6.pom was downloaded? Thanks, Pankaj -- View this message in context: http://n2.nabble.com/Why-do-some-projects-in-the-repo-contain-only-pom-files-no-jars-tp4936700p4936700.html Sent from the maven users mailing list archive

Re: Why do some projects in the repo contain only .pom files, no jars

2010-04-21 Thread Pankaj Tandon
Please ignore this post.. It's a duplicate of: http://n2.nabble.com/Where-are-there-missing-jars-in-repo1-with-just-pom-files-instead-td4931179.html#a4931179 -- View this message in context:

Re: Where are there missing jars in repo1, with just .pom files instead

2010-04-21 Thread Pankaj Tandon
Thanks for the response Wayne. I missed the relocation element there. -- View this message in context: http://n2.nabble.com/Where-are-there-missing-jars-in-repo1-with-just-pom-files-instead-tp4931179p4937074.html Sent from the maven users mailing list archive at Nabble.com.

Where are there missing jars in repo1, with just .pom files instead

2010-04-20 Thread Pankaj Tandon
repo, instead only antlr-2.7.6.pom was only downloaded? Thanks, Pankaj -- View this message in context: http://old.nabble.com/Where-are-there-missing-jars-in-repo1%2C-with-just-.pom-files-instead-tp28287859p28287859.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Controlling when Plexus injects components into plugins.

2010-04-19 Thread Pankaj Tandon
even if some of the dependencies are not resolved. But an even better way to get at the dependencies is: SetArtifact dependentArtifactSet = mavenProject.createArtifacts(artifactFactory, null, null); HTH Pankaj Tandon wrote: Hello, I'm writing a plugin that needs to know

Controlling when Plexus injects components into plugins.

2010-04-17 Thread Pankaj Tandon
of missing dependencies. Thanks a lot in advance, Pankaj -- View this message in context: http://old.nabble.com/Controlling-when-Plexus-injects-components-into-plugins.-tp28278296p28278296.html Sent from the Maven - Users mailing list archive at Nabble.com

XML output of missing dependencies

2010-03-03 Thread Pankaj Tandon
the accessible repos) and it seems that outputXML only dumps the used-but-undeclared-in-pom dependencies. My question is: Is there a way to dump (in XML preferably) the dependencies that are missing from accessible repositories? Maybe using some other plugin? Thanks in advance, all you mavenPeople! Pankaj

Re: XML output of missing dependencies

2010-03-03 Thread Pankaj Tandon
trying to avoid parsing that text output. Or can someone point me to the Maven classes that produce that output so that I can grab that info before it is pretty-ed up and printed to the console. Then I can write my own plugin to process that information. Thanks Jörg Schaible-2 wrote: Hi Pankaj

RE: help needed with maven antrun plugin

2010-02-05 Thread Pankaj Agarwal
I have tried it as below but the error is same. mvn -Djdk.home=/usr/jdk1.6.0_05 clean compile Thanks, Pankaj -Original Message- From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] Sent: Thursday, February 04, 2010 2:49 PM To: Maven Users List Subject: Re: help needed

RE: help needed with maven antrun plugin

2010-02-05 Thread Pankaj Agarwal
I tried it but the error is same. Thanks, Pankaj -Original Message- From: Haroon Rafique [mailto:haroon.rafi...@utoronto.ca] Sent: Friday, February 05, 2010 5:27 AM To: Maven Users List Subject: RE: help needed with maven antrun plugin On Yesterday at 1:26pm, PA=Pankaj Agarwal

help needed with maven antrun plugin

2010-02-04 Thread Pankaj Agarwal
to be installed on all developer machines. In my environment we are using maven 2.0.10, Java 1.6update5. For testing the ant compilation directly I used ant version 1.7.0. Thanks for your help. -Pankaj

RE: help needed with maven antrun plugin

2010-02-04 Thread Pankaj Agarwal
Here's the exact error. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An Ant BuildException has occured: The following error occurred while executing this

Re: Prevent a plugin executing for each module in a multi-module build

2009-11-30 Thread Pankaj Tandon
Wendy Smoak wrote: One way, I know to achieve this is to configure the site plug-in in each child project with an inherited=false. But that is a bit crummy. What happens if you configure inherited=false in the parent? That didn't help. Here is my project structure:

Prevent a plugin executing for each module in a multi-module build

2009-11-27 Thread Pankaj Tandon
. But that is a bit crummy. Does anyone know of a more elegant way to prevent the plug-in running for the child projects (in a reactor build) Also, it would be great if the solution were to apply to ANY plug-in, not just the site plug-in. Thanks Pankaj -- View this message in context: http://n2

Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Pankaj Tandon
of having a default phase specified in the Mojo, does it not? And it certainly doesn't work that way for other plugins (the war plugin for instance that is bound to the package phase). So am I missing something here or is this a bug introduced with 2.0.10? Thanks Pankaj Okay, my mistake - although

Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Pankaj Tandon
the plugin with a generic configuration node should do. Still confused, Pankaj you still have to declare an executions element for the very same phase in the project that invkes this plugin. That's right, except you don't have to specify the phase - the one declared by the mojo will be assumed. 2009

Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Pankaj Tandon
Rob, Thanks! That clarifies things. Pankaj Sorry, I should have added that the executiongoal element is only required if the goal is not one of those in the lifecycle (corresponding to the packaging type). 2009/4/2 Pankaj Tandon pankajtan...@gmail.com Rob and Brian, Thanks

Prevent a reactor build from filtering in child projects

2009-03-11 Thread Pankaj Tandon
the child projects and errors out. Is there a way to prevent the child project from being filtered? I have tried: 1/ Placing a filtering = false at child pom level 2/ Excluding the child directory in the top level pom's resources config. Neither worked. Any suggestions? Thanks, Pankaj -- View

Re: Plugin calling shell script

2009-01-30 Thread Pankaj Tandon
Thanks Gabriele, That is a really good solution.. altho a bit of an overkill in my situation but does separate plugin and the scripts, as they should be. I'll try it and post to the group. Pankaj Gabriele Columbro-2 wrote: What about packaging another jar which holds your script (s) (e.g

Plugin calling shell script

2009-01-29 Thread Pankaj Tandon
that is examined by maven ? Any help will be much appreciated! Thanks, Pankaj -- View this message in context: http://www.nabble.com/Plugin-calling-shell-script-tp21727380p21727380.html Sent from the Maven - Users mailing list archive at Nabble.com

Interjectign a plugin in a life-cycle phase

2008-11-19 Thread Pankaj Tandon
somehow use the settings.xml file to enforce the use of this enterprise-wide POM that I created (and in which I have specified my plugin)? Thanks Pankaj -- View this message in context: http://www.nabble.com/Interjectign-a-plugin-in-a-life-cycle-phase-tp20586481p20586481.html Sent from the Maven

dependency:tree depth

2008-11-16 Thread Pankaj Tandon
help:describe, haven't looked at the source) Either it should have stopped at one transitive dependency deep or gone all the way. Not sure what the rationale for the 3 deep I see here is. Thanks Pankaj [INFO] [dependency:tree] [INFO] xxx:earthSearch:war:3.4-SNAPSHOT [INFO] +- xxx:service:jar:3.4

Re: dependency:tree depth

2008-11-16 Thread Pankaj Tandon
Thanks! Makes sense... Geoffrey Wiseman wrote: On Sun, Nov 16, 2008 at 9:14 AM, Pankaj Tandon [EMAIL PROTECTED]wrote: Hello all, I was wondering how the dependency:tree mojo decides how deep it should go to list dependencies? For example, in the following output, why does it stop

How to get build-helper plugin to place xml files in the build

2008-02-14 Thread Pankaj Tandon
please suggest a way I can get the xml file that is generated by WSDL2Java into the jar file (artifact)? Thanks Pankaj -- View this message in context: http://www.nabble.com/How-to-get-build-helper-plugin-to-place-xml-files-in-the-build-tp15489379s177p15489379.html Sent from the Maven - Users

Re: How to get build-helper plugin to place xml files in the build

2008-02-14 Thread Pankaj Tandon
with the JAR. Wayne On 2/14/08, Pankaj Tandon [EMAIL PROTECTED] wrote: Hi, I'm using build-helper-plugin to move class files from the generated-sources folder to the final jar file (pom packaging is jar). (The generated-sources files are client classes generated from a web-service

Re: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
, the compiled classes go to the same source folder (generated-sources) and hence do not get bundled in the final artifact. Any other suggestions? Thanks! Pankaj Jeff MAURY wrote: You can use maven-build-helper-plugin to add generated-sources to the list of source directories. See http

Re: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
-sources are NOT complied into target/classes (but compiled into generated-sources itself), those classes are not included in the final artifact bpm-common-1.0-SNAPSHOT.jar and so the next project (bpm-service) which is dependent on this artifact, fails. Thanks, Pankaj Jeff MAURY wrote: Can you

Re: assembly plugin - topLevel directory to be supressed in war

2008-01-03 Thread Pankaj Tandon
Just to provide a workaround.. I punted and ended up using the ant zip task. That works fine. If in the meanwhile someone finds out how to solve this using the assembly plugin please reply to this thread. Thanks Pankaj Pankaj Tandon wrote: Hi, I was away for 10 days so I couldn't

Re: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
the clientgen source from src/main/java). I also confirmed that these files DO get compiled but in the same location (that is, in generated-sources). All I want is that these files get compiled in target/classes like the rest of the source under src/main/java Thanks Pankaj Jeff MAURY wrote

Re: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
it to place the compiled source from generated-sources into target/classes. Thanks Pankaj Jeff MAURY wrote: I don't see why Maven will compile these files in this directory. Maybe the compilation is done by the clientgen task. So I persist adding the target directory with the maven-build

RE: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
to an existing plugin. Thanks anyway! Pankaj nicklist wrote: AFAIK, the compiler plugin won't take the classes from target/generated-sources itself, but only when the generating plugin add that folder to the compile directories of a project. project.addCompileSourceRoot

Re: assembly plugin - topLevel directory to be supressed in war

2008-01-02 Thread Pankaj Tandon
custom mojo has made mids to it. Any help will be highly appreciated! Thanks Pankaj Ryan Moquin wrote: Yeah, that seems to have solved the problem I must have been stuck then on the 2.1 then. On Dec 27, 2007 3:16 PM, Ryan Moquin [EMAIL PROTECTED] wrote: So, by using that, it pull

generated-sources class files not in final artifact

2008-01-02 Thread Pankaj Tandon
). How can I make the classes under generated-sources compile under target/classes? Thanks Pankaj -- View this message in context: http://www.nabble.com/generated-sources-class-files-not-in-final-artifact-tp14590265s177p14590265.html Sent from the Maven - Users mailing list archive at Nabble.com

assembly plugin - topLevel directory to be supressed in war

2007-12-19 Thread Pankaj Tandon
/includeBaseDirectory in the descriptor. I even tried different baseDirectories and no baseDirectory. Did not help. I just can't seem to find the correct settings on the descriptor to make this happen. Can someone help? Thanks in advance Pankaj -- View this message in context: http

Re: Error - Target `and ' does not exist in this project. while building sample RCP Application

2007-04-21 Thread Pankaj Tandon
Pretty sure this is because of your folder name (Documents and Settings). Try placing your fodler name in quotes. Better still, checkout to D:\projects or some saner named folder ;) HTH Pankaj Ramesh Babu Pokala - TLS, Chennai wrote: Hi, I tried building one eclipse RCP

Where is binding for maven-release-plugin specified?

2007-04-18 Thread Pankaj Tandon
to? Thanks Pankaj -- View this message in context: http://www.nabble.com/Where-is-binding-for-maven-release-plugin-specified--tf3601209s177.html#a10059401 Sent from the Maven - Users mailing list archive at Nabble.com

Re: maven-surefire-plugin problem

2007-04-18 Thread Pankaj Tandon
to get your project into the repository. Pankaj Ramesh Babu Pokala - TLS, Chennai wrote: Hi, I have installed maven-surefire-plugin version 2.3 in maven's local repository. But still i am getting the following error/. Can anyone help me in this issue...? C:\Documents

RE: maven-surefire-plugin problem

2007-04-18 Thread Pankaj Tandon
it into your local repo usign mvn install:install-file goal with this groupId. HTH Pankaj Ramesh Babu Pokala - TLS, Chennai wrote: Hi, The following is my POM.xml content project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance

Re: Cannot run changelog command

2007-04-17 Thread Pankaj Tandon
suspect the scm provider is injected into the framework. Can someone tell me *where* I can find the source of AbstractMavenReport? It lives in a package called import org.apache.maven.reporting.AbstractMavenReport; Does someone know the repository url I can check the source out from? TIA, Pankaj

Re: Cannot run changelog command

2007-04-17 Thread Pankaj Tandon
Just to bring this issue to closure.. This was happenning because I had not qualified my connection url by scm:svn: But for some reason the maven-release-plugin is not sensitive to this... so I was led to believe that the scm section was good. Pankaj Pankaj Tandon wrote: Hello I'm really

Keyword substitution in SVN via maven-release-plugin

2007-04-17 Thread Pankaj Tandon
the user for a release number when creating a release. Is there any way I can get at that releaseNumber and place it in a file in the release'd branch? Or is the plugin already doing that? TIA Pankaj -- View this message in context: http://www.nabble.com/Keyword-substitution-in-SVN-via-maven

Cannot run changelog command

2007-04-16 Thread Pankaj Tandon
Hi, We were running the changelog plugin correctly until last week and this moring, a mvn release:prepare execution caused a bunch of downloads into the maven repository. Now a mvn site -e yields the below. (This was working fine till Friday!) Any pointers are appreciated. Thanks Pankaj [INFO

RE: Release Notes generation

2007-04-16 Thread Pankaj Tandon
the existing plugin to do this but the article here scared me ! http://www.oreillynet.com/onjava/blog/2006/03/maven_project_info_reports_con.html Thanks, Pankaj William Ferguson-6 wrote: But how do you get issues grouped by released version? Maven-changes-plugin provides a great list of issues

What causes release:prepare to re-download

2007-04-16 Thread Pankaj Tandon
for updates? Here is the output of that command. I suspect that this download has caused a subsequent mvn site command to break. But before I fix thatI need to understand what prompts Maven to download artifacts without explicitly asking for them? Any help is appreciated. Thanks Pankaj -- D

Re: Cannot run changelog command

2007-04-16 Thread Pankaj Tandon
seperately) Any pointers will be much appreciated. Thanks Pankaj project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion

Re: Release Notes generation

2007-04-14 Thread Pankaj Tandon
has a bugs, enhancements, wishlist and a features section, all broken out by release. This changelog plugin doesn't seem to produce this kind of report. Ofcourse, we are using the maven-release-plugin to produce the releases. Any suggestions what plugin produces that report? Thanks, Pankaj

Release Notes generation

2007-04-13 Thread Pankaj Tandon
-info-reports:scm but that looks like a dead-end to me as far as release note generation goes. Any help is appreciated. Thanks Pankaj -- View this message in context: http://www.nabble.com/Release-Notes-generation-tf3573934s177.html#a9986600 Sent from the Maven - Users mailing list archive

Re: Configure buildnumber and Subversion/Subclipse

2007-04-02 Thread Pankaj Tandon
-r12 returns valid values from repos1 Any other suggestions? Thanks in advance, Pankaj Julian Wood wrote: It probably has something to do with how you've set up your subversion repository on a network drive. I've never tried it like that, so I can't say whether or not your scm config

Configure buildnumber and Subversion/Subclipse

2007-03-30 Thread Pankaj Tandon
do I integrate with Subversion using Subclipse as the SVN client? Thanks in advance, Pankaj -- View this message in context: http://www.nabble.com/Configure-buildnumber-and-Subversion-Subclipse-tf3492563s177.html#a9754262 Sent from the Maven - Users mailing list archive at Nabble.com

How to tie a issueNumber to a buildNumber

2007-03-30 Thread Pankaj Tandon
replace a token in my code with the buildnumber (returned from the plugin) BEFORE checkin? Thanks, Pankaj -- View this message in context: http://www.nabble.com/How-to-tie-a-issueNumber-to-a-buildNumber-tf3492631s177.html#a9754543 Sent from the Maven - Users mailing list archive at Nabble.com

dependencies are bloated in M2

2007-02-06 Thread Tandon, Pankaj
.maven.org/maven2/directory/. 3. Is there a way to go back to explicit dependencies (non-transitive) in the pom.xml? Thanks in advance, Pankaj

Optional Repositories...

2006-10-12 Thread pankaj verma
mirror tag. Thanks in anticipation, Pankaj Verma