RE: woodstox 3.2.x pom

2008-11-26 Thread Jörg Schaible
Wayne Fay wrote: It seems like the JAXWS-RT people simply need to update THEIR pom file to reflect Woodstox's groupId change. Woodstox changed its groupId to org.codehaus.woodstox a while back: http://jira.codehaus.org/browse/WSTX-86 As for the missing pom files, this is simply incorrect

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread CheapLisa
setting the Class-Path in MANIFEST.MF can be done (and should be done) with the assembly plugin. There is an option for that. Also copying jars to a lib/ directory (and checking them in) is the reason we moved away from ant to maven and I do not believe this is necessary. Lisa baerrach

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread CheapLisa
thanks John: I will go through this and give it a try. If the simplest example will work, then I want to exclude things like the docs/ directory and other artifacts from the jar that is produced. The book example might work, but most likely not. The manifest section was left completely out.

Regd: Incremental build

2008-11-26 Thread prince s
Hello, I have just started working on Maven. I need one clarification. In the big project which has many modules when source files of one module get modified Maven builds only that module or it builds entire project?. I have noticed that Maven doesn't compile any files even after modification in

Re: mvn release:perform blowing up?

2008-11-26 Thread Michael McCallum
On Wed, 26 Nov 2008 16:13:32 David C. Hicks wrote: Have you tried using the eclipse:eclipse plugin? That's how I'm talk about the hard way... eclipse:m2eclipse... and install the m2eclipse plugin... -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED]

Re: mvn release:perform blowing up?

2008-11-26 Thread Arnaud HERITIER
m2eclipse and Q4E support nicely hierachical projects (with eclipse 3.3+ i think) and the release plugin will be happy. Arnaud On Wed, Nov 26, 2008 at 4:10 AM, Rusty Wright [EMAIL PROTECTED]wrote: Ok, thanks. I'm using the flat structure because that seems to work better with eclipse. I

Re: problems building a multimodule project with EJB3 modules

2008-11-26 Thread Martin Höller
No one having problems with EJB3 modules in a multimodule build? Or is it just a bad subject? Could someone please test the attached project and confirm that the build fails. thanks, - martin On Monday 24 November 2008 Martin Höller wrote: Hi all! On 25 Apr 2008, Martin Höller wrote:

Re: Regd: Incremental build

2008-11-26 Thread Stephen Connolly
correct 2008/11/26 prince s [EMAIL PROTECTED] Hello, I have just started working on Maven. I need one clarification. In the big project which has many modules when source files of one module get modified Maven builds only that module or it builds entire project?. I have noticed that Maven

Re: Regd: Incremental build

2008-11-26 Thread Stephen Connolly
FYI, you are probably using an IDE. Maven has tools or integrations to help set up most of the IDEs (InteilliJ, Eclipse, Netbeans) These IDEs will usually do incremental compiles for you while you are developing, you then just use maven every so often to do a full rebuild (to make sure that the

Re: woodstox 3.2.x pom

2008-11-26 Thread Henri Gomez
Thanks Jorg I'll send this to jax-ws dev list and meanwhile will update my poms. BTW, do you recommand switching to 3.2.7 instead of 3.2.2 ? 2008/11/26 Jörg Schaible [EMAIL PROTECTED]: Wayne Fay wrote: It seems like the JAXWS-RT people simply need to update THEIR pom file to reflect

Ignore errors from exec-maven-plugin

2008-11-26 Thread Eric Rotick
Hi All, I'm having a problem getting the exec-maven-plugin to support my requirements and I hoped the list might be able to help. I need to run a binary application to tickle some hardware into life before I run a test. This application exits with various status codes to indicate certain aspects

metadata download and 404

2008-11-26 Thread vbehar
Hi, I have a problem with 404 server answers when maven downloads the maven-metadata.xml files. We have 3 internal repositories, behind a simple apache (so it's all static), and we're using mirrors to access only our internal repos. From time to time, maven writes the maven-metadata-myrepo2.xml

Re: Running custom report

2008-11-26 Thread Brett Porter
a dependency on plexus-utils seems to be missing or set to an incompatible version with Maven (which depends on the version of Maven you are using). - Brett On 25/11/2008, at 6:28 PM, Gérald Quintana wrote: Hello, I wrote my own report (simple Hello World at the moment) following the

Re: pom properties

2008-11-26 Thread Brett Porter
${one} in that case, ${project.*} should be used to access the actual elements of the project. - Brett On 26/11/2008, at 2:49 AM, Randy Kamradt wrote: There has been some confusion in the past about accessing pom properties using the ${} notation. I know that to access the project

Re: Jetty Plugin Heap Size

2008-11-26 Thread Brett Porter
It runs within the same VM, so the standard MAVEN_OPTS variable used before Maven works. - Brett On 25/11/2008, at 6:36 AM, David C. Hicks wrote: Is there a way to control the heap size for the Jetty Plugin? I've been looking, but I don't see anything. Thanks, Dave

Re: How to version modules when using different parents per module

2008-11-26 Thread Brett Porter
No, there is only single inheritance, so you can't have different inheritance and a central location, unless there is a common ancestor somewhere. The setup you describe sounds rather confusing - Maven inheritance differs from the object oriented concept in that it is largely structural

Re: Running custom report

2008-11-26 Thread Gérald Quintana
Excellent! Using Maven 2.0.9, this should be added in the tutorial. Thank you Brett, Gérald 2008/11/26 Brett Porter [EMAIL PROTECTED]: a dependency on plexus-utils seems to be missing or set to an incompatible version with Maven (which depends on the version of Maven you are using). - Brett

Re: Jetty Plugin Heap Size

2008-11-26 Thread Gabriele Columbro
As a fast copy paste example, this is the line I use for running my Alfresco Maven powered projects (a 70MB webapp): MAVEN_OPTS=-Xms256m -Xmx512m -XX:PermSize=128m mvn jetty:run HTH, Gab 2008/11/26 Brett Porter [EMAIL PROTECTED] It runs within the same VM, so the standard MAVEN_OPTS variable

POM errors

2008-11-26 Thread solo1970
Hello! Is there a tool or editor, that verifies if there are errors in the POM? Thanks Sonia -- View this message in context: http://www.nabble.com/POM-errors-tp20702653p20702653.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: POM errors

2008-11-26 Thread Stephen Connolly
1. the pom has an xsd, if your editor supports xml validation using xsd schemas, use that. 2. run mvn validate 2008/11/26 solo1970 [EMAIL PROTECTED] Hello! Is there a tool or editor, that verifies if there are errors in the POM? Thanks Sonia -- View this message in context:

Re: metadata download and 404

2008-11-26 Thread Wayne Fay
So if anyone has a similar comportment, or knows why from times to times maven writes the 404 html answer to the file... This is generally caused by incorrectly configured webservers running at the mirrors you are connecting to. It needs to send a real 404. Not just an error message that looks

Re: metadata download and 404

2008-11-26 Thread vbehar
Wayne Fay wrote: This is generally caused by incorrectly configured webservers running at the mirrors you are connecting to. It needs to send a real 404. Not just an error message that looks like a 404. I've already checked, and our webserver is well configured. As you can see in the

Re: mvn release:perform blowing up?

2008-11-26 Thread David C. Hicks
Michael McCallum wrote: On Wed, 26 Nov 2008 16:13:32 David C. Hicks wrote: Have you tried using the eclipse:eclipse plugin? That's how I'm talk about the hard way... eclipse:m2eclipse... and install the m2eclipse plugin... I like m2eclipse, but the last few times I've tried to

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread John Stoneham
I will go through this and give it a try. If the simplest example will work, then I want to exclude things like the docs/ directory and other artifacts from the jar that is produced. The book example might work, but most likely not. The manifest section was left completely out. It was

Re: metadata download and 404

2008-11-26 Thread Walid jo Gedeon
Hello Vincent, From what I've seen [ I'm no expert ;-) ] you need to have web read rights on the folders on the server, not just the artifacts. I.e. in your case, putting 'http://server/maven2-repos/myrepo2/' above in a browser should provide listing on contents (as well as for sub-folders),

Problems with jar signing

2008-11-26 Thread Costin Caraivan
Hello, I'm building some Eclipse plug ins with Maven, and because of the requirements, I'm not using the Felix bundle plug in, I'm making the bundle using some Ant tasks, the dependency:copy goal and some other things. I'm trying to: - compile the classes (target/classes) - jar them and put the

Re: Need *end-to-end* example using the maven assembly plugin

2008-11-26 Thread Barrie Treloar
On Wed, Nov 26, 2008 at 7:10 PM, CheapLisa [EMAIL PROTECTED] wrote: setting the Class-Path in MANIFEST.MF can be done (and should be done) with the assembly plugin. There is an option for that. It may do that. What I have posted will work and is perfectly acceptable. By using the jar plugin

Partial Archetype and Sub-Modules

2008-11-26 Thread Felipe Kamakura
Hello all, I was reading about the new *maven-archetype-plugin 2.0* and there is something about Partial Archetype for creating sub-modules. Unfortunately the documentation is not available. Could anyone explain me how this works and how to use this feature? Thanks in advance!

Aggregating checkstyle reports

2008-11-26 Thread Todd Thiessen
In a multi-module project, is it possible to aggregate all checkstyle reports of the child projects into a single report for all projects? --- Todd Thiessen

RE: Aggregating checkstyle reports

2008-11-26 Thread Todd Thiessen
And also for cobertura reports or any reports in general. --- Todd Thiessen _ From: Thiessen, Todd (BVW:9T16) Sent: Wednesday, November 26, 2008 2:14 PM To: 'Maven Users List' Subject: Aggregating checkstyle reports In a

Re: Aggregating checkstyle reports

2008-11-26 Thread Wendy Smoak
On Wed, Nov 26, 2008 at 12:13 PM, Todd Thiessen [EMAIL PROTECTED] wrote: In a multi-module project, is it possible to aggregate all checkstyle reports of the child projects into a single report for all projects? If the plugin supports it, there is usually an 'aggregate' parameter or

RE: Aggregating checkstyle reports

2008-11-26 Thread Todd Thiessen
Yes thanks. I noticed that the documentation didn't mention it. Thanks for the jira link though. I voted for it ;-). I presume you could do the aggregation in ant task and then call that task from Maven? I am not familiar with Maven yet though to do this. --- Todd Thiessen -Original

Remote resources and version

2008-11-26 Thread David Ojeda
Hello, I am looking for an approach or plugin for the following: I have a multi module project, where it is very likely that different modules need the same resources (specifically, xsd files and some configuration files). I do not want to copy each file on every module, so I though that I

Re: Partial Archetype and Sub-Modules

2008-11-26 Thread Raphaël Piéroni
Hi Felipe, Reading the code, when an archetype is partial (declared in archetype-metadata.xml), There if 4 cases : 1. mvn is called in a directory in which exists a subdir called $artifactId and that does'nt contain any pom, this is an error 2. like 1 but with a pom existing in that sub dir, the

Errors while using maven-changelog-plugin

2008-11-26 Thread logachandru . x . rajamanickam
Hello, Using the patch given in the JIRA link: http://jira.codehaus.org/browse/MCHANGELOG-79, I tried generating the changelog between two Subversion tags in our repo due to which I get the error as below. Can some one please advise me what could be the reason for getting this error 'Can't

issue: Removing: prebuild from forked lifecycle, to prevent recursive invocation.

2008-11-26 Thread Sankaran, Nambi
Hello I have created maven plugin that has a prebuild goal. But, during execution, maven throws the following warning, [WARNING] Removing: prebuild from forked lifecycle, to prevent recursive invocation. Why does this happen? What is the problem? thanks nambi

maven antrun plugin

2008-11-26 Thread Cristian3210
Hi, I am struggling for a couple of days to use the maven-antrun-plugin to do some tasks. For start to display something in the console. I run the pom file with the command mvn compile but no results (it compiles correctly the java files and everything but I'm not getting the desired message

Re: Remote resources and version

2008-11-26 Thread David Ojeda
Sorry to bother, but It seems that the remote resources plugin will not fit my needs. What I need is to extract some files from a dependency into the resources of a maven module. Or extract them into the target/classes directory. A more specific example, what would you do if you want N

RE: maven antrun plugin

2008-11-26 Thread Durbha, Praveen (GE Healthcare)
Try this.. http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks .html -Original Message- From: Cristian3210 [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2008 4:18 PM To: users@maven.apache.org Subject: maven antrun plugin Hi, I am struggling for a

Re: Remote resources and version

2008-11-26 Thread Stephen Connolly
trye the maven-dependency-plugin specifically either the unpack-dependencies or unpack 2008/11/26 David Ojeda [EMAIL PROTECTED] Sorry to bother, but It seems that the remote resources plugin will not fit my needs. What I need is to extract some files from a dependency into the resources of a

Re: Remote resources and version

2008-11-26 Thread David Ojeda
Thank you Stephen, that plugin was the one I was looking for. On Wednesday 26 November 2008 18:36:51 Stephen Connolly wrote: trye the maven-dependency-plugin specifically either the unpack-dependencies or unpack 2008/11/26 David Ojeda [EMAIL PROTECTED] Sorry to bother, but It seems that

archetype-catalog.xml location - archetype:crawl versus archetype:generate

2008-11-26 Thread Brett Randall
Hi, I've just started working with our own archetypes, so very possible that I am missing something here: 1) We created a new archetype and mvn install -ed it to local. 2) Went to ~/.m2 (on Windows) and ran mvn archetype:crawl. This created archetype-catalog.xml in the sub-directory repository.

maven2 : getting error in executing weblogic clientgen , pls help

2008-11-26 Thread partha_ctc
Hi, My task is to execute clientgen in weblogic. 1) Following is my pom.xml. project xmlns=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/maven-v4_0_0.xsd;

Re: How to version modules when using different parents per module

2008-11-26 Thread Stefan Fritz
Brett, We thought about adding the version numbers to a master pom but this would cause trouble if we start branching. I guess we will have to move away from our project type specific poms to a single master pom and then we can use the moude-build pom to define the versions. Thanks Stefan

Re: archetype-catalog.xml location - archetype:crawl versus archetype:generate

2008-11-26 Thread Raphaël Piéroni
This problem is known. http://jira.codehaus.org/browse/ARCHETYPE-142 the crawl goal is intended to create a catalog for a remote repository (but called in the fs of that repository) the local catalog is intended to be updated : by hand or by the create-from-project goal. This is why the

Re: Problems with jar signing

2008-11-26 Thread Wayne Fay
[INFO] [jar:sign {execution: jar-classes}] [DEBUG] Not executing jar:sign as the project is not a Java module What packaging is defined in the module's pom file? Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Problems with jar signing

2008-11-26 Thread Costin Caraivan
Project packaging is zip So, zip it is :) Wayne Fay wrote: [INFO] [jar:sign {execution: jar-classes}] [DEBUG] Not executing jar:sign as the project is not a Java module What packaging is defined in the module's pom file? Wayne