Hi All;
I am trying to run the some test cases directly form the maven using
junit ant task. (My requirement is that I should run the test Only if
some jar is presents, but even though the jar is absent the build
should not fail, now I am doing it as a post goal to test:test).
But I get the error
On Thu, 2005-07-07 at 08:56 +0800, Edwin Punzalan wrote:
> Hi, Jason.
>
> I think I saw Allan Ramirez post the javacc plugin in jira
Noted and updated in the matrix.
> Jason van Zyl wrote:
>
> >Howdy,
> >
> >I've update the matrix to include authors of m2 plugins so that folks
> >wishing to imp
Hi,
Which version are you using? This was fixed accdg to trygvis. My
version from svn would download the plugin using the groupId.
Try downloading the svn source and bootstrap your m2.
Vitaliy Geraymovych wrote:
Ok, I resolved the issue that I was having. My plugins section was
outside of
Hi, Jason.
I think I saw Allan Ramirez post the javacc plugin in jira
Jason van Zyl wrote:
Howdy,
I've update the matrix to include authors of m2 plugins so that folks
wishing to implement a plugin can see if there is already anyone working
on it. Just so people are aware of what others are d
Anyone connecting Maven to ChangemanDS?
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
-
To unsubscribe, e-mail:
No, it isn't possible.
Please, the next times, don't send your message multiple times. If
nobody respond to your mail, nobody have the response or a person
respond it later. Thanks.
Emmanuel
Mick Knutson wrote:
From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List"
To: u
From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List"
To: users@maven.apache.org
Subject: RE: [maven] How to merge security entries into application.xml for
EAR
Date: Wed, 06 Jul 2005 09:15:55 -0700
Ping?
From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users Lis
That worked :-)
I hadn't thought of looking at the ant ant call attributes :-(
Thanks Kenney,
Aidan.
-Original Message-
From: Kenney Westerhof [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 12:25 PM
To: Maven Users List
Subject: RE: Pass project classpath into ant file? (M-10
I have a need to compile with Java 1.2 and 1.3 . As far as I can tell I
set the maven.compile.{source,target} properties to 1.2 and 1.3 as
appropriate, but it doesn't seem to be working, e.g.
maven.compile.source=1.3
maven.compile.target=1.3
java:compile:
[echo] Compiling to
C:\projects\onli
Hi all,
Running the site goal I am getting this exception (it does not happen
when running java:compile):
java:compile:
[echo] Compiling to E:\Documents\bmf1972\My
Projects\test/target/classes
[echo]
==
NOTE: Targetting JVM 1
Ok, I resolved the issue that I was having. My plugins section was
outside of the build section
As soon as I moved plugins inside build m2 started downloading
plugins.However, m2 could only download plugins defined in
org/apache/maven/plugins (i.e. maven-antlr-plugin) but m2 could no ge
Hi Stephane,
thx for the reply.
For the sake of clarity by one module you mean one sub-project?
Although they are all for the same small application whereby one calls
the other they are performing different tasks.
I felt that seperate projects was a bit overkill, I may be wrong.
Colin
Steph
On Wed, 6 Jul 2005, Aidan Donohoe wrote:
try specifying the inheritRefs attribute:
(see the ant manual: http://ant.apache.org/manual/CoreTasks/ant.html)
-- Kenney
> I've tried calling the build file from maven.xml several ways
>
> target="do-target-which-needs-project-dependency-path" />
>
Hey,
I would rather consider whether those EJB are grouped in the same
logical module (i.e. set of functionnality). If so, keep it in a
single directory producing a single artifact (ejb-jar in this case).
If those EJBs are completely separated, create one module per EJB
(this seems strange to me
Hi all,
I seem to have difficulty in understanding the directory setup of a J2EE
project in 1.0.2 :-(
I found two almost complete presentations which gave me two slightly
different solutions. One using *standard* maven directory setup which
resembles what you see below and one using the react
I've tried calling the build file from maven.xml several ways
Here I get "maven.dependency.classpath not found"
Here I get
"Reference my-path not found."
-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 4:10 PM
To: Maven Users List
I have special interest on tackling maven-native-plugin. I am currently
loooking at cpptasks source code to figure out a way to port it to MOJO
-D
On 7/6/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> Howdy,
>
> I've update the matrix to include authors of m2 plugins so that folks
> wishing to
On 7/5/05, Rahul <[EMAIL PROTECTED]> wrote:
> Greetings,
>
> I would like to understand what would be a good way to go about doing
> the following.
>
> 1) checkout the project : I would like to checkout only required folders
> for a project, like, java sources, web application and resources folde
All
How do I build a distribution for a multiproject
setup. I want to be able to package the jars generated
by each of the subprojects and the jars on which they
depend on too into one relase. The release plugin
(which is now deprecated) had a way of selectively
specify - through properties tag
is there blank line before this
-D
On 7/6/05, Alexandre Touret <[EMAIL PROTECTED]> wrote:
> Hi,
> I am coding a plugin. When I try to start any of the goal I have the
> following error
>
> $ maven oc4jcore:shutdown
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intellige
Christian,
Take a look at maven-scm-plugin to bootstrap your build.
You need an internal maven repository so that maven-jar-plugin,
maven-war-plugin,
etc to deploy to. All those plugins use maven-artifact-plugin. Read
the doc and plugin.jelly will give you a much better understanding.
Start w
Howdy,
I've update the matrix to include authors of m2 plugins so that folks
wishing to implement a plugin can see if there is already anyone working
on it. Just so people are aware of what others are doing.
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix
--
jvz.
Jason van Zyl
jason
I would like to deploy a jar, a snapshot, and the site. Currently the
tests run for all three targets any given build cycle. Is there any way
to tell Maven 1.0.2 to only run the set of tests once for all three
targets?
Thanks,
Corey
---
On Wed, 2005-07-06 at 18:28 +0200, Kristian Nordal wrote:
> Hi,
> I'm working on the Jetty plugin for Maven 2.
Updated thanks.
> --
> Kristian
>
> > Does anyone have any thoughts on how we might best collect this
> > information as to the popularity of plugins? Can JIRA do simple
> > surveys?
On Wed, 2005-07-06 at 09:26 -0700, Sean Hennessy wrote:
> Docbook?
It's supported within Doxia which we use for our site generation.
> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 06, 2005 9:22 AM
> To: Maven Users List
> Subject: RE: Determi
On Jul 6, 2005, at 3:07 PM, Jason van Zyl wrote:
Hi,
I created a matrix to compare the plugins available in m2 versus
that in
m2 and I'm trying to get a sense from users which plugins are most
popular so that we can focus our efforts based on user desire. The
matrix is here:
http://docs.cod
Docbook?
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 9:22 AM
To: Maven Users List
Subject: RE: Determining priority of porting plugins from m1 to m2
On Wed, 2005-07-06 at 09:52 -0600, Ryan, Scott wrote:
> You can add the Weblogic plugi
On Wed, 2005-07-06 at 09:52 -0600, Ryan, Scott wrote:
> You can add the Weblogic plugin to the list as I am working on the M2
> version as we speak and M1 has been out for a while.
Done.
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix
> Scott Damon Ryan
> Developer
> (720) 514-5389
>
Ping?
From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List"
To: users@maven.apache.org
Subject: [maven] How to merge security entries into application.xml for EAR
Date: Fri, 01 Jul 2005 12:39:59 -0700
I have some security settings I need to merge into my application.xml and
c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
After adjusting some of the dependency versions it now works! Thanks a
lot guys!
- --
Unico
Kenney Westerhof wrote:
> On Wed, 6 Jul 2005, Unico Hommes wrote:
>
>
>>Hmm, I am afraid my cheers were a little premature. I now have a problem
>>executing
You can add the Weblogic plugin to the list as I am working on the M2
version as we speak and M1 has been out for a while.
Scott Damon Ryan
Developer
(720) 514-5389
[EMAIL PROTECTED]
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 9:08 AM
T
OK, so we have to find out if it is registering correctly, or even trying
(installed correctly?). It is not even generating the link and empty page.
What does the log show?
- error messages?
- findbugs plugin registering, running any goals?
How did you download the plugin, using Jamie's notes
Hi Jeff,
It does not generate any html / xml file for the findbugs report.
I did try maven with n without "maven.findbugs.detail" option.
And also with low / high / medium (default) values.
There is also no link on the report page.
Sreenivas
-Ursprüngliche Nachricht-
Von: Jeff Jensen [
Thanks Jason,
I tried your example but without much success. It seems overall my
problem is that m2 is not downloading any plugins that I specify. The
only ones I have in my local repository under org/apache/maven are
maven-archetype, maven-archetype-core, -artifact, -model, plugin-api,
-project,
> Solution 1 is as Jamie suggested: have CC monitor trunk. To do this,
> however, you'll need to have a project.xml in the trunk directory for
> the sole purpose of hooking it up to CruiseControl. The trunk project
> could then call through to the multiproject when it actually builds.
I am ok wi
Does it generate the HTML page, but it is just empty (no errors found), or is
the file entirely missing?
If the file exists, are you sure your deliberate errors are "high"? I suggest
trying medium and low as well to eliminate that as a cause.
Is the FB link on the Project Reports page?
Quoting
Yeah!, sorry it was a type mistake in my email. But I use "high" as a value
in my properties file for the "maven.findbugs.detail". But it does not
give me any reports.
Could anybody please check this about the findbugs plugin. Thanks.
Sreenivas.
-Ursprüngliche Nachricht-
Von: Jeff J
On Wed, 6 Jul 2005, Unico Hommes wrote:
> Hmm, I am afraid my cheers were a little premature. I now have a problem
> executing the hello goal. Again I get a stacktrace:
You have to specify the plugin version to use in the POM:
..
maven-hello-plugin
org.apache.mave
On Wed, 2005-07-06 at 09:01 -0600, David Jackman wrote:
> Could you move the matrix page to a wiki or your blog and have people
> post responses there?
That is in a wiki, our Maven Confluence instance.
> I think most survey pages are anonymous, and you would be better off
> knowing who was voting
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hmm, I am afraid my cheers were a little premature. I now have a problem
executing the hello goal. Again I get a stacktrace:
C:\code\hippo-fortress\m2plugin>m2 -e hello:hello
+ Error stacktraces are turned on.
[INFO]
-
Could you move the matrix page to a wiki or your blog and have people
post responses there?
I think most survey pages are anonymous, and you would be better off
knowing who was voting for plugins that may not get done.
..David..
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTE
Hi Jason,
I'm creating an [m2] SableCC plug-in. SableCC generates both Java
sources and a couple of other data files. (Like data for the lexical
analyzer's finite state machine.)
The plug-in that I created will be called at the 'generate-sources'
stage. The plug-in will add the directory containi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ha! Your hint about the element was a winner. Thanks a bunch. I
guess someone better fix this in the documentation.
- --
Unico
David Le Strat wrote:
> Have you looked at this thread?
>
> http://marc.theaimsgroup.com/?l=turbine-maven-user&m=11201363
Not to sound mean, but you really need to start reading the documentation more
carefully. The answer to your current problem is on this page:
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/properties.html
Note the second entry, maven.findbugs.detail:
"Specifies whether "low", "mediu
Hallo,
Well I downloaded the findbugs plugin and it is stored in the maven's plugin
directory ("C:\maven1.0.2\plugins\maven-findbugs-plugin-0.9.1.jar").
When I include it in the project.properties file as shown below,
#findbugs plugin.
maven.findbugs.enable = true
# Detail information to be sh
There are a couple of different solutions for this problem, though
neither is what I'd prefer.
Solution 1 is as Jamie suggested: have CC monitor trunk. To do this,
however, you'll need to have a project.xml in the trunk directory for
the sole purpose of hooking it up to CruiseControl. The trunk
> What does the CVS structure look like? Something like:
>trunk/
> project 1/
> project 2/
> multiproject/
This is correct.
> Just have CC monitor trunk/ and you should be fine.
There are no files in trunk, all my maven files are in multiproject. If
this is what you under
Will do!
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 8:58 AM
To: Maven Users List
Subject: RE: [m2] Secure Passwords in the settings.xml
On Wed, 2005-07-06 at 07:28 -0400, McGarr, Joseph M. wrote:
> Does anybody have any insight into th
Hi,
I am coding a plugin. When I try to start any of the goal I have the
following error
$ maven oc4jcore:shutdown
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
org.apache.commons.jexl.parser.TokenMgrError: Lexical erro
Have you looked at this thread?
http://marc.theaimsgroup.com/?l=turbine-maven-user&m=112013632905808&w=2
I had the same issue, it was caused by a missing
element in the pom.xml. I also saw the error with an
extra element ( should not be there).
Regards,
David Le Strat.
--- Unico Hommes <[EMAI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I am following the "Developing Plugins with Marmalade" tutorial on the
Maven 2 website. Following the instructions to the letter of creating
the pom.xml and the hello world marmalade script running 'm2 install'
gives me the following NPE:
java.lang.Nu
What does the CVS structure look like? Something like:
trunk/
project 1/
project 2/
multiproject/
Just have CC monitor trunk/ and you should be fine.
On 7/6/05, Michael Mattox <[EMAIL PROTECTED]> wrote:
> > Is there a reason doing the CVS update from the multiproject directo
Findbugs does not ship with Maven.
Go to the findbugs plugin page docs, click the downloads link:
http://maven-plugins.sourceforge.net/maven-findbugs-plugin/downloads.html
Click on the release notes of the version you want. It describes how to
download & install.
A second method, not documented
Hi,
I created a matrix to compare the plugins available in m2 versus that in
m2 and I'm trying to get a sense from users which plugins are most
popular so that we can focus our efforts based on user desire. The
matrix is here:
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix
Does anyon
The FindBugs plugin is not part of the 1.0.2 distribution; you have to
install it separately. Did you do that? If not, do the following:
maven plugin:download
When prompted for the 'artifactId', enter "maven-findbugs-plugin"
When prompted for the 'groupId', enter "maven-plugins"
When prompted f
Hi Folks,
after I played around with m2 a bit I decided to start with m1 first
because it is way better documented and easier to comprehend when
beginning with maven at all. I did the ten minute test and my feeling
about this is very good. As I want to go on I now want to try to manage
my own
On Wed, 2005-07-06 at 14:36 +0200, Wilfred Springer wrote:
> Does anybody know if it is possible to add resources to a POM
> automatically within my plugin?
>
> I'm looking for something like this:
>
> compileSourceRoots.add()
>
> - but then for resources.
That sounds like a reasonable requ
On Wed, 2005-07-06 at 08:27 -0400, Andy Glick wrote:
> I looked in the mailing lists and in JIRA to see if this had been reported
> and I didn't find it.. Please excuse me if this is a duplicate report.
>
> It looks as if the XML schema is out of sync with the POM documentation page.
>
> The fol
On Wed, 2005-07-06 at 07:28 -0400, McGarr, Joseph M. wrote:
> Does anybody have any insight into this?
Your best bet is to note this in JIRA so that it doesn't get lost in the
noise. I think what you're asking for would be a feature many users
would want.
> -Original Message-
> From: McGa
Does anybody know if it is possible to add resources to a POM
automatically within my plugin?
I'm looking for something like this:
compileSourceRoots.add()
- but then for resources.
--
_
Wilfred SpringerPhone
I looked in the mailing lists and in JIRA to see if this had been reported
and I didn't find it.. Please excuse me if this is a duplicate report.
It looks as if the XML schema is out of sync with the POM documentation page.
The following fragment from the POM's documentation page does not appea
Installed Maven 1.1 and it works well -- still, what is the reason for
such a problem?
Adrian Herscu wrote:
Interesting what surprises are hidden behind Maven 1.1-beta-1...
dan tran wrote:
Adrian,
maven 1.1-beta-1 supports commons-jelly-1.0, perhaps you can try that
so that if any problem y
Hi All,
I would like to read a file and store the contents to a maven variable
(v 1.0.2)
Thanks,
Sasikumar Natarajan
-Original Message-
From: McGarr, Joseph M. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 4:58 PM
To: 'Maven Users List'
Subject: RE: [m2] Secure Passwords i
I have a project A that contains a sub-project B.
If I run 'multiproject:site' in A, the linkcheck report for project B
gets generated correctly, but the one for the parent project A contains
just an empty placeholder (' This file is used as a placeholder until
the final link check can occur.
Does anybody have any insight into this?
-Original Message-
From: McGarr, Joseph M. [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 03, 2005 2:19 PM
To: 'users@maven.apache.org'
Subject: [m2] Secure Passwords in the settings.xml
Has there been any talk about adding security to the server pa
Kenney Westerhof wrote:
On Wed, 6 Jul 2005, Gisbert Amm wrote:
This isn't possible. Your dependency tree is somehow wrong.
You can either:
- find a common goal that both war:init and site:deploy depend on and
preGoal that;
- split your preGoal content into 2 parts, one for site:deploy and one f
On Wed, 6 Jul 2005, Gisbert Amm wrote:
This isn't possible. Your dependency tree is somehow wrong.
You can either:
- find a common goal that both war:init and site:deploy depend on and
preGoal that;
- split your preGoal content into 2 parts, one for site:deploy and one for
war:init (they seem to
Hi Maveners,
I need to call a preGoal in my maven.xml before two other goals. Is this
possible? I tried whitespace and comma separated lists, like this
...
...
but both didn't work.
As a workaround, I've put the piece of code I need twice in an XML
entity but I'd rather like to avoid tha
I'm trying to get ydoc working with Maven but it's not working. I get
this error for all my classes:
[javadoc] javadoc: warning - Could not locate class file for
fr.x.commun.ServiceContextFactory.
[javadoc] Please ensure that the directory, JAR archiv, or ZIP archive,
which contains the compi
> Is there a reason doing the CVS update from the multiproject directory
> doesn't work? It should get all subdirectories, which should update all
> of the subprojects (unless the multiproject doesn't follow the norm of
> having the subprojects located in subdirectories of the multiproject).
I di
On Wed, 6 Jul 2005, Edwin Punzalan wrote:
How did you invoke the plugin?
Using m2 sablecc-plugin:sablecc ?
You seem to have specified the plugin in the project pom that uses it;
if you want it to run automatically you have to add a
generate-sources tag near the executions element, and
specify th
I noticed that the groupId of your plugin pom is customed. Try changing
it to: org.apache.maven.plugins
Wilfred Springer wrote:
Hi,
I'm trying to get my own plugin running (m2), but it is never invoked.
If I try to use it in a project, then Maven seems to be aware of it, but
never invokes th
Hi Arik,
Thanks for the info. I got it. I would try the other tools.
Sreenivas
-Ursprüngliche Nachricht-
Von: Arik Kfir [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 6. Juli 2005 11:15
An: Maven Users List
Betreff: Re: [M1] Maven to build projects n generate reports.
Hello again Sreen
Hm, ok, apparently this is how it works:
sablecc-plugin
sablecc-plugin
1.0-SNAPSHOT
sablecc
Note that the execution element is not mentioned in the project
descripto
To use your plugin, you should include the plugin in your project pom in
the plugins executions of the project using the plugin.
Can you send the pom.xml of your project, too?
Wilfred Springer wrote:
Hi,
I'm trying to get my own plugin running (m2), but it is never invoked.
If I try to us
On Wed, Jul 06, 2005 at 10:32:40AM +0200, Wilfred Springer wrote:
> Hi,
>
> I'm trying to get my own plugin running (m2), but it is never invoked.
> If I try to use it in a project, then Maven seems to be aware of it, but
> never invokes the execute() operation on my Mojo to make it actually
> hap
Hi,
I'm trying to get my own plugin running (m2), but it is never invoked.
If I try to use it in a project, then Maven seems to be aware of it, but
never invokes the execute() operation on my Mojo to make it actually
happen.
The only message related to my plugin I'm getting is this one:
[INFO]
Hello again Sreenivas,
Maven does not provide such functionality out of the box, as it is not a
Continuous Integration tool - which is what you are after. I would
recommend either:
1. CruiseControl
2. Luntbuild
3. Continuum - in alpha state - use only for experimenting, but seems
the mos
Hallo,
Could anyone tell me how can i
a. Build n compile Java Projects (which are in a repository -cvs, subversion
etc) automatically like night builds and not rather at command prompt.
b. reports for the the build automatically. to make them later display in a
website. I include the ne
Hallo,
Has anybody worked with findbugs plugin. Can we generate reports to show
bugs in our projects. I tried to use the
findbugs plugin in the reports tag, but my build Failed.
maven-findbugs-plugin
BUILD FAILED
File.. C:\Dokumente und
Einstellungen\Sreenivas\.maven\cache\maven-x
Hi Lachlan,
I'm working on one. It's quite a difficult plugin to write so it'll take
some time. I'll commit what I already have tomorrow. To progress further
there needs to be some modifications to the m2 core.
Thanks
-Vincent
> -Original Message-
> From: Lachlan Roche [mailto:[EMAIL PRO
Hello,
My project consists of multiple independent sub-projects and is
organized as follows:
First there is the project which defines general services and database
access interfaces:
project_root/core
For the database access interface I have several implementations:
project_root/db-access-imp
is there a version of the clover plugin for maven 2?
--
lachlan
I agree - although I have absolutely nothing against svn of course, or
having it available online, but I think having an 'src' package is a
must for every project. It's the quickest way to go if you only want to
view stuff - especially if you need to take it to some offline location
(laptop, or
84 matches
Mail list logo