Re: Why is my WAR exploded in the EAR?

2009-09-07 Thread Aleksey Didik
Unfortunately not, you can't use parent project with packaging pom as ear module. Own module for EAR is a part of Maven paradigm: module - artifact. EAR plugin just replace JAR plugin in EAR module and it can't be used just like surefire plugin. In other words, EAR plugin doesn't attach to

Re: Maven 3.0 @ JavaZone

2009-09-07 Thread Ketil Aasarød
I'll be there, and I'll be sure to make room for it on my agenda. Looking forward to it :) -ketil 2009/9/4 Jason van Zyl jvan...@sonatype.com: Norway has always been a big supporter of Maven (I'm sorry about Maven 1.x) and so it's the first place that I'm going to give a talk on Maven 3.0. If

maven-release-plugin lock version number in submodule

2009-09-07 Thread Marcin Kwapisz
Hi, I have multimodule project. One module has final version number. Is it possible to lock version number in pom.xml? maven:prepare changes the version number to -SNAPSHOT. The only one solution I could find is to remove the module from parent project, deploy the jar into maven repository and

How to reference parent using some version variable

2009-09-07 Thread Normandes Jr
Hi, I would like to reference the parent at a child module using variable at version. I would like to do this, because I have a lot of projects that are child of parent. And if I change the version of parent, I will have to change all modules. I tried this, but not working:

Re: wagon-scm: 409 when trying to deploy

2009-09-07 Thread Brett Porter
Try using v 1.0 of the SCM libraries in the extensions to match the Wagon. - Brett On 05/09/2009, at 1:12 AM, droidin.net wrote: Thanks Brett, I changed deploy URL to: snapshotRepository uniqueVersionfalse/uniqueVersion idengtools_snapshots/id

Re: Can't get doxia-module-docbook-simple version 1.1 or 1.1.1 working

2009-09-07 Thread Lukas Theussl
Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0 which may lead to some classpath-confusion. HTH, -Lukas Fred Vos wrote: Hello, Im struggling with this for some time now. I'm trying to setup documentation using reStructuredText as the document format. But I'm having

Change synced remote repo params

2009-09-07 Thread Michael
Hi folks, our repo is synced to Maven Central. I'd like to change the contact name and email to our admin. Is this a case for the repo maintainers? Thanks, Mike - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Regarding mock-classes and surefire junit tests

2009-09-07 Thread Erik Lindblad
Hello! I've wrestling with the following problem for a few days now. I have created a junit test that uses a mock of the jboss cache mechanism. The real jboss jars are included in the POM in the provided scope and the mock classes reside in the test subtree. So the project setup is something

Surefire: passing command-line options to JVM

2009-09-07 Thread sebb
How can one pass command-line options to the JVM when using Surefire? It's easy to do this by editting the POM by adding an argLine tag to the configuration section. However I'd like to be able to change the JVM options from the command-line. Is there a way to do this?

JAVAWUG BOF 49 Video Online Maven 3 Update

2009-09-07 Thread Pilgrim, Peter
Hi All As JUG Leader of the JAVAWUG London, we just recently published Jason van Zyl talk online. The event took place at EMC/Conchango on Wednesday, 17st June 2009 from 18:30 until 20:30. We had the pleasure of welcoming Jason van Zyl of Sonatype once again to talk us about Maven 3.0,

Platform Specific Release

2009-09-07 Thread Mark Howard
Hi, We're using maven for most of our java development projects but need to integrate with some native code. We have a build system that can build dlls and shared objects and have integrated this into a maven build so that it creates a jar containing the dlls or shared objects. The problem

Re: Surefire: passing command-line options to JVM

2009-09-07 Thread Dan Tran
add a maven property to the pom ( ie propertiesnamevalue/nameproperties ) , use that prop with argline, and then override that prop with -Dname=anotherValue -Dan On Mon, Sep 7, 2009 at 6:38 AM, sebbseb...@gmail.com wrote: How can one pass command-line options to the JVM when using Surefire?

Re: Platform Specific Release

2009-09-07 Thread Michael
Mark Howard wrote: Hi, We're using maven for most of our java development projects but need to integrate with some native code. We have a build system that can build dlls and shared objects and have integrated this into a maven build so that it creates a jar containing the dlls or shared

Re: Platform Specific Release

2009-09-07 Thread Antonio Petrelli
2009/9/7 Mark Howard m...@tildemh.com: We're using maven for most of our java development projects but need to integrate with some native code. We have a build system that can build dlls and shared objects and have integrated this into a maven build so that it creates a jar containing the dlls

Re: Platform Specific Release

2009-09-07 Thread Dan Tran
I have a similar situation, I have native and java in 2 separate project trees and make java projects to depends on the native artifacts. The native will be released first, and then fix up java's dependency management to pickup the released native artifact, and then release the java tree For

Re: problem regarding maven release plugin

2009-09-07 Thread is_maximum
Dan Tran wrote: Release plugin cannot proceed with snapshot dependencies including build plugin. The main rational is it want to guarantee the release code is producible. Note snapshots can go away any time and it can have behaviors changed any time. -D Yes that's right but this

Re: problem regarding maven release plugin

2009-09-07 Thread Stephen Connolly
2009/9/7 is_maximum mnr...@gmail.com Dan Tran wrote: Release plugin cannot proceed with snapshot dependencies including build plugin. The main rational is it want to guarantee the release code is producible. Note snapshots can go away any time and it can have behaviors changed

Re: Surefire: passing command-line options to JVM

2009-09-07 Thread sebb
On 07/09/2009, Dan Tran dant...@gmail.com wrote: add a maven property to the pom ( ie propertiesnamevalue/nameproperties ) , use that prop with argline, and then override that prop with -Dname=anotherValue Thanks, I considered that, but I really want to be able to override the value without

Re: Surefire: passing command-line options to JVM

2009-09-07 Thread Dan Tran
it is a known issue ( dont remember the JIRA# thou ) -D On Mon, Sep 7, 2009 at 12:43 PM, sebbseb...@gmail.com wrote: On 07/09/2009, Dan Tran dant...@gmail.com wrote: add a maven property to the pom ( ie  propertiesnamevalue/nameproperties ) , use that prop with  argline, and then override

Re: Can't get doxia-module-docbook-simple version 1.1 or 1.1.1 working

2009-09-07 Thread Fred Vos
On Mon, Sep 07, 2009 at 09:32:53AM +0200, Lukas Theussl wrote: Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0 which may lead to some classpath-confusion. Thank you, Lukas, for your quick answer. I want to give this 2.1-SNAPSHOT version a try, but I cannot find it. Does

Re: How can I drop a custom Velocity tool into archetype:generate?

2009-09-07 Thread stug23
Can anyone give pointers for this question? stug23 wrote: Is there some way to use Plexus injection to accomplish the addition of a custom Velocity tool in an archetype so that archetype:generate can leverage the custom Velocity tool? I recently read an introductory posting on Plexus

profile activation based on env value?

2009-09-07 Thread James Russo
Hello, In my ~/.m2/settings.xml I have: settings profiles profile idsetup_database_password/id activation activeByDefaulttrue/activeByDefault /activation properties environment.typedev/environment.type database.passwordsecret/database.password

Re: profile activation based on env value?

2009-09-07 Thread Dan Tran
you should be a to search for it search maven profile using environment variable found http://www.devx.com/Java/Article/32386/1763 good luck. -D On Mon, Sep 7, 2009 at 7:33 PM, James Russoj...@halo3.net wrote: Hello,   In my ~/.m2/settings.xml I have: settings  profiles   profile    

Re: profile activation based on env value?

2009-09-07 Thread James Russo
Thanks Dan.. I've looked at that, and it seems that I have it setup correctly. However, the profile in my pom (which should be activated by an property defined in my ~/.m2/settings.xml file) is never activated. Using help:effective-pom it shows that the property is there, so I know it is

Re: Can't get doxia-module-docbook-simple version 1.1 or 1.1.1 working

2009-09-07 Thread Anders Hammar
Here: https://repository.apache.org/content/repositories/snapshots/ /Anders On Mon, Sep 7, 2009 at 22:27, Fred Vos f...@fredvos.org wrote: On Mon, Sep 07, 2009 at 09:32:53AM +0200, Lukas Theussl wrote: Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0 which may lead

Copying files besides .class files using simple project

2009-09-07 Thread William Hatch
How can I configure my pom such that it will copy other files, such as properties and .xml files that are in the default package directory into the build result? Specifically, I need to copy the hibernate.cfg.xml file so that crappy hibernate doesn't blow up. I'm using the simple jar

Re: Copying files besides .class files using simple project

2009-09-07 Thread Jörg Schaible
Hi Bill, William Hatch wrote at Dienstag, 8. September 2009 07:32: How can I configure my pom such that it will copy other files, such as properties and .xml files that are in the default package directory into the build result? Specifically, I need to copy the hibernate.cfg.xml file so that

Re: profile activation based on env value?

2009-09-07 Thread Jörg Schaible
James Russo wrote at Dienstag, 8. September 2009 04:33: Hello, In my ~/.m2/settings.xml I have: settings profiles profile idsetup_database_password/id activation activeByDefaulttrue/activeByDefault /activation properties