M2 Cargo plugin now found...

2006-10-31 Thread Kevin Jackson
Hi all, The problem I just spent 2 hours banging my head against was related to where I declared the cargo-maven2-plugin Declare the plugin under plugins and it downloads fine, declare it under reportingplugins and you get *NO* information about why it won't download I'd like to suggest to any

Re: M2 Cargo plugin now found...

2006-10-31 Thread Brett Porter
Kevin, Please file it in JIRA, and please don't cross post in future. - Brett On 31/10/06, Kevin Jackson [EMAIL PROTECTED] wrote: Hi all, The problem I just spent 2 hours banging my head against was related to where I declared the cargo-maven2-plugin Declare the plugin under plugins and it

Re: Custom Manifest file

2006-10-31 Thread jiangshachina
Hello Wayne, Two manifest files contained in resulting WAR file: /META-INF/MANIFEST.MF -- entirely generated by Maven, no data from /src/main/resources /WEB-INF/classes/META-INF/MANIFEST.MF -- a copy of my /src/main/resources file with no extra data from Maven The matter is very strange. My

Maven rant

2006-10-31 Thread Jeff Mutonho
Is maven in the process of unintentionally killing itself due to poor support and documentation?I may be wrong but I strongly feel that the poor support and documentation is hampering adoption of an otherwise brilliant tool.It always seems like the participation of plugin developers in answering

Re: Maven rant

2006-10-31 Thread jiangshachina
Hello Jeff, I think it's really a trouble. But all will be OK, I'm sure of that. Best Regards. a cup of Java, cheers! Sha Jiang Jeff Mutonho wrote: Is maven in the process of unintentionally killing itself due to poor support and documentation?I may be wrong but I strongly feel that the

Re: ftp-wagon : Authentication failed

2006-10-31 Thread Kenney Westerhof
Your repository id (portal-repository) does not match the server's id. -- Kenney Jeff Mutonho wrote: In my settings.xml I have servers server id165.148.216.14/id usernamemaven/username passwordmaven/password /server /servers and in the top-level pom distributionManagement

Re: ftp-wagon : Authentication failed

2006-10-31 Thread Jeff Mutonho
On 10/31/06, Kenney Westerhof [EMAIL PROTECTED] wrote: Your repository id (portal-repository) does not match the server's id. -- Kenney Where did you come from , man :) .Thank you.Where is this documented so I can read upon it. Jeff Mutonho GoogleTalk : ejbengine Skype:

Re: Managing Release Jars

2006-10-31 Thread Mark Hobson
I was intending to ask the exact same question since this is quite a laborious task for us. Our project hierarchy is highly component based, and as such, a bug fix release in a shared low-level component can sometimes require ten to twenty releases of dependent projects. The solutions I can see

final name named after active profile id ?

2006-10-31 Thread Valerio Schiavoni
hello everyone, given the element finalNamemyapp-${...}/finalName and given that i have few profiles which I activate through command-line system properties, is it possible to use the id of the active profile as part of the final name ? if for exampel i have: mvn -Ddbms=postgres package -

Not embedding pom is jars

2006-10-31 Thread Sebastien Brunot
Hi, is there an easy way to specify that the pom files shouldn't be embedded in a jar artifact (resulting from the package command) under META-INF ? thaks for your advices, Sebastien

SV: Managing Release Jars

2006-10-31 Thread Jonas Olsson
Perhaps the original question is wrongly put, IMHO? If you have a shared library it should only be included ONCE in the end product, right? And this inclusion should be of a specific version (to allow build re-production), right? So all users of the shared library should list it as provided and

Generated properties for plugin configuration

2006-10-31 Thread David Bernard
G'day, I wish to generate a port number for my test database to use. I need to configure the dbunit plugin to use that port number. Can a property value be loaded from a file other than pom.xml and settings.xml? I don't really what to put a wrapper around maven to edit the pom.xml. Any

Re: final name named after active profile id ?

2006-10-31 Thread Valerio Schiavoni
i ended up using the solution proposed here: http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/[EMAIL PROTECTED] where every profile defines a finalName property. if there're are better (whatever it means) approaches, please comment ! thanks, valerio On 10/31/06, Valerio

Re: Managing Release Jars

2006-10-31 Thread Mark Hobson
Hi Jonas, On 31/10/06, Jonas Olsson [EMAIL PROTECTED] wrote: Perhaps the original question is wrongly put, IMHO? If you have a shared library it should only be included ONCE in the end product, right? And this inclusion should be of a specific version (to allow build re-production), right?

Re: HOWTO: Have assembly plugin call package automatically before doing assembly?

2006-10-31 Thread Damien Viel
You can also read this, but it's in french... http://www.dviel.com/archives/35 Damien Wendy Smoak a écrit : On 10/30/06, Jan Thomä [EMAIL PROTECTED] wrote: currently i am using the assembly - plugin, to assemble a multi-module project into a single directory containing the binary output of

jetty-plugin run-exploded: not scanning src/main/webapp ?

2006-10-31 Thread Valerio Schiavoni
hello everyone, i'm using the jetty plugin to test and deploy my webapp. because i'm using filtering (on both web.xml content and on other properties) , i launch everything with: mvn jetty:run-exploded then, if i try to edit a jsp file in the src/main/webapp/WEB-INF/jsp and i hit 'refresh' on

Re: jetty-plugin run-exploded: not scanning src/main/webapp ?

2006-10-31 Thread Valerio Schiavoni
i guess that reading this table: http://docs.codehaus.org/display/JETTY/What+files+are+scanned+by+the+Jetty+Maven+Plugin gives me some hint about what's going on. the scanTargets is only used by the run goal On 10/31/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: hello everyone, i'm using

Integration bundle not copying resources

2006-10-31 Thread David Leangen
Hello! I'm building an module for functional tests as explained in the BB book. However, my resources (located in src/it/resources) are just not being copied, which causes everything to fail. I must not be understanding something about the lifecycle... Any suggestions would be very welcome!

Notify only developers who committed changes?

2006-10-31 Thread Ralph Pöllath
Hi, When a build breaks, is it possible to notify only those developers who committed changes? Cheers, -Ralph.

Re: Maven rant

2006-10-31 Thread dhoffer
Jeff, I use maven and I really like it and I don't want this to sound like negative criticism but you are right, the learning curve for maven newbie’s is huge and there just isn't much good docs available. I have wound up getting bits of pieces of info from here and there...it just takes so

RE: Maven rant

2006-10-31 Thread Vincent Massol
-Original Message- From: Sebastien Arbogast [mailto:[EMAIL PROTECTED] Sent: mardi 31 octobre 2006 14:18 To: Maven Users List Subject: Re: Maven rant I totally agree but I think that the problem is very difficult to solve, especially with all the incredible amount of

Re: Maven rant

2006-10-31 Thread dhoffer
I think your right; I understand it's a hard problem to solve. That's way I'm not negative on maven; I just think it's a big issue that needs attention. The people that know this stuff, the developers that write maven probably aren't great documentation people or if they are just don't have the

RE: [m2] Surefire plugin - childDelegation

2006-10-31 Thread Darren Hartford
Anyone please? -Original Message- From: Darren Hartford Sent: Friday, October 27, 2006 9:27 AM To: users@maven.apache.org Subject: [m2] Surefire plugin - childDelegation Hi all, Between 2.2-SNAPSHOT and 2.2 official, was there a change in the way the childDelegation

Re: Maven rant

2006-10-31 Thread Sebastien Arbogast
2 thoughts about what you wrote Vincent: I totally agree on the fact that a few people have to write the core of the documentation before any community effort can be considered. But at some point, a PDF and an errata page is not the best way to create a community effort in order to keep this

Re: Notify only developers who committed changes?

2006-10-31 Thread Emmanuel Venisse
No, this feature isn't available. A build broken isn't necessary the fault of a developers because it can be due to a dependency change. Emmanuel Ralph Pöllath a écrit : Hi, When a build breaks, is it possible to notify only those developers who committed changes? Cheers, -Ralph.

Re: Maven rant

2006-10-31 Thread Jeff Mutonho
On 10/31/06, Vincent Massol [EMAIL PROTECTED] wrote: BTW there's already a Maven wiki which is opened to anyone interested. It's been there for more than a year but I wouldn't call the result comprehensive documentation. Thanks -Vincent I'm sure there are many people who might want to

Re: Maven rant

2006-10-31 Thread Wendy Smoak
On 10/31/06, Sebastien Arbogast [EMAIL PROTECTED] wrote: Think of Hibernate or PHP documentation: one base reference book with DYNAMIC comments in which people can share their thoughts and experiences about each feature/chapter, remarks that can be later integrated when the reference is

[Reporting] Configuring SiteRenderer to change output format of reports

2006-10-31 Thread Thorsten Kamann
Hello, I am planning to use Confluence as project website. Therefore i am searching for a facillity to change the DefaultSiteRenderer in the pom. I have tried this, but this doesn't work: reporting plugins plugin groupIdorg.fornax.toolsupport.maven/groupId

Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Steinar Bang
If I would like to access an API residing in an OSGi bundle (built with maven) from an eclipse RCP project, what's the correct/best/simplest way to make that API available in the RCP project: 1. stop eclipse, drop the bundle JAR into the plugins project, start eclipse and browse to the

[M2 - eclipse plugin]Specify the eclipse.dependency between artifacts

2006-10-31 Thread Alexandre Touret
Hello, is there a way to specify the project dependencies between some artifacts of a J2EE application in pom.xml ? In my application, I have a war which depends of some JARS and I d like to specify this depencency with the eclipse plugin Is it possible ? Thanks for your help! Regards,

Re: Daily builds

2006-10-31 Thread Emmanuel Venisse
Raphaël Piéroni a écrit : Hi, I have found in the nabble archive a way to retrieve the latests version of continuum with an URL like people.apache.org/~continuum/... Is there a same URL for Archiva ? (i had try replacing continuum with archive or mrm but without any success) Not yet. I

Re: Not embedding pom is jars

2006-10-31 Thread Wendy Smoak
On 10/31/06, Sebastien Brunot [EMAIL PROTECTED] wrote: is there an easy way to specify that the pom files shouldn't be embedded in a jar artifact (resulting from the package command) under META-INF ? http://maven.apache.org/guides/mini/guide-archive-configuration.html Try

Re: Daily builds

2006-10-31 Thread Raphaël Piéroni
OK i will retry tonite with a fresh checkout and with only one repository : central. If i have any problem, i will post the trace on the archiva-dev list. Thanks Raphaël PS: i now remember better, it failed on a test in web-application module, the archiver compilation failure was with the

Re: Daily builds

2006-10-31 Thread Emmanuel Venisse
Raphaël Piéroni a écrit : 2006/10/31, Emmanuel Venisse [EMAIL PROTECTED]: Raphaël Piéroni a écrit : Hi, I have found in the nabble archive a way to retrieve the latests version of continuum with an URL like people.apache.org/~continuum/... Is there a same URL for Archiva ? (i had

Re: Snapshot

2006-10-31 Thread Eric Redmond
http://maven.apache.org/guides/development/guide-building-m2.html On 10/31/06, Javier Leyba [EMAIL PROTECTED] wrote: Hi I want to know how could I get the latest maven2 snapshot... Thanks in advance J - To unsubscribe,

Daily builds

2006-10-31 Thread Raphaël Piéroni
Hi, I have found in the nabble archive a way to retrieve the latests version of continuum with an URL like people.apache.org/~continuum/... Is there a same URL for Archiva ? (i had try replacing continuum with archive or mrm but without any success) I ask this question because, i always fail

Re: Codehaus repository needed even using released plugins only

2006-10-31 Thread Carlos Sanchez
yes, it's already logged in jira and fixed for next version On 10/31/06, Syvalta [EMAIL PROTECTED] wrote: Syvalta wrote: Here's the output from my colleague (without stack trace, I'll see if he's still seeing the problem and provide the trace if possible). The full stack trace is above.

Re: AW: Notify only developers who committed changes?

2006-10-31 Thread Emmanuel Venisse
I'm not sure it will be in 1.1, but maybe someone will provide a patch. Emmanuel Lennart Lopin a écrit : Will it be available in an upcoming release? Even if its due to some dependency changes it will still be nice to send an alert to individual developers based on the source code they just

Re: Maven rant

2006-10-31 Thread Wayne Fay
The Documentation Check (DOCCK) plugin was recently created to help address this very issue. It will help not only Maven but also its plugins and even other projects/plugins using Maven. Maven Dev has established a baseline for expected documentation and will now use this plugin to enforce that

Re: finalName

2006-10-31 Thread Wendy Smoak
On 10/30/06, Wendy Smoak [EMAIL PROTECTED] wrote: Okay, so the docs for finalName differ on http://maven.apache.org/maven-v4_0_0.xsd and http://maven.apache.org/ref/2.0.4/maven-model/maven.html My guess is that the xsd needs to be re-generated, since the 2.0.4 docs describe the current

AW: Notify only developers who committed changes?

2006-10-31 Thread Lennart Lopin
Will it be available in an upcoming release? Even if its due to some dependency changes it will still be nice to send an alert to individual developers based on the source code they just checked in. Regards, Lennart | -Ursprüngliche Nachricht- | Von: Emmanuel Venisse [mailto:[EMAIL

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Tom Huybrechts
You can create a 'target platform' directory which contains all the jars of plugins you use. Then set this directory in Preferences PDE Target platform. You will have to add ALL the plugins you use, even the core eclipse plugins. But later you can just add stuff here and press reload on the

SV: mevenide vs. m2eclipse?

2006-10-31 Thread Hermod Opstvedt
Hi Why!? - There is already such a plugin from codehaus Hermod -Opprinnelig melding- Fra: Martin van den Bemt [mailto:[EMAIL PROTECTED] Sendt: 30. oktober 2006 19:50 Til: Maven Users List Emne: Re: mevenide vs. m2eclipse? I am working on a m2 eclipse plugin, but that is not public

Re: ZIP Dependencies

2006-10-31 Thread Wendy Smoak
On 10/31/06, Shelley Lock [EMAIL PROTECTED] wrote: With some of our JAR/WAR projects, we create secondary project end states with the ZIP format using the assembly plugin. Is there any way to declare these assembled zips as dependencies of other projects? Thanks! You'll need to install or

Excluding sub-modules when doing site in parent module

2006-10-31 Thread Dan Adams
I have a parent module that I want a site generated for but I don't need the site generated for each of the submodules. Is there an option so that when I run 'mvn site' it only does the current parent module and not the submodules? Thanks. -- Dan Adams Senior Software Engineer Interactive

Re: Excluding sub-modules when doing site in parent module

2006-10-31 Thread Ralph Pöllath
On 31.10.2006, at 17:00, Dan Adams wrote: I have a parent module that I want a site generated for but I don't need the site generated for each of the submodules. Is there an option so that when I run 'mvn site' it only does the current parent module and not the submodules? Thanks. Have you

Using properties in a parent reference causes problems

2006-10-31 Thread Morgovsky, Alexander \(US - Glen Mills\)
I defined some properties in my profile in my settings.xml file. These properties get resolved correctly unless they are used in a parent reference. Is this is a bug? profiles profile activation activeByDefaulttrue/activeByDefault /activation properties

ZIP Dependencies

2006-10-31 Thread Shelley Lock
With some of our JAR/WAR projects, we create secondary project end states with the ZIP format using the assembly plugin. Is there any way to declare these assembled zips as dependencies of other projects? Thanks! - Want to start your own business? Learn how on

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Steinar Bang
Tom Huybrechts [EMAIL PROTECTED]: You can create a 'target platform' directory which contains all the jars of plugins you use. Then set this directory in Preferences PDE Target platform. You will have to add ALL the plugins you use, even the core eclipse plugins. But later you can just

Re: Daily builds

2006-10-31 Thread Raphaël Piéroni
2006/10/31, Emmanuel Venisse [EMAIL PROTECTED]: Raphaël Piéroni a écrit : Hi, I have found in the nabble archive a way to retrieve the latests version of continuum with an URL like people.apache.org/~continuum/... Is there a same URL for Archiva ? (i had try replacing continuum with

added dependancy to war file

2006-10-31 Thread Mick Knutson
I have a project that has 2 different war file modules. war 1 uses ADFaces, war 2 uses MyFaces. My parent pom.xml has the declaration for both under dependacy management. I cd into the dir for the war 2 and run mvn clean package and I get the ADF Faces libs as well as MyFaces libs included in

Re: [M2]weblogic:appc classpath issue

2006-10-31 Thread Manu
Hi, I have the same problem. I need to explicitly set the entire classpath by hand to have it worked. In other words, I'm defining another time all the dependencies that already are in the pom. The plugin does not seem to take into account the dependencies. By the way, i'm using version

[ANT] Passing Maven implicit variables to Ant script

2006-10-31 Thread Manu
Hi all, I'm trying to do something rather simple: pass the Maven finalName to my Ant script, and can't make it. Does anyone know how to do it ? I precise I'm calling an external ant script through the following: configuration tasks ant antfile=build.xml inheritRefs=true

Re: [ANT] Passing Maven implicit variables to Ant script

2006-10-31 Thread Alexander Sack
Manu, just thinking out load, though this may not be what your looking for, could you use some form of antcall target=blah param name=somename value=${finalName}/ /antcall Then reference ${somename} in your ant build file. Something like that... -aps On 10/31/06, Manu [EMAIL PROTECTED]

Re: [ANT] Passing Maven implicit variables to Ant script

2006-10-31 Thread Siegfried Goeschl
Hi Manu, +) if you need to retrieve more data from the POM you can also use maven-artifact-ant-2.0 +) AFAIK not even environment variables are passed to ANT script Cheers, Siegfried Goeschl Alexander Sack wrote: Manu, just thinking out load, though this may not be what your looking for,

Re: [ANT] Passing Maven implicit variables to Ant script

2006-10-31 Thread Manu
Ok, I'll try one of the two (or even both). Thx for your rapidity to reply -Manu- 2006/10/31, Siegfried Goeschl [EMAIL PROTECTED]: Hi Manu, +) if you need to retrieve more data from the POM you can also use maven-artifact-ant-2.0 +) AFAIK not even environment variables are passed to ANT

Method for synching Devlopment Repository to Remote Repository

2006-10-31 Thread jp4
The client that I am currently working for has a very strict process for approving the use of open source software and third party libraries. As a result, we basically have to allow access to only a single repository which a few developers have access to upload libraries and sync to other

Problems with Repos?

2006-10-31 Thread JRatTFT
Hi, I sat down to work today and have blown a few hours trying to debug a project that has very few dependencies. It seems there's some cross-polination with POMs 10/31/06 3:51:25 PM EST: Unable to get dependency information: Unable to read the metadata file for artifact

Consistency of deployed modules

2006-10-31 Thread dohadwala_moiz
I have a multi-project build. I run a mvn clean deploy build every night. Sometimes the builds fail with one of the modules and I end up with an inconsistent set of deployed modules. How can I delay the deployment of the modules so that the deploy happens only when all of the modules have

Re: Maven rant

2006-10-31 Thread Arnaud Bailly
Wayne Fay [EMAIL PROTECTED] writes: The Documentation Check (DOCCK) plugin was recently created to help address this very issue. It will help not only Maven but also its plugins and even other projects/plugins using Maven. Hello to all, And first great thanks to all maven developers and

Re: ZIP Dependencies

2006-10-31 Thread Shelley
The dependencies were being declared in an EAR which only recognizes a limited set of standard mappings by default. The zip type had to be configured as a custom artifactTypeMapping: artifactTypeMappings artifactTypeMapping type=zip mapping=jar / /artifactTypeMappings

Re: Consistency of deployed modules

2006-10-31 Thread Max Cooper
Run maven twice: mvn clean install if (success) mvn deploy Build server software like Luntbuild can automate this for you. -Max [EMAIL PROTECTED] wrote: I have a multi-project build. I run a mvn clean deploy build every night. Sometimes the builds fail with one of the modules and I end

SV: added dependancy to war file

2006-10-31 Thread Hermod Opstvedt
Hi You can't have these as dependencies in th parent pom unless you have them in different profiles. If you don't use profiles you will have to have them as dependencies in each war's pom. Hermod www.opstvedt.com -Opprinnelig melding- Fra: Mick Knutson [mailto:[EMAIL PROTECTED] Sendt:

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Tom Huybrechts
On 10/31/06, Steinar Bang [EMAIL PROTECTED] wrote: Tom Huybrechts [EMAIL PROTECTED]: You can create a 'target platform' directory which contains all the jars of plugins you use. Then set this directory in Preferences PDE Target platform. You will have to add ALL the plugins you use, even

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-10-31 Thread Barrie Treloar
Ok. Thanx! Now I'm able to add it as a required plug-in in an RCP project. But I'm still not able to list its exported package when clicking Add.. in Imported Packages in the RCP project. You might be better off asking this on the Eclipse list since it is probably not a maven specific issue,

JavaDoc Plug

2006-10-31 Thread Brehm, Robert P
Hi, I am using Maven 2 and here is my dilemma: We have internal projects some of which are compiled in Java 1.4 and some in Java 1.5. My JAVA_HOME is set to .. j2sdk1.4.2_04 In my POM I have included build plugins plugin

Question about packaging QPAC

2006-10-31 Thread Kendy Yus
Hi All, I am trying to use Maven to package an Adobe QPAC component as a JAR file. These component JAR files have a special structure, somewhat like WAR and EAR files, to include dependent libraries and some configuration elements. Below is an example component JAR file:

Additional features for maven2 plugin

2006-10-31 Thread Rahamim, Zvi \(Zvi\)
Hi, I think that a very important feature is to have the ability to define, before maven starts building, the versions of the dependencies. Is there an intention to add this feature? Thanks! Zvi. - To unsubscribe, e-mail: [EMAIL

Re: Additional features for maven2 plugin

2006-10-31 Thread Max Cooper
Maven already requires you to define the versions for all of your dependencies before it builds: http://maven.apache.org/pom.html#Dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.0/version /dependency If you mean something else, please

Re: Method for synching Devlopment Repository to Remote Repository

2006-10-31 Thread Arnaud Bailly
jp4 [EMAIL PROTECTED] writes: result, we basically have to allow access to only a single repository which a few developers have access to upload libraries and sync to other repositories. The hope is that developers won't be able to just add a new You can override central by setting a