maven-assembly-plugin and file filter.properties problem

2007-05-04 Thread houzecl
With maven-assembly-plugin I can't filter files using a filter.properties file (note that it works with pom built-in properties e.g. ${project.groupId} or propertiestotoproperties) I've created a small project using mvn archetype:create and inserted the assembly configuration (see below)

Question: rpm-maven-plugin and /usr/lib/rpm/check-files

2007-05-04 Thread Erez Nahir
Hi, We use rpm-maven-plugin version 2.0-alpha-3-SNAPSHOT. We found that during its work, the /usr/lib/rpm/check-files run and and it generate the rpm first to /var/tmp Is there an option to configure a different location to generate this rmp-temp file? Thanks, Erez.

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Martin Bengl
Hello Mark, thanks a lot - where do you get such information from? From my point of view maven is not well documentated, isn't it? can i get your shared component somewhere before it's submitted and is there already a jira entry to vote for it? greetings Martin Mark Hobson schrieb: On

Re: Maven Community news @ blog.octo.com

2007-05-04 Thread Arnaud HERITIER
Hi Henry, Effectively, as Stephane said, you replied on the mailing list, thus I'll reply in english ;-) On 03/05/07, Stephane Nicoll [EMAIL PROTECTED] wrote: Howdy, Comments inline. Writing in English would have been more appropriate but I guess you just send the mail to the wrong

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Mark Hobson
Hi Martin, On 04/05/07, Martin Bengl [EMAIL PROTECTED] wrote: Hello Mark, thanks a lot - where do you get such information from? From my point of view maven is not well documentated, isn't it? Mainly from digging around the source code. I do agree writing and publishing some javadoc would

maven-surefire-plugin 2.2 ignoring skipExec

2007-05-04 Thread John Patrick
Is anyone else having issues with surefire plugin ignoring configuration. According to http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html the configuration value of skipExec is valid and will compile but not execute tests. skiptrue/skip works skipExectrue/skipExec doesn't work

DBUnit and table list

2007-05-04 Thread Pete
Hi there, 1) Firstly I've noticed there appears to be two DBUnit plugins, not sure which is best : http://mojo.codehaus.org/dbunit-maven-plugin http://maven-plugins.sourceforge.net 2) I'm trying to use the codehaus DBUnit plugin to export some data, but one table is giving me an error so I

Re: DBUnit and table list

2007-05-04 Thread Gregory Kick
On 5/4/07, Pete [EMAIL PROTECTED] wrote: Hi there, 1) Firstly I've noticed there appears to be two DBUnit plugins, not sure which is best : http://mojo.codehaus.org/dbunit-maven-plugin maven 2.x http://maven-plugins.sourceforge.net maven 1.x 2) I'm trying to use the codehaus DBUnit

A project with two parents, a reasonable idea or a bad idea?

2007-05-04 Thread Peter Kahn
Can someone let me know what's the common pattern for dealing with an artifact that is really a child of two projects? This kind of thing smells like an opportunity for refactoring and I feel like I should break the child artifact into multiple projects. I'm trying to convert a few products to

maven MsDev/DevStudio

2007-05-04 Thread Peter Kahn
Does anyone know if there are plugins for building devstudio solutions and/or projects? Specifically for building projects from project definitions of msdev6.0 through visualstudio8 (2005). It looks like theirs a nmaven incubation project and I've seen some mention of projects, but it looks

Passing in maven_opts at run time?

2007-05-04 Thread Jared Blitzstein
Is there a way to pass in maven_opts at run time? I have the environment variable set and it works when I run maven from my console, but I'm using a build manager and it seems to be calling maven and it's ignoring the environment variable some how. I was wondering if there was a way I

Conditional Dependencies?

2007-05-04 Thread Manos Batsis
Hello, Is there a way to have conditional dependencies based on custom properties, including artifacts and/or their versions? Many thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

One profile activate another

2007-05-04 Thread Paul Gier
I would like to have two profiles. One profile can be called by itself. The second one should activate the first one so that the configuration of the first is included. Is this possible? Thanks! - To unsubscribe, e-mail:

Generating ejb-client jar using ejb 3.0??

2007-05-04 Thread copernic Jeremy
Hy everyone, Is there any way to generate an ejb-client jar with EJB 3.0? I have tried these following configuration using the maven-ejb-plugin 2.1-Snapshotwithout success : Note that I have a dependency on javax.ejb. Thanks in advance! Copernic ... dependency groupIdjavax.ejb/groupId

Re: pom.xml URL - CVS access

2007-05-04 Thread Rodrigo Gonçalves
Hi Martin... THX very much for your answer, I don't know how I've miss that we could use the file protocol. Regards, Rodrigo. Martin Hoeller wrote: Am Freitag, 27. April 2007 16:24 schrieb Rodrigo Gonçalves: Hi Thierry... Thx for your answer, but the Upload POM is not an option!!

Re: A project with two parents, a reasonable idea or a bad idea?

2007-05-04 Thread Wayne Fay
That is the refactoring I would expect, and the correct Maven approach to the situation. Wayne On 5/4/07, Peter Kahn [EMAIL PROTECTED] wrote: Can someone let me know what's the common pattern for dealing with an artifact that is really a child of two projects? This kind of thing smells like

Re: Conditional Dependencies?

2007-05-04 Thread Wayne Fay
The only way I've seen of making dependencies conditional is via profiles. What exactly are you trying to do? Wayne On 5/4/07, Manos Batsis [EMAIL PROTECTED] wrote: Hello, Is there a way to have conditional dependencies based on custom properties, including artifacts and/or their versions?

Maven 2.0.6 using JDK 1.3

2007-05-04 Thread David Smith
I'm having a problem compiling my project with maven 2.0.6. Maven is using JDK 1.3 to compile the java files that contain generics. The build fails with an error stating that 1.3 does not support generics. How do I switch JDKs so that maven will use 1.5 instead of 1.3? My classpath and path

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread copernic Jeremy
Add this to your POM.xml: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target

Re: One profile activate another

2007-05-04 Thread Wayne Fay
Not that I'm aware of. But what's stopping you from simply specifying 2 profiles in the command line ie: mvn -P abc, xyz package See more information here: http://maven.apache.org/guides/introduction/introduction-to-profiles.html Wayne On 5/4/07, Paul Gier [EMAIL PROTECTED] wrote: I would

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Wayne Fay
This is one of the most common questions on this list... It has been answered repeatedly -- check the archives at Nabble. Also it is very well documented on the Maven website -- both in the FAQ and in the Maven Compiler plugin docs. Google also has numerous links when you search for maven

Re: Conditional Dependencies?

2007-05-04 Thread Manos Batsis
Wayne Fay wrote: The only way I've seen of making dependencies conditional is via profiles. That would create too many profiles for me. Suppose an EAR parent's POM, where the EAR can have multiple modules one can choose from and configure. For example struts 1.x or 2.x based web module, ejb

Re: DBUnit and table list

2007-05-04 Thread Wayne Fay
I've never used the DBUnit plugin myself, but as Greg mentioned, the Codehaus plugin is for M2 while the other one is for M1. If you don't get the answers you seek here, send your email to the Mojo-User list at Codehaus. Wayne On 5/4/07, Gregory Kick [EMAIL PROTECTED] wrote: On 5/4/07, Pete

Re: Conditional Dependencies?

2007-05-04 Thread Wayne Fay
If you can't/won't create the various profiles to support this functionality, I think you're going to need to write a plugin (or two) to do all this. Its just not supported in the core, and I don't see it being added any time soon, so a plugin seems the only way forward. Wayne On 5/4/07, Manos

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Paul Gier
It seems like a better default behavior for the compiler plugin would be to use the current jvm version. If I'm running maven with jdk1.5 I would expect the compiler plugin to default to source level 1.5. Is there a reason that it can't work like that? Wayne Fay wrote: This is one of the most

Re: DBUnit and table list

2007-05-04 Thread Dan Tran
Could you checkout the src/example in the source tree at mojo? http://svn.codehaus.org/mojo/trunk/mojo/dbunit-maven-plugin/src/example/ -D On 5/4/07, Pete [EMAIL PROTECTED] wrote: Hi there, 1) Firstly I've noticed there appears to be two DBUnit plugins, not sure which is best :

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Dan Tran
I totally agree with Paul here, any one else? On 5/4/07, Paul Gier [EMAIL PROTECTED] wrote: It seems like a better default behavior for the compiler plugin would be to use the current jvm version. If I'm running maven with jdk1.5 I would expect the compiler plugin to default to source level

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Ian Springer
+1 Dan Tran wrote: I totally agree with Paul here, any one else? On 5/4/07, Paul Gier [EMAIL PROTECTED] wrote: It seems like a better default behavior for the compiler plugin would be to use the current jvm version. If I'm running maven with jdk1.5 I would expect the compiler plugin to

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Wayne Fay
I believe the reason for this is as follows: jdk3 is the lowest common denominator pom.xml is supposedly the one true source for all data you need to know about a project, and builds are supposed to be repeatable/reproducible using only this information automatically picking up and using the

Re : Maven 2.0.6 using JDK 1.3

2007-05-04 Thread spouynt
If I'm working on a project with the jdk 1.5 (using maven) and during my development period, I want to make a rapid update to an old jdk 1.3 based project from the svn including compiling == re-jaring and so on... do I have to reinstall my old jdk for a 30min dev ? -1 Nawfel BERAICH

Re: Problem with maven-archetype-quickstart Reason: Unable to determine the release version

2007-05-04 Thread Breznsoiza
venky4m wrote: ... [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId:

Re: One profile activate another

2007-05-04 Thread Roland Asmann
This is not possible, however a workaround exists! You can set the first profile to be activated when a certain property is set, and the second one when it is set to a specific value. That way, if the value is 'correct', both profiles will be activated. On Friday 04 May 2007 16:37, Paul Gier

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Alan D. Salewski
I think the fact maven-2.x is written in Java should be treated just as an implementation detail, not as something to be relied upon. Hypothetically, someone could re-implement maven in something else, and no Java version would be available from which to infer the version. So I don't think the

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Thierry Lach
That makes perfect sense. On 5/4/07, Wayne Fay [EMAIL PROTECTED] wrote: I believe the reason for this is as follows: jdk3 is the lowest common denominator pom.xml is supposedly the one true source for all data you need to know about a project, and builds are supposed to be

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread Ian Springer
Nope, that doesn't sound crazy at all. Both of your points make perfect sense. I retract my earlier +1 :-) One minor quip - the docs should be updated to state the default is 1.3... http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#source

plexus-bootstrap error

2007-05-04 Thread spouynt
Hi friends, while trying to run a process-resources goal for a project through the maven integration plug-in for (my)eclipse I get this error : [INFO] Scanning for projects... [ERROR] reactor-execute : C:\works\workspaceM2\myProject-v1.3 Diagnosis: The internal default plexus-bootstrap.xml is

meta-meta information in the POM (was Re: RequireMavenVersion failed)

2007-05-04 Thread Jerome Lacoste
On 5/3/07, A. Kevin Baynes [EMAIL PROTECTED] wrote: Brian, you're right : there's a comment in the POM.xml also (found it later), so the developers did a good job of trying to warn me... No besmirchment of the Apache FTP team intended. That's something I miss from maven: meta-meta data. Often

release plugin (scm via cvs)

2007-05-04 Thread David Corbin
I'm trying to use the release plugin. When I do release:prepare it fails when it tries to commit the pom.xml files with this error: [INFO] Checking in modified POMs... [INFO] [ERROR] BUILD ERROR [INFO]

Re: release plugin (scm via cvs)

2007-05-04 Thread Emmanuel Venisse
What is your directory structure? Flat directories aren't supported. 2 workarounds: 1. you can add a pom under /home/dcorbin/workspace/inventory.ws/ and do the release on it 2. release your parent and children independently Emmanuel David Corbin a écrit : I'm trying to use the release

[ANN] Maven Release Plugin 2.0-beta-5 Released

2007-05-04 Thread Stephane Nicoll
The Maven team is pleased to announce the release of the Maven Release Plugin, version 2.0-beta-5 http://maven.apache.org/plugins/maven-release-plugin/ Release Notes - Maven 2.x Release Plugin - Version 2.0-beta-5 ** Bug * [MRELEASE-3] - release:prepare should not require multimodule

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-04 Thread David Corbin
On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: What is your directory structure? inventory.ws com.enttek.concessions-master com.enttek.concessions.common com.enttek.concessions.homeoffice Flat directories aren't supported. Right. Unfortunately, Eclipse *only*

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-04 Thread Stephane Nicoll
On 5/4/07, David Corbin [EMAIL PROTECTED] wrote: On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: What is your directory structure? inventory.ws com.enttek.concessions-master com.enttek.concessions.common com.enttek.concessions.homeoffice Flat directories aren't

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-04 Thread Roland Asmann
On Friday 04 May 2007 20:16, David Corbin wrote: On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: Flat directories aren't supported. Right. Unfortunately, Eclipse *only* supports flat directories. That depends. It is possible to import the sub-dirs as seperate projects in Eclipse. That

Re: [Spam] Re: release plugin (scm via cvs)

2007-05-04 Thread Roland Asmann
On Friday 04 May 2007 20:43, Roland Asmann wrote: On Friday 04 May 2007 20:16, David Corbin wrote: On Friday 04 May 2007 13:56, Emmanuel Venisse wrote: Flat directories aren't supported. Right. Unfortunately, Eclipse *only* supports flat directories. That depends. It is possible to

build plugin order in same phase

2007-05-04 Thread Joerg Hohwiller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, it seems to be impossible with maven 2.0.x to specify the order of plugins in the build process that are attached to the same phase (please corret me if I am wrong). The order in the POM does NOT matter. Is this feature available in (or

Re: build plugin order in same phase

2007-05-04 Thread Wendy Smoak
On 5/4/07, Joerg Hohwiller [EMAIL PROTECTED] wrote: it seems to be impossible with maven 2.0.x to specify the order of plugins in the build process that are attached to the same phase (please corret me if I am wrong). The order in the POM does NOT matter. Is this feature available in (or

How to use axis2-wsdl2code:wsdl2code?

2007-05-04 Thread Jaish.Singh
Hello, Can some help me to get the proper implementation for axis2-wsdl2code:wsdl2code? I don't know If there is bug in this? What dependency I need to put for using the plug in? I remember I need to add wsdl dependency in plug-in pom. Is it really required. Thanks Jaish

Re: Maven 2.0.6 using JDK 1.3

2007-05-04 Thread James Abley
1.3 has been end-of-lifed. Any reason not to make 1.4 the minimum base version? James On 04/05/07, Ian Springer [EMAIL PROTECTED] wrote: Nope, that doesn't sound crazy at all. Both of your points make perfect sense. I retract my earlier +1 :-) One minor quip - the docs should be updated to

Re: Maven Community news @ blog.octo.com

2007-05-04 Thread Henri Tremblay
I'm starting a trend... Mailing to the complete mailing list... I did this twice in two weeks... Good thing I'm going in holidays. Sorry for the french spam. :-) And thanks for the answers. :-) - Henri On 5/4/07, Arnaud HERITIER [EMAIL PROTECTED] wrote: Hi Henry, Effectively, as Stephane

maven-remote-resources-plugin/apache-jar-resource-bundle hints

2007-05-04 Thread Stefano Bagnara
Hi, I have 2 wishes related to this plugin, and I hope you have some hints for me ;-) 1) I create source:jar and javadoc:jar using the source and javadoc plugins. Is there a way to include the NOTICE/LICENSE from remote resources into this jars too? 2) I configured my assembly descriptors so to