.html#a5972898
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
Yep, that or a profile, which means you can externalize it in a profile.xml,
if you prefer.
On 8/24/06, Douglas Ferguson [EMAIL PROTECTED] wrote:
Distribution Management has to be in the pom right?
- Original Message -
From: Eric Redmond
Sent: Thu, 8/24/2006 6:06pm
To: Maven Users
08:51
To: Maven Users List
Subject: RE: Use System Properties in Settings.xml?
As I had initially mentioned, this works for me, not sure
about adding ENV as a prefix to MAVEN_HOME.
localRepository${MAVEN_HOME}/repository/localRepository
-Original Message-
From: Eric Redmond
commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
in advance.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
- Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
pimp
On 8/21/06, Brett Porter [EMAIL PROTECTED] wrote:
Current SVN (both trunk and branch) have -q, which with a couple of
quirks, is very quiet.
On 22/08/06, Eric Redmond [EMAIL PROTECTED] wrote:
The Maven core prints very little, and the rest is up to individual
plugins
on what
for me, not sure about adding
ENV as a prefix to MAVEN_HOME.
localRepository${MAVEN_HOME}/repository/localRepository
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 19, 2006 11:08 AM
To: Maven Users List
Subject: Re: Use System Properties
]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric Redmond
http://codehaus.org/~eredmond
PROTECTED]
www.epsiia.com http://www.epsiia.com/
__
--
Eric Redmond
http://codehaus.org/~eredmond
Alex;
You will also need javax.mail installed as well.
Eric
On 7/28/06, Simon Kepp Nielsen [EMAIL PROTECTED] wrote:
Hi Alex,
Please see
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
Best regards
Simon Kepp Nielsen, Configurations Manager
PFA Pension, Teknisk
You can get most (all?) element values from the pom in the form of
parameters, nesting by dot notation.
for example:
project
build
directoryVALUE/directory
is ${project.build.directory}
etc.
If you want to play with viewing the value of any parameter, try the ant
plugin:
build
Or, you can set up your workspace according to this:
http://mojo.codehaus.org/using-sandbox-plugins.html
On 7/18/06, Laurent GRANIE [EMAIL PROTECTED] wrote:
Hi,
I want to generate the structure of a plexus component. There is an
archetype : E. Venisse deploy it on
True, sorry, I thought the links had been updated. The repo is here:
http://repository.codehaus.org/org/codehaus/mojo/
In anycase, there should be no difference between setting the repository in
settings.xml and setting them manually by -DremoteRepositories. If you have
your settings.xml set
AFAIK, test is the only skippable phase (-Dmaven.test.skip=true). In other
cases where this is necessary, I find myself executing all of the goals in
order, sans phase.
For example, to skip process-test-resources when packaging a jar:
mvn resources:resources compile:compile compiler:testCompile
That is odd... does the account you're running mvn on have read access to
that file? Is the file locked by an external program? Is the file still
there (since its in a temp directory)? file.toURL().openStream() is
throwing an IOException, so it looks to be a Java thing.
Thanks;
Eric
On 7/14/06,
/project/pom-4.0.0.xml
Eric
On 7/10/06, Marc L. Veary [EMAIL PROTECTED] wrote:
No problem...
Are these two configured/setup/located differently?
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: 10 July 2006 17:12
To: Maven Users List
Subject: Re: Super POM
Also
There is an XML validator incubating in Mojo:
http://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/xml-maven-plugin/
I have no idea how active it is, however.
Thanks;
Eric
On 7/9/06, Dennis Lundberg [EMAIL PROTECTED] wrote:
Wendy Smoak wrote:
On 7/8/06, Aron Smith [EMAIL PROTECTED] wrote:
The groupdId etc. is useful for when nothing can be found in the relative
path.
Thanks;
Eric
On 7/8/06, Alex Shneyderman [EMAIL PROTECTED] wrote:
It is a bit confusing since maven has all the information to find pom
in the repository.
scratch that,
what's confusing is the fact that I need
Please do not cross-post between lists. More below.
On 7/7/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:
Dear all,
As I see at the following URL goals provided by maven-scm-plugin, these
goals are general goals, but at the same time, certain actions /
operations which are specific to a
(Microsoft , open source
Linux to name a few) implemented this behaviour into their system ?
Thanks , Jaikumar
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 08, 2006 2:39 AM
To: Maven Users List
Subject: Re: maven-scm-plugin goals question
Please do
Ruby Mojo support is active again, after a long incubation period. Thanks to
the Mavenization of JRuby, I was able to remove all requirements on the Ruby
interpreter. This means that all plugins written in Ruby are now just as
portable as their Java counterparts, since it will download the
You're talking about the Developer's Journal? No, that covers Maven 1, and
only Maven 2 in a very cursory sense. You are better sticking with Better
Builds.
On 6/29/06, Bravo, Kris [EMAIL PROTECTED] wrote:
There's another book out from the developers you ought to look at instead
if you are
To my knowledge, no, there are no other Maven 2 books. Pro Apache Maven is
no Maven 2.
Eric
On 6/28/06, David [EMAIL PROTECTED] wrote:
Have you looked at the Better Builds with Maven book? Available
to download from: http://www.mergere.com/m2book_download.jsp
Yes, I have downloaded it, I
Correct Wendy, but just as a clarification for Steve, you will need two
distinct projects here. One for the applet which is installed as usual, and
another for the WAR which will package all of its runtime (default)
dependencies.
Eric
On 6/23/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On
You mean JUnit 4? Annotations are brand new with JUnit 4, and if it is not
yet supported, neither will be annotations.
Eric
On 6/15/06, gilles_gty [EMAIL PROTECTED] wrote:
Hi there.
I am rather new with Maven 2. No Ant neither Maven 1 background.
Did any one got this annotation stuff to
I know that OpenLogic also supports Maven, and their relatively cheap. That
said, I don't know if you want to higher consultants who work for XBoxes ;)
http://www.openlogic.com/community/
Eric
On 6/15/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
I think Mergere is now the best option, where
Correct. If a commonly required jar is not in ibiblio, its usually a
licensing issue.
On 6/12/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
Better Builds With Maven , page 83 ,second bulleted paragraph
As you're compiling J2EE code you need to have the J2EE
specifications JAR in the project's
PROTECTED] wrote:
native-maven-plugin experience the same thing, sound like a bug
Please file a JIRA
Eric, where do have the work around? your plugin's pom? or the the
project
that use it?
-D
On 6/10/06, Eric Redmond [EMAIL PROTECTED] wrote:
Component descriptor cannot be found
Component descriptor cannot be found in the component repository:
org.apache.maven.lifecycle.mapping.LifecycleMappingtigerstripe-application
Component role-hints in Plexus are tacked onto the end of the role name, and
loaded like a role (someone correct me if I'm wrong about this... good
Plexus
I hope you find this useful. Its not an introduction article.
http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html
Sorry to cross-post, but I'd like to add a link to
http://maven.apache.org/articles.html
Eric
You're mixing apples and oranges here. mvn compile is executing all phases
up to the compile build lifecycle phase (which have goals attached to some
of those phases). mvn hello:sayhi or mvn cristal:build is executing a
specific goal, not a phase.
You bring up a very good point, and one I have recently begin using. I have
gotten to creating pom projects (they don't have to be parents or
multimodule projects, for that matter) for all sorts of jar clusters,
specifically, implementations of APIs. For example, our org has yet to land
on a JDBC
Try to replace the comma with an XML, or URL entity
(http://users.easystreet.com/ovid/cgi_course/appendices/appendix2.html)
Eric
On 5/4/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi,
my organization has ',' in their URL:
http://www.europe.nokia.com/nokia/0,,64463,00.html
when I try to
This is the same old debate about scope versus configuration.
Check out Xavier Hanin's blog, specifically the comments.
http://jroller.com/page/xavierhanin?entry=maven_features_comparison
I agree with you, somewhat. The ability to override a dependency in M2 is
far more verbose. In contrast,
That's a great question, and one I'd be interested in knowing as well.
Eric
On 4/30/06, Szczepan Faber [EMAIL PROTECTED] wrote:
How to create _relative_ links (e.g. to cobertura report or to javadoc
of specific class) in index.apt?
Are you running Windows? If you're running *nix, the quote syntax probably
won't work (shell dependant, of course). Try it with only one word, hello,
and no quotes.
-Dcommand.line.prop=hello
If that does not work, did you type the values into the file, and also into
the command line (rather
No, that's not OK. It looks like 1.2.7 wasn't officially deployed, the jar's
are just sitting there. The maven-metadata file does not have 1.2.7 listed
either.
Eric
On 4/19/06, Simon Kitching [EMAIL PROTECTED] wrote:
Hi,
I am trying to use the assembly:assembly goal. However when I run my
Children do inherit version from their parents (if the children do not set
the version element themselves).
Understand that there is a difference between a POM that aggregates other
projects, and a parent project. They are not necessarily related. A parent
POM is one that is explicitly pointed to
Yeah, I submitted a patch to fix that 4 months ago (
http://jira.codehaus.org/browse/ARCHETYPE-14), and its apparently being
fixed in the next recent version? I really don't know.
Eric
On 4/16/06, Borut Bolčina [EMAIL PROTECTED] wrote:
Hello,
I am having the same problem. What is the point
We've had similar problems. I don't really consider them problems, because
they are easily solvable.
If everyone will have the exact same profiles in profiles.xml, then you
really ought to think about just putting the profiles in the pom. Then,
their changes will be propogated to all develpers on
Yeah, and on the same vein, our tests failed because of classloader issues,
because Eclipse would execute JUnit in a different hierarchy than surefire.
You may check that as well.
Eric
On 4/14/06, Valerio Schiavoni [EMAIL PROTECTED] wrote:
hi,
when we first launched our test suites outside
http://maven.apache.org/guides/
All sorts of documentation. Start with the first one!
Eric
On 4/10/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hello at all, i'm new to maven and want to start managing my next
Webapplication
Project with maven2.
As far as I understood, the way getting
I know this is also not a super-elegant solution, however, what about
activating profiles on the existance of files?
Such as, web.xml for a war, or application.xml for an EAR?
As I said, not the best, but it should save you from messing up your POM
hierarchy.
Eric
On 4/8/06, Wim Deblauwe
Your profile needs an id. You gave the repository an id, but the profile
itself needs one too.
Eric
On 4/7/06, Julio Oliveira [EMAIL PROTECTED] wrote:
this is my conf/settings.xml
---
!- maven 2.0.3
The one relevant line:
Caused by: java.lang.NoClassDefFoundError: org/jaxen/BaseXPath
Anyway, I'd suggest using the Maven 2 plugin in Eclipse and get the
dependencies to work that way (rather than through the classpath). So when
you have the classpath set up correctly in Eclipse, it should work
Oh, its unfortunate that I have run across this interesting thread just now.
I actually ran across the exact same issue. Here's what I did (note this may
not be the most elegant solution, however, it worked well, and was the
easiest to implement). Since you mentioned that this is merely for rapid
Current documentation states that filters are *.properties files. I have not
heard of any change to this. It should be a relatively minor patch, why
don't you submit the idea?
Eric
On 4/6/06, Kevin Galligan [EMAIL PROTECTED] wrote:
Is there any way to specify an xml file as the source of
Oddly enough:
http://jira.codehaus.org/browse/ARCHETYPE-22#action_62607
On 4/6/06, Kathryn Huxtable [EMAIL PROTECTED] wrote:
It would be nice in designing archetypes if you could make use of package
structure under the java directories, e.g. Having something like
foo/bar/baz.java and
http://maven.apache.org/contributing/help.html
On 4/6/06, Kevin Galligan [EMAIL PROTECTED] wrote:
Not sure how the submit process works...
On 4/6/06, Eric Redmond [EMAIL PROTECTED] wrote:
Current documentation states that filters are *.properties files. I have
not
heard of any change
Why is the profile in your POM, but you're attempting to activate is within
your settings.xml?
Try and put the profile in settings, or activate it in the POM.
Why debuggin profile activation issues, this goal is useful:
mvn help:active-profiles
Yeah, I guess I should update the docs. And, you know, fix the 20 other
things. Sorry about that.
Eric
On 4/6/06, John Casey [EMAIL PROTECTED] wrote:
Don't forget to add an activeProfiles section to your settings.xml, to
explicitly activate that profile:
activeProfiles
That solution sounds reasonable. I misunderstood your problem. I though it
was abnormal release cycles, not abnormal CVS setup.
Eric
On 4/6/06, Mang Jun Lau [EMAIL PROTECTED] wrote:
Eric Redmond [EMAIL PROTECTED] wrote on 04/06/2006 09:40:38 AM:
I created an alternate repository named TAG
://jira.codehaus.org/browse/MNG-2206.
Download the attached pom, add profiles in your settings.xml and look
;-))
- Olivier
-Message d'origine-
De : Eric Redmond [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 6 avril 2006 15:57
À : Maven Users List
Objet : Re: Trouble or misunderstanding
The only support for Ruby is making plugins with ruby scripts. My plan is to
add integration with RubyForge, but for the time being, its pretty basic.
http://mojo.codehaus.org
Eric
On 3/31/06, Arnaud Bailly [EMAIL PROTECTED] wrote:
Hi to all,
I think there is some support for alien projects
Because I'm such a nice guy :), here is a ruby script to install all jars in
a given directory to Maven. Just ensure there are no spaces in your
directory path.
Eric
- BEGIN SCRIPT -
# Set the MVN SCRIPT
# Eric Redmond / Propellors.net
MVN_SCRIPT = C:/maven-2.1-SNAPSHOT/bin/mvn.bat
run?
Otherwise this only solves half the problem. ;-)
Wayne
On 4/5/06, Eric Redmond [EMAIL PROTECTED] wrote:
Because I'm such a nice guy :), here is a ruby script to install all
jars in
a given directory to Maven. Just ensure there are no spaces in your
directory path
When you say distributed, do you mean deployed to a Maven repository? In
that case, you have no choice but to package them inside of a jar (or zip,
or whatever). If you mean distributed on its own, this sounds like a case of
documenting to the user that they can put a file somewhere and make
For #2, you can just run the site:site goal directly, without running
through the build lifecycle.
On 4/4/06, Julio Oliveira [EMAIL PROTECTED] wrote:
Hi
1) . I need to compile a java project, that has a fileset like this in ant
fileset dir=../../libMLI
include name=**/*.jar /
It looks like the ${basedir}/src/main/webapp directory must exist in your
project path. Since you did not set the warSourceDirectory configuration,
thats the default. So, you can either create that dir, or change the
warSourceDirectory.
Eric
On 4/4/06, Venkatagopalaraju [EMAIL PROTECTED]
Well, sorry to dissapoint, but I'm not an expert... I am, however, full of
opinions!
This is how I tend to number, and it works well for me:
Skip bugfix numbering unless you are working on a major project. Seriously.
It gets very burdonsome to handle multiple minor edits on smaller projects,
On 4/3/06, Calum Shaw-Mackay [EMAIL PROTECTED] wrote:
Hello
I'm just starting out using Maven for some of my projects and I have a
couple of questions
How do I in a my pom.xml indicate that I want a subset of my source
compiled to a separate directory using 1.4, whilst having the whole
Do you really have a space in your artifact ID? Is it really named Module
A?
On 3/21/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi All,
I have some weird problem in may be pom inheritance
This is what my dirctory structure
Project
Module A
SubModule-A
If I understand it correctly, any property which can be set by the -D flag
should also be settable through the POM properties element, such as:
properties
performReleasetrue/performRelease
/properties
On 3/15/06, Miguel Griffa [EMAIL PROTECTED] wrote:
I've followed discussions about
I've been digging into the bowels of Maven for months now, and really, the
documentation is ok. There are a few short-commings (the--more or less--lack
of comprehensive Plexus docs, for one), but considering the scope that this
project has (huge), the speed in which it has begun to mature (fast),
,
and were making great progress... so I closed it down.
On 1/20/06, Eric Redmond [EMAIL PROTECTED] wrote:
I've been digging into the bowels of Maven for months now, and really, the
documentation is ok. There are a few short-commings (the--more or less--lack
of comprehensive Plexus docs
Is that book for Maven 1 or 2? I couldn't tell, but assume 1.
On 1/8/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
The statement in amazon about that book is absolutely wrong, the
first and only book on Pro Apache Maven, when it's not the first,
neither the only one.
On 1/8/06, Phill Moran
Rather than converting, you can point to the internal repository in
settings.xml, marking its layout as legacy, and let nature take its course.
Thanks;
Eric
On 1/4/06, Rinku [EMAIL PROTECTED] wrote:
Hey Everyone,
I need to convert an internal M1 repository and create an M2 repo.
Is there a
All eclipse:eclipse does is generate eclipse metadata annotation files, such
as .classpath and .project. It does not reconfigure directories, or delete
anything, including SVN or CVS dirs.
Eric
On 12/30/05, Srepfler Srgjan [EMAIL PROTECTED] wrote:
Is it possible that if I do mvn
How about: groupId:artifactId:version?
Eric
On 12/31/05, Grégory Joseph [EMAIL PROTECTED] wrote:
Hi list,
This might sound like a silly question, and very superficial - I will
concede that ;) - but I was wondering if there was a prefered or
suggested way to communicate dependencies. By
I have been having the same issue.
On 12/29/05, Ryan Marsh [EMAIL PROTECTED] wrote:
John,
for some reason the pluginRepositories that i have put in
settings.xml are not getting used to look for plugins. i know the
syntax is correct and the profile is active. what is the other
missing
to run with the secondary poms? I know you reference the main
pom in the other two with a parent tag, but how does maven know to look
for other two? Do I pass something in as an argument?
Thanks...
Frank Russo
Senior Developer
FX Alliance, LLC
-Original Message-
From: Eric Redmond
What you could do is create a pom project in the base of the WAR, which then
kicks off two modules... one as a JAR project which builds first, then the
second one builds the WAR, with everything wrapped up inside it. This would
require 3 POMs.
For example, if your directory is set up as:
I just published a simple usable version of Ruby support for Maven. I say
simple because the full spectrum of mojo field/setter injection parameters
are not complete, however, simple operations, such as configuring a String
parameter in the pom, is now possible.
In any case, to use this, you need
SortMojo! Now thats the best idea I've heard yet.
Eric
On 12/19/05, Rinku [EMAIL PROTECTED] wrote:
I am +1 for the existing format. Supporting more would be a maintenance
add-on.
The only thing I can suggest is that may be certain sections could be
factored out (something like
I'm digging around in the maven-core project, specifically, in the
DefaultPluginManager, populatePluginFields method. The problem I'm having is
in overriding the ComponentConfigurator via the plexus components.xml file.
What I have is something like:
component-set
...
component
-0
Support for both should be out of the question. Double the documentation,
double the confusion, double the possibility for error proneness.
Readability is very important. I've never been a big fan of the less lines
argument. Sure:
if(a!=null){a+= label;System,out.println(a);}
may be less
Check out the ibiblio.org repository for a look at the differences between
how the repositories are set up. You are familiar with maven 1, so ibiblio
for maven 2 is just in the directory /maven2 instead.
project.properties do not exist in Maven 2. All definition is done in the
project.xml, or
Having run clean installs a few times I noticed a few things:
True, some of the projects, including maven-plugins are seperated, requiring
them to be run seperately.
Sometimes (depending on how cleanly seperated dependencies are) you have to
run mvn -fn install a couple of times before it takes,
Its your machine's setup. Apparently its trying to run your jar, and it
assumes a main class. What are you trying to do?
On 11/30/05, David Novogrodsky [EMAIL PROTECTED] wrote:
I am running Maven 2.0 on Mac OS 10.3.9. I created a new project using
this command:
mvn archetype:create
Yes, you can live with an HTTP server for the central repository.
I have no answer for your central question.
The parent pom with your defaults just needs to be available to your
descendant poms. You can define its location using relativePath if you
wish.
src/main/resources/META-INF/ is not
/**
* @parameter expression=${phase}
* @required
*/
private Object phase;
Would this work I wonder? Something along those lines.
On 12/1/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
hi,
is there a way for plugin goals to be aware of the phase they are
being executed on? we have a source
What does the POM dependency block look like?
On 12/2/05, Peter Narloch [EMAIL PROTECTED] wrote:
Trying to set up my first project and get the following error message. Am
I missing a pre-req or something? Any insight appreciated.
Thanks...
Downloading:
Heres a good start:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
On 12/3/05, Anuerin Diaz [EMAIL PROTECTED] wrote:
On 12/2/05, Michael Chiem [EMAIL PROTECTED] wrote:
Hi,
I want to short circuit the build/package/deploy process so that
developers can get
Yes, Maven has a definite opinion on this case, and that opinion is to
Maven-ize all projects. I won't argue either side here, but there is not a
way (nor does there appear to be in the near future) to grab just any random
file without a version number. So, here is my favorite method to deal with
What is wrong with the eclipse plugin?
On 11/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Good question - I am wondering about this myself. Any takers?
Oddmar Sandvik
-Opprinnelig melding-
Fra: Malcolm Wong Ho [mailto:[EMAIL PROTECTED]
Sendt: 17. november 2005 06:45
Til:
I wouldn't go so far as to call it a bug, but it definately an annoyance
:)
It is true that Eclipse does not poll projects to look for changes on the
filesystem unless a particular file is open at the time of change (then
eclipse will pop up a little message telling you something has changed,
: Eric Redmond [mailto:[EMAIL PROTECTED]
Sendt: 17. november 2005 17:03
Til: Maven Users List
Emne: Re: [m2] was5 plugin
What is wrong with the eclipse plugin?
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
This email with attachments is solely for the use
No JARs? Are you talking about in an IDE? Like the build dependencies
between Eclipse projects?
On 11/15/05, cristian [EMAIL PROTECTED] wrote:
Hi All
How do I make for build dependencies betwen projects (no JAR).
Thanks.
I've actually had a similar issue. In my case, maven-archetype-plugin
requires a groupId, although it will always be the same for our projects.
I'd love to be able to specify the groupId by default for all cases.
Eric
On 11/15/05, David Jackman [EMAIL PROTECTED] wrote:
I don't want to modify
that value if they don't override it with their own
groupId.
In my case, this trick won't work, because each project needs a
different value (with a standard naming convention).
..David..
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 9
201 - 292 of 292 matches
Mail list logo