RE: Dependency's b/w version 2.0.8 and 2.0.9

2009-01-13 Thread Brian E. Fox
The most likely cause is that the dependency order from the poms is preserved in 2.0.9. In 2.0.8 and earlier, the dependencies were saved in a HashSet and it was subject to the native set ordering. They are now stored in a linkedHashSet. So the culprit is probably one of your dependencies is bein

RE: Maven looking for repository under root

2009-01-13 Thread Durbha, Praveen (GE Healthcare)
You can configure the local repo in the settings.xml under MAVEN_HOME\conf -Original Message- From: richard schmidt [mailto:hangst...@gmail.com] Sent: Tuesday, January 13, 2009 9:38 PM To: Maven Users List Cc: Irina Mosina Subject: Maven looking for repository under root Hi We have inst

Re: Maven looking for repository under root

2009-01-13 Thread Wendy Smoak
On Tue, Jan 13, 2009 at 8:37 PM, richard schmidt wrote: > We have installed maven on a Linux pc following the instructions given on > the web site. > We expected maven to create a repository (.m2) directory under > /home/username > but instead we had to manually create a .m2 directory under root

Maven looking for repository under root

2009-01-13 Thread richard schmidt
Hi We have installed maven on a Linux pc following the instructions given on the web site. We expected maven to create a repository (.m2) directory under /home/username but instead we had to manually create a .m2 directory under root - which is not a very good idea! Why isnt it creating it under

[ANN] Build Number Maven Plugin 1.0-beta-2 released

2009-01-13 Thread Dan Tran
The Mojo team is pleased to announce the release of the Build Number Maven Plugin version 1.0-beta-2 The site is at http://mojo.codehaus.org/buildnumber-maven-plugin The changes in this release are: MOJO-1066 Make it optional to fail if "svn command failed" MOJO-1061 Buildnu

Re: ConversionException

2009-01-13 Thread Chris Lacy
I'm having the same problem, also (Eclipse plugin executing on MavenEmbedder). Did y'all ever figure this one out? Chris Jörg Schaible-2 wrote: > > Hi Dmitry, > > Dmitry Beransky wrote: > >> I wish I remembered since I just got this error again. > > Please open an issue for the war-plugin

RE: SCM plugin project

2009-01-13 Thread Mark Struberg
Hi Todd! Is it a) an enhancement to the maven-scm-plugin itself? Or b) does it dig deeper into maven-scm and we have to change the scm-API too? For both options you'd probably file a Jira [1] which describes the motivation and the changes you like to do first. Then you may attach a patch or prov

RE: SCM plugin project

2009-01-13 Thread Todd Thiessen
Thanks Dan. I think I understand the reasoning for the distintion. Now I would like to get a fix/enhancement built and submitted. I can revisit this issue again (I have for the most part dropped it for this week) and work on simply building the maven-scm-plugin project and not all of maven-scm. I

Re: SCM plugin project

2009-01-13 Thread Dan Tran
you can always open a discussion, or submit a patch with test. -D On Tue, Jan 13, 2009 at 1:27 PM, Dan Tran wrote: > the maven-scm-plugin inherits from maven-plugins' project which make > sense since it is a plugin. But that introduces confusion. > > We can follow the surefire model, to make

Re: SCM plugin project

2009-01-13 Thread Dan Tran
the maven-scm-plugin inherits from maven-plugins' project which make sense since it is a plugin. But that introduces confusion. We can follow the surefire model, to make the plugins inherits from surefire's parent but change groupId -D On Tue, Jan 13, 2009 at 12:39 PM, Todd Thiessen wrote: >

RE: SCM plugin project

2009-01-13 Thread Todd Thiessen
Thanks for the response Mark. Are you considered an SCM committer/developer? I have a fix/enchancement I would like to submit and am seeking some guidance. If we should take this strictly to the scm-dev list that is fine too. I don't want to create unnessary noice on the Maven list although there

Dependency's b/w version 2.0.8 and 2.0.9

2009-01-13 Thread Robert Nicholson
I've just noticed a change in behaviour b/w maven 2.0.8 and 2.0.9 releases. In our project we had two dependencies of ehcache defined each a different version and unfortunately each using a different groupid in the artifact's pom.xml that referenced the dependency. It seems if you build with v 2.0

RE: SCM plugin project

2009-01-13 Thread Mark Struberg
Hi Todd! maven-scm defines a SPI + a few plugins for various SCMs. But although the name of the project is maven-scm it is not only intended to be used with maven only. There are other projecs (e.g. continuum) which use maven-scm for accessing SCMs without maven. The maven-scm-plugin on the

Re: maven-ear-plugin: Always throws "Embedded error: Unknown artifact type[test-jar]"

2009-01-13 Thread Stephane Nicoll
On Tue, Jan 13, 2009 at 1:59 PM, Jaikiran wrote: > Right, that's what seems to be happening. Here's a trimmed down version of > the pom.xml which manifests the issue: > >org.myapp > sample-maven-ear-app > 0.1.0-SNAPSHOT > ear > Sample Maven EAR > > > >

RE: SCM plugin project

2009-01-13 Thread Todd Thiessen
I haven't gotten a response from an SCM plugin development person. Perhaps someone on the Maven list could guide me in the right direction. I would like contribute a fix to the SCM plugin. I am trying to build the project but I have questions/issues. Who can I talk to regarding these? Thanks all.

AW: revisionNumber and timestamp in manifest-file with buildnumber-maven-plugin

2009-01-13 Thread Lewis, Eric
Hi I used the following successfully: org.codehaus.mojo buildnumber-maven-plugin validate create {0,date,MMdd-HHmmss} timestamp

revisionNumber and timestamp in manifest-file with buildnumber-maven-plugin

2009-01-13 Thread Franziska Ryll
Hello, I want to include the revisionNumber and the timestamp in a human-readable form in the manifest-file. http://jira.codehaus.org/browse/MOJO-988 states that this is possible with the buildnumber-maven-plugin using timestampFormat instead of format. Does anyone know how to use it? The followin

Re: packagingEcludes question

2009-01-13 Thread Stephane Nicoll
All maven plugins use the standard ant pattern resolution for paths. S. On Tue, Jan 13, 2009 at 4:10 PM, Mateusz Grzechociński < mate...@grzechocinski.net> wrote: > Hi, thanks for answer. > > On 13th January 2009 14:02 user Stephane Nicoll > wrote: > >> In my project I need to have a profile wh

Re: packagingEcludes question

2009-01-13 Thread Mateusz Grzechociński
Hi, thanks for answer. On 13th January 2009 14:02 user Stephane Nicoll wrote: >> In my project I need to have a profile which excludes some jars (about >> 30) from packaging when war is being created. It should create >> distribution war which contains only submodule jars, not external >> librari

Re: Native libraries handling (SWT)

2009-01-13 Thread AndreasJarund
Hi! Did you ever found a solution to this problem? I would be pleased if you let me know! /Andreas Roman Kalukiewicz wrote: > > Hi! > I would like to achieve 2 things: > 1. Maven will be able to download native dependency into local repository > (this is easy, and probably works now), but >

Re: repository for javax.persistence:ejb:jar:3.0-public_review

2009-01-13 Thread Robert Pasztor
Hello. I had the same problem using Maven4MyEclipse. I've copied from the URL contained in ejb-3.0-public_review.pom http://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.1beta5.tar.gz?download Than I extracted the ejb3-persistence.jar file from this archive, and renamed it to ejb-

Re: Doxia-Core in the latest version and Confluence format

2009-01-13 Thread Lukas Theussl
Unfortunately this is not possible. All published versions of maven include an alpha version of doxia in their uber-jar, see http://jira.codehaus.org/browse/MNG-3402 . You cannot therefore mix in some 1.1-SNAPSHOT dependencies as you will get all sort of class loading/linkage errors. So your ch

Doxia-Core in the latest version and Confluence format

2009-01-13 Thread Kornel Skałkowski
Hi, i use doxia maven plugin to generate a site from files in the Confluence format. The latest version of the doxia-module-confluence is 1.1-SNAPSHOT (which can be reached from https://svn.apache.org/repos/asf/maven/doxia/doxia/trunk/doxia-modules/doxia-module-confluence/ repository). But i'm a l

How to add a dependency dynamically during the build in a plugin?

2009-01-13 Thread Lewis, Eric
Hi I just started to write my first plugin which should add some JARs dynamically to the project's dependencies. Unfortunately, I found no documentation about how to add a dependency at runtime (Sonatype book, Maven site, blogs...). I have the project injected by Plexus and want to add some depen

Re: Older Versions of m2eclipse

2009-01-13 Thread Christian Kalkhoff
Hey Eugene, thank you alot. I never saw this checkbox until now. Unfortunally, it doesn´t seem to work, neither with older Version nor with latest dev build. Anyway, I found a workaround: The problem is, that the debug configuration of tomcat does not contain the relevant source folders i

Re: maven-ear-plugin: Always throws "Embedded error: Unknown artifact type[test-jar]"

2009-01-13 Thread Jaikiran
First of all, thank you for your inputs snicoll. snicoll wrote: > > The modules configuration is completely useless since the EAR plugin will > build the modules list using the dependencies section of your EAR project. > You are right :) I realized that, just a few minutes before you posted, a

Re: maven-ear-plugin: Always throws "Embedded error: Unknown artifact type[test-jar]"

2009-01-13 Thread Stephane Nicoll
The modules configuration is completely useless since the EAR plugin will build the modules list using the dependencies section of your EAR project. You have a test-jar without a scope test so the ear plugin tries to package it since it's not scoped properly. On Fri, Jan 9, 2009 at 11:55 AM, Ja

Re: Execution order of packaging and plugins?

2009-01-13 Thread Stephane Nicoll
You can't do that unfortunately. There is a prepare-package phase in the next major release of Maven which will address this issue. What you can do however is link your antrun plugin to the verify phase, update it and repackage it at the same location. Cheers, Stéphane On Mon, Jan 5, 2009 at 4:0

question

2009-01-13 Thread Mateusz Grzechociński
Hi everyone, I have one small problem with maven-war-plugin. In my project I need to have a profile which excludes some jars (about 30) from packaging when war is being created. It should create distribution war which contains only submodule jars, not external libraries which will be stored alway

Re: Project documentation (with Doxia)

2009-01-13 Thread Lukas Theussl
[just replying to the topic I am familiar with, maybe you should send separate mails for different subjects] Trevor Harmon wrote: I'm getting started with Doxia but have run into some issues. 1) "mvn site" converts my APT files to HTML, but I want them converted to PDF as well. I know PDF

Re: Qualifier

2009-01-13 Thread Barrie Treloar
On Tue, Jan 13, 2009 at 8:52 AM, buters wrote: > > Sorry, Wendy, but I doesn't know, that qualifier is used only for remote > repository. If for some reason (like your artifacts are huge - our are ~0.5Gb) you would like just one snapshot deployed in your remote repository uniqueVersion set to tru

RE: release plugin only works with snapshot projects.

2009-01-13 Thread Tibor Kiss
Excellent! Thank you! Feladó: Stephen Connolly [stephen.alan.conno...@gmail.com] Küldve: 2009. január 12. 17:40 Címzett: Maven Users List Tárgy: Re: release plugin only works with snapshot projects. You can always write your own release plugin... most of t