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
Hi, I've been working on a plugin which I attached to the compile phase of the life cycle. All seemed well and it was doing what was expected. Then I decided to document the plugin in using mvn site. So I built out the apt files and issued a mvn site. At that point something happened which I

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

2010-04-21 Thread Pankaj Tandon
Hi, This question is regarding dependencies and how they are stored in repo1 AND my corporate repo. There are projects that have just .pom files and no corresponding jars. When I open up the pom file, I see a packaging a type jar. Still.. no jar. Also there is no 'relocation' element specified.

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
Hi, This question is regarding dependencies and how they are stored in repo1 AND my local repo. First, on repo1, I noticed that some versions (of projects) contain jars and some do not. For instance: http://mirrors.ibiblio.org/pub/mirrors/maven2/cobertura/cobertura/1.8/ has jars but

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
Hello, I'm writing a plugin that needs to know the dependencies of the project it is configured for, and if the dependencies are missing, do something about it (like install the dependencies from another repo (with required credentials of course)). To get a list of dependencies that a project

XML output of missing dependencies

2010-03-03 Thread Pankaj Tandon
Hi, I'm looking for a way to determine what artifacts are NOT in my corporate repository (for a certain maven project) so that I can script their addition to the corporate repository. So I started looking at the maven-dependency-plugin and was happy to see a goal called analyze that takes in a

Re: XML output of missing dependencies

2010-03-03 Thread Pankaj Tandon
, Pankaj Tandon wrote at Wednesday, 3. March 2010 14:32: Hi, I'm looking for a way to determine what artifacts are NOT in my corporate repository (for a certain maven project) so that I can script their addition to the corporate repository. So I started looking at the maven-dependency

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
Hi, I have a multi-module project and I'm trying to run the site plugin to generate a site for the project. But I would like to generate the site ONLY for the top level (aggregator) project. Each of my child projects are aggregated AND they are children of the top-level project because they have

Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Pankaj Tandon
Hello Rob, I wanted to ask you about your comment below where you state that even if you have an annotation in a mojo for the execution phase, you still have to declare an executions element for the very same phase in the project that invkes this plugin. That, kind of defeats the purpose of

Re: [ANN] Maven 2.1.0 Released

2009-04-02 Thread Pankaj Tandon
/4/2 Pankaj Tandon pankajtan...@gmail.com Hello Rob, I wanted to ask you about your comment below where you state that even if you have an annotation in a mojo for the execution phase, you still have to declare an executions element for the very same phase in the project that invkes

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
Hello, I have a top level project that specifies a resource directory that I require filtering on. filters filtersrc/main/filters/${label}.properties/filter /filters resources resource directorysrc/main/resources/directory

Re: Plugin calling shell script

2009-01-30 Thread Pankaj Tandon
the problem) HTH, Gab 2009/1/29 Pankaj Tandon pankajtan...@gmail.com Hello, I have written a plugin that uses Wagon to remotely execute a command on a remote machine. But now I find that instead of executing a simple unix command, I need to execute a whole shell script. So I created

Plugin calling shell script

2009-01-29 Thread Pankaj Tandon
Hello, I have written a plugin that uses Wagon to remotely execute a command on a remote machine. But now I find that instead of executing a simple unix command, I need to execute a whole shell script. So I created a shell script and placed it in src/main/resources, so that it correctly gets

Interjectign a plugin in a life-cycle phase

2008-11-19 Thread Pankaj Tandon
Hello, I'd like to interject a plugin in a certain phase (say validate) that is always executed for all developers who use maven within the enterprise. To achieve this, should I create a enterprise level POM and have all developers extend it? I have an enterprise-wide setting.xml file. Can I

dependency:tree depth

2008-11-16 Thread Pankaj Tandon
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 at org.springframework:spring-core:jar:1.2.4:compile and not go deeper. There are no parameters also to configure this. (using

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
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 wsdl2java). One of the generated file is an xml file (MyService.xml) that describes

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
://mojo.codehaus.org/build-helper-maven-plugin Jeff On Jan 3, 2008 2:49 AM, Pankaj Tandon [EMAIL PROTECTED] wrote: Hi, I'm using weblogic-maven-plugin to generate client stubs (using the clientgen goal). The client stubs are correctly generated in the generated-sources folder as specified

Re: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
send us the pom or the output of Maven ? Jeff On Jan 3, 2008 2:05 PM, Pankaj Tandon [EMAIL PROTECTED] wrote: Hi, Thanks for that suggestion. I did try that but it did not help for two reasons. 1/ generated-sources is automatically picked up by the compiler with or without

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
: For me, you generated sources are not compiled. Remove the outputDir parameter and they will be compiled as the default is to generate in the standard Java source directory. Jeff On Jan 3, 2008 3:09 PM, Pankaj Tandon [EMAIL PROTECTED] wrote: Here is the pom: project xmlns=http

Re: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
-helper plugin. Jeff On Jan 3, 2008 4:19 PM, Pankaj Tandon [EMAIL PROTECTED] wrote: If I remove the outputDir parameter to the weblogic-maven-plugin, the sources will go into ${basedir}/src/main/java. That immediately presents a problem because of: 1/ source control constantly detects

RE: generated-sources class files not in final artifact

2008-01-03 Thread Pankaj Tandon
. Try the maven-build-helper to add your source folder to the compiler. It should work. Hth, Nick Stolwijk -Original Message- From: Pankaj Tandon [mailto:[EMAIL PROTECTED] Sent: Thu 1/3/2008 5:01 PM To: users@maven.apache.org Subject: Re: generated-sources class files

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

2008-01-02 Thread Pankaj Tandon
Hi, I was away for 10 days so I couldn't participate in this discussion. But thanks Ryan for persuing the cause! However, I'm not sure how the solution is working for you. It will greatly help if you provide details. First, I used the following plugin config: plugin

generated-sources class files not in final artifact

2008-01-02 Thread Pankaj Tandon
Hi, I'm using weblogic-maven-plugin to generate client stubs (using the clientgen goal). The client stubs are correctly generated in the generated-sources folder as specified in the plugin. Also, as expected, the generated-sources folder is detected by the complier and along with the java files

assembly plugin - topLevel directory to be supressed in war

2007-12-19 Thread Pankaj Tandon
Hi, I intend to use the assembly plugin for a very simple task. I need it to war up a folder structure into a WAR file. The folder is already in a WAR format (infact it is an exploded war file) that I modify via a custom mojo and then I'm using the assembly plugin to war it back up again. Sounds

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
Hi, I was looking at the pom.xml of the maven-release-plugin hoping to find a binding to one of the phases in there. For example... build plugins ... plugin groupIdsample.plugin/groupId artifactIdmaven-hello-plugin/artifactId executions execution

Re: maven-surefire-plugin problem

2007-04-18 Thread Pankaj Tandon
Hi, It may help if you posted the pom.xml of your project. Also I noticed that you have a project in your home folder.. not a big deal and it should not break anything but it's just a bit strange :). The repository is a peer to your project. Typically you will want to use the 'install' goal to

RE: maven-surefire-plugin problem

2007-04-18 Thread Pankaj Tandon
/plugin /plugins /build /project Thanks Regards Ramesh Babu.P HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232 * [EMAIL PROTECTED] -Original Message- From: Pankaj Tandon [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007

Re: Cannot run changelog command

2007-04-17 Thread Pankaj Tandon
Pankaj Tandon wrote: Hi, Actually the scm section looks fine. I've inluded my pom at the bottom. Another indication that my scm section is good is that mvn release:prepare works just fine and does produce me a new release in my scm. I even removed my local repository and then tried a mvn

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
Hello, When maven-release-plugin's prepare goal creates a release for me, it correctly modifies my dev pom, modifies my release(d) pom, and checks in the current HEAD version to a tag branch into SVN. What would be really great would be a way to substitute a keyword with the TAG (not the

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

RE: Release Notes generation

2007-04-16 Thread Pankaj Tandon
-changes-plugin/ Pankaj Tandon wrote: Thanks Dennis, That was really helpful. However, is there a report plugin that produces release notes as against a change log. Actually, I've seen the report such a plugin produces on the site of one of the maven projects (maybe one of the plugins). I just

What causes release:prepare to re-download

2007-04-16 Thread Pankaj Tandon
Hi all, We've been using mvn release:prepare/perform for several months now on our build machine. Today, however issuing mvn release:prepare caused a LOT of files to be downloaded into our local repository. What caused this at the command was invoked with no explicit instructions to look for

Re: Cannot run changelog command

2007-04-16 Thread Pankaj Tandon
. Pankaj Tandon wrote: 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

Re: Release Notes generation

2007-04-14 Thread Pankaj Tandon
dennisl-2 wrote: Pankaj Tandon wrote: Hello, I'd like to generate release notes as a part of my mvn site command. If I annotate the site.xml with the following: menu name=Maven 2.0 item name=Introduction href=index.html/ item name=Download href=download.html/ item name

Release Notes generation

2007-04-13 Thread Pankaj Tandon
Hello, I'd like to generate release notes as a part of my mvn site command. If I annotate the site.xml with the following: menu name=Maven 2.0 item name=Introduction href=index.html/ item name=Download href=download.html/ item name=Release Notes href=release-notes.html /

Re: Configure buildnumber and Subversion/Subclipse

2007-04-02 Thread Pankaj Tandon
and http:// maven.apache.org/scm/subversion.html. Might be as simple as using a pipe instead of a colon. Also verify that maven can reach your subversion repository with some other plugin (ie. release, changelog). J On 30-Mar-07, at 8:29 AM, Pankaj Tandon wrote: Hi, We need

Configure buildnumber and Subversion/Subclipse

2007-03-30 Thread Pankaj Tandon
Hi, We need to incoporate build numbers into our codebase and so started looking at the buildnumberr plugin. It looks great and works fine if we configure it to spit out an incremental number like so: configuration doCheckfalse/doCheck doUpdatefalse/doUpdate

How to tie a issueNumber to a buildNumber

2007-03-30 Thread Pankaj Tandon
Hi all, I was wondering if anyone out there knew how to tie an issue number/bug number/requirement number to a buildnumber as returned by the buildnumber plugin for Maven2? (I mean without having to manage the relationship in our application, that is). As a related question: Is there a way I can