Re: Determining real GAV for java.servlet:servlet-api

2009-05-25 Thread Wayne Fay
   groupIdjavax.servlet/groupId    artifactIdjsp-api/artifactId    version2.0/version Any reason this won't work? groupIdjavax.servlet/groupId artifactIdjsp-api/artifactId version2.0/version Taken from: http://repo1.maven.org/maven2/javax/servlet/jsp-api/2.0/jsp-api-2.0.pom Wayne

Re: Determining real GAV for java.servlet:servlet-api

2009-05-25 Thread daniel.green
Gah, I posted the wrong GAV data. The correct one has java-servlet as the artifact id. The given does in fact work for jsp-api, just not for java-servlet. Wayne Fay wrote:    groupIdjavax.servlet/groupId    artifactIdjsp-api/artifactId    version2.0/version Any reason this won't work?

Re: Determining real GAV for java.servlet:servlet-api

2009-05-25 Thread Anders Hammar
Hi, Are you using JBoss AS? One of the problems regarding JBoss and Maven is that they most often do not use the jar files as released by the projects. Based on the manifest you quote, it would imply that it was implemented by JBoss. I seriously doubt that. Most likely, the jar you have is based

Re: Determining real GAV for java.servlet:servlet-api

2009-05-25 Thread Anders Hammar
Ok, so it the servlet api jar version for JBoss 4.2.2 you're looking for? I think that would be version 2.5-brew in JBoss terms (not 2.4 as I wrote in my last mail). It's outlined in JBoss' build script: http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_2_2_GA/build/build-thirdparty.xml You'll

Re : Determining real GAV for java.servlet:servlet-api

2009-05-25 Thread Julien HENRY
Correct me if I am wrong but I think servlet-api should be set to provided scope so it doesn't really matter if this is not exactly the same JAR as long as the interfaces are the same. Regards, Julien De : Anders Hammar and...@hammar.net À : Maven Users List

Re: Re : Determining real GAV for java.servlet:servlet-api

2009-05-25 Thread Anders Hammar
True. For this jar (servlet-api) it shouldn't really matter. However, other jars (xml parsers for instance) that are involved in unit tests it would matter. /A On Mon, May 25, 2009 at 09:35, Julien HENRY henr...@yahoo.fr wrote: Correct me if I am wrong but I think servlet-api should be set to

Does reactor spawn a subprocess for each submodule?

2009-05-25 Thread Tracy Hartford
I am working on a large multi-module project, and I need to know how the reactor works when I invoke a maven goal on the parent POM. I know that Maven adds all the submodule POMs into the Reactor, which analyzes the dependencies between them, and determines the build order. I understand that the

Antwort: Re: how to pack additional source-files (*.groovy) into *-sources.jar file?

2009-05-25 Thread torsten . reinhard
nice URL, very funny.but I think I´m not that kind of beginner in using Maven, sorry. I couldn´t use version 2.1 without any workaround, see http://jira.codehaus.org/browse/MSOURCES-44 for details. so, any other idea? Torsten Stephen Connolly stephen.alan.conno...@gmail.com

Re: Slow maven compile after upgrading JDK from 1.5 to 1.6

2009-05-25 Thread j_ri
Hi, meanwhile I posted in the Sun Developer Network, since my tests lead to the conclusion that the problem occures because of a bug in the javac compiler of Java 6. see http://forums.sun.com/thread.jspa?threadID=5386732tstart=0 http://forums.sun.com/thread.jspa?threadID=5386732tstart=0 and

Re: Slow maven compile after upgrading JDK from 1.5 to 1.6

2009-05-25 Thread B Smith-Mannschott
On Mon, May 25, 2009 at 11:38, j_ri jochen.riedlin...@l-bank.de wrote: another question I have is the follwing: why does maven put all transitive dependencies in the compile classpath? it is best practise to have all jars I really depend on for my compilation as direct dependency in my pom.

Can plugins be removed from build lifecycle as of Maven 2.1?

2009-05-25 Thread Peter Niederwieser
Background: I have the problem that maven-javadoc-plugin and maven-jetty-plugin don't seem to like each other. As soon as maven-javadoc-plugin is bound to a lifecycle phase, jetty:run produces a ClassNotFoundException. As a workaround, I'd like to remove the javadoc plugin for this one module

Very long wait during dependency report generation in mvn site

2009-05-25 Thread Daniele Dellafiore
Using mvn 2.1.0 (but also with previous release) the site target last minutes, I mean 10-15 minutes in this point: [INFO] Generating Dependencies report. [WARNING] The repository url 'http://s3.amazonaws.com/maven.springframework.org/release' is invalid - Repository 'spring-release' will be

Re: When using pom hierarchies where is the best place to add the distributionManagement bits?

2009-05-25 Thread Baptiste MATHUS
Sure, this is exactly what we do. You can put in the top pom the bits of configuration you want to be shared amongst all your projects (namely the reporting). Cheers. 2009/5/20 emerson cargnin echofloripa.y...@gmail.com What about report configuration, is that something you can add to your

use relative ..\... Path in includes and excludes of maven-source-plugin?

2009-05-25 Thread torsten . reinhard
Hi, I´m trying to include some additional files in my sources.jar: src\main\java src\main\groovy I use the following configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId version2.1/version executions

mvn current active profile reference

2009-05-25 Thread Albert de Reina
It's possible to have a reference of the profile being executed at a time? I know I can set a property on any profile for that purpose, but it would be better to get the profile id in execution without having to add any additional property. Thanks in advance! -- Albert

checking dependencies for snapshots during release:prepare doesnt work in mulit-module build?

2009-05-25 Thread torsten . reinhard
Hi, During mvn release:perform -DdryRun=true I would expect a you still have snapshot dependencies message from the plugin - but that doesnt happen. I can release the multi-module project with snapshot dependencies... I'm using maven-release-plugin version2.0-beta-8/version with Base

Re: maven-changes-plugin error while retrieving tickets from Trac

2009-05-25 Thread Flavio Pompermaier
Excuse me, before I involuntarily sent an incomplete email. This is the complete one: Hi to all, I tried to launch maven with the following command mvn changes:trac-report and I received the following error: [INFO]task-segment: [changes:trac-report] [INFO]

maven-changes-plugin error while retrieving tickets from Trc

2009-05-25 Thread Flavio Pompermaier
Hi to all, I tried to launch maven with the following command and I received the following error: [INFO]task-segment: [changes:trac-report] [INFO] [INFO] [changes:trac-report] [INFO]

Antwort: Re: how to pack additional source-files (*.groovy) into *-sources.jar file?

2009-05-25 Thread torsten . reinhard
Hi again, another issue: Since includes means Specified as fileset patterns which are relative to the input directory whose contents is being packaged into the JAR. I can only configure include relative to src\main\java - because that is the default source directory. to go relative with

[ANN] Failsafe Maven Plugin 2.4.3-alpha-1 released.

2009-05-25 Thread Stephen Connolly
The Mojo team is pleased to announce the release of the Failsafe Maven Plugin, version 2.4.3-alpha-1. The Failsafe Plugin is a fork of the Maven Surefire Plugin designed for running integration tests. It has the following goals. * failsafe:integration-test (with a default phase of

automatic patch generation

2009-05-25 Thread gerhard presser
Hi all! We (a software-house developing a b2b java web application) are currently planing to move from ant to maven. I successfully migrated your ant build.xml to a maven pom stucture including multiple modules etc. We are using the assembly-plugin to package all dependencies and required

Re: [ANN] Failsafe Maven Plugin 2.4.3-alpha-1 released.

2009-05-25 Thread Dan Tran
FYI, the source location is at the wrong place ? http://svn.codehaus.org/mojo/trunk/failsafe-maven-plugin/ intead of http://svn.codehaus.org/mojo/trunk/mojo/failsafe-maven-plugin/ -D On Mon, May 25, 2009 at 9:28 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: The Mojo team is

Re: [ANN] Failsafe Maven Plugin 2.4.3-alpha-1 released.

2009-05-25 Thread Stephen Connolly
A, that explains why the release failed first time out... -Stephen 2009/5/25 Dan Tran dant...@gmail.com FYI, the source location is at the wrong place ? http://svn.codehaus.org/mojo/trunk/failsafe-maven-plugin/ intead of http://svn.codehaus.org/mojo/trunk/mojo/failsafe-maven-plugin/

Re: [ANN] Failsafe Maven Plugin 2.4.3-alpha-1 released.

2009-05-25 Thread Stephen Connolly
Fixed now. The tags are correct, and the project site points to the tags, so there is no need to respin -Stephen 2009/5/25 Stephen Connolly stephen.alan.conno...@gmail.com A, that explains why the release failed first time out... -Stephen 2009/5/25 Dan Tran dant...@gmail.com FYI,

Re: Maven: The Definitive Guide in French

2009-05-25 Thread Mimil
Hello, I also would like to help on translating this book but I am more focused on creating tools allowing to translate docbook content so I think I will try to help on this side. I am developer on docbkx-tools (the current maven plugin you sonatype is using for docbook generation) (ad.: the

Re: Exploding dependencies in a war

2009-05-25 Thread Brian Fox
dependency:unpack or dependency:unpack-dependencies will do this. 2009/5/19 Stevo Slavić ssla...@gmail.com Hello Maven users, In a multimodule project, a module has war packaging and depends on some of the modules with jar packaging from the same project. Is there a way to configure war (or

Re: Override dependency classes with another module's classes

2009-05-25 Thread Brian Fox
The order in the poms is maintained as of 2.0.10, so you should be able to affect the classpath by reordering the poms. 2009/5/22 Brendan Haverlock brend...@mirthcorp.com Thanks Wayne...I just found a link to the other post about this:

Re: Have maven stop compilation when some rule is broken

2009-05-25 Thread Brian Fox
When you run a plugin from the command line like mvn enforcer:enforce, it won't use the configuration inside the executions, but your config should run fine if you launch a lifecycle phase like mvn validate. If you want it to run from the CLI directly, move the configuration block outside the

Re: [maven-eclipse-plugin] We need your help to test the future 2.7

2009-05-25 Thread ari.meyer
Hi Arnaud, I just tested with maven-eclipse-plugin-2.7-20090427.230850-4.jar and I'm getting the same error when using Wicket: org.apache.wicket.markup.MarkupNotFoundException: Markup not found. Reverting again back to 2.5.1, everything worked properly. Best regards, Ari Arnaud HERITIER