Overriding inheritance from parent POM?

2009-01-26 Thread Trevor Strohman
I have a multi-module project with some assembly descriptors in the parent POM: http://code.google.com/p/galagosearch/source/browse/tags/galagosearch-1.0/pom.xml They're currently commented out, because when I type 'mvn install' in the parent's path, it tries to make .tar.gz files for all the

Re: Overriding inheritance from parent POM?

2009-01-26 Thread Wayne Fay
They're currently commented out, because when I type 'mvn install' in the parent's path, it tries to make .tar.gz files for all the child modules with these same assembly descriptors. That fails, of course, because the relative paths are all wrong. Adding this to the parent plugin

RE: [MAVEN RELEASE PLUGIN] NoSuchMethodError: org.apache.maven.settings.Settings.getRuntimeInfo() for goal prepare

2009-01-26 Thread Lesaint Sébastien
Hi Stephane, As you suggested, just tested the same maven command line from a fresh installed maven 2.1-M1 and it worked! So I filled an issue in M2Eclipse's JIRA (http://jira.codehaus.org/browse/MNGECLIPSE-1171), hope it's clear enough. Thanks, Sébastien Lesaint -Message d'origine-

Sharing my Maven repository

2009-01-26 Thread HHB
Hey, My laptop is loaded with a respectful local Maven repository, is it possible to share it with my friends? I mean does copy and past the folder serve the purpose? Thanks. -- View this message in context: http://www.nabble.com/Sharing-my-Maven-repository-tp21663284p21663284.html Sent from

Re: Sharing my Maven repository

2009-01-26 Thread Baptiste MATHUS
Well, yes you could copy it to other development machine. But it's not the best way to do it. You should install and configure a maven repository manager (See http://maven.apache.org/repository-management.html). Some of those tools have even the ability to scan a local repository like the one you

Re: Sharing my Maven repository

2009-01-26 Thread HHB
I want to copy/upload/transfer (not sure what is right) my local Maven repository to out Continuous Integration server. Not sure what is the best practice for this? Do I have to use a tool like Apache Archiva? Sorry, I'm new to Maven Thanks again. Baptiste MATHUS-4 wrote: Well, yes you

Re: Sharing my Maven repository

2009-01-26 Thread Milos Kleint
when you think of local repository, think of it as a cache of various remote repositories only. you should probably install a repository manager and start uploading artifacts there that are necessary for your projects. In the way that the repository manager supports.. not sure what that is

Adding pre-release steps...?

2009-01-26 Thread Kent Närling
Just asking to see if anyone wanted to do the same and hints about the best way of doing this: I would like to add some simple standard pre-validation steps before making a release of any project in the company. For instance checking that some standard files (release notes, etc) are present and

Re: ${pom.version} without the SNAPSHOT part.

2009-01-26 Thread Gabriele Columbro
Probably off topic as the issue is solved, but wanted to share my experience with you, as I found myself in the same need stated on the title of this thread. __Problem: - Due to an issue with the specific product I'm working on (Alfresco) for which its Alfresco Module Packages (no more than a

Re: Sharing my Maven repository

2009-01-26 Thread Baptiste MATHUS
start uploading artifacts there that are necessary for your projects. Well, actually no. Only if you want to explicitly validate each artifact you want to be used or only YOUR artifacts. The rest (public opensource jars...) will be downloaded by the MRM like a classical web cache server does.

Re: Adding pre-release steps...?

2009-01-26 Thread Edelson, Justin
Write plugins to perform your validation and add them to the preparationGoals of the release plugin. Justin On Jan 26, 2009, at 7:12 AM, Kent Närling kent.narl...@seamless.se wrote: Just asking to see if anyone wanted to do the same and hints about the best way of doing this: I would

Sharing (big) parts of source across projects

2009-01-26 Thread Yves Dessertine
Hi. I have an (Ant) project which generates a JAR, plus a WAR for webservices, to port to maven. I have a question about the best practises: 1) I created a subproject for the webservices, ok like this? 2) The Webservices uses lots of source from my main project what's the best approach ?

Re: Adding pre-release steps...?

2009-01-26 Thread Kent Närling
That was what I was planning, which is easy enough for me, just wanted to check before that this was the best way... thanks! :-) Will this configuration setting be inherited even if I change other parts of the configuration in the inherited projects? or will they then override this with the

RE: Sharing my Maven repository

2009-01-26 Thread Brian E. Fox
Also having to rely on a single local repo as the master is going to burn you eventually. You also won't be able to do the best practices mentioned here[1] like have separate repos and cleaning the repo out nightly. [1] http://blogs.sonatype.com/people/2009/01/maven-continuous-integration-be

Re: Adding pre-release steps...?

2009-01-26 Thread Edelson, Justin
Unless the inheriting project overrides the preparationGoals property explicitly, you should be good. On Jan 26, 2009, at 8:24 AM, Kent Närling kent.narl...@seamless.se wrote: That was what I was planning, which is easy enough for me, just wanted to check before that this was the best

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Geoffrey Wiseman
On Mon, Jan 26, 2009 at 8:13 AM, Yves Dessertine yvesd.pub...@gmail.comwrote: I have an (Ant) project which generates a JAR, plus a WAR for webservices, to port to maven. I have a question about the best practises: 1) I created a subproject for the webservices, ok like this? 2) The

Archetype expression ${package.replace ('.', '/')} not a valid reference

2009-01-26 Thread Néstor Boscán
Hi I’ve been working with archetypes for a time and I had some archetypes with this expression: ${package.replace ('.', '/')} And it worked, but for some reason now it doesn’t work. It throws a warning message “is not a valid reference”. Any ideas?

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Yves Dessertine
2009/1/26 Geoffrey Wiseman geoffrey.wise...@gmail.com: The WAR is your web services? What do you use the JAR for? Based on the limited understanding I have of your project, I'd say that basically, you want: myproject (pom project, no real implementation other than the two modules) -

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Kent Närling
What is the reason for the heavy part for the full featured? More functionality? it has an UI? It seems you probably might to create something like: - myproject - myproject-common (jar) - myproject-heavy (jar) - myproject-webservices (war) 2009/1/26 Yves Dessertine

maven-javadoc-plugin and dependencies

2009-01-26 Thread Bruno Waes
I created my own Doclet that uses freemarker as a template engine. I tried adding it to another project to generated my own javadocs from it reporting plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: Maven 2.0.9 NullpointerException when running tests

2009-01-26 Thread aminm
Dave Newton wrote: Geoffrey Wiseman wrote: On Sun, Jan 25, 2009 at 7:21 PM, Dave Newton newton.d...@yahoo.com wrote: Does 4.5 not work? I was just responding to Amin's comment about JUnit 4.4 [...] Ah, missed that--never mind :) Dave

RE: Maven - Plugin LogLevel

2009-01-26 Thread jaxzin
What's the easiest way to temporarily hack the plexus logging level to debug? The maven-filtering classes are performing poorly and I'm trying to debug my issue and the existing debug messages would be good enough if I could just see them. Thanks, Brian Brian E Fox wrote: Unfortunately not

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Yves Dessertine
Well, this code is an enterprise project, which is quite complicated. the common are the bare minimum classes for the web services to work. The heavy is the programm which is deployed as part of a proprietary framework. Thanks for the answer, it's the solution we've adopted! 2009/1/26 Kent

[ANNOUNCEMENT] - WAS6 Maven Plugin 1.1 released

2009-01-26 Thread David J. M. Karlsen
The WAS6 Maven Plugin team is pleased to announce the was6-maven-plugin-1.1 release! Tools for working with IBM WebSphere 6.0.x and 6.1.x. This plugin works along with an installation of WebSphere Application Server or Process Server - standalone or ND installation, to provide automated

Re: Maven 2.0.9 NullpointerException when running tests

2009-01-26 Thread Geoffrey Wiseman
On Mon, Jan 26, 2009 at 2:24 PM, aminm ami...@gmail.com wrote: I know that this exception occurs if I am using an old version of poi (2.5), even though I have excluded the version that comes with text mining. I have added dependency

Re: Maven 2.0.9 NullpointerException when running tests

2009-01-26 Thread Brett Randall
I Googled that stack trace for you and it pointed me straight to the POI FAQ here: http://poi.apache.org/faq.html#faq-N10006 . Classpath debugging advice there - you might need to check if you have an overlapping dependency, so dependency:analyze and dependency:tree are probably good starts.

RE: Maven - Plugin LogLevel

2009-01-26 Thread Brian E. Fox
Does mvn -x give you what you want? -Original Message- From: jaxzin [mailto:brian.r.jack...@espn3.com] Sent: Monday, January 26, 2009 2:34 PM To: users@maven.apache.org Subject: RE: Maven - Plugin LogLevel What's the easiest way to temporarily hack the plexus logging level to debug?

RE: Maven - Plugin LogLevel

2009-01-26 Thread jaxzin
Oops, sorry I wasn't clear about that. I'm already running with -e -X and the debut messages in the maven-filtering classes are not coming through so I assumed that plexus logging level is not controlled by the -X on the mvn command line. Am I wrong? If so what could be eating the messages from

Resource Filtering and targetPath

2009-01-26 Thread monkeyden
I have the following code in a pom with packaging=war: build filters filtersrc/main/filters/common-filter.properties/filter filtersrc/main/filters/${environment.type}-filter.properties/filter /filters plugins plugin

Re: Resource Filtering and targetPath - SOLVED

2009-01-26 Thread monkeyden
Upgrading to maven-war-plugin 2.1-alpha-1 solved it. http://www.nabble.com/War-Plugin-Filtering-td17541883.html http://www.nabble.com/War-Plugin-Filtering-td17541883.html monkeyden wrote: I have the following code in a pom with packaging=war: build filters