Re: Webapp won't start with jetty:run

2006-11-23 Thread Wendy Smoak
On 11/23/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: It works fine for me ... and I see from the IRC log that the trick is to not use Maven 2.1. :) -- Wendy

Re: Project groups

2006-11-23 Thread Carlos Sanchez
it's in progress On 11/23/06, Johan Vogelzang [EMAIL PROTECTED] wrote: Hello all, We use Continuum on our CI-server. For several development teams we added projects to Continuum. In Continuum now each development team can see the build results of other teams. We want to give development teams

RE: calling an archetype goal from embedder

2006-11-23 Thread hermod.opstvedt
Hi Like this: MavenEmbedder embedder = new MavenEmbedder(); embedder.setClassLoader(Thread.currentThread().getContextClassLoader()); MavenEmbedderConsoleLogger logger = new MavenEmbedderConsoleLogger();

Re: How to continuous integrate Maven2 projects?

2006-11-23 Thread Gisbert Amm
Dan Tran schrieb: not why you sent it twice within an hour best to ping cruise control list. That's what he did in parallel and also twice ;) However, the double sending of the posting apparently happened by accident, not on purpose. -Gisbert

Re: [OT] How to continuous integrate Maven2 projects?

2006-11-23 Thread Gisbert Amm
Mike Clark recommends to write a delegating build script that does the initial checkout, see: http://www.pragmaticprogrammer.com/starter_kit/au/scheduled.pdf I strongly recommend to buy the whole book! -Gisbert Amm jiangshachina schrieb: Hi guys, I'm using CruiseControl 2.5 to continuous

Re: Continuum tasks

2006-11-23 Thread Emmanuel Venisse
goals are define in build definitions, you can see them in the project view. By default, continuum build all projects with this command : mvn -N clean install If you have more than one build definition for your project, build now will use the default build definition. Emmanuel Morgovsky,

sending report to last commiters ?

2006-11-23 Thread Nicolas DE LOOF
Hello, CruiseControl has a feature I realy like : sending mail report on build failure to peoples that commited since latest succesfull build. AFAIK cc uses CVS id and a generic email address template. Is there anything similar in continuum ? Nico. This message contains information that

Classpath problem

2006-11-23 Thread Roozbeh
Hi, I have a serious problem with kodo and maven2. Kodo needs it's license file to be put in the root of the class path and I have written a kodo plugin for maven 2 which is basically ant tasks and I have tried a hell of different ways to put this license file in different places but it seems

Re: Webapp won't start with jetty:run

2006-11-23 Thread Emmanuel Venisse
It works fine for me Emmanuel Wendy Smoak a écrit : $ svn up; mvn clean install $ cd archiva-webapp $ rm derby.log $ mvn jetty:run This was working a couple of weeks ago. Now I get a huge stack trace, which can be seen here: http://wiki.wsmoak.net/cgi-bin/wiki.pl?Maven/ArchivaJettyError I

Re: sending report to last commiters ?

2006-11-23 Thread Emmanuel Venisse
It isn't implemented yet. Emmanuel Nicolas DE LOOF a écrit : Hello, CruiseControl has a feature I realy like : sending mail report on build failure to peoples that commited since latest succesfull build. AFAIK cc uses CVS id and a generic email address template. Is there anything similar

Re: sending report to last commiters ?

2006-11-23 Thread Nicolas DE LOOF
Does this mean it is planned ? Emmanuel Venisse a écrit : It isn't implemented yet. Emmanuel Nicolas DE LOOF a écrit : Hello, CruiseControl has a feature I realy like : sending mail report on build failure to peoples that commited since latest succesfull build. AFAIK cc uses CVS id and

[m2] (Filtering Resources) adding timestamp to a property file during releasing

2006-11-23 Thread SoftwareEngineering Hauschel
Hi all, any idea how to add a non static property to a property file while build time? Thanks Fredy

Re: sending report to last commiters ?

2006-11-23 Thread Emmanuel Venisse
yes, but I don't remember if it's planned for 1.1 or a future version. Emmanuel Nicolas DE LOOF a écrit : Does this mean it is planned ? Emmanuel Venisse a écrit : It isn't implemented yet. Emmanuel Nicolas DE LOOF a écrit : Hello, CruiseControl has a feature I realy like : sending

[m2] pom.description in manifest.mf

2006-11-23 Thread SoftwareEngineering Hauschel
hi all, the standard maven config is generating a manifest.mf and add the pom.description as property. That's not very nice and can create ugly errors. How can I block this feature? Fredy

EAR and eclipse plugin

2006-11-23 Thread JC Walmetz
My project contains an packageear/package module, when I generate my eclipse projects using the eclipse plugin, the ear module is created in eclipse as a java project and is marked on error. Any idea on how to generate a project without error in eclipse for an ear module ? -- View this message

Beanshell plugin

2006-11-23 Thread Marco Mistroni
hi all, i need to use beanshell plugin in my m2 project... found this interesting link http://scriptlandia.blogspot.com/2006/04/beanshell-plugin-for-maven2.html but somehow i keep on getting error [INFO] [ERROR] BUILD

maven-scm-plugin: Check in

2006-11-23 Thread Jeff Mutonho
I've got a requirement to use maven to check in a war file into some CVS repository.I know the maven-scm-plugin has a 'checkin' goal , but I'm not sure how its used.May someone show me an example of how I can use the 'checkin' goal to put a war file into a CVS repository. Thanx -- Jeff

Re: Beanshell plugin

2006-11-23 Thread Tom Huybrechts
if you go loook at that repository - the plugin directory has a space in its name (at the end) - there are no metadata files I can't imagine maven supports spaces in groupIds, so your best bet is to download and install it manually On 11/23/06, Marco Mistroni [EMAIL PROTECTED] wrote: hi all,

Download from central or mine?

2006-11-23 Thread jiangshachina
Hi guys, I made my local repository to remote shared repository with JBoss. My local repository has many artifacts from central repository. Then I specified another local repository for my Maven-2.0.4. I set following scripts to pom.xml of my project. repositories repository

Re: Assembly plugin for multi module project

2006-11-23 Thread Paolo Bacci
Nabble archives don't open here, returns timeout everytime. Does it have protection from brazilian ips? If so, a proxy would help. Barrie Treloar, could you send an example of your assembly descriptor? Thx, Paolo Bacci On 11/23/06, Barrie Treloar [EMAIL PROTECTED] wrote: On 11/23/06, Timo

RE: [m2] use case problem

2006-11-23 Thread Remy.Coqueugniot
Hi, Any answers to this (may be too long :) ) question ? RC Hi maven users, I would like to setup a global environment with maven2 for two differents teams: development and integration/support team. The first one would describe their project with a pom.xml and access to the

[m2] archetype plugin test resources location

2006-11-23 Thread Dave Syer
I like (a bit) the way the archetype plugin copies archetype sources to a new package based on the new project name. How can I do the same thing with test resources? -- View this message in context: http://www.nabble.com/-m2--archetype-plugin-test-resources-location-tf2691992s177.html#a7506731

Re: Surefire alternative

2006-11-23 Thread Mirko Nasato
Hi Dave, Dave Syer wrote: I was advised here: http://www.nabble.com/Surefire-report-issues-tf2634455s177.html#a7353146 to use the surefire plugin version 2.1.3. There were some dependency issues (if anyone knows a repo where that version is valid please let us know), so I tried 2.1.

Re: Assembly plugin for multi module project

2006-11-23 Thread Barrie Treloar
On 11/23/06, Paolo Bacci [EMAIL PROTECTED] wrote: Nabble archives don't open here, returns timeout everytime. Does it have protection from brazilian ips? If so, a proxy would help. Barrie Treloar, could you send an example of your assembly descriptor? No Idea why Nabble is blocking you. The

Re: Surefire alternative

2006-11-23 Thread Dave Syer
Actually I was wrong that the 2.1 plugin has the same problem as 2.2 with report output. But there are definitely other issues (in my case a classpath problem with forkMode=pertest). The sooner 2.2 is fixed the better. -- View this message in context:

[M2] one:convert plugin

2006-11-23 Thread Remy.Coqueugniot
Hi maven users, The maven 2 documentation describes a plugin maven-one-plugin: http://maven.apache.org/plugins/maven-one-plugin/ I didn't success in running the one:convert phase. Indeed the repository http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-one-plugin/ contains only a 1.0

Re: Error with WebDAV URL

2006-11-23 Thread Wendy Smoak
On 11/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: I'm running Archiva from a svn checkout, with the Jetty plugin. (mvn jetty:run) ... From the Administration page, if I click on the WebDAV URL: http://localhost:9091/repository/MyRepo I get the error below. ... Error 404 Not Found

Re: [m2] use case problem

2006-11-23 Thread Wendy Smoak
On 11/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Any answers to this (may be too long :) ) question ? It was fairly long and involved. :) A few thoughts... I'm leaning towards settings.xml with the appropriate Proximity repository defined as a mirror of central. You can create a

Maven eclipse plugin error

2006-11-23 Thread Julien HENRY
Hi, I get this error when I try to generate Eclipse configuration (mvn eclipse:eclipse) : [INFO] Preparing eclipse:eclipse [INFO] artifact org.codehaus.mojo:javacc-maven-plugin: checking for updates from Maven CodeHaus Snapshots [INFO] artifact org.codehaus.mojo:javacc-maven-plugin: checking

RE: [m2] use case problem

2006-11-23 Thread Remy.Coqueugniot
First, thanks for your answer. I was wondering, if this mailing list is the right place for such question. I'm leaning towards settings.xml with the appropriate Proximity repository defined as a mirror of central. You can create a custom versions of maven by modifying the settings.xml in

Snapshots Included

2006-11-23 Thread Wendy Smoak
For a managed repository, if Snapshots Included is UNchecked, Archiva does not index snapshots even if they are present, and the pom snippet correctly disables snapshots and enables releases. If Snapshots Enabled IS checked, Archiva indexes both snapshots and releases. However, in this case,

Assembly empty

2006-11-23 Thread Mirko Leschikar
Hi there, sorry to bother you again with my assembly problem. I skipped the profiles and I am using executions now. Unfortunately the assembled jar files are empty now. I am using modules and submodules. The modules are used for grouping the submodules which are packaged to Jars. I want to

NoClassDefFound during surefire

2006-11-23 Thread Michael Roepke
Hi Guys, I am facing a weird problem when executing surefire tests. Surefire seems not to find my classes under test-classes. Do I have to add this path to the classpath in the pom.xml? Any help is very appreciated! Thanks a lot from Brasil Michael Filekeys

Re: NoClassDefFound during surefire

2006-11-23 Thread Wendy Smoak
On 11/23/06, Michael Roepke [EMAIL PROTECTED] wrote: I am facing a weird problem when executing surefire tests. Surefire seems not to find my classes under test-classes. Do I have to add this path to the classpath in the pom.xml? No, it should just work. We'll need to know more about your

Re: Download from central or mine?

2006-11-23 Thread Wayne Fay
Declare your repo as a mirrorOf central in settings.xml to override Central. Wayne On 11/23/06, jiangshachina [EMAIL PROTECTED] wrote: Hi guys, I made my local repository to remote shared repository with JBoss. My local repository has many artifacts from central repository. Then I specified

Configuring JRE System Library: Two JREs are added

2006-11-23 Thread cailie
Hello there... I am having a problem configuring the JRE System Library for my Eclipse project. When I run mvn eclipse:eclipse (after removing libraries and cleaning), both the Java 1.4 and the Java 5 system libraries are added to my project (shown in the Package Explorer). I just want Java 5.

Re: QDox, Maven Plugin and JDK 1.5

2006-11-23 Thread Andrew Williams
http://repo1.maven.org/maven2/qdox/qdox/1.6.1/ On 22 Nov 2006, at 12:19, Emmanuel Hugonnet wrote: zze- HUGONNET E ext RD-BIZZ a écrit : zze- HUGONNET E ext RD-BIZZ a écrit : Andrew Williams a écrit : I recommend 1.6.1, as 1.6 depends on Java5 by mistake Emmanuel Hugonnet wrote: zze-

Re: generating site from parent

2006-11-23 Thread Andrew Williams
Have you tried staging a site? Sites generated in mvn site (not staged or deployed) will reside inside each module's target area so the links will be broken. A On 22 Nov 2006, at 02:03, Christian Goetze wrote: Wayne Fay wrote: This is discussed a couple times every week. Please search

Re: generate JAR and all dependecy jars to a folder automatically

2006-11-23 Thread franz see
Good day, That or codehaus' dependency-maven-plugin. You can use the documentation for maven-dependency-plugin ( [1] ) as dependency-maven-plugin's documenation since they are practically the same. Cheers, Franz [1] http://maven.apache.org/plugins/maven-dependency-plugin/ Martin Vysny-2

Re: maven-scm-plugin: Check in

2006-11-23 Thread Dan Tran
since scm:checkin doc is available, could you give it a try ? On 11/23/06, Jeff Mutonho [EMAIL PROTECTED] wrote: I've got a requirement to use maven to check in a war file into some CVS repository.I know the maven-scm-plugin has a 'checkin' goal , but I'm not sure how its used.May someone

Re: Compiler Plugin Extension

2006-11-23 Thread franz see
Good day to you, Markus, for 1.) maven resources plugin can do that (see [1]). And as for two, You can try what Wayne suggested. But those jars have to be installed in your local repo. Either that, or you use systemPath dependency groupIdsome.eclipse.groupId/groupId

Re: What is Doxia?

2006-11-23 Thread franz see
Good day to you, Ole, Eric is right. There's currently no documentation (user-level) for Doxia, but the usual way it is used in maven is via the maven-site-plugin ( see [1] ) Cheers, Franz [1] http://maven.apache.org/plugins/maven-site-plugin Eric Redmond wrote: You're correct, it is a

Re: Archetype Question

2006-11-23 Thread franz see
Good day to you, Michael See [1] for more information. Cheers, Franz [1] http://www.nabble.com/archetype-descriptor-schema--tf2181358.html#a6061573 Michael Schlotfeldt-4 wrote: Found out there is a filtered and a encoding attribute on the resource tag. Had to read through the source

Re: Archetype Question

2006-11-23 Thread franz see
Good day to you, Wendy, I haven't looked at arhceytpe's code for quite some time now. But if archetype filters those resources using ${} and @@ delimeters, you can do the workaround in [1]. Cheers, Franz [1] http://jira.codehaus.org/browse/MRESOURCES-29 Wendy Smoak-3 wrote: On 11/21/06,

Re: Default target

2006-11-23 Thread franz see
Good day to you, Allan, That depends on the plugin. If a plugin your using decides to put everything in the target directory of your parent, then the output will be there. If it decides to have the output in the modules individual targets, then they will be there. Cheers, Franz Allan

[m2] mvn site:run throwing java.util.ConcurrentModificationException when apt file edited and saved.

2006-11-23 Thread Barrie Treloar
Thanks to Wendy, I am now running mvn site:run so I can see my changes straight away instead of waiting for mvn site to finish. When I browse to a page I get the following error: [INFO] [site:run] :INFO: Logging to STDERR via org.mortbay.log.StdErrLog [WARNING] Unable to load parent project

Unable to test code that sends message to JMS queue

2006-11-23 Thread Ganesh kumar
hi I have java file that sends JMS message to a queue in the JBOSS server. I have a junit testcase that tests sending of messages to the queue.I have included all the necessary jars with the default scope. But when I run the command 'mvn test', I see testcase gives NullPointerException. It