Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-08-24 Thread Eric Redmond
.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

Re: Distribution Management

2006-08-24 Thread Eric Redmond
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

Re: Use System Properties in Settings.xml?

2006-08-23 Thread Eric Redmond
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

Re: Maven cannot find dependencies classes from WEB-INF/classes

2006-08-23 Thread Eric Redmond
commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond

Re: goal not found error

2006-08-23 Thread Eric Redmond
: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond

Re: Suggestions for running Maven on an airgapped network

2006-08-22 Thread Eric Redmond
in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond

Re: surpress all the messages

2006-08-21 Thread Eric Redmond
- Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond

Re: surpress all the messages

2006-08-21 Thread Eric Redmond
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

Re: Use System Properties in Settings.xml?

2006-08-20 Thread Eric Redmond
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

Re: Use System Properties in Settings.xml?

2006-08-18 Thread Eric Redmond
] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond

Re: Nested Projects

2006-08-16 Thread Eric Redmond
PROTECTED] www.epsiia.com http://www.epsiia.com/ __ -- Eric Redmond http://codehaus.org/~eredmond

Re: Problem with commins-email

2006-07-28 Thread Eric Redmond
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

Re: [m2] variable for ${basedir}/target ?

2006-07-26 Thread Eric Redmond
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

Re: archetypes

2006-07-19 Thread Eric Redmond
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

Re: archetypes

2006-07-19 Thread Eric Redmond
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

Re: unbind?

2006-07-19 Thread Eric Redmond
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

Re: Problem with Maven Hello Plugin Example

2006-07-14 Thread Eric Redmond
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,

Re: Super POM

2006-07-10 Thread Eric Redmond
/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

Re: Parse error reading POM. Reason: parser must be on START_TAG or TEXT

2006-07-09 Thread Eric Redmond
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:

Re: realtivePath - what is it?

2006-07-09 Thread Eric Redmond
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

Re: maven-scm-plugin goals question

2006-07-07 Thread Eric Redmond
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

Re: maven-scm-plugin goals question

2006-07-07 Thread Eric Redmond
(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 support update and request

2006-07-05 Thread Eric Redmond
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

Re: Does Pro Apache Maven covers Maven 2 version?

2006-06-29 Thread Eric Redmond
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

Re: Does Pro Apache Maven covers Maven 2 version?

2006-06-28 Thread Eric Redmond
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

Re: How do I use the output of a maven build as a resources of another.

2006-06-24 Thread Eric Redmond
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

Re: Maven 2 and java 1.5 Annotations

2006-06-15 Thread Eric Redmond
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

Re: Consulting

2006-06-15 Thread Eric Redmond
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

Re: What does this mean?

2006-06-12 Thread Eric Redmond
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

Re: Error looking up lifecycle mapping to retrieve optional mojos

2006-06-11 Thread Eric Redmond
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

Re: Error looking up lifecycle mapping to retrieve optional mojos

2006-06-10 Thread Eric Redmond
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

The Maven 2 POM Demystified

2006-05-29 Thread Eric Redmond
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

Re: attach mojo plugin to the build lifecycle

2006-05-25 Thread Eric Redmond
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.

Re: Using mvn install:install-file

2006-05-25 Thread Eric Redmond
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

Re: organizationUrl with ','

2006-05-04 Thread Eric Redmond
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

Re: How are people getting around the lack of custom scopes?

2006-04-30 Thread Eric Redmond
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,

Re: [m2] relative links in index.apt

2006-04-30 Thread Eric Redmond
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?

Re: [M2-book]

2006-04-30 Thread Eric Redmond
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

Re: NullPointerException: version was null

2006-04-19 Thread Eric Redmond
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

Re: Inherit version from parent project in multiproject build?

2006-04-17 Thread Eric Redmond
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

Re: [M2] 'site' archetype failing

2006-04-16 Thread Eric Redmond
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

Re: Two new questions

2006-04-14 Thread Eric Redmond
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

Re: test cases failing in Maven but not Eclipse

2006-04-14 Thread Eric Redmond
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

Re: Starting with Maven2

2006-04-10 Thread Eric Redmond
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

Re: Can I activate a profile based on module type?

2006-04-08 Thread Eric Redmond
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

Re: Ruby on Maven / problem with repository - Maven 2.0.3

2006-04-07 Thread Eric Redmond
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

Re: Maven and JTestCase

2006-04-06 Thread Eric Redmond
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

Re: Shared projects and Maven best practice

2006-04-06 Thread Eric Redmond
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

Re: Property filter with xml files

2006-04-06 Thread Eric Redmond
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

Re: Archetypes

2006-04-06 Thread Eric Redmond
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

Re: Property filter with xml files

2006-04-06 Thread Eric Redmond
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

Re: Trouble or misunderstanding with profile and settings. ?

2006-04-06 Thread Eric Redmond
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

Re: Ruby on Maven / problem with repository - Maven 2.0.3

2006-04-06 Thread Eric Redmond
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

Re: Shared projects and Maven best practice

2006-04-06 Thread Eric Redmond
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

Re: RE : Trouble or misunderstanding with profile and settings. ?

2006-04-06 Thread Eric Redmond
://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

Re: Non-java projects

2006-04-05 Thread Eric Redmond
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

Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Eric Redmond
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

Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-05 Thread Eric Redmond
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

Re: Configuration files

2006-04-04 Thread Eric Redmond
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

Re: How to compile with external .JARS - How to skip compile from the maven site

2006-04-04 Thread Eric Redmond
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 /

Re: jspc:compile

2006-04-04 Thread Eric Redmond
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]

Re: Need advice on version numbering convention

2006-04-04 Thread Eric Redmond
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,

Re: Multiple compilation and output directories

2006-04-03 Thread Eric Redmond
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

Re: weird problem in

2006-03-21 Thread Eric Redmond
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

Re: -DperformRelease=true unusable in pom?

2006-03-18 Thread Eric Redmond
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

Re: Worst documentation in the whole apache projects

2006-01-20 Thread Eric Redmond
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),

Re: Worst documentation in the whole apache projects

2006-01-20 Thread Eric Redmond
, 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

Re: Maven2 Book...when

2006-01-08 Thread Eric Redmond
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

Re: converting repository: m1 - to - m2

2006-01-04 Thread Eric Redmond
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

Re: [m2] maven-eclipse-plugin and subversion

2005-12-31 Thread Eric Redmond
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

Re: Communicating dependencies

2005-12-31 Thread Eric Redmond
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

Re: auto download plugins from remote repo NOT central

2005-12-30 Thread Eric Redmond
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

Re: Breaking up an existing webapp build

2005-12-29 Thread Eric Redmond
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

Re: Breaking up an existing webapp build

2005-12-28 Thread 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:

Ruby Mojo Support - Alpha

2005-12-26 Thread Eric Redmond
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

Re: Is it possible to make pom.xml simpler?

2005-12-20 Thread Eric Redmond
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

[M2] maven-core question

2005-12-19 Thread Eric Redmond
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

Re: Is it possible to make pom.xml simpler?

2005-12-17 Thread Eric Redmond
-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

Re: Maven 2.0

2005-12-10 Thread Eric Redmond
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

Re: Maven plugins dependencies

2005-12-09 Thread Eric Redmond
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,

Re: Failed to load Main-Class manifest attribute

2005-12-03 Thread Eric Redmond
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

Re: [m2] Need some direction for my first Maven steps

2005-12-03 Thread Eric Redmond
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

Re: phase awareness of plugins

2005-12-03 Thread Eric Redmond
/** * @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

Re: First Project setup .. problem with POL for log4:log4j

2005-12-03 Thread Eric Redmond
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:

Re: short-circuit default lifecycle phases...

2005-12-03 Thread Eric Redmond
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

Re: Need assistance: Suppressing Version information during dependency resolution.

2005-11-27 Thread Eric Redmond
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

Re: [m2] was5 plugin

2005-11-17 Thread Eric Redmond
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:

Re: [M2] Eclipse doesn't refresh properly after running mvn as an external command?

2005-11-17 Thread Eric Redmond
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,

Re: [m2] was5 plugin

2005-11-17 Thread Eric Redmond
: 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

Re: Dependency betwen projects

2005-11-15 Thread Eric Redmond
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.

Re: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-15 Thread Eric Redmond
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

Re: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-15 Thread Eric Redmond
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

<    1   2   3