how to organize profiles for test-environment?

2010-01-26 Thread torsten . reinhard
Hi, for the definiton of our test-environment the integration-tests need to run on, I´m thinking about using profiles. What is best practice to organize the test-environment in profiles? - defining a parent pom.xml containing all profiles makes the build dependant on that environment - if

maven hanging

2010-01-26 Thread Douglas Ferguson
I am running my install script during pre-integration-test And after my install script is done, as prints out its Install Complete message, maven hangs... I'm using a wrapper and calling sudo so that the install runs as root. I've commited out the call to my install and maven stops hanging.

Re: maven 3 warning on dependency scope import?

2010-01-26 Thread Baptiste MATHUS
Hi, I just checked the documentation, import scope in to be used in the depMgmt section. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope *import* *(only available in Maven 2.0.9 or later)* This scope is only used on a dependency of type

Re: Shade Plugin: How to include artifacts and all their dependencies?

2010-01-26 Thread Baptiste MATHUS
Hi, Which configuration do you use? Have you read the documentation? Could you provide a simple example/illustration of your problem? Cheers 2010/1/22 Peter Niederwieser pnied...@gmail.com I'd like to include a specific set of artifacts and all their transitive dependencies. However,

RE: Resource Filter files

2010-01-26 Thread David.A.Williams
Thanks Manuel!! -Original Message- From: Manuel Grau [mailto:mang...@gmail.com] Sent: Monday, January 25, 2010 2:09 PM To: Maven Users List Subject: Re: Resource Filter files Yes, is possible, I did it in my work recently. But, there is a better way. Notice what I'm doing. I have 4

Dependency plugin strange behavior

2010-01-26 Thread Thiago Moreira (timba)
Hi there, I'm facing a strange behavior with the dependency plugin. Here is my configuration plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.1/version executions execution idcopy-dependencies/id phaseprocess-sources/phase goals

Re: Dependency plugin strange behavior

2010-01-26 Thread Wendy Smoak
On Tue, Jan 26, 2010 at 9:29 AM, Thiago Moreira (timba) tmoreira2...@gmail.com wrote:  For the copy-dependencies execution it works fine but for the unpack execution it claims that cannot revolve the dependency net.sourceforge.floggy:floggy-persistence-weaver BUT this dependency is declared at

Re: Resource Filter files

2010-01-26 Thread Manuel Grau
You're welcome!! 2010/1/26 david.a.willi...@sungard.com Thanks Manuel!! -Original Message- From: Manuel Grau [mailto:mang...@gmail.com] Sent: Monday, January 25, 2010 2:09 PM To: Maven Users List Subject: Re: Resource Filter files Yes, is possible, I did it in my work recently.

Re: Dependency plugin strange behavior

2010-01-26 Thread Stephen Connolly
dependency:unpack works on artifacts that are not produced as part of your build and are not listed as dependencies, as a result you must specify the full GAV coordinates to resolve the artifact, and if you are foolish enough to use it for an artifact that is produced as part of the same build

Re: Customizing maven site

2010-01-26 Thread jaybytez
The next question is that it appears when mvn site is running that maven is trying to build the source code. Is it possible to build the site without maven attempting to build the source? Thanks for your help, jay -- View this message in context:

Re: Customizing maven site

2010-01-26 Thread Dennis Lundberg
On 2010-01-26 19:08, jaybytez wrote: The next question is that it appears when mvn site is running that maven is trying to build the source code. Is it possible to build the site without maven attempting to build the source? If you run this command instead, it will build only the site and

Re: Customizing maven site

2010-01-26 Thread jaybytez
Awesome...thanks for the clarification. Again...I building mvn site for COBOL code... hahahahawho knows what kinda sites I will build. jay Dennis Lundberg-2 wrote: On 2010-01-26 19:08, jaybytez wrote: The next question is that it appears when mvn site is running that maven is

Maven dependency tracker…

2010-01-26 Thread Samuel Le Berrigaud
I wrote this little plugin at work. Some of you might be interested so here you go: http://sam.leberrigaud.org/2010/01/maven-dependency-heaven.html I could summarise what the plugin does by Know your dependencies at all time SaM

Re: Dependency plugin strange behavior

2010-01-26 Thread Thiago Moreira (timba)
Hi Stephen, Thank you for the explanation. The documentation is not clear about which dependency the plugin will work on (from the repository or produced by the build). For those of you interested in the configuration that fixed my issue here it go: execution idcopy-dependencies/id

[ANN] Release Maven Findbugs plugin version 2.3.1

2010-01-26 Thread Garvin LeClaire
The Findbugs Maven plugin team is pleased to announce the release of version 2.3.1 FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. You can see more about the plugin at: http://mojo.codehaus.org/findbugs-maven-plugin/ You can find release notes for this

How to locate the plugin at execute time

2010-01-26 Thread Dan Tran
Hello, I package my plugin to include all the native files (ie dll), at runtime, I will need to locate the plugin it self and extract the native stuff out. What is the conventional way to locate the plugin? Thanks -Dan - To

maven release plugin branch and merge question

2010-01-26 Thread Youheng Hu
Hi, I am using the following steps to release projects using maven release plugin - 1)create a branch from trunk using maven release plugin 2)development/testing in branch 3)release the project using maven release plugin 4)merge the changes from the branch back to trunk using

Re: How to locate the plugin at execute time

2010-01-26 Thread Dan Tran
ummm, i totally forgot the plugin is in the classpath :-) sorry for the noice -Dan On Tue, Jan 26, 2010 at 6:44 PM, Dan Tran dant...@gmail.com wrote: Hello, I package my plugin to include all the native files (ie dll), at runtime, I will need to locate the plugin it self and extract the

maven in ecipse

2010-01-26 Thread brian
Hi, I have a project that I've loaded into eclipse. Under windows, I already have M2_Home as env variable pointing to project directory Description Resource Path Location Type Unbound classpath variable: 'M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar' in project 'jung-api' jung-api Build path

RE: failsafe-maven-plugin configuration issues

2010-01-26 Thread subir.sasikumar
I did this earlier using maven build helper plugin and adding additional source directories, so that compiler plugin gets those during test-compile phase. Simple examples can be found under build helper plugin site. Subir -Original Message- From: Adam Retter

Re: maven in ecipse

2010-01-26 Thread Balazs Tothfalussy
Hi Brian, as I understand the problem, yes, you have to define a classpath variable for this in Eclipse: Window\Preferences\Java\Build Path\Classpath Variables - the name of the variable should be M2_REPO and should point to the Local Maven Repository (not to the maven home) - by default it is at

Re: maven in ecipse

2010-01-26 Thread vijay shanker
You should also try using eclipse plugin for maven To name - m2eclipse Regards, Vijay Shanker Dubey On Wed, Jan 27, 2010 at 1:11 PM, Balazs Tothfalussy balazs.tothfalu...@gmail.com wrote: Hi Brian, as I understand the problem, yes, you have to define a classpath variable for this in

Configure External Repository Credentials in POM

2010-01-26 Thread Brig Lamoreaux
How can you set external repository credentials in the POM file? I know that you can create a settings.xml file with values below, but how can I configure a POM file with username/password. I looked at http://maven.apache.org/maven-v4_0_0.xsd and I don't see a username and password. ?xml

Adding archetype to internal catalogue?

2010-01-26 Thread Manuel
Hi, I'm rather new to maven so sorry if I'm asking nonsense. Basically I would like to know if it is possible to add archetypes to the internal catalogue, and if yes, how? We have a framework [1] that would benefit quite a bit from having a maven archetype accessible in a simple fashion, just as

Dependencies in multi-module project

2010-01-26 Thread Ilya Kazakevich
Hello. Say, I have two projects: A and B. I always want them to be compiled and deployed in one time and I decided to use multi-module project: In the upper directory I've created pom.xml with the following content: modules moduleA/module moduleB/module /modules And it works

RE: maven in ecipse

2010-01-26 Thread Adrian Shum
I gotta admit, m2eclipse works like a charm! Except that you may need to be awared of the 'shared target folder' issue. -- Best Regards, AdRiAN ShUM -Original Message- From: vijay shanker [mailto:vijay.s...@gmail.com] Sent: Wednesday, January 27, 2010 3:45 PM To: Maven Users List