Re: error using custom achetype catalog within m2eclipse plugin

2009-03-11 Thread Merv Green
M2eclipse lists everything from the catalog, but cannot generate the corresponding projects unless the Nexus indexer also finds the archetypes. Manually updating the local index from Eclipse's 'Nexus Indexes view' lets m2e use them. This comes with the inconvenience that m2e fails to release

maven-javadoc-plugin 2.5 and Illegal package name

2009-03-11 Thread Damien Lecan
Hello, I used to used maven-javadoc-plugin 2.4 for custom doclet processing. If I try to upgrade to version 2.5, I get : javadoc: error - Illegal package name: Copyright © 2009. All Rights Reserved. Command line was:C:\Program Files\Java\jdk1.6.0_11\jre\..\bin\javadoc.exe @options Extract

Re: maven-javadoc-plugin 2.5 and Illegal package name

2009-03-11 Thread Santos Patel
Hi damien, Does your path contain spaces. If any directory name contains spaces then javadoc plugin seems to fail. The issue is reported as solved with 2.5 but that doesn't seem to be the case. For your reference http://jira.codehaus.org/browse/MJAVADOC-144 Santosh Patel

Profile Inheritance

2009-03-11 Thread Roman Kournjaev
Hi All I have done a little search on the net , and understood from it that a profile defined in the parent pom cant be explicitly invoked from when running the child pom. It just sound so unbelivable to me! So I just wanted to hear it from you guys too. Thanks in Advance. Roman

classpath ordering

2009-03-11 Thread nicolas de loof
Hi, I'm using gwt, and Google folks had the strange idea to include some old version of apache commons-* in the jar. I get NoSuchMethodError in unit tests becausse I can't specify the classpath ordering of my dependencies during tests. Is there any surefire Hack I could use to EXCLUDE this

Re: Profile Inheritance

2009-03-11 Thread Gabriele Columbro
That is not correct, if I have a project structure like this: A |pom.xml --- B | pom.xml And I define the profile profile1 in A/pom.xml when running : B myuser$ mvn help:active-profiles -Pprofile1 [INFO] Scanning for projects... [INFO] Searching repository for plugin

Re: maven-javadoc-plugin 2.5 and Illegal package name

2009-03-11 Thread Damien Lecan
Does your path contain spaces. Which path ? Path to javadoc tool : yes (c:\program files) Path to dependencies (doclet) : yes (c:\document and settings) I tried with debug option. Plugin fails because of theses lines in options : ... -author -bottom 'Copyright #169; 2009 a

[ANN] Maven Site Plugin 2.0 Released

2009-03-11 Thread Dennis Lundberg
The Maven team is pleased to announce the release of the Maven Site Plugin, version 2.0 The Site Plugin is used to generate a site for the project. The generated site also includes the project's reports that were configured in the reporting section of the POM.

Re: [ANN] Maven Site Plugin 2.0 Released

2009-03-11 Thread stug23
As of 9:20 am PDT the version 2.0 plugin doesn't appear to have made it to Maven Central yet: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/ dennisl-2 wrote: The Maven team is pleased to announce the release of the Maven Site Plugin, version 2.0 The Site

Re: classpath ordering

2009-03-11 Thread Wayne Fay
I'm using gwt, and Google folks had the strange idea to include some old version of apache commons-* in the jar. I get NoSuchMethodError in unit tests becausse I can't specify the classpath ordering of my dependencies during tests. Even if you could hack Surefire to include the newer Commons

RE: classpath ordering

2009-03-11 Thread Todd Thiessen
Defining what version of the jar to use in the depedencyManagement section doesn't work here? --- Todd Thiessen -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Wednesday, March 11, 2009 12:26 PM To: Maven Users List Subject: Re: classpath ordering I'm

Issue with importing Maven project in Eclipse !

2009-03-11 Thread Gauba, Naveen
Hi I am new to Maven. I imported an existing multi-module (with 8 modules) Maven project into Eclipse. I am using Eclipse Europa 3.3 with Maven 2.0 plugin. I see 9 occurrences for this error in the Problems view. Could any of you help me here? This plugin is not referenced in any of the pom

[Maven assembly plugin] Error using the assembly plugin on CentOs4.7

2009-03-11 Thread Raphaël Piéroni
Hi folks, I have a strange error using the assembly plugin on CentOs4.7. Obvioulsy the same checkout on windows works like a charm. For information my build is multi-module an two modules have an assembly. The first succeed and the second fails. It even fails when i call it in a mono module. I

Re: classpath ordering

2009-03-11 Thread nicolas de loof
The issue is that gwt-dev INCLUDES org.apache.commons.* classes, it does not depend on some commons-* as maven projet may expect (Gwt guys don't use Maven) I've found a workaround anyway, and it is now included in gwt-maven-plugin On Wed, Mar 11, 2009 at 5:30 PM, Todd Thiessen thies...@nortel.com

Re: [ANN] Maven Site Plugin 2.0 Released

2009-03-11 Thread Peter Horlock
Same problem here! That broke our entire builds on hudson. :-( Peter

Re: Profile Inheritance

2009-03-11 Thread Rusty Wright
But try it with a profiles.xml file; for example, if I create a project with the app-fuse archetype: mvn \ archetype:create \ -DarchetypeGroupId=org.appfuse.archetypes \ -DarchetypeArtifactId=appfuse-modular-spring \ -DremoteRepositories=http://static.appfuse.org/releases \

Re: classpath ordering

2009-03-11 Thread Wayne Fay
The issue is that gwt-dev INCLUDES org.apache.commons.* classes, it does not depend on some commons-* as maven projet may expect (Gwt guys don't use Maven) I still think you should file a bug against GWT itself and ask them to shade these classes if they're going to package them in their

Version ranges

2009-03-11 Thread Johannes Schneider
Hi, I have a problem with version ranges. I try to compile Spring Rich Client Platform. There is a dependency to Jide defined: [2.2.0, 3.0.0) In my local repository there is the version 2.2.7 located. But compiling fails with this message: No versions are present in the repository for the

installing a war from a war based project automatically

2009-03-11 Thread EJ Ciramella
Is there a good way to, when building a war type project, to have the resulting war file placed in the users local repository? A friend pointed me to the build-helper-maven-plugin maintained by codehaus, but I see the primaryArtifact option to the war plugin but it doesn't seem to work.

Re: Problems with maven-kogo-plugin

2009-03-11 Thread neil hart
Can you post an example of the Ant file and the pom.xml code to call it? That would help a great deal. Thanks

Re: installing a war from a war based project automatically

2009-03-11 Thread Wendy Smoak
On Wed, Mar 11, 2009 at 12:48 PM, EJ Ciramella ecirame...@upromise.com wrote: Is there a good way to, when building a war type project, to have the resulting war file placed in the users local repository? Just 'mvn install' should do that. What command are you using and what's going wrong? --

Re: dependency lookup url

2009-03-11 Thread mcystems
I tried every possible combination on settings.xml: without mirrors, with mirrors defining snapshot a release repositories remove them. Nothing. It seems that the build-in central repository configuration cannot be override in settings.xml. While I debugged maven I find that the central repository

maven-war-plugin: War Manifest Customization

2009-03-11 Thread Davis Ford
Hi, the war plugin explains how to customize the manifest here: http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html I can't seem to repeat this. I'm wondering what I'm doing wrong. Here's a quick example with two projects: one jar project (foo-bar), and one webapp

Prevent a reactor build from filtering in child projects

2009-03-11 Thread Pankaj Tandon
Hello, I have a top level project that specifies a resource directory that I require filtering on. filters filtersrc/main/filters/${label}.properties/filter /filters resources resource directorysrc/main/resources/directory

RE: installing a war from a war based project automatically

2009-03-11 Thread EJ Ciramella
Mvn assembly:directory, but I've tried mvn install and that doesn't seem to work either. I think I see what's going on now - we have a custom packaging type that extends the war functionality. What's weird is, we're building the jar, then the war and finally our custom packaging type. But only

Re: Version ranges

2009-03-11 Thread Michael McCallum
you must have valid metadata to use ranges... did you install the jar into your local repository? On Thu, 12 Mar 2009 08:37:51 Johannes Schneider wrote: Hi, I have a problem with version ranges. I try to compile Spring Rich Client Platform. There is a dependency to Jide defined: [2.2.0,

dynamic version modification

2009-03-11 Thread fenix77
Is it possible for a plugin to dynamically update an artifact version? I have written the code to make the change, however the project still uses with the version defined in the pom. Thanks! - J -- View this message in context:

Which phase does a plugin's goal execute ?

2009-03-11 Thread Balasubramanian, Ravi Shankar
Hi all, I am executing a plugin's goal directly through the maven command. It is executed as follows: mvn clover2:setup ( which executes the setup goal of the clover2 plugin) However, I want another plugin's goal to be executed before the clover2:setup goal is executed which I have to

Re: Which phase does a plugin's goal execute ?

2009-03-11 Thread Geoffrey Wiseman
On Wed, Mar 11, 2009 at 9:21 PM, Balasubramanian, Ravi Shankar rbala...@informatica.com wrote: Hi all, I am executing a plugin's goal directly through the maven command. It is executed as follows: mvn clover2:setup ( which executes the setup goal of the clover2 plugin) However, I want

Re: [ANN] Maven Database Migration Plugin v0.9.1

2009-03-11 Thread Christian Nelson
Geoffrey: I haven't used Liquibase, so I'm not the best person to highlight all of the differences between the two projects. Like some other folks on this list, I only learned about Liquibase a few weeks ago (and haven't tried it out yet). However, there are a few notable differences as far as

Maven Meetup @ Sonatype on March 19th 20th

2009-03-11 Thread Jason van Zyl
Hi, For those interested in knowing what Sonatype is working on in the Maven community, we're having a Maven Meetup the week before EclipseCon in Mountain View. It's a full day of presentations on Maven and related technologies like m2eclipse, Nexus, Tycho, Hudson, NMaven, NAR, FlexMojos