Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Peter Horlock
John, were can I download the latest RC? The link you provided doesn't seem to be working... Thanks, Peter

Re: good tutorial for maven, eclipse3.4 and tomcat

2008-08-20 Thread Peter Horlock
2008/8/19 sam wun [EMAIL PROTECTED] Can anyone provide me a link of tutorial that I can follow to build a simple web base application using maven, eclipse 3.4, tomcat and mysql? Maven: http://www.sonatype.com/community/definitive_guide.html For all other topics, I can't help you, I would

Re: good tutorial for maven, eclipse3.4 and tomcat

2008-08-20 Thread Peter Horlock
P.s.: I guess the reason you want such a book that has it all, is because you are looking for the fast way. There is nothing like that. Learning is a process, and this process ALWAYS takes it's time. Please - take your time. Seriously read one good book for each topic - and only then you (might)

Re: can we use classifier here?

2008-08-20 Thread Anders Hammar
I believe this sentence explains how the relate: All attached artifacts must differ from each other with unique classifiers. Brian's the author, so go for his response in this thread. However, to be frank, I can't follow your use case completely. I think the confusing thing is that you seem to

maven release:perform get java.lang.OutOfMemoryError

2008-08-20 Thread hackaton
Hi, When I try to release:perform I got java.lang.OutOfMemoryError javadoc: java.lang.OutOfMemoryError: Please increase memory. For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx such as -J-Xmx32m. How can I increase the heap size for the javadoc? -- View

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread nicolas de loof
http://jira.codehaus.org/browse/MNG-3722 created for this, with a simple demo project. 2008/8/19 nicolas de loof [EMAIL PROTECTED] I get an issue with 2.0.10 RC9 and CXF plugin -this works with 2.0.9 : [INFO] [cxf-codegen:wsdl2java {execution: generate-sources}] 19 ao¹t 2008 11:08:16

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Marc Schneider
You can download it here : http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC9/org/apache/maven/apache-maven/2.0.10-RC9/ Marc. Peter Horlock a écrit : John, were can I download the latest RC? The link you provided doesn't seem to be working... Thanks, Peter

Re: maven release:perform get java.lang.OutOfMemoryError

2008-08-20 Thread Nick Stolwijk
Perhaps by taking a look at the documentation? See the Javadoc plugin documentation page [1] and then especially the additionalJOption option. [1] http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS

Re: maven release:perform get java.lang.OutOfMemoryError

2008-08-20 Thread Stefan Seidel
Nick Stolwijk wrote: documentation page [1] and then especially the additionalJOption Doesn't even need to. There is a maxmemory option. Stefan [1] http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Anders Hammar
Hi, I've run into a problem with this rc. When using the org.codehaus.cargo:cargo-maven2-plugin:0.3.1 plugin (the start goal), it can't retrieve my JBOSS_HOME env. It works with mvn 2.0.8 and 2.0.9, but with 2.0.10-RC9 the plugin gets 'null' for some reason. Here's my plugin configuration from

Re: maven release:perform get java.lang.OutOfMemoryError

2008-08-20 Thread hackaton
Thanks all, I didn’t realize the javadoc plugin is used behind screen, this work for me reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration maxmemory512M/maxmemory

How to use a snapshot version of maven-release-plugin when running in batch mode ?

2008-08-20 Thread HUE Edouard IT[EMAIL PROTECTED]
Hello, Is there a way to use the release plugin in batch mode, when using a snapshot version of this plugin ? In interactive mode, the plugin asks for a confirmation when it detects that a snapshot version is being used : This project relies on a SNAPSHOT of the release plugin. This may be

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Anders Hammar
Also tried the 1.0-alpha-5 version of the cargo maven2 plugin (with mvn 2.0.10-RC9). Same problem. /Anders Anders Hammar wrote: Hi, I've run into a problem with this rc. When using the org.codehaus.cargo:cargo-maven2-plugin:0.3.1 plugin (the start goal), it can't retrieve my JBOSS_HOME

Re: Problem with overlays and the war package plugin

2008-08-20 Thread Jörg Schaible
Hi Paulo, Paulo Pinto wrote: Hi everyone, I am having a few problems with overlays while using the war packaging plugin. I have a war project and I intended to start two applications (war) using the cargo plugin, from inside this project. Now, in order for this to function, the

javax.mail:mail vs org.apache.geronimo.javamail:geronimo-javamail_1.4_mail

2008-08-20 Thread Stefano Bagnara
In Apache JAMES we have a multimodule project depending on javamail. We want to easily switch from sun's javamail to geronimo javamail and back for testing purposes. What is the maven best practice for this? I don't want to go through all of our modules dependencies and alter their

Re: javax.mail:mail vs org.apache.geronimo.javamail:geronimo-javamail_1.4_mail

2008-08-20 Thread Carlos Sanchez
there' s no solution yet for this problem, yours is probably the easiest option see http://jira.codehaus.org/browse/MNG-2316 On Wed, Aug 20, 2008 at 12:24 PM, Stefano Bagnara [EMAIL PROTECTED] wrote: In Apache JAMES we have a multimodule project depending on javamail. We want to easily switch

Symlink in assembly

2008-08-20 Thread Simon Spacey
Hi I need to assemble a tar.gz artifact with directories containing some symbolic links. I'm using filesets in assembly 2.2-beta-2to copy the source directories, but the sym links are not replicated (as they would be if I used tar): If the symlink is resolvable then the link is resolved and

Re: javax.mail:mail vs org.apache.geronimo.javamail:geronimo-javamail_1.4_mail

2008-08-20 Thread Jörg Schaible
Hi Stefano, Stefano Bagnara wrote: In Apache JAMES we have a multimodule project depending on javamail. We want to easily switch from sun's javamail to geronimo javamail and back for testing purposes. What is the maven best practice for this? I don't want to go through all of our

Re: Building same source with 1.4 and 1.5 jdks

2008-08-20 Thread Jörg Schaible
Hi Kevin, Kevin Kingsbury wrote: Thanks Jorg for the pointer to using multiple executions of the compiler. I tried setting that up and I see it try to run, but the it says the classes are already up to date. I am assuming that this is because it is still looking at the same

Re: How to use a snapshot version of maven-release-plugin when running in batch mode ?

2008-08-20 Thread Brett Porter
I don't believe so - for this purpose it's probably best to host your own release of the release plugin. 2008/8/20 HUE Edouard IT[EMAIL PROTECTED] [EMAIL PROTECTED]: Hello, Is there a way to use the release plugin in batch mode, when using a snapshot version of this plugin ? In interactive

Re: Symlink in assembly

2008-08-20 Thread Brett Porter
Because the code is in Java, it probably isn't possible to distinguish symlinks from files. One (albeit roundabout) alternative is to use assembly:directory, and then exec tar to produce the assembly. - Brett 2008/8/20 Simon Spacey [EMAIL PROTECTED]: Hi I need to assemble a tar.gz artifact

Create classes in Eclipse 3.4

2008-08-20 Thread sam wun
Hi, In Eclipse 3.4, I have created  a Web  Project with the following commands in Eclipse: Go to File-New-Other, then expanding Web-Dynamic Web Project. Now I want to create its spporting classes, how can I do that in Eclipse 3.4? I want to automatically generate getters and setters for

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Marc Schneider
Hi, For me the cargo plugin works with Maven 2.0.10-RC9. Here is my plugin configuration : plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId configuration waitfalse/wait container containerIdtomcat5x/containerId

Extra module activation from profile

2008-08-20 Thread Carlos Alonso
Hi all. My situation is the following. I have a multi-module project that already has 4 different profiles, that determine which filter will be used. Now, I have a new module for this project that is the integration-tests module, and I only want to run this module when a NEWLY created profile is

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread Anders Hammar
Hi, It looks like properties set within Maven are retrieved correctly, but environment variables set outside (like JBOSS_HOME in my case) isn't retrieved. In your case, could you please try using some env variable like CATALINA_HOME instead of tomcat.local.home? This does work with mvn 2.0.8

Re: commons-digester version conflicts

2008-08-20 Thread Alex.
Resolved. Thanks Alfred and Michael. 2008/8/19 Michael McCallum [EMAIL PROTECTED] It unfortunately happens when there is a conflict as well... so if you have two ranges that cannot be resolved you get an OverConstrainedException which gets hidden with -X do mvn -X and you will see the

Javadoc generation on Unix requiring /bin/bash???

2008-08-20 Thread De Smet Ringo
Hello, I encounter another problem with the site report generation, this time with the Javadoc generation. When run by Continuum on one of our Unix boxes, the site generation fails because the plugin seems to insisting on /bin/bash. Bash is not installed on our production environment unix boxes,

Re: javax.mail:mail vs org.apache.geronimo.javamail:geronimo-javamail_1.4_mail

2008-08-20 Thread Daniel Kulp
What you came up with is about the only option that really works right now. You could add a sunmail profile that changes those properties so you can run: mvn install for geronimo, and: mvn install -Psunmail for Sun mail. That would at least avoid having to edit the pom each time. Dan On

Re: Building same source with 1.4 and 1.5 jdks

2008-08-20 Thread Kevin Kingsbury
Thanks for the response. I went ahead and implemented the second option while I was waiting to hear back on this. It works like a champ. Thanks again Kevin On 8/20/08, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Kevin, Kevin Kingsbury wrote: Thanks Jorg for the pointer to using multiple

Installing new archetype from create-from-project

2008-08-20 Thread rmatthews
Is there any way of combining the multiple steps of creating an archetype from a project so that the archetype is automatically installed/deployed to the repository. The website suggests the following to create and install a new archetype:- $ mvn archetype:create-from-project $ cd

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread John Casey
http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC9/org/apache/maven/apache-maven/2.0.10-RC9/ The first attempt at typing that link apparently wound up wrong. Apologies for that. -john Peter Horlock wrote: John, were can I download the latest RC? The link you provided doesn't

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread John Casey
I'll look into it, but do you happen to have a full-scale test project you could use to file a JIRA issue? It would be simplest if I have something that's supposed to just work that I can run in the debugger to figure out where it's coming up with the null. I'll see what I can do with this

Re: Installing new archetype from create-from-project

2008-08-20 Thread Nick Stolwijk
I guess the create-from-project is just a kickstart. After that, you can copy the target/generated-sources/archetype/ to your main directory and keep that up to date (and maybe even adding some examples or such) and check that in alongside your project. That way you can add it to your parent pom

Re: Installing new archetype from create-from-project

2008-08-20 Thread Wendy Smoak
On Wed, Aug 20, 2008 at 6:54 AM, rmatthews [EMAIL PROTECTED] wrote: I would like to keep an example project in our code repository alongside our framework code. When the whole project is built it would be good if Maven were to create an archetype from the example and then install that

Re: Extra module activation from profile

2008-08-20 Thread Geoffrey Wiseman
On Wed, Aug 20, 2008 at 8:53 AM, Carlos Alonso [EMAIL PROTECTED] wrote: My situation is the following. I have a multi-module project that already has 4 different profiles, that determine which filter will be used. Now, I have a new module for this project that is the integration-tests module,

Assembly with module binaries?

2008-08-20 Thread Wim Deblauwe
Hi, I'm following the instruction on http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html I would like to create a directory with 2 subdirecties of my child modules. The assembly plugin runs, but it seems that the ${artifactId}

Howto deploy war to jetty server

2008-08-20 Thread Johan S
Hi I have a maven project that consist of three modules. - core - web - acceptance The core builds to a jar, and the web module depends on it. The web module builds to a war file. To my question. My acceptance module consist of htmlunit tests. How can I configure it to use the war file,

How are the 'Dependency Repository Locations' configured?

2008-08-20 Thread Wim Deblauwe
Hi, I ran 'mvn site' and the 'Dependencies' report gives a lot of useful information. However, under the heading 'Dependency Repository Locations' I see 'apache.snapshots' and 'central', although I configured my settings.xml to use my repository manager (Archiva) exclusively. How can I change the

RE: newby problem with using artifacts in repository

2008-08-20 Thread Brian E. Fox
In the 1.0 release due out this week, we have a rest service that does this for you. We actually needed to build it so we could provide a download link from the search screen for snapshots. You can read more in Tamas' email: http://www.nabble.com/Re%3A-Nexus-vs-Artifactory-search-results-view-p19

Re: How to use a snapshot version of maven-release-plugin when running in batch mode ?

2008-08-20 Thread HUE Edouard IT[EMAIL PROTECTED]
I thought about it, but it remains a short term fix. Same problem will occure each time one will want to use a snapshot version of the plugin. I hoped there would be a switch to skip this check... Brett Porter a écrit : I don't believe so - for this purpose it's probably best to host your own

Re: How to use a snapshot version of maven-release-plugin when running in batch mode ?

2008-08-20 Thread Brett Porter
Since you are using a snapshot version of the plugin that you've built, could you change the source to change the default also? - Brett 2008/8/21 HUE Edouard IT[EMAIL PROTECTED] [EMAIL PROTECTED]: I thought about it, but it remains a short term fix. Same problem will occure each time one will

Re: Installing new archetype from create-from-project

2008-08-20 Thread rmatthews
The point is, that as we can easily create the archetype from an existing project then the archetype will always be up-to-date. If we simply use it to start the process then such an archetype will drift out of sync with the original source. Besides, the created archetype from the source is all

Re: [PLEASE TEST] Maven 2.0.10-RC9

2008-08-20 Thread david
On Wed, 20 Aug 2008, Anders Hammar wrote: Hi, It looks like properties set within Maven are retrieved correctly, but environment variables set outside (like JBOSS_HOME in my case) isn't retrieved. In your case, could you please try using some env variable like CATALINA_HOME instead of

maven and logback

2008-08-20 Thread Rusty Wright
Maven newbie here trying to convert my Eclipse project to Maven. I tried using the version 99 of Commons Logging as documented here (so that I can use logback and slf4j instead): http://day-to-day-stuff.blogspot.com/2007/07/no-more-commons-logging.html which was just recently referenced on

Re: How to use a snapshot version of maven-release-plugin when running in batch mode ?

2008-08-20 Thread HUE Edouard IT[EMAIL PROTECTED]
I didn't build it myself, I got it from Apache's snapshot repository at http://people.apache.org/repo/m2-snapshot-repository/ :) I think I will submit a feature request. Edouard Brett Porter a écrit : Since you are using a snapshot version of the plugin that you've built, could you change

Re: maven and logback

2008-08-20 Thread John Casey
It's telling you that 5 of the artifacts you listed are unavailable in the repositories given for the project. If you try browsing to the URLs it's attempting to grab, you will probably get 404's for them... -john Rusty Wright wrote: Maven newbie here trying to convert my Eclipse project to

Re: can we use classifier here?

2008-08-20 Thread Lin Sun
Hi Andres, Thanks for your valuable feedback again. You are right that i didn't differentiate the geronimo plugin and maven plugin well in my reply. I think you translated my intention well tho :-) We have a car maven plugin that is developed at geronimo (David Jencks did most of, if not all

newby : unaable to find mojo error

2008-08-20 Thread kkmca
i am using a plugin that has dependencies that i have installed locally to my repository - i can browse to the jar file in my repo yet when i run the goal i am getting a build error C:\work\SRC\trunk\mpi-dbmvn jsmooth:jsmoothcompile -e + Error stacktraces are turned on. [INFO] Scanning for

Re: How to prevent child pom from exec'ing parent pom ant plugin tasks

2008-08-20 Thread gotama
Thanks for the tip - Interestingly enough inherited is valid under both plugin and execution, but only works under plugin. [ worked ] !-- parent pom -- plugin artifactIdmaven-antrun-plugin/artifactId inheritedfalse/inherited executions execution idparent/id

Re: Javadoc generation on Unix requiring /bin/bash???

2008-08-20 Thread John Patrick
Hi, Looking at the documentation for the JavaDoc plugin it does not provide that configuration at this stage. I might see if I'm able to create a patch myself for maven-javadoc-plugin 2.5-SNAPSHOT but not sure if I'll be free to. Anyway I've raised improvement issue with maven javadoc.

Re: newby problem with using artifacts in repository

2008-08-20 Thread Tamás Cservenák
The service is already on repository.sonatype.org. So, for example, to get the LATEST nexus-indexer (g: org.sonatype.nexus a: nexus-indexer), you need an URL like this: http://repository.sonatype.org/service/local/artifact/maven/redirect?r=snapshotsg=org.sonatype.nexusa=nexus-indexerv=LATEST The

Re: maven and logback

2008-08-20 Thread Rusty Wright
Ok, thanks. I'm still trying to figure out what's wrong. I've got it down two. One of them I'm not even listing as a dependency. John Casey wrote: It's telling you that 5 of the artifacts you listed are unavailable in the repositories given for the project. If you try browsing to the URLs

[ANN] Maven Plugin Tools 2.4.3 Released

2008-08-20 Thread Vincent Siveton
The Maven team is pleased to announce the release of the Maven Plugin Tools, version 2.4.3 The Maven Plugin Tools contains the necessary tools to be able to produce Maven Plugins in a variety of languages. http://maven.apache.org/plugin-tools http://maven.apache.org/plugins/maven-plugin-plugin

Re: Create classes in Eclipse 3.4

2008-08-20 Thread Brett Porter
Sorry, but this list is for discussing the use of Maven. I'd suggest looking for a more general Java/Eclipse forum to get an answer to this type of question. - Brett 2008/8/20 sam wun [EMAIL PROTECTED]: Hi, In Eclipse 3.4, I have created a Web Project with the following commands in

Re: Howto deploy war to jetty server

2008-08-20 Thread Brett Porter
I think you want Cargo. They have some archetypes for creating a project such as the acceptance one: http://cargo.codehaus.org/Maven2+Archetypes - Brett 2008/8/21 Johan S [EMAIL PROTECTED]: Hi I have a maven project that consist of three modules. - core - web - acceptance The core

Re: How are the 'Dependency Repository Locations' configured?

2008-08-20 Thread Brett Porter
I think it is just listing what is configured in the POM. If you happen to direct those requests through a repository manager in your environment, it won't be reflected in the report, even if they are sourced from the repo manager. Cheers, Brett 2008/8/21 Wim Deblauwe [EMAIL PROTECTED]: Hi, I

Re: newby : unaable to find mojo error

2008-08-20 Thread Brett Porter
if you run with -X, you'll find the classpath used for the plugin. Does one of them contain the missing class? - Brett 2008/8/21 kkmca [EMAIL PROTECTED]: i am using a plugin that has dependencies that i have installed locally to my repository - i can browse to the jar file in my repo yet when

Re: How to prevent child pom from exec'ing parent pom ant plugin tasks

2008-08-20 Thread Brett Porter
Yes, I think so. 2008/8/21 gotama [EMAIL PROTECTED]: Thanks for the tip - Interestingly enough inherited is valid under both plugin and execution, but only works under plugin. [ worked ] !-- parent pom -- plugin artifactIdmaven-antrun-plugin/artifactId inheritedfalse/inherited

Re: Error in maven dependencies

2008-08-20 Thread leopupo
I installed the jar file into the repository using mvn install like specified in http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html When trying to install or package the project, the following error message is still there: The error message is: Error message: Missing: