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 T
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 cann
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.
---
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:
http://n2.nabble.com/Why-do-some-projects-in-the-repo-contain-only-pom-files-no-jars-tp4936700p4936874.h
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.
F
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
http://mirr
even if some of the dependencies are not resolved.
But an even better way to get at the dependencies is:
Set dependentArtifactSet =
mavenProject.createArtifacts(artifactFactory, null, null);
HTH
Pankaj Tandon wrote:
>
> Hello,
>
> I'm writing a plugin that
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 us
; Hi Pankaj,
>
> 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 c
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 co
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 structu
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
Rob,
Thanks! That clarifies things.
Pankaj
Sorry, I should have added that the 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
>
> Rob and Brian,
> Thanks for the response. However, how then
ll be assumed.
2009/4/2 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
&g
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 ha
Hello,
I have a top level project that specifies a resource directory that I
require filtering on.
src/main/filters/${label}.properties
src/main/resources
true
Then I have (se
r script (s) (e.g.
> mojo-scritps.jar) and add this in the specific plugin dependencies
> section,
> something like:
>
>
>
>
> mojo-scripts.jar
>
>
>
>
>
> Would this solve your problem? (not sure if I completely understood the
>
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 bund
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 so
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 d
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 help:de
o generate
> the WSDL to attach its output to the MavenProject so it is bundled
> 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
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 the
-sources/anyPluginName, so
> multiple plugins are not in each others way.
>
> 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 PROT
tory with the maven-build-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/m
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
:
>
> 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:
>
T.jar and so the next project
(bpm-service) which is dependent on this artifact, fails.
Thanks,
Pankaj
Jeff MAURY wrote:
>
> Can you send us the pom or the output of Maven ?
>
> Jeff
>
>
> On Jan 3, 2008 2:05 PM, Pankaj Tandon <[EMAIL PROTECTED]> wrote:
>
>&g
ee
> http://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
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 u
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:
org.apache
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
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 Appl
060601
>
>
>
> org.eclipse
> core.runtime
> 3.2.0.v20060603
>
>
>
>
>
>
>
>
>
> org.codehaus.mojo
> pde-maven-plugin
> true
>
> D:\eclipse
>
>
>
>
>
&
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 get
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...
...
sample.plugin
maven-hello-plugin
compile
sayhi
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 revisio
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
IA,
Pankaj
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
org.apache.maven.plugins
maven-changelog-plugin
dennisl-2 wrote:
>
> From the look of things, I'd say that your scm section is either wrong
> or completely missing from the pom.xml file.
>
> Pankaj Tandon wrote:
>>
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 upda
t
> Subject: Re: Release Notes generation
>
> That'd be the maven-changes-plugin then:
>
>http://maven.apache.org/plugins/maven-changes-plugin/
>
> Pankaj Tandon wrote:
>> Thanks Dennis,
>> That was really helpful.
>> However, is there a report plugin t
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]
t report?
Thanks,
Pankaj
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:
>>
>>
>>
>>
>>
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:
It certainly creates the menu correctly.
However, where is the plugin that will actually create the
release-notes.html?
I
whatever you've configured in your pom (if it can).
>
> Check out http://maven.apache.org/scm/scm-url-format.html 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 repos
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
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:
false
false
{0,number}
buildNumber0
48 matches
Mail list logo