Re: Stack Overflow in Continuum XMLRPC server

2008-01-07 Thread Laurent Forêt
I mean work around ;) ! On Jan 7, 2008 11:13 AM, Laurent Forêt [EMAIL PROTECTED] wrote: Thanks it is working fine in the trunk. Should I have to wait the 1.2 to have to make works the Netbeans integration ?

reactor build order and mojos

2008-01-07 Thread nicolas de loof
Hello, My project is splitted into modules and one of them is a Mojo (for a code generator) When I build my project, the reactor build order places the plugin as LAST, but it is used from other modules. : [INFO] Reactor build order: [INFO] gcaf :: parent POM [INFO] gcaf :: DAOs sql2java

Re: reactor build order and mojos

2008-01-07 Thread nicolas de loof
I've found a workaround : declare the plugins modules FIRST in the parent POM modules. Nico. 2008/1/7, nicolas de loof [EMAIL PROTECTED]: Hello, My project is splitted into modules and one of them is a Mojo (for a code generator) When I build my project, the reactor build order places the

Central Repository used in Maven Ant Task

2008-01-07 Thread Thomas Tardy
Hello, I'm trying to write an ant script which copies some libraries into a specific location. The libraries are being resolved by loading a maven pom file. target name=updateDependencies artifact:pom id=pom file=dependency-pom.xml / artifact:dependencies

Packaging SAR with in an EAR

2008-01-07 Thread amit kumar
Hi, I want to package a myproj.sar within a myproj.ear. The structure I want is MyProject.ear - MyProject.sar -lib -jars.. I am trying to use

答复: how to use maven project properties in other configuration files?

2008-01-07 Thread Fred Zhang
Kalle, Thanks a lot! -邮件原件- 发件人: Kalle Korhonen [mailto:[EMAIL PROTECTED] 发送时间: 2008年1月7日 11:47 收件人: Maven Users List 主题: Re: how to use maven project properties in other configuration files? On 1/6/08, Fred Zhang [EMAIL PROTECTED] wrote: My project is a multi-module project which

Retrieving and unpacking assemblies

2008-01-07 Thread Matthew Tordoff
Hi all, I recently created a POM module which as part of it contains a ZIP file created via the assembly plugin (since the current released version of Maven does not allow packaging of type ZIP). I have another project which needs to make use of this ZIP file, so I need that module to import the

maven-sar-plugin?

2008-01-07 Thread amit kumar
Hi, I am using maven-sar-plugin and after the build its creating a lib folder. I want to put all the dependencies that I mentioned in the pom.xml to this folder. How do I do it? Regards, Hemant malik

Re: Packaging SAR with in an EAR

2008-01-07 Thread amit kumar
I had resolved this problem, by putting the snapshots repository into pluginRepository tag rather than normal repository tag. Though can not explain why it worked but it just did. Regards, Amit Kumar On Jan 7, 2008 3:29 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, I want to package a

Re: Packaging SAR with in an EAR

2008-01-07 Thread Stuart McCulloch
On 07/01/2008, amit kumar [EMAIL PROTECTED] wrote: I had resolved this problem, by putting the snapshots repository into pluginRepository tag rather than normal repository tag. Though can not explain why it worked but it just did. plugins are only downloaded from plugin repositories listed

RE: Retrieving and unpacking assemblies

2008-01-07 Thread Matthew Tordoff
Hi all, I found the answer to this here... http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#classifie r You can refer to the assembly using the id of the assembly as the dependency classifier. Matt -Original Message- From: Matthew Tordoff [mailto:[EMAIL PROTECTED] Sent:

Re: Packaging SAR with in an EAR

2008-01-07 Thread amit kumar
Thanks a ton stuart. Its working now. On Jan 7, 2008 5:20 PM, Stuart McCulloch [EMAIL PROTECTED] wrote: On 07/01/2008, amit kumar [EMAIL PROTECTED] wrote: I had resolved this problem, by putting the snapshots repository into pluginRepository tag rather than normal repository tag. Though

Add source folder

2008-01-07 Thread Jan Torben Heuer
How can I add another sourcefolder? (/src/extended/java/) The setting should be recognized by maven-eclipse-plugin and the built process. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Add source folder

2008-01-07 Thread Tom Huybrechts
http://mojo.codehaus.org/build-helper-maven-plugin/usage.html On Jan 7, 2008 1:48 PM, Jan Torben Heuer [EMAIL PROTECTED] wrote: How can I add another sourcefolder? (/src/extended/java/) The setting should be recognized by maven-eclipse-plugin and the built process. Jan

Re: Add source folder

2008-01-07 Thread Kallin Nagelberg
I was using this plugin for a bit to add an additional source directory, but intellij IDEA does not recognize the additional source. I ended up having to create a new artifact for the second set of sources. On Jan 7, 2008 7:50 AM, Tom Huybrechts [EMAIL PROTECTED] wrote:

Re: reactor build order and mojos

2008-01-07 Thread Francois Fernandes
this seems to be a bug to me. The reactor build order should not only respect inter-module dependencies, but also dependencies to plugins. What about raising an issue? http://jira.codehaus.org/browse/MNG Francois I've found a workaround : declare the plugins modules FIRST in the parent POM

Re: Add source folder

2008-01-07 Thread Jan Torben Heuer
Kallin Nagelberg wrote: I was using this plugin for a bit to add an additional source directory, but intellij IDEA does not recognize the additional source. I ended up having to create a new artifact for the second set of sources. eclipse (or the maven-eclipse-plugin) does not add the

A question about setting war.bundle/ in the POM.xml

2008-01-07 Thread Thomas Chang
Hi all, Formerly I used maven1 and I can use the war.bundle/ in the project.xml as follow: ... dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version typejar/type properties war.bundletrue/war.bundle /properties /dependency

Re: A question about setting war.bundle/ in the POM.xml

2008-01-07 Thread Stuart McCulloch
On 07/01/2008, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, Formerly I used maven1 and I can use the war.bundle/ in the project.xml as follow: ... dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version typejar/type

Re: A question about setting war.bundle/ in the POM.xml

2008-01-07 Thread Thomas Chang
What should I do now? Is there any replacement for war.bundle/ ? properties aren't allowed in the dependencies section: http://maven.apache.org/pom.html http://maven.apache.org/maven-v4_0_0.xsd (schema) HTH Hi all, Formerly I used

Re: A question about setting war.bundle/ in the POM.xml

2008-01-07 Thread Jeff MAURY
Simply remove it. Jeff On Jan 7, 2008 3:45 PM, Thomas Chang [EMAIL PROTECTED] wrote: What should I do now? Is there any replacement for war.bundle/ ? properties aren't allowed in the dependencies section: http://maven.apache.org/pom.html

Re: A question about setting war.bundle/ in the POM.xml

2008-01-07 Thread Tomasz Pik
On Jan 7, 2008 3:23 PM, Thomas Chang [EMAIL PROTECTED] wrote: Hi all, Formerly I used maven1 and I can use the war.bundle/ in the project.xml as follow: ... dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version typejar/type

Re: A question about setting war.bundle/ in the POM.xml

2008-01-07 Thread Thomas Chang
Thanks! Hi all, Formerly I used maven1 and I can use the war.bundle/ in the project.xml as follow: ... dependency groupIdcommons-logging/groupId artifactIdcommons-logging/artifactId version1.0.4/version typejar/type properties

plexus components configuration

2008-01-07 Thread Zsolt KOZAK
Hi, I have the following problem. We use a custom packaging called warstub. We uses modules and if a module depends on other modules, its war will contain ALL the dependecies (jars, html, images, etc). A warstub would contain only the current module web-stuff (jar, html, etc.), so it's a kind of

Re: Shared dependencies deployment to Tomcat 5.5 or 6.0 + other servers

2008-01-07 Thread Serge Huber
Hi Adam, Sorry I missed your reply, only saw it now. Basically my requirements is that I'm am developing APIs that will be shared across different WARs, along with an integration with Pluto J2 that needs it's JARs deployed to the shared classloader. I want to avoid manual copy as I want to

Re: maven-sar-plugin?

2008-01-07 Thread Ian Springer
Hi, Use the dependency plugin's copy goal: http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html Ian amit kumar wrote: Hi, I am using maven-sar-plugin and after the build its creating a lib folder. I want to put all the dependencies that I mentioned in the pom.xml to this

Re: Add source folder

2008-01-07 Thread Kallin Nagelberg
I would say, theoretically, it should. However, to accomplish it properly, it would have to execute the given pom and analyze the results to see what source folders are being looked at... Afer all, any plugin could be jumping in and adding source folders, even without having them declared anywhere

Re: Add source folder

2008-01-07 Thread Tom Huybrechts
On Jan 7, 2008 5:19 PM, Kallin Nagelberg [EMAIL PROTECTED] wrote: I would say, theoretically, it should. However, to accomplish it properly, it would have to execute the given pom and analyze the results to see what source folders are being looked at... Afer all, any plugin could be jumping in

Dependency versions in large multi-projects multi-modules environment

2008-01-07 Thread Guillaume Lederrey
Hello ! I have to investigate the migration to Maven in our organisation. We have a pretty large software base : about 100 projects each generating 3 to 6 artifacts. A part of these modules are a framework used by most other projects. For the moment, we are managing versioning with ant, and a

Re: Add source folder

2008-01-07 Thread Jan Torben Heuer
Tom Huybrechts wrote: I would say, theoretically, it should. However, to accomplish it properly, it would have to execute the given pom and analyze the results to see what source folders are being looked at... Afer all, any plugin could be jumping in and adding source folders, even without

RE: Dependency versions in large multi-projects multi-modules environment

2008-01-07 Thread Barrett Nuzum
Guillaume: At one of our clients, we had a very similar situation. We opted to go with option #1, below. It *is* a bit of a maintenance burden, but it's far more reliable and explicit than any alternatives. Barrett :: Barrett Nuzum Sr. Consultant Direct: 918.640.4414 Fax: 972.789.1340

mvn tomcat:deploy OutOfMemoryError

2008-01-07 Thread VanIngen, Erik (ESTG)
Hi While performing mvn tomcat:deploy, I receive this error: OutOfMemoryError. These are my settings: set MAVEN_OPTS=-Xmx2024m -Xms2024m -XX:MaxPermSize=1024m Any idea? Kind Regards, Erik van Ingen [INFO] Deploying war to http://ldvapp07.fao.org:8030/fenix-birt-0.0.1 [INFO]

Use a custom reporter with testng and surefire?

2008-01-07 Thread Andrew Robinson
I have the following in my pom: plugin artifactIdmaven-surefire-plugin/artifactId version2.4-SNAPSHOT/version configuration forkModeonce/forkMode parallelfalse/parallel redirectTestOutputToFiletrue/redirectTestOutputToFile

Re: Add source folder

2008-01-07 Thread Dan Tran
if your added source folder is not under project basedir, eclipse will not see it. even thou buildhelper does add the source folder. -D On Jan 7, 2008 8:55 AM, Jan Torben Heuer [EMAIL PROTECTED] wrote: Tom Huybrechts wrote: I would say, theoretically, it should. However, to accomplish it

maven-release-manager and maven-release-plugin releases

2008-01-07 Thread brewk9
Does anyone know when there will be production(non-beta, non-alpha) releases of maven-release-manager and maven-release-plugin? Thanks, -Ken -- View this message in context: http://www.nabble.com/maven-release-manager-and-maven-release-plugin-releases-tp14670740s177p14670740.html Sent from

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-07 Thread Guillaume Lederrey
I'm afraid that solution #1 will be hard to scale ... We have releases almost every day. Updating every other project every day doesnt seems to be such a good idea either ... But thanks for your feedback ! On 07/01/2008, Barrett Nuzum [EMAIL PROTECTED] wrote: Guillaume: At one of our clients,

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-07 Thread Damien Lecan
2) use version ranges in the parent pom. This way, the new version of the library is used by all projects as soon as it is available in our central repository. Much easier to manage, but it sound a bit scary to have it that much automated ... Other problem, we will loose build reproducibility

archiva failed with mysql setup

2008-01-07 Thread Zemian Deng
Hi list, I didn't see a separated list for archiva, so I post question here. I am installing archiva with default derby worked fine. Now I am trying to configure to use Mysql. When I run my Tomcat server, I get the following error: 2008-01-07 13:18:12,481 [main] INFO

Re: archiva failed with mysql setup

2008-01-07 Thread Mick Knutson
What MySql Version? Can you post your archiva.xml? On Jan 7, 2008 10:57 AM, Zemian Deng [EMAIL PROTECTED] wrote: Hi list, I didn't see a separated list for archiva, so I post question here. I am installing archiva with default derby worked fine. Now I am trying to configure to use Mysql.

Re: archiva failed with mysql setup

2008-01-07 Thread Wayne Fay
As Wendy says... ;-) Archiva has separate mailing lists... please come join us there if you have questions: http://maven.apache.org/archiva/mail-lists.html Wayne On 1/7/08, Mick Knutson [EMAIL PROTECTED] wrote: What MySql Version? Can you post your archiva.xml? On Jan 7, 2008 10:57 AM,

Archiva logging level

2008-01-07 Thread Bashar Jawad
When we deployed archiva on our CI server we noticed that archiva was generating tons of logging statements in the log file. The average size of a log file each day was 50+ MB! This of course is not acceptable, is there a way to reduce the logging level in archiva? I looked at archiva.xml and

Re: archiva failed with mysql setup

2008-01-07 Thread Zemian Deng
@Mick I am using Mysql version 4.1.21-standard Here are archiva.xml Context path=/archiva docBase=${catalina.base}/wars/apache-archiva-1.0.war Resource name=jdbc/users auth=Container type=javax.sql.DataSource username=archiva password=archiva

Re: Dashboard summary missing PMD and Cobertura sections

2008-01-07 Thread dvicente
Hi Lee, For Cobertura, your plugin configuration is commented, why ? So far, only Cobertura 2.0 version is supported , so I advise you to configure Cobertura as : ... build plugins /plugin plugin groupIdorg.codehaus.mojo/groupId

Re: archiva failed with mysql setup

2008-01-07 Thread Mick Knutson
You did not specify the port :3306 in your jdbc URL And you need 2 DB's. 1 for archiva, and 1 for users. On Jan 7, 2008 11:34 AM, Zemian Deng [EMAIL PROTECTED] wrote: @Mick I am using Mysql version 4.1.21-standard Here are archiva.xml Context path=/archiva

Re: archiva failed with mysql setup

2008-01-07 Thread Zemian Deng
Mick, My exact error are gone now after I restart Tomcat again. It's weird. But anyways, to your replied, I think the following works actually: 1.) default mysql jdbc url is to 3306. The exception did not complain connection problem, but an SQLException when creating table. 2.) the two databases

Re: plexus components configuration

2008-01-07 Thread Olivier Dehon
On Mon, 2008-01-07 at 16:21 +0100, Zsolt KOZAK wrote: Hi, I have the following problem. We use a custom packaging called warstub. We uses modules and if a module depends on other modules, its war will contain ALL the dependecies (jars, html, images, etc). A warstub would contain only the

Re: plexus components configuration

2008-01-07 Thread Zsolt KOZAK
Hi Olivier, On 2008-01-08 00:36, Olivier Dehon wrote: On Mon, 2008-01-07 at 16:21 +0100, Zsolt KOZAK wrote: Hi, I have the following problem. We use a custom packaging called warstub. We uses modules and if a module depends on other modules, its war will contain ALL the dependecies

Re: plexus components configuration

2008-01-07 Thread Olivier Dehon
On Tue, 2008-01-08 at 00:46 +0100, Zsolt KOZAK wrote: So I have the following snipplet from a components.xml and I'd like to pass some config parameters to the maven-war-plugin for the package phase. Is it possible in a plexus components.xml? I have never done that myself so take it for

Re: maven-sar-plugin?

2008-01-07 Thread amit kumar
Thanks lan, the copying is working now. :-) On Jan 7, 2008 9:15 PM, Ian Springer [EMAIL PROTECTED] wrote: Hi, Use the dependency plugin's copy goal: http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html Ian amit kumar wrote: Hi, I am using maven-sar-plugin and after

Maven plugin testing

2008-01-07 Thread Serge Huber
Hi all, I am developing a plugin that copies some dependencies to a directory. I'm doing this because I need to setup a server by copying some JARs to a deployment directory. I am having lots of problems understanding the different plugin testing methods described on the page :