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
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;
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
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
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
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
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
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
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
=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
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
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
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
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
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
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:
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.
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
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
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
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
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
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
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
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
Here's the exact error.
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] An Ant BuildException has occured: The following error occurred while
executing this
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:
. 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
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
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
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
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
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
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
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
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
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
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
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
, 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
-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
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
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
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
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
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
).
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
-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
-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
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
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
.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
mirror
tag.
Thanks in anticipation,
Pankaj Verma
66 matches
Mail list logo