Re: Building multiple modules/subdirectories with a single pom.xml?

2007-07-21 Thread Wayne Fay
If you want modules run in a specific order, then set up dependencies between them, and Maven will sort it out and run them in the proper order. ie You want unittests run before domain, then make domain depend on unittests in the pom. Wayne On 7/20/07, Baz [EMAIL PROTECTED] wrote: Interesting

Re: Quality level attribute during version selection process

2007-07-22 Thread Wayne Fay
Maven (1 and 2) does not currently support this feature. It was simply a feature request by a user of Maven. I have no idea if or when the Maven Dev team might consider adding it to Maven2. If you require this feature, and you know Ivy supports it currently, then I'd just use Ivy. Wayne On

Re: Re: google-testar with Maven

2007-07-22 Thread Wayne Fay
Unless I'm confused, both the binaries and source code are available: http://sourceforge.net/project/showfiles.php?group_id=175837package_id=201991 Wayne On 7/22/07, Tom Huybrechts [EMAIL PROTECTED] wrote: It would be even more interesting if they actually had source code. On 7/22/07, Martin

Re: Maven plugin eclipse question

2007-07-22 Thread Wayne Fay
As Dan mentioned, this is not currently a supported feature of the Eclipse plugin. If you require this functionality, I'd suggest you hack the sources yourself to add it, as I expect this is not a feature that many people are interested in. I don't see a lot of value in this feature (not adding

Re: Subscribe to mailing list

2007-07-23 Thread Wayne Fay
See http://maven.apache.org/mail-lists.html More specifically, send an email to [EMAIL PROTECTED] to subscribe. Wayne On 7/23/07, Barun Yadav [EMAIL PROTECTED] wrote: Hi, I want ot subscribe to this mailing list Thanks Barun

Re: Julia Vilke/Moscow/Canon/FI is out of the office.

2007-07-24 Thread Wayne Fay
As much as I love getting out of office emails from people, it seems like we'll be getting this one for the next 5+ months. I can handle a few days/week of it, but not months. Can an admin please suppress Julia's ability to send emails to the list, or boot her entirely (for now)? Wayne On

Re: admin account locked

2007-07-24 Thread Wayne Fay
) http://www.nabble.com/Change-a-user-role-to-build-admin-tf3136881.html#a8692812 Anoop On 7/19/07, Wayne Fay [EMAIL PROTECTED] wrote: This has been asked (and answered) several times on this list. Search the list archives at Nabble.com -- you're bound

Re: Julia Vilke/Moscow/Canon/FI is out of the office.

2007-07-24 Thread Wayne Fay
Vaishali G.P. | Cognizant Technology Solutions, Pune-India | PSTN:+91 20 40222666 | VNet: 204703 | Your duty is to Be And not to be this or that | -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 8:04 PM To: Maven Users List Subject: Re: Julia Vilke

Re: runtime properties

2007-07-24 Thread Wayne Fay
maven-help-plugin has some of that: http://maven.apache.org/plugins/maven-help-plugin/ In particular, check out the effective-pom mojo in help, and effective-settings. Wayne On 7/24/07, John Coleman [EMAIL PROTECTED] wrote: Hi, Is there a way to get Maven to dump its runtime settings so

Re: Maven: Creating a JAR in a WAR in an EAR

2007-07-24 Thread Wayne Fay
You should use multiple projects with dependencies set up between them. Some webpages should help explain it: http://maven.apache.org/guides/getting-started/index.html http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html Also the free PDF ebooks from Mergere/DevZuz and Sonatype have

Re: how to auto-deploy parent pom along with the inherited pom

2007-07-24 Thread Wayne Fay
No, you must cd to the directory of base pom and run mvn deploy again. Or if you have things configured with modules etc, you should be able to run mvn deploy from only the parent directory, and it should build and deploy the parent and all modules with one command. Wayne On 7/24/07, kapilanand

Re: Exclude a dependency without knowing where it's from

2007-07-24 Thread Wayne Fay
Not that I'm aware of. Try mvn -X ... then search the output to see which dependency(-ies) are bringing in the dep. Then add the exclusion to those deps directly. Wayne On 7/24/07, lightbulb432 [EMAIL PROTECTED] wrote: How do you exclude a JAR file A when you don't know what dependency B

Re: how to auto-deploy parent pom along with the inherited pom

2007-07-24 Thread Wayne Fay
of artifact from the tasks (i am using them as they are defined in org/apache/maven/artifact/ant/antlib.xml) and it works fine. thanks kapil Wayne Fay wrote: No, you must cd to the directory of base pom and run mvn deploy again. Or if you have things configured with modules etc, you should be able

Re: Maven: Creating a JAR in a WAR in an EAR

2007-07-24 Thread Wayne Fay
project only. If I have an existing structure where ONE project contains all the necessary packages for the EJB and WAR, how do I go about packaging the JAR-WAR-EAR? -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 12:35 PM To: Maven Users

Re: http://mirrors.ibiblio.org/pub/mirrors/maven2 very slow

2007-07-25 Thread Wayne Fay
I would assume he is perhaps using an older Maven 2.0.x which had ibiblio as the Central repo, rather than repo1. (Unless I'm just getting things confused in my old age.) In general, I think everyone should be using the latest Maven 2.0.7, so if you're running 2.0.2 or something, you should

Re: Maven creating a WAR: strange error about file access

2007-07-25 Thread Wayne Fay
I would move all your stuff to a folder that has no spaces anywhere in the name and see if the error happens again. Wayne On 7/25/07, Vaidya, Supriya A (US - Chicago) [EMAIL PROTECTED] wrote: [INFO] Error copying EAR modules Embedded error: C:\Supriya\Projects\XXX\Documents\Code\From

Re: Setting jar order in maven.compile.classpath

2007-07-25 Thread Wayne Fay
to have some overlap in the classes. What's so wrong with AT LEAST obeying the declared order of the dependencies in the POM instead of the random order that currently exists? Wayne Fay wrote: You can't. Set the order of jars means you're duplicating code, which is generally a bad idea

Re: Setting jar order in maven.compile.classpath

2007-07-26 Thread Wayne Fay
A work-around for this problem which I've previously mentioned is roughly: 1. Figure out which classes are the problem 2. Figure out which jars contain those classes 3. Figure out which version of those classes you want to keep 4. Extract and re-jar the others problem jars minus the offending

Re: [m2] issue with module running ant task that creates an jar

2007-07-26 Thread Wayne Fay
If I understand you correctly, build-helper-maven-plugin should be what you're looking for: http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html Wayne On 7/26/07, Mick Knutson [EMAIL PROTECTED] wrote: To give a little more idea of what I am looking for: I want to see

Re: Problem with dependencies - Conflict - Lucene

2007-07-26 Thread Wayne Fay
1) Use mvn -X and parse the text dependency tree to find out which dependency is pulling in the unwanted lucene artifact version. Just copy and paste the mvn -X output to Notepad etc and search for lucene. Then add an excludes node to the offending dependency to exclude the bad artifact. 2) The

Re: runtime properties

2007-07-26 Thread Wayne Fay
. Would be nice to have something to that effect in the Maven log for that message. And what about a repository:repair kind of goal? John -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 26 July 2007 15:34 To: Maven Users List Subject: Re: runtime properties Try mvn -U

Re: Maven creating a WAR: strange error about file access

2007-07-26 Thread Wayne Fay
system. Is this a Maven bug? Nobody else seems to encounter it... -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 9:55 AM To: Maven Users List Subject: Re: Maven creating a WAR: strange error about file access I would move all your stuff

Re: runtime properties

2007-07-26 Thread Wayne Fay
/89M [INFO]-- -- -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 24 July 2007 16:10 To: Maven Users List Subject: Re: runtime properties maven-help-plugin has some of that: http://maven.apache.org/plugins

Re: Differences between dependencies

2007-07-26 Thread Wayne Fay
Release is a specific version ie Apache log4j, latest release is 1.2.14, no matter how many times you download it, the source code and binary jar for this release will be the same. Snapshot is used for development ie Apache log4j, say their current working version is 1.2.15-SNAPSHOT. So every

Re: Creating a JAR to include in the lib directory

2007-07-26 Thread Wayne Fay
The assembly plugin can be used to put some of the jars in lib and others in the root directory of your ear. Wayne On 7/26/07, Vaidya, Supriya A (US - Chicago) [EMAIL PROTECTED] wrote: Hi: I am working with multiple modules - An EJB contained in a WAR contained in a EAR There

Re: [m2] issue with module running ant task that creates an jar

2007-07-26 Thread Wayne Fay
this plugin will do for the artifact. I have a modele, that runs an ant task that creates a jar. So maven module is not creating the jar from the target DIR, the ant task already creates the jar I want inside the target DIR that I want to add to my repository. On 7/26/07, Wayne Fay [EMAIL

Re: Jdev project error using Maven to build .jpr

2007-07-27 Thread Wayne Fay
Sounds like a problem in the JDev plugin that gives JDev some of Maven's functionality. I am not familiar with it (haven't used JDev in a long time) so I don't even know anything about the JDev - Maven integration. Can you tell us more about how are you using it? Do things work properly on the

Re: [m2] issue with module running ant task that creates an jar

2007-07-27 Thread Wayne Fay
For #1, I have no idea. There is probably a way to suppress the Jar but I've never needed to do this myself. For #2, this is what you're looking for: dependency groupIdorg.delta.esp.dap.bpel/groupId artifactIdmis-file-intake/artifactId

Re: [m2] WHere can I find a list of all the standard maven properties?

2007-07-28 Thread Wayne Fay
In short, you can't. There are some good reasons for this -- Maven does not require nor expect that you are always building all modules in a project, so its not necessarily true that ${project.home} or ${parent.parent.parent} style references will always refer to anything useful. You could just as

Re: [m2] want to centralize my build.xml for a multi module project...

2007-07-28 Thread Wayne Fay
Its not a bad idea, but I don't think the ant plugin currently supports such a use case. The plugin could probably be modified to work like that, and probably without a lot of trouble. I'd take a look at Jalopy plugin and see how it resolves resources that it uses. Also take a look at Checkstyle,

Re: Developers and Contributors information

2007-07-29 Thread Wayne Fay
Sounds like you want a developerManagement node. Not a bad idea, but it does not currently exist, so you'll need to file an RFE in the Maven JIRA and perhaps someone will add this feature in a future version of Maven. Or if you're really ambitious, you could try adding this functionality

Re: latest non-snapshot dependency

2007-07-30 Thread Wayne Fay
To answer your original question, it is not currently possible to tell Maven to use the latest non-snapshot of a dependency. Something along these lines has been under discussion on the Dev list in the last month, though. Your best bet is to simply specify the exact version you want, or remove

Re: merge 2 web applications into 1

2007-07-30 Thread Wayne Fay
Maven2 supports this already. It is called WAR overlaying. http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html Wayne On 7/30/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: Hello there! I have some (strange?) requirement: there is a web application, let's say

Re: latest non-snapshot dependency

2007-07-30 Thread Wayne Fay
, Wayne Fay [EMAIL PROTECTED] wrote: To answer your original question, it is not currently possible to tell Maven to use the latest non-snapshot of a dependency. Something along these lines has been under discussion on the Dev list in the last month, though. that's weird, we've been happily

Re: [maven-dependency-plugin] v 2.0-alpha-4 : include/exclude scopes

2007-07-30 Thread Wayne Fay
I don't believe all but test as a possible scope makes much sense when you're thinking about valid use/business cases. Can you think of such a real-life situation? Also, it might be helpful to review the Maven Dependency Scope section on this page:

Re: deploying to two repositories and two snapshots repositories in m2

2007-07-30 Thread Wayne Fay
Correct me if I'm wrong Maarten, but you'd still need to call deploy twice, once for -P repo1 and again for -P repo2. The original question was asking if it was possible to do 2 deploys with a single call of mvn deploy -- my general response would be no. But I've never needed to do this, so

Re: Problems with ear packaging and existing jboss-app.xml

2007-07-30 Thread Wayne Fay
src/main/resources is not the correct (default) directory to use for EARs resources. As stated on [1], the correct directory is src/main/application. Try that and report back! [1] http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html Wayne On 7/30/07, Todd Nine [EMAIL PROTECTED]

Re: Excluding build .jars from .war

2007-07-30 Thread Wayne Fay
Show us your pom. You must be doing something wrong -- I've never seen any of those jars including in any wars I've ever constructed. Wayne On 7/30/07, Frederick N. Brier [EMAIL PROTECTED] wrote: I am relatively new to Maven and my project is including a number of .jars which I believe are

Re: Maven local process artifacts

2007-07-30 Thread Wayne Fay
First off, I think you probably should avoid doing this. I think you will run into troubles down the line if/when changes in Spring cause your older projects to break, so suddenly you can't use the latest Spring in all your projects, etc. Having said that, you could create a single Super Parent

Re: Maven coherent dependencies build

2007-07-30 Thread Wayne Fay
What didn't work? What happened vs what did you expect to happen? We need more details to be able to help. And what is a coherent dependency? Wayne On 7/30/07, Dmitry [EMAIL PROTECTED] wrote: we changed configuration using Coherent Dependency - Maven conf but it did not work. Any advices

Re: Excluding build .jars from .war

2007-07-30 Thread Wayne Fay
I'd assume this is happening because some parent (or grandparent, or grand-grandparent, etc) of your pom is including those jars as a dependency. And so your own project is bringing them in as a dependency, so they are included in your war. You could try mvn -X package and then search the

Re: Maven file creation

2007-07-31 Thread Wayne Fay
Shilpac, Please do not post the same question twice (!!). It just clutters the list and confuses people. I've solved your problem in the other thread. Please refer to it. Wayne On 7/31/07, Maria Odea Ching [EMAIL PROTECTED] wrote: Could you try deleting the maven-archetype-plugin and

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Wayne Fay
Did you run mvn clean package to delete the *.class files, or simply mvn package? Wayne On 7/31/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Tue, Jul 31, 2007 at 08:40:14AM -0400, Ian Springer wrote: Eugeny N Dzhurinsky wrote: Hello! Could somebody please explain how is it

Re: QAR question - generate JAR from classes and include into WEB-INF/lib

2007-07-31 Thread Wayne Fay
No, in all likelihood, version 2.0 of the war plugin did not have this feature. It must have been added in a version greater than 2.0. Wayne On 7/31/07, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: On Tue, Jul 31, 2007 at 05:38:53PM +0300, Eugeny N Dzhurinsky wrote: On Tue, Jul 31, 2007 at

Re: How to add dependencies in the POM.xml?

2007-07-31 Thread Wayne Fay
You simply need to provide the archetypeVersion number as well. This exact error/issue is mentioned on the guide creating archetypes page: http://maven.apache.org/guides/mini/guide-creating-archetypes.html Don't forget to include the version of your archetype (if you don't include the version,

Re: Maven: cannot find symbol build error

2007-07-31 Thread Wayne Fay
You might want to check the junit 4.0 jar itself to make sure there isn't some weird problem in the archive. I know some people have had weird problems when they were using a mis-configured mirror, resulting in some .jar and .pom files being HTML 404 error text rather than the proper content. So

Re: setting default location of settings.xml

2007-07-31 Thread Wayne Fay
Looks like you want to use mvn -s your location here. C:\cvs_root\xsltc-maven-pluginmvn -h usage: mvn [options] [goal(s)] [phase(s)] Options: -s,--settings Alternate path for the user settings file To make this work consistently, you could probably edit the mvn.bat file itself

Re: setting default location of settings.xml

2007-07-31 Thread Wayne Fay
Sounds reasonable to me, and should be easy enough to test that it works etc before committing everyone to it, only to discover a problem, etc. Wayne On 7/31/07, Baz [EMAIL PROTECTED] wrote: Dana, Wayne, What about this? 1. Change mvn.bat to do -s $MVN_SETTING_FILE. 2. Define

Re: linux maven ant weblogic combination

2007-07-31 Thread Wayne Fay
What specifically do you mean by non-deterministic? Simply saying not always correct is not sufficient -- we need details about what you expect to occur vs what did occur, etc. Wayne On 7/31/07, Pawel Jasinski [EMAIL PROTECTED] wrote: Hi all, I got a very strange situation. I can observe

Re: Where are instructions for eclipse plugin?

2007-07-31 Thread Wayne Fay
That is a Maven1 plugin. You are probably looking for: http://m2eclipse.codehaus.org/ Wayne On 7/31/07, siegfried [EMAIL PROTECTED] wrote: I did a google search and found http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/ but it appears to be very old because it says maven instead of

Re: Where are instructions for eclipse plugin?

2007-07-31 Thread Wayne Fay
I don't use m2eclipse personally so I'm probably the wrong one to answer your question... Having said that, did you try just typing in commons and seeing what it came back with? Wayne On 7/31/07, siegfried [EMAIL PROTECTED] wrote: I'm trying to download the dependencies given at

Re: Where are instructions for eclipse plugin?

2007-07-31 Thread Wayne Fay
other than the default repository (or are all the repositories searched anyway)? Is there a list of repositories somewhere on the codehaus.org? What is the status of a book on m2? Have any been written yet? Thanks, Siegfried -Original Message- From: Wayne Fay [mailto:[EMAIL

Re: Very odd central maven repo problem

2007-08-01 Thread Wayne Fay
Others have reported similar problems with wget. Without knowing this for certain, I would assume that the repo1 owners simply do not like people using wget to pull their entire repo down, so they might be blocking it somehow. I believe the Maven website instructs people to use rsync if they want

Re: repository with latest hibernate jars ?

2007-08-01 Thread Wayne Fay
As (nearly) always, if artifacts are not available in Maven repo, blame the vendor. ;-) But seriously, if enough customers of JBoss/Hibernate ask for Maven support, eventually it will become part of their normal release cycle. At that point, the latest and greatest hibernate jars will (should)

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-01 Thread Wayne Fay
Off the top of my head, the only thing I could think would be if, by redirecting the localRepo, you're running into max lengths of paths on Windows, or maxing out the -classpath argument length. It is certainly an odd problem, and I've never seen it myself, nor seen it reported on this list. In

Re: Cargo local deployer context name

2007-08-01 Thread Wayne Fay
Cargo questions should generally be sent to the Cargo Users list: [EMAIL PROTECTED] Wayne On 8/1/07, Aaron Zeckoski [EMAIL PROTECTED] wrote: I am trying to use the documentation at http://cargo.codehaus.org/Maven2+Plugin+Reference+Guide to deploy a WAR file (using the StalledLocalDeployer)

Re: Maven Wagon

2007-08-01 Thread Wayne Fay
There's probably some info in the free PDF e-books from Devzuz and Sonatype, and of course in the source code itself. Wayne On 8/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there additional information on Wagon besides http://maven.apache.org/wagon ? This email message and any

Re: Problem with maven-archetype-quickstart

2007-08-02 Thread Wayne Fay
This exact same problem (essentially) was posted a couple days ago, and I responded to it at the time, and I will give you the same answer. I imagine you're running into exactly the same problem... If this doesn't work for you, post back and we'll try to help more. to Maven Users List

Re: Julia Vilke/Moscow/Canon/FI is out of the office.

2007-08-03 Thread Wayne Fay
I already sent an email to the list owner email address but nothing has been done (obviously). I'm not really sure who watches the owner emails, if anyone. Wayne On 8/3/07, Dirk Olmes [EMAIL PROTECTED] wrote: James Abley wrote: On 03/08/07, Gisbert Amm [EMAIL PROTECTED] wrote: Dear list

Re: Problem with maven-archetype-quickstart

2007-08-03 Thread Wayne Fay
, how have I been able to get along without it before? Thanks for your help, I really do appreciate it! Cheers, Craig On 8/2/07, Wayne Fay [EMAIL PROTECTED] wrote: This exact same problem (essentially) was posted a couple days ago, and I responded to it at the time, and I will give you

Re: unabel to download source code from remote repository

2007-08-03 Thread Wayne Fay
Maven SCM plugin: http://maven.apache.org/scm/plugins/ Wayne On 8/3/07, Gopal.Varshney [EMAIL PROTECTED] wrote: Hi I have to download the latest source code from remote repository[ my own repository made in subversion] How I can do ithat. Thanks Regards

Re: problem setting windows path for surefire tests

2007-08-03 Thread Wayne Fay
You aren't specifying the surefire version in your plugin declaration. Make sure you specify this somewhere (plugin declaration, pluginManagement, etc). Wayne On 8/3/07, Nathan Coast [EMAIL PROTECTED] wrote: Hi Dave, Thanks for your reply. Unfortunately, we seem to be hitting some other

Re: Problem with maven-archetype-quickstart

2007-08-03 Thread Wayne Fay
There's no need to create your own archetype -- I'm not sure where you got the idea that I'm telling you that you must do this. You are welcome to use the ones that exist, that's what most people do. I was simply saying (suggesting) that you could/should fully specify the archetype (groupId,

Re: Question on Parent Pom

2007-08-03 Thread Wayne Fay
You want to use dependencyManagement in your parent pom, then refer to the parent in each of the children poms using parent tag. I'm pretty sure this topic is covered in the free Maven e-book from Devzuz and/or Sonatype. If this isn't clear enough, and you can't find it in the e-books, let us

Re: Database lifecycle in Maven

2007-08-04 Thread Wayne Fay
This is the second time you've asked, so I figured I'd reply with what I know, which isn't much. 1) Not that I am aware of. 2) Not that I am aware of. We handle this manually with ant scripts that run before/after our builds/deploys. Wayne On 8/4/07, Victor Bendig [EMAIL PROTECTED] wrote: Hi,

Re: Maven dependency versions

2007-08-05 Thread Wayne Fay
If its a SNAPSHOT, then it will look. Otherwise, it will not. In this case, it sounds like it is not a SNAPSHOT, therefore it will not look for updates. For Maven to work properly, released versions must *not* change. If you have files that can/will change, you must call them SNAPSHOTs. Wayne

Re: file based profile activation - best practice ?

2007-08-06 Thread Wayne Fay
Not ideal, but you could set up another profile that has the full path from the parent, and specify that when running from the parent ie sql2java_top or something. Wayne On 8/6/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, I'm using a code generator, and I'd like to avoid regeneration

Re: Generating zip o tar with the javadocs

2007-08-08 Thread Wayne Fay
This is described on the maven-javadoc-plugin website: http://maven.apache.org/plugins/maven-javadoc-plugin/usage.html Wayne On 8/8/07, Martin Alejandro Villalobos [EMAIL PROTECTED] wrote: Hello, I need generate the .zip o .tar or some kind of package with the javadocs of my proyect at

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-08 Thread Wayne Fay
(because the default repository location includes the Documents and Settings directory on Windows). -- Vihung -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 4:47 PM To: Maven Users List Subject: Re: Tests fail (class not found) when

Re: Database lifecycle in Maven

2007-08-09 Thread Wayne Fay
What about a developer that checks out this project for the first time, how do they create a local version of the DB, do they need to know to run the ant script as a separate step? Yes. I never claimed it was ideal. This is primarily because of political issues in the way our operations team

Re: put rar and jar in local repo

2007-08-09 Thread Wayne Fay
The build helper plugin is your friend: http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html Wayne On 8/9/07, Lee Meador [EMAIL PROTECTED] wrote: I have a RAR project. There are a few interfaces in it that I would like to use in clients. So, I would like to deploy both

Re: Maven 2 documentation portion of the site is horribly broken

2007-08-10 Thread Wayne Fay
Looks like the links are broken thanks to a recent update of the site. Fortunately, they are easy for you to fix in your browser until the site is updated again (hopefully *very* soon) with proper links. Let's take the jar plugin as an example: Current link is:

Re: 'optionaltrue/optional' not inherited from parent POM

2007-08-12 Thread Wayne Fay
As far as I'm concerned, optional doesn't make any sense in dependencyManagement. So I think what you're seeing is the correct behavior. If you want an element to be optional, you need to declare it as such in the child poms where you declare the dependency (minus version, which is inherited from

Re: Build date variable i.e. ${builtOn} ${date} ${timestamp} ?

2007-08-13 Thread Wayne Fay
Juri just posted code to a plugin he wrote a couple days ago -- check the archives. His plugin can provide a date variable/property that you can use in your build. from Artamonov, Juri @fusionone.com to Maven Users List @maven.apache.org date Aug 8, 2007 2:50 AM subject RE: Auto

Re: JBoss Embedded Container + Maven + howto?

2007-08-13 Thread Wayne Fay
That problem seems to be originating here: [testng] java.io.FileNotFoundException: http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd It seems like you're using a validating XML parser, and since that DTD file does not exist (at that url), its failing. Wayne On 8/13/07, r_sudh [EMAIL PROTECTED]

Re: The plugin archetype does not exist

2007-08-13 Thread Wayne Fay
It sounds like you've got some corrupted files in your local repo cache. Delete the directory ~/.m2/repository, and try again. On Windows, that would be C:\Documents and Settings\your name here\.m2\repository. Wayne On 8/13/07, Amene Mahboobi [EMAIL PROTECTED] wrote: Hi, It is my first time

Re: The plugin archetype does not exist

2007-08-13 Thread Wayne Fay
This is not an uncommon problem/question on this list. I've seen it myself too when I've had a poorly configured settings.xml. Wayne On 8/13/07, Amene Mahboobi [EMAIL PROTECTED] wrote: you were right! (how did u realize this?) Thanks, so much, now it is working! Wayne Fay [EMAIL PROTECTED

Re: Outbound values from a mojo?

2007-08-13 Thread Wayne Fay
Something along these lines should do it... import org.apache.maven.project.MavenProject; /** * The maven project. * * @parameter expression=${project} * @required * @readonly */ private MavenProject project; public void execute() throws MojoExecutionException,

Re: How can I use a project.xml

2007-08-13 Thread Wayne Fay
project.xml = maven1 pom.xml = maven2 Wayne On 8/13/07, Amene Mahboobi [EMAIL PROTECTED] wrote: I want to deploy a project, what the destination is providing me, is only the project.xml and a project.properties file, can anyone tell me how I am supposed to use these? and what is the

Re: Maven2 / Surefire problem

2007-08-14 Thread Wayne Fay
(Let's try this again... sent this response 2hrs ago and it bounced due to DNS problems...) Maven plus TestNG has been and continues to be a source of difficulty. Only specific versions of Surefire (Snapshots, iirc) and TestNG will work together. Send us your pom for further review, and the URL

Re: SVN,Eclipse and Maven

2007-08-14 Thread Wayne Fay
Most of your questions are covered in the free Maven pdf/ebooks available from www.devzuz.com and www.sonatype.com. Please check them out, then come back with specific problems. Wayne On 8/14/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Hi! I'm totally new to Maven so please bare with me.

Re: embedded jetty in maven test phase classpath problem.

2007-08-14 Thread Wayne Fay
I have been using the jspc plugin for some time now very successfully. I agree with Andy -- you should check it out. Wayne On 8/13/07, Andrew Williams [EMAIL PROTECTED] wrote: On 1 Aug 2006, at 17:14, Meghan Pike wrote: [snip] Does anybody know if this is the case and how I can fix it?

Re: Urgent: PMD errors after adding modules

2007-08-14 Thread Wayne Fay
Looking at the error, it seems like perhaps the problem is coming from something related to your PMD rule sets... Do you have any rule sets configured in that module? And why is PMD even running on these modules without code -- are they inheriting the config from a parent module? Wayne On

Re: Maven2 / Surefire problem

2007-08-14 Thread Wayne Fay
stripped down one that seems like a cut and paste from the documentation at: http://testng.org/doc/maven.html I've also attached my real one. Cheers - Phil Wayne Fay wrote: (Let's try this again... sent this response 2hrs ago and it bounced due to DNS problems...) Maven plus

Re: Maven2 / Surefire problem

2007-08-14 Thread Wayne Fay
[EMAIL PROTECTED] wrote: Wayne - The problems still occur after I've made the additions. Do the simpler pom work for you? Neither work for me. Wayne Fay wrote: (another resend...) In your real one, you aren't configuring Surefire at all. You need to copy the configuration

Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-15 Thread Wayne Fay
This has been discussed several times on this list. IMO, the default compilation target being 1.1 (or another hard-defined version) meets the rule of least surprise. You can argue that you don't like 1.1 and you'd prefer 1.3 or even 1.5 but that is another discussion. In contrast, the rule of

Re: embedded jetty in maven test phase classpath problem.

2007-08-15 Thread Wayne Fay
using ! methods? TIA John -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 14 August 2007 23:19 To: Maven Users List Subject: Re: embedded jetty in maven test phase classpath problem. I have been using the jspc plugin for some time now very successfully. I agree

Re: customized Site Skin/Template for use in different projects

2007-08-15 Thread Wayne Fay
Put the configuration in a parent and make all your projects derive from it. Your skin has to be declared *somewhere* otherwise the default is used. Wayne On 8/15/07, fuvo [EMAIL PROTECTED] wrote: Hi, I searching for a way to make my own template/skin and use this in different projects as

Re: Remote respository

2007-08-15 Thread Wayne Fay
Most people set up what is called a Corporate Repository, which is then shared by all Maven-using dev teams in the organization. Among your options for implementing something like this as Proximity, Artifactory, Archiva etc (there are more, search this list). Wayne On 8/15/07, Mathias P.W

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-15 Thread Wayne Fay
: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 7:57 PM To: Maven Users List Subject: Re: Tests fail (class not found) when running against non-standard local repository location I don't consider it to be a bug. Settings.xml is supposed to have values that apply to all

Re: Pronuciation

2007-08-15 Thread Wayne Fay
I am not an expert in this matter, but I have always pronounced it may-vin. If you check the Oxford dictionary, it seems this is the right way to pronounce this word. http://www.askoxford.com/results/?view=dictfreesearch=maven Wayne On 8/13/07, brad hadfield [EMAIL PROTECTED] wrote: Just a

Re: weird error - anyone seen this before?

2007-08-15 Thread Wayne Fay
Looks like a problem related to Findbugs. Perhaps comment out your findbugs config and see if the error goes away. Wayne On 8/15/07, EJ Ciramella [EMAIL PROTECTED] wrote: If I do a mvn deploy of module A, I can watch it get uploaded to our repository and there are no errors. I can also look

Re: maven plugin for ckjm ...

2007-08-15 Thread Wayne Fay
If you want to get ckjm functionality in Maven, I'd encourage you to look into creating the plugin yourself. Its really not that tough in general. Wayne On 8/15/07, Giovanni Azua [EMAIL PROTECTED] wrote: ckjm and Jdepend have overlapping only couple of same metrics e.g. AC but Jdepend misses

Re: Packaging .har files for JBoss

2007-08-15 Thread Wayne Fay
Take a look at the jboss-packaging-maven-plugin from org.codehaus.mojo to create the .har file. Wayne On 8/15/07, Cort, Tom [EMAIL PROTECTED] wrote: Hi, I'm converting an Ant built system to Maven for a JavaEE project[1] I'm working on, and I'm having problems building the HAR[2]

Re: Re: Version numbering

2007-08-15 Thread Wayne Fay
You want to omit the version tag from both the parent tag and the child pom itself? No, this is not possible. If you at least include the version in the parent tag, I believe you can omit the version in the child. If it complains, try ${parent.version} or something. Wayne On 8/15/07, EJ

Re: Rulesets on PMD site report

2007-08-15 Thread Wayne Fay
We got your email ~3 hrs ago. No need to send it again so quickly. If someone knows the answer, they will respond. It is also rather likely that the answer is no. Wayne On 8/15/07, Bruce Alspaugh [EMAIL PROTECTED] wrote: Is there a way to configure the PMD site report to show which rulesets

Re: maven plugin for ckjm ...

2007-08-15 Thread Wayne Fay
that report in any reasonable time period... For now, I'll propose this plugin at Codehaus (Mojo project) and, assuming its accepted, you'll see it in the sandbox shortly. I also built a test project so you can see it working. Wayne On 8/15/07, Wayne Fay [EMAIL PROTECTED] wrote: If you want to get ckjm

Re: Tests fail (class not found) when running against non-standard local repository location

2007-08-16 Thread Wayne Fay
example of lateral thinking, and a horrible horrible hack! But it works. Thanks for that -- Vihung -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 5:58 PM To: Maven Users List Subject: Re: Tests fail (class not found) when running

Re: Why does Maven2 by default generate Java 1.1 byte code?

2007-08-16 Thread Wayne Fay
, there are a lot of other things to consider. Please read my response to Paul in particular and think about all the issues before simply assuming Maven should work the way you expected. Wayne On 8/16/07, Gisbert Amm [EMAIL PROTECTED] wrote: Wayne Fay wrote: This has been discussed several times

Re: Hibernate and resources

2007-08-16 Thread Wayne Fay
Not s/m/j/resources, simply src/main/resources. Try that and see if it works. And if this is simply for testing, put your file in src/test/resources. Wayne On 8/16/07, Mathias P.W Nilsson [EMAIL PROTECTED] wrote: Ahhh I'm tearing hair out. I've set up maven, mysql, c3p0 and hibernate.

  1   2   3   4   5   6   7   8   9   10   >