[maven-eclipse-plugin]: MECLIPSE-548 requires attention

2009-06-16 Thread Ben Caradoc-Davies
MECLIPSE-548 is a showstopper for many projects that would otherwise use maven-eclipse-plugin. I suspect many projects using the plugin are now pinned to 2.5. This issue is marked as Critical priority, has six votes and four watchers. Can anyone take at look at this issue? If you do not intend

Re: Maven + OSGI

2009-06-16 Thread Peter Horlock
Could anyone please share his/her assembly plugin settings and assembly file for OSGI? Thanks in advance, Peter

Re: dependency version at pom level

2009-06-16 Thread Zac Thompson
On Mon, Jun 15, 2009 at 6:54 PM, tony ktony_k...@sbcglobal.net wrote: the general use case is that you are working with a series of third-party dependencies (and their respective poms) that specify conflicting versions of a particular library commons-logging for example, and you want to force

Re: Why is version 2.0 NOT same as 2.0.0?

2009-06-16 Thread Paul Benedict
It may seem strange that 2.0.0 is not the same as 2.0, but it's not totally unstrange. It is a matter of precision. Did you know BigDecimal(2.00) does not equal BigDecimal(2.0)? The second situation can be rectified by a setting. Perhaps the first (in Maven) should too. Paul

Re: [ANNOUNCEMENT] - UNIX Maven Plugin 1.0-alpha-4 released

2009-06-16 Thread Paul Benedict
I think a much better name would be the Unix Packaging Maven Plugin. Sorry, but without an adjective, it doesn't clearly say what the plugin does. 2009/6/15 Trygve Laugstøl tryg...@codehaus.org: I'm happy to announce the fourth alpha release of unix-maven-plugin. This is still primarily a

Re: maven-dependency-plugin doesn't find all dependencies in several repositories

2009-06-16 Thread gorgophol
gorgophol wrote: Is it possible that the dependency-plugin uses information from localRepository instead of Repos 1 and 2? I recognized the following behavior: Every time I install an artifact into Repos 2 using deploy:file, the jar and the pom.xml are installed into correctly into

plugin development - map properties

2009-06-16 Thread goliat mesh
Hello! Is it possible, that the value-elements of a map-property, are Objects, not only Strings? I tried the scenario described below, but the value Elements of the MAP are always null... My context: I have a property with the Type ToolChain: ... /** * @optional * @parameter */ private

How to apply the profile, defined in the profiles.xml in the parent project directory, to sub-modules?

2009-06-16 Thread Eugeny N Dzhurinsky
Hello there! I am facing some strange problem with the profile definition. Looks like if there is the file profiles.xml, located in the same directory as the pom.xml for the parent project - specifying one of the profiles with -P switch does not affect child modules. At least mvn

Help to use new version of dependency on other repos server

2009-06-16 Thread Mikael Petterson
Hi, My project is using maven 2. In our master pom.xml we have defined a repository that hosts all our dependencies, jars ( i hope I get all the terminology right here...). What happened was that we got a new version 1.0.1 of a dependency ( jar) and it is hosted on:

Excluding files/webapp folder from a war

2009-06-16 Thread turbo-555
Hi all, I tried using the search, but I haven't found anything that could help me. I'm building a war package: packagingwar/packaging.. but I need to keep out of the war the static part of the project, that would be the whole webapp folder... the structure of my project: src: -main:

Controling workflow an a global level

2009-06-16 Thread Oskar Carlstedt
Hello all! I've been using Maven since a long time. But still I haven't found an answer of how to control the workflow on a global level while still having the opportunity to override confiuration on a system basis. What I want to do is to configure plugins in a company global pom-file just to

release plugin?

2009-06-16 Thread Nord, James
Hi all, Why if I specify exactly what versions to use for release and developement version for the exact module and specify the default values does the release plugin still try (and fail) to parse the versions? e.g. mvn.bat -B -X -e -Dproject.dev.test:test=X_1.0.1-SNAPSHOT

Re: Controling workflow an a global level

2009-06-16 Thread Kiss Tibor
Hi Oskar! I use the same scheme as your second scenario and in MY_SYSTEM_GLOBAL (inherits global) I have buildpluginManagement section with all the plugins configured for jar, ejb, war, ear packaging types plus specialities done by was6 plugin and of course all the stack of checkstyle, pmd,

Re: Why is version 2.0 NOT same as 2.0.0?

2009-06-16 Thread B Smith-Mannschott
On Tue, Jun 16, 2009 at 09:15, Paul Benedictpbened...@apache.org wrote: It may seem strange that 2.0.0 is not the same as 2.0, but it's not totally unstrange. It is a matter of precision. Did you know BigDecimal(2.00) does not equal BigDecimal(2.0)? The second situation can be rectified by a

Re: [maven-eclipse-plugin]: MECLIPSE-548 requires attention

2009-06-16 Thread Arnaud HERITIER
We asked several times to test the 2.7-SNAPSHOT before the release and we had no feedback about this issue which wasn't solved. Thus I don't know if it impacts so many projects.We'll try to fix it in 2.8, but I don't know in how many weeks/monthes, we'll be able to do it Cheers Cheers, Arnaud

Re: Excluding files/webapp folder from a war

2009-06-16 Thread Ryan Connolly
It sounds to me like you want to configure the maven-war-plugin with some excludes. Docs can be found here: http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html On 6/16/09, turbo-555 fdur...@ticino.com wrote: Hi all, I tried using the search, but I

Re: Excluding files/webapp folder from a war

2009-06-16 Thread turbo-555
exactly, I'm trying to find a way or an example how to configure it, and the doc you posted...I've seen it and went over it several times trying different combinations, but it ain't working out. without touching at the plugin, but just setting the packaging to war the files that mvn puts in the

Re: How to apply the profile, defined in the profiles.xml in the parent project directory, to sub-modules?

2009-06-16 Thread Reinhard Nägele
There is a Jira ticket for this problem, which I provided a patch for quite a while ago. http://jira.codehaus.org/browse/MRELEASE-415 It'd be nice if the issue could get some attention by the developers. Reinhard Eugeny N Dzhurinsky schrieb: Hello there! I am facing some strange problem

Re: Excluding files/webapp folder from a war

2009-06-16 Thread Ryan Connolly
Try something like this? configuration warSourceExcludessrc/main/webapp/someExcludedDirectory/**/warSourceExcludes /configuration On Tue, Jun 16, 2009 at 8:07 AM, turbo-555 fdur...@ticino.com wrote: exactly, I'm trying to find a way or an example how to configure it, and the

Re: Excluding files/webapp folder from a war

2009-06-16 Thread turbo-555
rynam0 wrote: Try something like this? configuration warSourceExcludessrc/main/webapp/someExcludedDirectory/**/warSourceExcludes /configuration I removed the packagingwar/packaging at the beginning of the pom, and tried with mvn package war:war (so it packages a

process-sources: process the source code, for example to filter any values.

2009-06-16 Thread Paolo Castagna
Hi, the Introduction to the Build Lifecycle [1] documentation describes a process-sources phase of the default lifecycle. The description says: process-sources - process the source code, for example to filter any values. This is exactly what I want to do (i.e. filter some values in my source

Can I prevent maven from searching dependencies in localRepository?

2009-06-16 Thread gorgophol
Hi, I'm in trouble because of mavens localRepository. I know Maven installs everything into localRepository in install-phase, so I use the deploy-phase for bringing group-specific artifacts into group-specific repositories. Artifacts from other groups should only be usable as a dependency in

Surefire 2.4.3 and POJC

2009-06-16 Thread Mohan KR
I have gone through the ClassLoader documentation at the surefire site couple of times, but cannot understand what combination of forkMode, useSystemClassLoader and manifestJarOnly surefire plugin configuration will give me a POJC (plain old java classpath). (I understand forkMode *cannot* be

RE: Excluding files/webapp folder from a war

2009-06-16 Thread Martin Gainty
http://jira.codehaus.org/browse/MWAR-198 Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

Re: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-16 Thread Erick Dovale
Martin, Using an archetype for this is a good workaround. I may actually make an archetype for this kind of projects. I ended up writing a mojo and binding it to the initialize phase. In this mojo I change the output directory. This seems to work fine. Muchas gracias por tu ayuda. Cheers. Erick.

RE: Custom lifecycle. Changing the default resource plugin confiduration.

2009-06-16 Thread Martin Gainty
glad to hear the custom mojo solution is working for you Saludos Cordiales desde EEUU! Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene

Re: process-sources: process the source code, for example to filter any values.

2009-06-16 Thread Anders Hammar
Found this through Google: http://www.gxdeveloperweb.com/Blogs/Bram-de-Kruijff/Maven-secrets-filtering-sources.htm Not sure if it's the best way to do it though. Never tried filtering java source code. /Anders On Tue, Jun 16, 2009 at 15:41, Paolo Castagnapaolo.casta...@hplb.hpl.hp.com wrote:

RE: Can I prevent maven from searching dependencies in localRepository?

2009-06-16 Thread Matt Brown
Why would you want Maven to NOT use the local repository? I believe it does this so that every single goal/phase (compile, test, etc) does not need to re-fetch artifacts it has already seen from the network. -Original Message- From: gorgophol [mailto:benjamin.h...@inter.de] Sent:

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-16 Thread Robert Glover
I'm feeling like a poor relation watching all the happy maven users at the banquet while I stand outside, hungry, peering in. The company I work for is pretty big. My department has started using maven and a following of developers is emerging who are asking us for advice on how to use

Re: Quandary over testing support classes.

2009-06-16 Thread David C. Hicks
Barrie Treloar wrote: I think I see what you are saying. Model (test) depends upon Test Support (main and test jars) I am going to assume that Test Support does not depend upon Model (either main or test) Almost, but not quite. TestSupport does depend on Model, because it includes the

Re: Quandary over testing support classes.

2009-06-16 Thread David C. Hicks
Barrie Treloar wrote: I think I see what you are saying. Model (test) depends upon Test Support (main and test jars) I am going to assume that Test Support does not depend upon Model (either main or test) Almost, but not quite. TestSupport does depend on Model, because it includes the

mar files dependency in maven

2009-06-16 Thread barun.mishra
Hi, I am currently trying to set up a maven build system for my project. It uses axis services which require a mar file for instantiation. I have added the dependency as dependency groupIdaxis2/groupId

Re: Excluding default repositories

2009-06-16 Thread daniel.green
mirror idinternal-repository/id name[Redacted] Maven Repository/name urlhttp://[redacted]/artifactory/repo/url mirrorOf*/mirrorOf /mirror However, snapshots don't seem to be resolving correctly. What else do I need to do? Stephen Connolly-2 wrote: Yep...

RE: Excluding files/webapp folder from a war

2009-06-16 Thread Damon Silver
I managed to get it working (maven 2.0.9, maven-war-plugin 2.1-beta-1) with the following: configuration ... packagingExcludes**/*.bat,.classpath,**/*.java,pom.xml,.project,.settings/ **,**/*.sh,target/**/packagingExcludes ... /configuration Hope that helps. - Damon -Original Message-

Clearcase with maven release plugin

2009-06-16 Thread Jeffrey N Hagelberg
Hi, I'm wondering if anyone has been able to successfully use clearcase with the maven release plugin. We're trying to figure out how to do it and investigating the various options. If you've been able get this to work, could you please share how you were able to make it work? Thanks, -Jeff

RE: Quandary over testing support classes.

2009-06-16 Thread Matt Brown
Is it possible for you to refactor the TestSupport classes that the Model unit tests depend on into a third artifact, which both projects (Model and TestSupport) can then rely on (with scope=testing)? As others have pointed out circular dependencies like this are a bad design. This might be

Re: Quandary over testing support classes.

2009-06-16 Thread David C. Hicks
Matt Brown wrote: Is it possible for you to refactor the TestSupport classes that the Model unit tests depend on into a third artifact, which both projects (Model and TestSupport) can then rely on (with scope=testing)? That's essentially what I've been working on the last hour or so.

Multiple *.jar files from one project

2009-06-16 Thread David Weintraub
We have a source tree in this format: src/main/java/com/solbright/aim/etlf/core src/main/java/com/solbright/aim/etlf/customer_1 src/main/java/com/solbright/aim/etlf/customer_2 And so on for each customer. My developers want a separate jar file for each and every customer. Not only that, but a

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-16 Thread Robert Glover
Ok, I located a DSL line that does not go through the proxy. Tomorrow I'll bring in my personal laptop to work and use it to connect to the maven IRC channel at irc.codehaus.org Meanwhile, wouldn't it be nice if everyone was a good maven citizen and downloaded the maven 2.2 RC3 and

Re: [PLEASE TEST] Maven 2.2.0-RC3

2009-06-16 Thread Nayan Hajratwala
sorry you're having so much trouble, robert -- i just tested 2.2.0-RC3, and it worked fine for me. Good luck on IRC! On Tue, 16 Jun 2009 11:50:29 -0700 (PDT), Robert Glover robertglove...@yahoo.com wrote: Ok, I located a DSL line that does not go through the proxy. Tomorrow I'll bring in my

Run a war/set of wars released in internal repo

2009-06-16 Thread Clifton
I gotta believe by now there is a slick way to run a war file released to an internal repository under a plugin like jetty or cargo. I'd like to be able to share a set of web-apps I created with a colleague without him needing to download my source. Something like Just run 'mvn

Re: Run a war/set of wars released in internal repo

2009-06-16 Thread Stephen Connolly
you could give him a skinny pom that has the deployed war as a dependency. war packaging will pull down the dependency and merge it with your (empty) skinny pom in which case you just need to give him the skinny pom file. this is extra nice as you can configure jetty defaults in the skinny pom

Re: Quandary over testing support classes.

2009-06-16 Thread David C. Hicks
Matt Brown wrote: Is it possible for you to refactor the TestSupport classes that the Model unit tests depend on into a third artifact, which both projects (Model and TestSupport) can then rely on (with scope=testing)? That's essentially what I've been working on the last hour or so. So,

Re: [ANNOUNCEMENT] - UNIX Maven Plugin 1.0-alpha-4 released

2009-06-16 Thread Stevo Slavić
+1 On Tue, Jun 16, 2009 at 9:17 AM, Paul Benedict pbened...@apache.org wrote: I think a much better name would be the Unix Packaging Maven Plugin. Sorry, but without an adjective, it doesn't clearly say what the plugin does. 2009/6/15 Trygve Laugstøl tryg...@codehaus.org: I'm happy to

Re: Maven, M2Eclipse, Nexus @ Eclipse DemoCamp in Budapest

2009-06-16 Thread Tamás Cservenák
Also, two of us will be at University of Szeged on Friday 19th, doing the same we'll be doing some demos and chatting with folks. The beer will came later, most probably at the evening. Anyone around, interested to attend the presentation at University, do some chat and/or beer should contact me

RE: Plugin / Tool for local repository

2009-06-16 Thread Tim Andersen
We use a scheduled task that runs a Ruby program to delete our local repository if it is older than a week. You could manipulate this to only delete snapshots, but I prefer to get everything fresh to make sure our internal mirror is working correctly. The full version of this program (not

Re: Quandary over testing support classes.

2009-06-16 Thread Barrie Treloar
On Wed, Jun 17, 2009 at 1:46 AM, David C. Hicksdhi...@i-hicks.org wrote: Barrie Treloar wrote: I think I see what you are saying. Model (test) depends upon Test Support (main and test jars) I am going to assume that Test Support does not depend upon Model (either main or test) Almost, but

Re: Quandary over testing support classes.

2009-06-16 Thread David C. Hicks
Barrie Treloar wrote: You have a cyclic dependency. The solution is to break the cycle. There isn't another way. Your choices on breaking it are: * Move TestSupport into Model (not ideal) * Move the code in Model that TestSupport relies upon into its own module. Yeah, that's what I

Re: Run a war/set of wars released in internal repo

2009-06-16 Thread Clifton
Skinny pom is a hack. What I'd like to do is have him run my project directly. Sharing a pom requires too many steps. You have to detach the pom from the email, save it sin an empty folder such that it doesn't conflict with other things (conflicts are not likely the first few times but possible

Re: Run a war/set of wars released in internal repo

2009-06-16 Thread Kalle Korhonen
It's a simple matter to create a self-executable war, either with Jetty or Winstone. I'd remove Maven from the equation and just give an url to the repository. If you want, you could also publish a jnlp file with the war so he really wouldn't need to do anything else but click on the link to start

Re: dependency version at pom level

2009-06-16 Thread tony k
doh! you're absolutely correct zac. i misinterpeted something i read in maven: the definitive guide. on the bottom of page 106 in a section describing dependencyManagement it reads: Once these are moved up, we need to remove the versions for these dependencies from each of the POMs;

Re: Plugin / Tool for local repository

2009-06-16 Thread Wendy Smoak
On Mon, Jun 15, 2009 at 11:38 AM, Mohan KRkmoh@gmail.com wrote: same here, interested in any updates on the plugin from the discussion below. Don't want to whip out another one if it already exists. The code definitely exists -- Apache Continuum has a feature that purges the local repo