RE: SNAPSHOT

2008-02-18 Thread Sebastien Brunot
This is indeed a buggy feature: the retrieved snpashot dependency, in the case of a war module for example, is sometime included as mydependency-1.0-SNAPSHOT.jar, and sometimes as mydependency-1.0-TIMESTAMP.jar. If a mvn clean is not done, a dependency can also be included twice as

Timestamp in snapshot dependencies names

2008-02-14 Thread Sebastien Brunot
the outputFileNameMapping configuration parameter of the war plugin is unfortunately not an option for me because of (http://jira.codehaus.org/browse/MWAR-116). Thanks for your help, Sebastien Brunot Make simple things simple before making complex things possible (David S. Platt in Why Software

How to not include POM in packaged artifacts

2006-11-22 Thread Sebastien Brunot
Hi all, jar, war and ear artifacts packages by maven includes the POM (and a pom property file) under META-INF. How to not include the POM files into META-INF ? Thanks for your help, Sebastien

RE: EJB JAR Manifest

2006-11-10 Thread Sebastien Brunot
, it is taking almost 1 min more to complete the ejb goal. Is it working normally for you? Thanks Sebastien Brunot wrote: Thanks for your help Jörg. Sebastien -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 2:20 PM To: Maven

Model object XML representation

2006-11-10 Thread Sebastien Brunot
Hi, Where can i find reference documentation regarding the mapping of maven model object into XML (for mojo parameters) ? Thanks for your help, Sebastien

MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
Hi all, what is the expression to use for injection of an org.apache.maven.project.DefaultMavenProjectBuilder instance as the value of a pojo parameter: /** * A MavenProjectBuilder instance * * @parameter expression= * @readonly * @required */ private MavenProjectBuilder

RE: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
A recent mail from franz see gives me the answers (use @component instead of @parameter). Sorry for the annoyance. Sebastien -Original Message- From: Sebastien Brunot [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 1:58 PM To: Maven Users List Subject: MavenProjectBuilder

RE: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 2:03 PM To: Maven Users List Subject: Re: MavenProjectBuilder injection in a Mojo On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: what is the expression to use for injection

XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread Sebastien Brunot
Hi all, i have a mojo that defines a parameter names sourcePom which type is Artifact : /** * The POM where jar dependencies are declared. * * @parameter expression=${merge-jar-dependencies.sourcePom} default-value=${project.artifact} */ private Artifact sourcePom; I don't know how

RE: XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread Sebastien Brunot
of the Artifact that you access with the elements of sourcePom or the setters. If you find the answers to those, or if somebody out there who knows, kindly share it with us :-) Thanks, Franz Sebastien Brunot wrote: Hi all, i have a mojo that defines a parameter names sourcePom which type

Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
Hi all, how do you programmaticaly resolve the dependencies of a MavenProject object ? I've got a MavenProject object in my mojo (that i've created from an Artifact object), and i now want to resolves its dependencies in ordre to get them as artifacts using the getArtifactDependencies()

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
is optional. Sebastien -Original Message- From: Mark Hobson [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 4:38 PM To: Maven Users List Subject: Re: Resolving project dependencies On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: how do you programmaticaly resolve

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
: Re: Resolving project dependencies On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: I'm not sure I undestand your question, but I want to get a list of all the artifact that correspond to a dependency declared in the MavenProject POM, with or without transitivity depending

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
ScopeArtifactFilter(DefaultArtifact.SCOPE_RUNTIME); ArtifactResolutionResult arr = resolver.resolveTransitively(artifacts, pomArtifact, local, remoteRepos, source, filter); Set result = arr.getArtifacts(); On 11/10/06, Sebastien Brunot [EMAIL PROTECTED] wrote: What I'm doing exactly is as following: 1) I

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
in a Maven Plugin Developers doc/wiki/etc somewhere... Wayne On 11/10/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Thanks for your help tom, I now have all the information I needed. Sebastien -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: Friday, November 10

RE: [m2] List of All Dependencies for any project X

2006-11-10 Thread Sebastien Brunot
Hi, Mark Hobson seems to have authored mojos that does this: http://jira.codehaus.org/browse/MNG-2654 Hope it helps, Sebastien -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 6:27 PM To: users@maven.apache.org Subject: [m2] List of

RE: dependency plugin

2006-11-09 Thread Sebastien Brunot
dependencies elements. perhaps, you need http://maven.apache.org/plugins/maven-dependency-plugin/unpack-dependenc ies-mojo.html -D On 11/8/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Hi all, is it possible to parameterize the dependency plugin unpack goal so that it uses a pom dependencies

RE: dependency plugin

2006-11-09 Thread Sebastien Brunot
to specify every item. -D On 11/9/06, Sebastien Brunot [EMAIL PROTECTED] wrote: In fact I've already have a pom that describes the dependencies, as they are shared by many modules. Using artifactItems on this pom with unpack-dependencies will help me, except that I don't want the transitive

EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Hi all, how can one specify a Class-Path: entry in the manifest of an EJB jar ? Thanks for your help, Sebastien

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Maybe I'm facing a bug similar to http://jira.codehaus.org/browse/PLX-158 ..., but with the EJB plugin ? Sebastien -Original Message- From: Sebastien Brunot [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 1:59 PM To: Maven Users List Subject: EJB JAR Manifest Hi all

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Thanks for your help Jörg. Sebastien -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 2:20 PM To: Maven Users List Subject: RE: EJB JAR Manifest Sebastien Brunot wrote on Thursday, November 09, 2006 1:59 PM: Hi all, how can one

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
PROTECTED] Sent: Thursday, November 09, 2006 2:20 PM To: Maven Users List Subject: RE: EJB JAR Manifest Sebastien Brunot wrote on Thursday, November 09, 2006 1:59 PM: Hi all, how can one specify a Class-Path: entry in the manifest of an EJB jar ? You have to configure it: plugin

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Ok, I've found the error (there should be no enclosing manifest tags around manifestFile). Sorry for the annoyance... Sebastien -Original Message- From: Sebastien Brunot [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 3:00 PM To: Maven Users List Subject: RE: EJB JAR

Testing Mojos

2006-11-09 Thread Sebastien Brunot
Hi, does anyone have a good documentation starting point regarding unit testing and integration testing of mojos ? Thanks for your help, Sebastien

RE: Transitive dependecies

2006-11-08 Thread Sebastien Brunot
with that... and that's a good reason for using excludes. But you don't really disable transitivity completely with it. You just select from the list of dependencies to not use, in your example, library B. Sebastien Brunot wrote: Even if the POM are correct, transitivity can copy much more classes than really

dependency plugin

2006-11-08 Thread Sebastien Brunot
Hi all, is it possible to parameterize the dependency plugin unpack goal so that it uses a pom dependencies section as input instead of an artifactItems list ? Thanks for your help, Sebastien

Configuring war plugin for using a jar instead of WEB-INF/classes

2006-11-07 Thread Sebastien Brunot
Hi all, i've got a war project which pom build section contains the following statements: !-- Package webapp classes into a jar instead of under WEB-INF/classes -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId executions execution

RE: Configuring war plugin for using a jar instead of WEB-INF/classes

2006-11-07 Thread Sebastien Brunot
/war/AbstractWarMojo.java?revision=471624 Sebastien Brunot wrote: Hi all, i've got a war project which pom build section contains the following statements: !-- Package webapp classes into a jar instead of under WEB-INF/classes -- plugin groupIdorg.apache.maven.plugins

Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Hi all, transitive dependencies can be a real pain when you have a lot of external dependencies in your project. Using exclusions tags is a tedious operation in this case, so I was wondering if a quicker way exists... How can one create a pom module that contains a list of dependencies (let's

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 5:18 PM To: Maven Users List Subject: Re: Transitive dependecies On 11/7/06, Sebastien Brunot [EMAIL PROTECTED] wrote: transitive dependencies can be a real pain when you have a lot of external dependencies in your project

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
duplication further. Hope that helps. Barrett Barrett Nuzum Consultant, Skill Development [EMAIL PROTECTED] T: +1 (918) 640 4414 F: +1 (972) 789 1340 Valtech 5080 Spectrum Drive Suite 700 West Addison, Texas 75001 USA T: +1 (972) 789 1200 From: Sebastien Brunot

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
). Sebastien -Original Message- From: Martin Vysny [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 5:44 PM To: Maven Users List Subject: RE: Transitive dependecies On Tue, 2006-11-07 at 17:27 +0100, Sebastien Brunot wrote: Hi Wendy, Are you trying to tell me that the feature I'm

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
are correct... it actually makes dependency management easier. Broken poms make transitivity look bad. Wendy Smoak wrote: On 11/7/06, Sebastien Brunot [EMAIL PROTECTED] wrote: transitive dependencies can be a real pain when you have a lot of external dependencies in your project. Using exclusions

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
, as far as I know. Barrett Barrett Nuzum Consultant, Skill Development [EMAIL PROTECTED] T: +1 (918) 640 4414 F: +1 (972) 789 1340 Valtech 5080 Spectrum Drive Suite 700 West Addison, Texas 75001 USA T: +1 (972) 789 1200 From: Sebastien Brunot [mailto:[EMAIL

RE: Increase maven runtime heap space

2006-11-03 Thread Sebastien Brunot
Hi, I actually increase the heap space by setting the MAVEN_OPTS variable in the mvn.bat script, it works fine. I've just added the following line at the top of the script (after the two first paragraphs of comments): set MAVEN_OPTS=-DXms_1024M -DXmx=1024M Sebastien -Original Message-

RE: Maven rant

2006-11-02 Thread Sebastien Brunot
I'm just joining, but what about creating a wiki with the entire free maven book content so that the (user) community can update it ? I agree to the fact that you need some predefined structure to ensure effective documentation by users / developers. Adding a snipet of documentation should be a

RE: Maven rant

2006-11-02 Thread Sebastien Brunot
PROTECTED] Sent: Thursday, November 02, 2006 10:31 AM To: Maven Users List Subject: Re: Maven rant But you won't solve the main issue of a wiki system: information replacement. I still think that a comment system would be more reliable on the long term. 2006/11/2, Sebastien Brunot [EMAIL PROTECTED]: I'm

RE: Maven rant

2006-11-02 Thread Sebastien Brunot
Good ! When do you think it would be possible to have it online ? Sebastien -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 11:44 AM To: Maven Users List Subject: Re: Maven rant Wendy Smoak wrote: On 10/31/06, Sebastien Arbogast [EMAIL

RE: Maven rant

2006-11-02 Thread Sebastien Brunot
What I meant by it was the comment mechanism. Sebastien -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 3:35 PM To: Maven Users List Subject: Re: Maven rant On 11/2/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Good ! When do you

Not embedding pom is jars

2006-10-31 Thread Sebastien Brunot
Hi, is there an easy way to specify that the pom files shouldn't be embedded in a jar artifact (resulting from the package command) under META-INF ? thaks for your advices, Sebastien

Maven 2 SCM ?

2006-10-30 Thread Sebastien Brunot
Hi, does anybody know the URL of the maven 2 sources repository ? I can't find it on the maven web site... Thanks, Sebastien

RE: Maven 2 SCM ?

2006-10-30 Thread Sebastien Brunot
2006/10/30, Sebastien Brunot [EMAIL PROTECTED]: Hi, does anybody know the URL of the maven 2 sources repository ? I can't find it on the maven web site... Thanks, Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED

conditionals ant execution

2006-10-27 Thread Sebastien Brunot
Hi, is it possible to specify a conditional (as in target if=[...]) for the antrun plugin execution ? A conditional would specify something to be verified for the ant script scnipet below the tasks tags to be executed. Sebastien