Kaare Nilsen wrote on Wednesday, December 14, 2005 8:47 AM:
> I tried to make a testNG plugin for m2, but got it only 80% finished.
> It was succesfully running tests with commons attributes (1.4 support
> of testng) but did not manage to get it to run 1.5 annotation tests.
> And since i have seen
I tried to make a testNG plugin for m2, but got it only 80% finished.
It was succesfully running tests with commons attributes (1.4 support
of testng) but did not manage to get it to run 1.5 annotation tests.
And since i have seen better codebases than testNG in my life (and
this was my second time
I don't think there is a plugin for TestNG yet sadly enough. There is a
TestNG plugin for Maven 1, but I did not get it working properly, you might
have more luck.
regards,
Wim
2005/12/13, Srepfler Srgjan <[EMAIL PROTECTED]>:
>
> Hi,
> I've read this blog
>
> http://blog.hibernate.org/cgi-bin/bl
Nik,
I have sent the the whole POM off list. The whole project is in CVS at
scm:cvs:pserver:[EMAIL PROTECTED]:/cvsroot/zebra:zebra/src/java/zebra-hivemind
It is quite odd - it may be some interaction with the other plugins. It does
the initial source deploy. Then it runs site and that is when S
I tried upgrading my Maven 2 Ant Tasks' JAR tonight, and after doing
so, I'm getting the following error:
foxxy:~/dev/equinox mraible$ ant war
Buildfile: build.xml
init:
[artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.
[artifact:dependencies] Diagnosis:
[a
When I running "mvn -U site:site" to generate offline document for
maven2, I got the following error:
[INFO]
-
---
[INFO] Can't read the url
[http://www.apache.org/licenses/LICENSE-2.0.txt] : www
.apache.org
[INFO]
-
On 12/13/05, Chris Berry <[EMAIL PROTECTED]> wrote:
>
> Greetings,
> A couple of questions;
>
> 1) Can someone point me at the docs, or if none are available (as it
> seems),
> tell me how to create a type of dependency that doesn't actually map
> directly to it's underlying type -- e.g. say I want
I have a test suite that depends on a certain order of tests. More
precisely, a unit test, which looks like
[...]
I'm not sure if the surefire plugin behaves the same as JUnit ... but
in JUnit you can manually create a TestSuite and specify the order in
which tests are executed:
TestSuite
Greetings,
A couple of questions;
1) Can someone point me at the docs, or if none are available (as it seems),
tell me how to create a type of dependency that doesn't actually map
directly to it's underlying type -- e.g. say I want to create a type CAR
(some hypothetical type) that is actually a
Ben,
I can't replicate this. Please send your entire pom.xml.
Thanks!
Nik
Ben Gidley wrote:
I am trying to set up site/site deploy so that they automatically run during
the deploy phase. However when I do this and have the surefire reports
plugin it runs the tests twice - is there a way to s
Hi Ruel,
I know we discussed this briefly on IRC. Did you find an appropriate
solution for your use case? (just trying to record it for the
archves).
- Brett
On 12/7/05, Ruel Loehr <[EMAIL PROTECTED]> wrote:
> Guys,
>
> I have a multi-module build. I would like to be able to execute a
> plugin
I get it too. It's a minor issue - doesn't affect the distro.
- Brett
On 12/13/05, Christopher Cobb <[EMAIL PROTECTED]> wrote:
> Am I the only one getting this error? I've tried from several download
> sites now:
>
> $ tar ztf maven-2.0.1-bin.tar.gz
> maven-2.0.1/conf/
> maven-2.0.1/core/plexus-
I had a problem building Maven 2 from the latest source because of some
dependency references to 2.0.1-SNAPSHOT versions.
To make the build work, I had to change these dependency version
references to 2.1-SNAPSHOT. The POMs I had to change were:
maven-plugin-plugin
maven-ear-plugin
maven-ejb-
Thanks Lukas.
Here is my solution. It's not pretty but it does the job.
document.write('\xA9')
Just place this where you want the copyright symbol to appear. I'm already
using a customized copy of site.jsl, so I just replaced each of the 4
occurrences of the © entity with a copy of the above J
Excellent, that was exactly the problem. I'm not sure how I overlooked
that attribute, but thanks very much!
Kris
dan tran wrote:
>add expression="${}" see my changes below
>
>-D
>
>
>
>>
>>
>
>
>
-
To unsubscribe,
I got the same exception. I also tried to remove the . From the path and it
still does not work
-Original Message-
From: Mayorgaadame, Alex [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 3:13 PM
To: Maven Users List
Cc: continuum-users@maven.apache.org
Subject: RE: Exceptio
I got the same exception. I also tried to remove the . From the path and it
still does not work
-Original Message-
From: Mayorgaadame, Alex [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 3:13 PM
To: Maven Users List
Cc: continuum-users@maven.apache.org
Subject: RE: Exception
add expression="${}" see my changes below
-D
On 12/13/05, Kris Nuttycombe <[EMAIL PROTECTED]> wrote:
>
> dan tran wrote:
>
> >http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
> >
> >after that, you can use -Dkey=value to override any configurations
> >(parameters) of
I have the following configuration for resources:
src/main/resources(Contains files for building any war)
src/main/resources/dev(Contains files for building only the
development war)
src/main/resources/qa (Contains files for building only the
qa war)
dan tran wrote:
>http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
>
>after that, you can use -Dkey=value to override any configurations
>(parameters) of hte plugin
>
>-Dan
>
>
>
I'm having a hard time getting this to work. Here's a snippet of my
plugin source:
/**
* Thi
Nope it is maven1.. Although Milos started on the maven2 plugin.
Mvgr,
Martin
Frank Russo wrote:
Will this work for maven 2?
Frank Russo
Senior Developer
FX Alliance, LLC
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Will this work for maven 2?
Frank Russo
Senior Developer
FX Alliance, LLC
> -Original Message-
> From: Martin van den Bemt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 13, 2005 3:26 PM
> To: Maven Users List
> Subject: Re: JavaPolis
>
>
> Without the hat I already look funny en
Without the hat I already look funny enough I think :)
You probably met me already without knowing it though. If someone asked you to
vote for Milos or offered you a chair to have a one on one presentation from
Milos : that was me.. ;)
I want thank everyone that voted for his plugin to be prese
I personally think that we should lobby for grater use of maven2. I mean
with all respect to maven you team just can't and shouldn't handle this
enormous repository. I mean the hibernate guys should build their libs
with m2 pom and also house the libs themselves. I mean we can't really
bother y
Can you try:
PATH=$PATH:/usr/sbin:/usr/builduser/maven-2.0/bin:/usr/bin
Instead of:
PATH=.:/usr/sbin:/usr/builduser/maven-2.0/bin:/usr/bin
And see if it does any good. I'm moving the discussion over to the Continuum
List.
Regards,
Alex
-Original Message-
From: Mordo, Aviran (EXP N-NAN
Hvala (thanks),
If anyone is following this and want's to add his 2 cents please do.
Tomislav Stojcevich wrote:
I take back part of that. org.hibernate.hibernate.3.1rc2 has a pom
you can you for a start.
org.hibernate.hibernate-tools only had alpha5 with no pom. I made up
the following based
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html
after that, you can use -Dkey=value to override any configurations
(parameters) of hte plugin
-Dan
On 12/13/05, Kris Nuttycombe <[EMAIL PROTECTED]> wrote:
>
> Hi, all,
>
> I'm currently in the process of developing my firs
I take back part of that. org.hibernate.hibernate.3.1rc2 has a pom
you can you for a start.
org.hibernate.hibernate-tools only had alpha5 with no pom. I made up
the following based on what was in the lib directory of the download
for the 3.1beta1. It depends on a snapshot of jtidy-r8 which is n
Hi,
> -Original Message-
> From: Srepfler Srgjan [mailto:[EMAIL PROTECTED]
> Sent: mardi 13 décembre 2005 19:25
> To: Maven Users List
> Subject: [m2] TestNG and webapp testing
>
> Hi,
> I've read this blog
> http://blog.hibernate.org/cgi-
> bin/blosxom.cgi/Christian%20Bauer/java/ejb3with
There are poms you can copy under org.hibernate for a start.
The versions there are a bit more up to date than under hibernate and
those poms seem to have information rather than being the default as
are the ones in hibernate.
I needed the newest version of the hibernate-tools and just used the
l
Please help!
After updating from maven 2.0 to maven 2.0.1 I have this ...
constituent[38]:
file:/C:/Programming/maven-2.0/lib/wagon-ssh-1.0-alpha-5.jar
---
Exception in thread "main" java.lang.NoSuchMethodError:
org.codehaus.plexu
Hi,
I just wanted to let people know some libs have been released but since
I don't have the time to make the pom's for them I'm hoping someone else
would like to volunteer.
First of all hibernate 3.1 got final, then there is a 3.1 beta2 of their
tools package that I for instance use to get the
Hi, all,
I'm currently in the process of developing my first Maven 2.0 plugin.
I've been able to figure out everything except how to add custom
command-line arguments. Can anyone point out some documentation of how
to do this?
For example, I want to do the following:
mvn -Dmyarg1=val1 -Dmyarg2=v
Getting the following error in 2.0.1 when I run artifact:dependencies
from a project that has a parent pom. It use to work in 2.0.
[artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.
[artifact:dependencies] Diagnosis:
[artifact:dependencies]
[artifact:dependen
Hi,
I've read this blog
http://blog.hibernate.org/cgi-bin/blosxom.cgi/Christian%20Bauer/java/ejb3withtestng.html
and I found it very interesting. Is there a plugin for TestNG for
maven2? What about Cactus?
What is the approach to developing in-container tests? I read somewhere
that Cargo has s
Sorry in I wasn't clear, the space in the path was under Windows where it
failed to start.
I attached the env file
Aviran
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 12:24 PM
To: Maven Users List
Subject: Re: Exception running co
Hello,
After updating from maven 2.0 to maven 2.0.1 I have this ...
constituent[38]:
file:/C:/Programming/maven-2.0/lib/wagon-ssh-1.0-alpha-5.jar
---
Exception in thread "main" java.lang.NoSuchMethodError:
org.codehaus.plexus.util.cli.CommandL
We are pleased to announce the Maven Announcement Plugin 1.4 release!
http://maven.apache.org/maven-1.x/reference/plugins/announcement/
The Announcement plugin generates release announcements. It uses the
information found in both the POM and in the changes.xml file to generate the
announcemen
We are pleased to announce the Maven Changes Plugin 1.6 release!
http://maven.apache.org/maven-1.x/reference/plugins/changes/
===
Changes in this version include:
New Features:
o Validate changes.xml. Fixes MPCHANG
Can you put your env result in a file and attach it to the issue?
You have a space in a folder name under solaris!!! I thought it was only under
windows.
So, you need to remove line "wrapper.java.additional.5.stripquotes=TRUE" in bin/solaris/wrapper.conf
(if you use the wrapper)
Emmanuel
Mor
Correct.
Anyway I changed this entry not to have a carriage return and I'm still getting
the exception.
I don't know if this is related but I found that if I have an entry in the
system's path with a folder name containing a space, continuum will fail to
start.
-Original Message-
Fro
so "-->" is part of previous line with a return carriage?
Mordo, Aviran (EXP N-NANNATEK) a écrit :
It is part of the SP1 env variable. If I echo SP1 I get [EMAIL PROTECTED]:$PWD -->
but if I type env I get the --> in a separate line
-Original Message-
From: Emmanuel Venisse [mailto:[E
It is part of the SP1 env variable. If I echo SP1 I get [EMAIL PROTECTED]:$PWD
--> but if I type env I get the --> in a separate line
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 11:55 AM
To: Maven Users List
Subject: Re: Exception
Can you add a comment on http://jira.codehaus.org/browse/MNG-1819
Mordo, Aviran (EXP N-NANNATEK) a écrit :
Yes I do, I have the following line: "-->" (without the quotes)
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 11:42 AM
To:
hmm, strange line.
Do you know what is it? It isn't an environment variable
Emmanuel
Mordo, Aviran (EXP N-NANNATEK) a écrit :
Yes I do, I have the following line: "-->" (without the quotes)
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13
Yes I do, I have the following line: "-->" (without the quotes)
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 13, 2005 11:42 AM
To: Maven Users List
Subject: Re: Exception running continuum on solaris
the correct list is continuum-users@mave
Am I the only one getting this error? I've tried from several download
sites now:
$ tar ztf maven-2.0.1-bin.tar.gz
maven-2.0.1/conf/
maven-2.0.1/core/plexus-container-default-1.0-alpha-9.jar
maven-2.0.1/core/plexus-utils-1.0.5.jar
...
maven-2.0.1/bin/mvn
maven-2.0.1/conf/settings.xml
maven-2.0.1/
the correct list is continuum-users@maven.apache.org ;-)
It seems there is a bug in our command line util class (used too by maven 2.0.1)
Do you have a line without '=' when you run env command?
The problem is with a substring on env result.
Emmanuel
Mordo, Aviran (EXP N-NANNATEK) a écrit :
I'
I'm trying to build a project using continuum on Solaris and I'm getting
the following exception:
org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Error while executing shell command. The most common error is that 'mvn'
is not in your path.
at
org.apache.maven.continuum
> -Original Message-
> From: Mike Perham [mailto:[EMAIL PROTECTED]
> Sent: 13 December 2005 16:01
> To: continuum-users@maven.apache.org
> Subject: RE: Cannot add Perforce project to Continuum 1.0.2
>
> Neil, I'm the Perforce SCM plugin author. Perhaps I need to
> explain why the Per
I can't remove it.
Because it's an abstract method in
org.apache.maven.reporting.AbstractMavenReport and I need to extend it
to made a mojo report.
- Olivier
-Message d'origine-
De : Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Envoyé : mardi 13 décembre 2005 16:59
À : Maven Users List
Obj
Neil, I'm the Perforce SCM plugin author. Perhaps I need to explain why
the Perforce SCM plugin is doing what it is doing.
Continuum needs to check out a project's source into a particular
working directory. Perforce does not have any notion of checkout to a
random directory - you need to use a
Can you try to remove your getSiteRenderer method and change package of
SiteRenderer in your import?
Emmanuel
Olivier Lamy a écrit :
Can you explain more ?
Because my mojo report needs to extends
org.apache.maven.reporting.AbstractMavenReport
This contains the abstract method :
org.codehaus.do
Hmm, it's seems there is a missing component description in plexus descriptor
of maven-reporting-impl
org.codehaus.doxia.site.renderer.SiteRenderer
org.apache.maven.doxia.site.renderer.DefaultSiteRenderer
org.apache.maven.doxia.site.module.manager.Sit
Can you explain more ?
Because my mojo report needs to extends
org.apache.maven.reporting.AbstractMavenReport
This contains the abstract method :
org.codehaus.doxia.site.renderer.SiteRenderer getSiteRenderer()
That's why my mojo field is :
/**
* @component
* @required
* @readonl
Hi,
I have a test suite that depends on a certain order of tests. More
precisely, a unit test, which looks like
public class MyTest extends TestCase {
public void testFoo(){ ... }
public void testBar(){ ... }
}
assumes, that testFoo() is invoked before testBar(). This wor
According to Vincent's solution. (Sorry, I haven't
subscribed list before, so I couldn't reply)
I don't think if using setUp()/tearDown() for container control
is good, because:
1) container state is external to application (and test)
2) we lose benefits of using declarative cargo setup
in POM
3
doxia is now in org.apache.maven.doxia
Olivier Lamy a écrit :
Hi,
A reporting mojo worked with 2.0 now failed with 2.0.1 (by updating
maven-reporting-impl with version 2.0.1).
The following stack trace (not full) :
ause the requirement
ComponentRequirement{role='org.codehaus.doxia.site.renderer
Thanks, it is a very smart workaround. First
I considered extending phase model and use
additional phases such as integration-test-prepare
and integration-test-dispose.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Hi,
A reporting mojo worked with 2.0 now failed with 2.0.1 (by updating
maven-reporting-impl with version 2.0.1).
The following stack trace (not full) :
ause the requirement
ComponentRequirement{role='org.codehaus.doxia.site.renderer.SiteRend
rer', roleHint='null', fieldName='siteRenderer'} was mi
Basically i want to refresh the database for that first i've to delete the
existing database and run create.sql to create new database and restore the
database for test data.
On 12/13/05, Dion Gillard <[EMAIL PROTECTED]> wrote:
>
> Are you trying to populate the database with some test data, or
Are you trying to populate the database with some test data, or are
you trying to create tables, views etc?
On 12/14/05, charles Anto <[EMAIL PROTECTED]> wrote:
> Hi dion,
>
> I've downloaded dbunit jar files and no idea where to put that jar file
> and how to establish connection with maven scr
Hi dion,
I've downloaded dbunit jar files and no idea where to put that jar file
and how to establish connection with maven script and postgresql.
Ken: I'm using maven1.0.2
On 12/13/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
>
> On Tue, 13 Dec 2005, Kenney Westerhof wrote:
>
> Oh, I forgo
On Tue, 13 Dec 2005, Kenney Westerhof wrote:
Oh, I forgot to ask wheter you're using maven 1 or 2 - the text below is
for maven 2 :)
-- Kenney
> On Tue, 13 Dec 2005, charles Anto wrote:
>
> I recall someone working on an sql plugin, but in the mean time
> you could try using the ant task and th
Are you using the dbunit plugin for maven?
http://maven-plugins.sourceforge.net/maven-dbunit-plugin/
On 12/14/05, charles Anto <[EMAIL PROTECTED]> wrote:
> >
> > Any idea, how to create database in postgresql using maven or ant scripts.
> > I've tried DBUNIT. But not able to reach the goal. Becau
On Tue, 13 Dec 2005, charles Anto wrote:
I recall someone working on an sql plugin, but in the mean time
you could try using the ant task and the antrun plugin.
Make sure you add a dependency on postgresql in the tag for
the antrun plugin, and you should be set.
-- Kenney
> >
> > Any idea, how
>
> Any idea, how to create database in postgresql using maven or ant scripts.
> I've tried DBUNIT. But not able to reach the goal. Because i don't know
> how to configure JDBC driver and DBunit driver with maven scripts.
>
>
> Thanks,
> Charles
>
please use appropriate subject text, rather than simply replying to another
post, it causing conversations to become disjointed !
On 13/12/05, charles Anto <[EMAIL PROTECTED]> wrote:
>
> Any idea, how to create database in postgresql using maven or ant scripts.
> I've tried DBUNIT. But not able to
Any idea, how to create database in postgresql using maven or ant scripts.
I've tried DBUNIT. But not able to reach the goal. Because i don't know how
to configure JDBC driver and DBunit driver with maven scripts.
Thanks,
Charles
> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: 12 December 2005 17:57
> To: continuum-users@maven.apache.org
> Subject: Re: Cannot add Perforce project to Continuum 1.0.2
>
> In add pages, you must use http, https or ftp (and file if
> it's configured
don't shoot I'm new to Maven ;-)
spring-mock is specified in spring-parent-1.2.5.pom but spring-mock.jar does
not get pulled down from http://repo1.maven.org/maven2 Is there a reason
why this jar/pom is missing? I have written some tests that utilise
org.springframework.test.AbstractTransactiona
Hi there,
Please refer to this page http://docs.codehaus.org/display/MAVENUSER/FAQs
and look for the question "I have my in maven 1. How am I
going to convert that to Maven 2?"
Most of your report plugins are hosted in mojo codehaus
From the FAQ page, look for the question "Where is the _
Hi Piotr,
I have acheived this in M2 using a very simple lightweight POM for each
discrete task/execution in the integration phase e.g.
+ runtests-integration
pom.xml (parent pom, invoking child modules in the order below)
+ rebuild-database
pom.xml (antrun)
+ start-con
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=12000&styleName
=Html&projectId=10500&Create=Create
-Message d'origine-
De : Pete [mailto:[EMAIL PROTECTED]
Envoyé : mardi 13 décembre 2005 09:54
À : Maven Users List
Objet : Re: [ANN] Maven 2.0.1 Released
1) Where are the release
1) Where are the release notes, just wanted to read the improvements ?
2) Also the download link above seems to take me to a page with just the 2.0
downloads 19/10/2005
On 13/12/05, Michael McCrann <[EMAIL PROTECTED]> wrote:
>
> Many thanks I have got it now.
>
> Michael
>
> -Original Mes
I think this is related to http://jira.codehaus.org/browse/MNG-791
-allan
Piotr Bzdyl wrote:
Hello,
How can I turn on resources filtering for files in the
src/main/webapps directory? I need to filter web.xml and other xml
descriptors.
Best regards,
Piotrek
--
I am trying to set up site/site deploy so that they automatically run during
the deploy phase. However when I do this and have the surefire reports
plugin it runs the tests twice - is there a way to stop it running the tests
twice?
I have got in plugins
org.apache.maven.plugins
Hi,
can anyone point me to a plugin with included integration tests, that I
may use as an example? Preferrably, a source generating plugin?
All plugins that I know so far, have either a simple "test" directory,
or no tests at all.
Regards,
Jochen
---
78 matches
Mail list logo