Hello,
I am trying to pass parameter to Mojo. I have done everything mentioned in
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
When I compile the project, it throws
[INFO] Trace
com.thoughtworks.qdox.parser.ParseException: syntax error @[11,9] in
file:/C:/Docum
My open source project uses TestNG. Check out the pom in svn:
http://svn.sourceforge.net/viewvc/vigilog/trunk/
Direct link:
http://svn.sourceforge.net/viewvc/vigilog/trunk/pom.xml?view=markup
regards,
Wim
2007/2/22, Rob Dickens <[EMAIL PROTECTED]>:
Dear Maven users,
I've just spent a frustr
Are you using Maven2?
If yes, it is better if you run XDoclet using maven-antrun-plugin.
This link (http://www.nabble.com/-M2--Struts-and-XDoclet-t1775233.html)
gives the reason.
Also, below is the relevant part of my pom.xml that I use to generate my
web.xml (using webdoclet).
Hi,
I'm a Maven 1.x user and am looking for an aggregated changes report
that shows changes for all modules (in reverse chronological order) The
multichanges plugin report doesn't do this, as I had hoped.
I did a quick Google and searched through my local archive of this list
and found the
I'm attempting to inject attributes into the site plugin like so in my pom:
bar
bar
site.vm
I am getting the following error with maven 2 configured to use ibm
1.4. When I switch back to the sun jdk I get no error. Any ideas how
I can get this to give me more info?
Here is the relevant section of my pom:
in properties
c:/was6/java/bin/javac
Okay, these bugs are now filed. The Plexus bug is PLX-327
(http://jira.codehaus.org/browse/PLX-327) and the Maven bug is MNG-2843
(http://jira.codehaus.org/browse/MNG-2843).
..David..
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 12:
Hi all,
I'm running into a very strange issue that I can't seem to find a solution
for. I'm using the assembly plugin to create a zip with my jar file, all
transitive dependencies, and a few jsp files that get added to an existing
webapp. I have the following directory structure
src/main/java
I am trying to use deploy:deploy-file to deploy a 3rd party jar to our
company repository. I have included the wagon extension in a POM like so
(though I don't understand why FTP doesn't "just work"):
org.apache.maven.wagon
wagon-ftp
1
I've just posted this to JIRA (
http://jira.codehaus.org/browse/CONTINUUM-1181).
On 2/21/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
I'm trying to get Continuum to store its data in a postgres database while
running under JBoss and I'm getting an exception. It seems that someone is
trying to c
Not as pretty as I hoped but works. Thanks Dan.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 9:45 PM
To: Maven Users List
Subject: Re: How can I excluding a generated source from a compile step
1. use antrun to remove generated file(s) be
1. use antrun to remove generated file(s) before compile phase
On 2/22/07, Matthews, Brian <[EMAIL PROTECTED]> wrote:
I am using the axistools-maven-plug-in to generate my server side classes
for a web service. I use the following plugin definition:
org.codehaus.mojo
axistools-mav
I am using the axistools-maven-plug-in to generate my server side classes
for a web service. I use the following plugin definition:
org.codehaus.mojo
axistools-maven-plugin
1.0
com.terranua.mco.charts.webservice
true
false
false
false
I just noticed that scm (for cvs) is adding the -t flag for tracing. Is
this new to the 1.0.4-beta-4 scm plugin?
Carlos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I still haven't found a good solution for this and I was hoping to spark some
discussion with a follow up post.
jp4 wrote:
>
> I was wondering if there is any way to achieve multiple pom inheritance
> with maven. I have created several pom abstractions (i.e. data access
> which includes depend
Well, since this is a jar included in the core directory of Maven 2.0.5,
I can't just reference a snapshot build from the plugin. I would have
to tell all the developers in the company to patch the jar in their
Maven installation. Having the plugin just use project will be easier
than trying to s
I have hibernatedoclet generating several hbm files from my DAO.jar and
adding them to my common-jar module. Seems to be an issue with Xdoclet1 &
Maven.
No matter, my app.war seems to suck in the 1st hbm file but not the rest
into the webapp/classes/*
What am I missing to get all the hbm file
On 22 Feb 07, at 3:11 PM 22 Feb 07, David Jackman wrote:
That works great--the perfect solution for right now as I wait until
this fix is available with Maven 2.0.6.
Once in JIRA you can watch it and use a snapshot build once it's fixed.
Jason.
Thanks!
..David..
-Original Message--
That works great--the perfect solution for right now as I wait until
this fix is available with Maven 2.0.6.
Thanks!
..David..
-Original Message-
From: Marcos Silva Pereira [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 22, 2007 11:38 AM
To: Maven Users List
Subject: Re: Mojo acce
Manos Batsis wrote:
Borut Bolčina wrote:
I guess all developers have JDK installed and not only JRE. Am I
missing something?
I *think* OS X has no separate tools.jar.
I am aware of that - OS X Java developers are screwed in both cases.
Nevermind... I did it with a '-U' arg tacked on, and it worked...
Thanks again for the help.
Bryan Noll wrote:
Thanks for the feedback. I'm trying to use the project-info-reports
plugin, and am getting the following:
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.ap
Thanks for the feedback. I'm trying to use the project-info-reports
plugin, and am getting the following:
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-project-info-reports-plugin' does not
exist or no valid version could be found
...whi
Borut Bolčina wrote:
I guess all developers have JDK installed and not only JRE. Am I missing
something?
I *think* OS X has no separate tools.jar.
Manos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
Why is this
http://maven.apache.org/general.html#tools-jar-dependency
suggested? Why it is not
${java.home}/lib/tools.jar
If developing with Eclipse then under "Help > About Eclipse SDK >
Configuration Details" my Eclipse says
java.home=C:\Program Files\Java\jre1.5.0_11
I have JAVA_HOME envir
The output of 'mvn help:effective-pom" shows that developer info from
the parent POM is not being merged into its child POMs. I will create a
JIRA issue so it can be addressed.
Thanks.
Brad
On Thu, 2007-02-22 at 11:56 -0600, Eric Redmond wrote:
> Try running "mvn help:effective-pom"... if they a
On 22 Feb 07, at 1:16 PM 22 Feb 07, David Jackman wrote:
In researching why project.properties was coming up empty for my
plugin,
I found that the problem was in Plexus code
(plexus-container-default-1.0-alpha-9.jar to be exact). Looking up
that
project, it seems the latest release is 1.0
It's not documented anywhere that I know of. I've been sitting on the
source code with this project.properties problem and figured out how
most things come out. I should create a wiki page for it--a mapping of
pom elements to their respective Maven-model types.
..David..
-Original Message
Dear Maven users,
I've just spent a frustrating afternoon trying to get TestNG to call
the test method of my test class, but without success!
Would some kind person please paste into a reply some xml snippets
(TestNG or JUnit) that actually work.
Thanks and regards,
Rob
West Mids, UK
--
Hello, David
Adding @requiresProject does nothing.
What about try inject the project object instead project.properties?
/**
* @parameter default-value="${project}"
* @required
* @readonly
*/
private MavenProject project;
I know that it is not a neat solution, but probably will works fine for
Hello Jim
Actually I thought I added support for graphviz but doesn't look like it.
I'll be adding the support for that for the next version of the plugin.
Right now the plugin is in the process of being voted to be released so I
won't be doing any changes until the vote process finishes.
Regards
In researching why project.properties was coming up empty for my plugin,
I found that the problem was in Plexus code
(plexus-container-default-1.0-alpha-9.jar to be exact). Looking up that
project, it seems the latest release is 1.0-alpha-17, but if I try to
have Maven use that instead, Maven dies
On Thu, Feb 22, 2007 at 11:00:42AM -0700, Bryan Noll spake thus:
> Can anyone tell me the quick-n-dirty way to figure out which dependency
> is responsible for a jar that is being transitively downloaded/included
> in the project? For instance, I see the servlet-api jar showing up in
> my assem
I think mvn site will give you the dependenecy report.
-D
On 2/22/07, Bryan Noll <[EMAIL PROTECTED]> wrote:
Can anyone tell me the quick-n-dirty way to figure out which dependency
is responsible for a jar that is being transitively downloaded/included
in the project? For instance, I see the
Thanks, it works!
Does that work for the other objects in the model?
For example if I also want to get the license information can I use
${project.license} to get a License object from model?
Is that functionality documented anywhere?
David Jackman wrote:
It seems project.properties will alway
Adding @requiresProject does nothing. Interestingly, I'm getting the
dependencies just fine without having @requiresDependencyResolution
there (although in my case I don't want transitive dependencies--I
expected leaving this attribute out would only give me the direct
dependencies including inher
Can anyone tell me the quick-n-dirty way to figure out which dependency
is responsible for a jar that is being transitively downloaded/included
in the project? For instance, I see the servlet-api jar showing up in
my assembly, but don't need it. I've already excluded it once from the
spring d
Try running "mvn help:effective-pom"... if they aren't merged, then either
the code or doc needs updated.
Thanks;
Eric
On 2/22/07, Brad Szabo <[EMAIL PROTECTED]> wrote:
Hey everyone. I have a quick question. Isn't the developers and
contributors info supposed to be merged, not overridden from
Thanks Rodrigo for your reply.
I think "provided" is the right value for this
I prefer to say "provided" is the best solution (compared with the others) but
not the right.
Why ? Because if you need my warModule, you will see that it has a
dependency to implJarModule with the provided scope.
So
On 22 Feb 07, at 11:02 AM 22 Feb 07, Roland Klein wrote:
Hi,
HowTo access project version programmatically in application?
Every JAR created with Maven embeds a properties which you can use to
get the version from.
This is what we do:
http://svn.apache.org/repos/asf/maven/components/tr
Im building an applet using maven2 and in order to have an easier time
deploying it, I want to integrate all of it's dependencies along with
the applet code into a single jar using the dependency plugin.
One of those dependencies is a signed applet and of course the
certificate and the signatures a
On 22 Feb 07, at 12:08 PM 22 Feb 07, Carlos Sanchez wrote:
you are talking about a maven 1 plugin. M1 plugins don't work with m2,
that's why is not in the maven2 repository
They need to be as we're eventually going to serve everything from
the m2 repository. So they need to be there. A mod
you are talking about a maven 1 plugin. M1 plugins don't work with m2,
that's why is not in the maven2 repository
On 2/22/07, Eus <[EMAIL PROTECTED]> wrote:
Hi Ho!
Why the public repository for Maven2 (http://repo1.maven.org/maven2/) does
not contain all jars exists in the public repository fo
Make your version a property, use the same property in your version element
and when generating a manifest. Or, use maven-buildnumber-plugin.
Kalle
On 2/22/07, Roland Klein <[EMAIL PROTECTED]> wrote:
Hi,
HowTo access project version programmatically in application?
At the moment we enter the
Thanks for the update Jason, it is appreciated.
- Original message -
From: "Jason van Zyl" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Thu, 22 Feb 2007 11:37:10 -0500
Subject: Re: Surefire 2.3
On 22 Feb 07, at 11:30 AM 22 Feb 07, Martin Gilday wrote:
> Hi,
>
> Is there any idea y
On 22 Feb 07, at 11:30 AM 22 Feb 07, Martin Gilday wrote:
Hi,
Is there any idea yet of when we can expect surefire 2.3 to be
released?
Brett started looking at Surefire again and hopes to do a release as
soon as he can.
Looking at JIRA there are still a lot of tasks pending, but also
Hey everyone. I have a quick question. Isn't the developers and
contributors info supposed to be merged, not overridden from parent to
child POMs?
My project has a chief architect/developer over all of the sub-projects
and I am trying to list him once in the parent POM, and then add
developers wor
Hi,
Is there any idea yet of when we can expect surefire 2.3 to be released?
Looking at JIRA there are still a lot of tasks pending, but also quite
a few fixes complete. Is it possible that some of these open issues
could be pushed back to 2.4?
The reason being that now Bamboo is 1.0 it is stil
It seems project.properties will always be empty (I've been working on
that issue in the "Mojo accessing project properties" thread in this
forum).
However, what you want isn't in the properties anyway. What you want is
the project.scm value. Declare your plugin field like this:
/**
*
I am trying to use the javadoc plugin group tag to separate the
aggregated project's javadocs into two sections (groups). Using the
following as an example:
Core Packages
org.apache.maven.plugin.javadoc.test1
Extension Packages
org.apache.maven.plugin.jav
all you need is to have access to 'project' instance and use it to get pom's
info.
put the below fragment in your mojo
/**
* [EMAIL PROTECTED] expression="${project}"
* [EMAIL PROTECTED]
*
*/
*protected* MavenProject project;
On 2/22/07, Paul Gier <[EMAIL PROTECTED]> wrote:
I would lik
Hi,
HowTo access project version programmatically in application?
At the moment we enter the version string manually in one of our classes. Is there a way to access
the project version at runtime?
One of my thoughts are to generate a Version class holding the version string, but is there a more
I would like to be able to access the scm settings (connection, tag,
etc) in the pom.xml from within a plugin. Is this possible? It seems
like there should be an easy way to get access to all of the pom
configuration from within a plugin, but I haven't found it yet. I tried
looking in projec
Hi,
We are in the process of creating an integration test suite for a J2EE
project using the Cargo Maven 2 plugin with a JBoss 4.0 container. When
we execute mvn integration-test, the jboss zip is correctly expanded and
our war is copied at the right place. The problem we have is that our
app
Isn't XDoclet an orphaned project? Are people still developing it? -K
On 2/22/07 8:48 AM, "Jason van Zyl" <[EMAIL PROTECTED]> wrote:
>
> On 22 Feb 07, at 8:39 AM 22 Feb 07, Eus wrote:
>
>>
>> Hi Ho!
>>
>> Why the public repository for Maven2 (http://repo1.maven.org/
>> maven2/) does
>> not c
On 22 Feb 07, at 8:39 AM 22 Feb 07, Eus wrote:
Hi Ho!
Why the public repository for Maven2 (http://repo1.maven.org/
maven2/) does
not contain all jars exists in the public repository for Maven1
(http://repo1.maven.org/maven/)?
For example, in the Maven1's repo you can get maven-xdoclet-
pl
People can upload what they like provided they have a POM for it.
Jason.
On 22 Feb 07, at 2:40 AM 22 Feb 07, Dan Tran wrote:
Carlos? :-) any thoughts?
Thanks
On 2/21/07, Dan Tran <[EMAIL PROTECTED]> wrote:
Do we allow to upload full assembies such as those in
http://db.apache.org/derby
Have you set true for the plugin execution (in
the pom)? I'm not sure if this even applies for the case of a new
packaging. I'm interested in how to get this sort of thing to work,
though, since I think I'll be writing a custom packaging plugin before
too long myself.
..David..
-Original
According to the maven-assembly-plugin website it does not handle
collecting and packaging javadoc jars like it does for binaries &
sources.
Additionally the web site says that the maven-javadoc-plugin provides
this functionality. However the maven-javadoc-plugin web site does NOT
say that it p
according to scm doc, it also dumps the diff to a file
http://maven.apache.org/scm/plugins/diff-mojo.html
-D
On 2/22/07, Max Berger <[EMAIL PROTECTED]> wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear maven users,
here is a quick question, which I was unable to find so far.
To st
Dont worry, got it right!
- Forwarded by Vidya Mahavadi/RMB on 22/02/2007 15:57 -
Vidya Mahavadi/RMB
22/02/2007 15:46
To
maven users
cc
Subject
adding a resource file in POM.
Hi,
I am using a ant task to run inside my pom, to run Jaxb1.0.4 compile task.
I want to add jaxb,proper
Hi,
I am using a ant task to run inside my pom, to run Jaxb1.0.4 compile task.
I want to add jaxb,properties to the output jar with 'complete' path
reference. Currently I am adding it as a resource, it is added to the jar
but with out any path reference.
Hi Ho!
Why the public repository for Maven2 (http://repo1.maven.org/maven2/) does
not contain all jars exists in the public repository for Maven1
(http://repo1.maven.org/maven/)?
For example, in the Maven1's repo you can get maven-xdoclet-plugin-1.2.3.jar
in http://repo1.maven.org/maven/xdoclet/p
Problem resolved. The local system user on my build box was missing the
repository folder under C:/Documents and Settings/Default User/.m2. The
only file in this folder is the parent pom.xml.
Does anyone know why this file must be in here instead of the 'regular'
repositories?
Thanks,
Doug T
I was able to build from my local machine. I had forgotten to change my
settings.xml for maven. After copying the settings.xml from my
continuum build box, I can successfully build via the command line. So
this brings me back to a missing or corrupt setting in Continuum that is
not looking at th
Below are emails I have sent to the Continuum mailing list, but since it
seems that there is a problem with my maven repositories, at least one
of them anyways, I thought I would forward these emails to this
user-list as well. If anyone can provide any help I would greatly
appreciate it. I am kin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear maven users,
here is a quick question, which I was unable to find so far.
To stay independent of the SCM, I would like users to use mvn scm:diff
(insted of svn diff) to create patches. However, doing so will not only
result in the diff, but also
Hi
I've a fresh new maven 2.5 install with the following settings:
-
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/settings-1.0.0
Hi all,
for some reason my offline build fails. Maven reports ut can't resolve
an artifact allthough it is in my local repo. Anyone knows what I might
be doing wrong? I'm using maven 2.0.5. Aditional info below.
regards,
Bram
==> my settings.xml
...
c:\path\to\maven2-repository
tr
I think "provided" is the right value for this
Regards
Rémy Sanlaville wrote:
> Anybody can help me (isn't it clear enough) ?
> any thoughts?
>
> Rémy
>
--
---
GRID SYSTEMS, S.A. Rodrigo Ruiz
Parc Bit - Edificio 17
On 2/22/07, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco)
<[EMAIL PROTECTED]> wrote:
Thanks, Wendy. I'll have a look. I've written up a few things for my
own use. It isn't complete, but it would be a start.
I started a new one, with the info Carlos provided:
http://docs.codehaus.
On 22/02/07, Tony Ambrozie <[EMAIL PROTECTED]> wrote:
I believe the correct locations are:
https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-dependency-analyzer-plugin/
and
https://svn.apache.org/repos/asf/maven/sandbox/trunk/shared/maven-dependency-analyzer/
Thanks, it was co
Anybody can help me (isn't it clear enough) ?
any thoughts?
Rémy
Additional question..
One custom plugin called "maven-ystr-plugin" contains multiple mojo's that
are bound to the generate-sources phase.
One of them generates a new xsd schema for jaxb, the other modifies the
generated jaxb code after the maven-jaxb1-plugin has run.
How should i configure them
Jerome Lacoste schrieb:
Please use the MOJO mailing list for comments on a MOJO project plugin.
On 1/30/07, Mark Donszelmann <[EMAIL PROTECTED]> wrote:
Hi
2. It would be handy if the $version could be added to the jnlp
parsed values.
this is fixed in 1.0-alpha-2-SNAPSHOT
Hi,
i tried the
Hello,
Is there a way to enforce a sequence of goal executions within a phase?
I have different custom plugins that expect other plugins to have produced
some output.
Any ideas?
Cheers
Jo
75 matches
Mail list logo