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
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
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
, 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
Hi,
Where can i find reference documentation regarding the mapping of maven
model object into XML (for mojo parameters) ?
Thanks for your help,
Sebastien
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
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
: 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
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
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
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()
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
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
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
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
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
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
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
Hi all,
how can one specify a Class-Path: entry in the manifest of an EJB jar ?
Thanks for your help,
Sebastien
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
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
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
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
Hi,
does anyone have a good documentation starting point regarding unit
testing and integration testing of mojos ?
Thanks for your help,
Sebastien
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
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
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
/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
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
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
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
).
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
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
, 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
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-
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
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
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
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
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
Hi,
does anybody know the URL of the maven 2 sources repository ? I can't
find it on the maven web site...
Thanks,
Sebastien
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
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
43 matches
Mail list logo