Re: maven2 with multi-modules

2005-11-12 Thread Brett Porter
I've added the original content into the new getting started guide. On 11/13/05, Jeff Jensen <[EMAIL PROTECTED]> wrote: > Until the "real one" is ready, is it desirable to set the link "Guide to > creating a multi-module build" on the > "http://maven.apache.org/guides/index.html"; page to the "Mul

Re: question about antlib

2005-11-12 Thread Brett Porter
Can you elaborate on "can't be found with dependency.classpath"? - Brett On 11/13/05, jeff li <[EMAIL PROTECTED]> wrote: > Hi, > > > xmlns:artifact="urn:maven-artifact-ant"> > > uri="urn:maven-artifact-ant"> > > /> > > > > > > layout="default"/> > > > > > > > > the question is that th

question about antlib

2005-11-12 Thread jeff li
Hi, the question is that the jar files on dependencies of pom.xml can not be found with dependency.classpath . any error on my ant scritp? thank you very much! good day Jeff

Re: m2 transitive dependancies

2005-11-12 Thread Erick Dovale
You can specify exclusions in your dependencies. Something like this: springframeworkspring-orm toplinktoplink cheers, Tony Nelson wrote: Is it possible to tell m2 which transitive dependancies you are interested in? Specifically, I am using springframew

RE: maven2 with multi-modules

2005-11-12 Thread Jeff Jensen
Until the "real one" is ready, is it desirable to set the link "Guide to creating a multi-module build" on the "http://maven.apache.org/guides/index.html"; page to the "Multiple Modules" anchor on the "old" getting started guide (or even copy and paste the content?)? It may help reduce the "intro

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > No, no such plugin. What we are considering (there was a proposal on > the dev list a while back), is to setup a standard way of packaging > and sharing build resources for Maven 2.1. > > If it is not currently included in the core jar, is the

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Brett Porter
On 11/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > For one file, you could put it in the repository, or you can copy as > > you did below. > > I haven't gotten as far as copying files in m2... and since the file > is in a different module

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > For one file, you could put it in the repository, or you can copy as > you did below. I haven't gotten as far as copying files in m2... and since the file is in a different module it's a problem if someone only checks out out a single sub-proj

Re: xdoclet-maven-plugin and commons-logging-1.1-dev?

2005-11-12 Thread Carlos Sanchez
the maven-xdoclet-plugin-1.2.3 has that wrong dependency, the authors should release a new fixed version On 11/12/05, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Adam Hardy wrote: > > When running xdoclet-maven-plugin on a project, some logging pops out > > saying commons-logging-1.1-dev cannot b

Re: maven2 with multi-modules

2005-11-12 Thread Brett Porter
Try the old getting started guide in the mean time: http://maven.apache.org/getting-started.html On 11/13/05, Thomas Kuhlmann <[EMAIL PROTECTED]> wrote: > Hi, > > can anyone give me an example or tutorial for setting up a > multi-module-project with maven2. > > (The official documentation regardi

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Brett Porter
For one file, you could put it in the repository, or you can copy as you did below. I assume the XML file also exists in one of your jars? another alternative is to depend on that jar and have a plugin that extracts that file from it. - Brett On 11/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: >

Re: [m2] A question about m1 project.xml files and m2 poms

2005-11-12 Thread Brett Porter
Yep, that's one! We are adding support for converting other properties like optional as well. On 11/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > In the interest of not having to fix the Struts poms after they get > into the repository, what can I do in m1 project.xml files that will > make life

Re: [m2] maven-jdepend-plugin:FATAL error, NullPointerException

2005-11-12 Thread Brett Porter
Not sure who put that statement up, but that's not entirely true. It's possible the jdepend plugin hasn't been released as I don't think it has received full testing yet. You can still build it from SVN. Most of the other plugins there have had releases. - Brett On 11/13/05, Oscar Picasso <[EMAIL

maven2 with multi-modules

2005-11-12 Thread Thomas Kuhlmann
Hi, can anyone give me an example or tutorial for setting up a multi-module-project with maven2. (The official documentation regarding this topic is a little bit empty. ;)) TIA & Best regards, Thomas - To unsubscribe, e-mail

Re: NoClassDefFound when runing surefire

2005-11-12 Thread Anuerin Diaz
It has all the dependencies as I can see it. The module being tested is the most basic part of the application so aside from third party libraries then there should be no more dependecies required. I have opened up all of the surefire jar files and I did not see any Runner class in them. I wont be

[m2] A question about m1 project.xml files and m2 poms

2005-11-12 Thread Wendy Smoak
In the interest of not having to fix the Struts poms after they get into the repository, what can I do in m1 project.xml files that will make life easier? I can't find it now, but on a MEV bug ticket I think Brett advised adding xxx to m1 build files. Should I, for example, do this: ja

Re: maven-changes-plugin for m2?

2005-11-12 Thread Dennis Lundberg
Jochen Wiedmann wrote: Hi, according to the "Maven Plugin Matrix", there is a maven-changes-plugin for M2. Even more, it is a "maven distributed plugin/report". However, if I add the following section to my pom.xml org.apache.maven.plugins maven-

[m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
Struts has an xml file 'validator-rules.xml' that lives in core, but must be copied into WEB-INF of the example webapps, and now I need it in an archetype. Does anyone have any suggestions for managing this? In m1 it's done with: Where 'core.conf.share.dir' is a relative path to

maven-changes-plugin for m2?

2005-11-12 Thread Jochen Wiedmann
Hi, according to the "Maven Plugin Matrix", there is a maven-changes-plugin for M2. Even more, it is a "maven distributed plugin/report". However, if I add the following section to my pom.xml org.apache.maven.plugins maven-javadoc-plugin

Re: sslext

2005-11-12 Thread Dennis Lundberg
Adam Hardy wrote: The sslext.jar on ibiblio is devoid of any of its class files, weirdly. I assume this is a bug. I would have filed it so on jira, but I couldn't work out what to file it under. Would that be the Maven Evangelism component? Yes it would. -- Dennis Lundberg ---

Re: xdoclet-maven-plugin and commons-logging-1.1-dev?

2005-11-12 Thread Dennis Lundberg
Adam Hardy wrote: When running xdoclet-maven-plugin on a project, some logging pops out saying commons-logging-1.1-dev cannot be obtained from ibiblio. I had a look in the xdoclet-maven-plugin POM and there's only a dependency on commons-logging-1.0.4. Is this some strange issue that bodes i

sslext

2005-11-12 Thread Adam Hardy
The sslext.jar on ibiblio is devoid of any of its class files, weirdly. I assume this is a bug. I would have filed it so on jira, but I couldn't work out what to file it under. Would that be the Maven Evangelism component? Adam ---

Re: Testing with EJB3

2005-11-12 Thread Richard Wallace
Ya, the other problem I found is trying to track down the proper versions of all the 3rd party libs. I thought about making one big jar, but was hoping to find a way around that. Now that I've done it, I'm glad I did cause it works out pretty nicely. Only thing I'm running into now is that w

xdoclet-maven-plugin and commons-logging-1.1-dev?

2005-11-12 Thread Adam Hardy
When running xdoclet-maven-plugin on a project, some logging pops out saying commons-logging-1.1-dev cannot be obtained from ibiblio. I had a look in the xdoclet-maven-plugin POM and there's only a dependency on commons-logging-1.0.4. Is this some strange issue that bodes ill for my project o

Re: [m2] repo1.maven.org repository changes

2005-11-12 Thread Adam Hardy
OK, that's a good work-around. Thanks for the pointer. I think it was just me who set up jboss in org.jboss when I started using m2 before it went beta. I didn't know that host-names were part of the standard. All the best Adam Carlos Sanchez on 11/11/05 20:30, wrote: The policy is to use

[ANN] maven-tomcat-plugin 1.2

2005-11-12 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the long overdue update to the maven-tomcat-plugin. This plugin represents a significant change over the previous version. The main focus has been improve developer productivity by reducing the time it takes to promote code changes into tomcat.

Re: [m2] Need help fixing dependencies in a pom

2005-11-12 Thread Jorg Heymans
Wendy Smoak wrote: > Is it compile or something else? provided Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Need help fixing dependencies in a pom

2005-11-12 Thread Jason van Zyl
On Sat, 2005-11-12 at 10:49 -0700, Wendy Smoak wrote: > On 11/12/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > > I believe you must do true rather than just > > Thank you! > > Now, what's the correct way to keep the servlet API .jar files out of > my webapp? They're not optional for the de

Re: [m2] Need help fixing dependencies in a pom

2005-11-12 Thread Wendy Smoak
On 11/12/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > I believe you must do true rather than just Thank you! Now, what's the correct way to keep the servlet API .jar files out of my webapp? They're not optional for the dependencies that need them (Struts Core for example) but they should no

Re: [m2] Need help fixing dependencies in a pom

2005-11-12 Thread Stephen Duncan
I believe you must do true rather than just -Stephen On 11/12/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I'm trying to fix the Commons Chain pom, which has a dependency on MyFaces: > > myfaces > myfaces-jsf-api > 1.0.8-beta > > > I'm creating a 'Struts Blank' archet

[m2] Need help fixing dependencies in a pom

2005-11-12 Thread Wendy Smoak
I'm trying to fix the Commons Chain pom, which has a dependency on MyFaces: myfaces myfaces-jsf-api 1.0.8-beta I'm creating a 'Struts Blank' archetype, so the process is 1. mvn install my archetype 2. mvn archetype:create a new project 3. mvn install the new project and

Re: [M2] Surefire

2005-11-12 Thread Kenney Westerhof
On Sat, 12 Nov 2005, Mark Kuzmycz wrote: Looks like spring is expecting a different SAXParser. Too bad the exception doesn't show more. Maybe you need to include xerces as a dependency? -- Kenney > I have a test that involves springs ContextSingletonBeanFactoryLocator. > The test runs successful

[M2] Surefire

2005-11-12 Thread Mark Kuzmycz
I have a test that involves springs ContextSingletonBeanFactoryLocator. The test runs successfully in eclipse but fails under maven.   The error is:   -   Nov 12, 2005 11:05:30 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitionsINFO: Loading XML bean def

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Wendy Smoak
On 11/12/05, Alexander Hars <[EMAIL PROTECTED]> wrote: > 3. Yesterday Wendy Smoak noted in the mailing list that the guide for > creating archetypes states that the tag for the archetype.xml > should be the same as the but that this is not the case for > one of the plugins he used so the stateme

New: Axis Tools Plugin

2005-11-12 Thread Jesse McConnell
I just commited a 0.1 version of the axistools plugin into the mojo-sandbox. This plugin will be replacing the existing wsdl2java plugin and features expanded support for command line options on the wsdl2java axis utility as well as adding a new goal for the java2wsdl tool. There are two goals ava

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Emmanuel Venisse
Jason, I can't view it, I obtain " You do not have permission to view this page." Emmanuel Jason van Zyl a écrit : On Sat, 2005-11-12 at 12:17 +0100, Alexander Hars wrote: Jason, Thank you for setting up the mavenusers space on confluence. While this solution is certainly better for integr

M2 : Major Bug in xdoclet plugin ?

2005-11-12 Thread Pete
If I use the xdoclet plugin to generate ejb classes all works fine and as expected - providing I running one ejb project at a time. e.g. mvn clean generate-sources from the pom.xml for the EJB project(s) all is ok. BUT if I run from the parent project pom :- - the reactor correctly finds the o

Re: [m2] maven-jdepend-plugin:FATAL error, NullPointerException

2005-11-12 Thread Oscar Picasso
--- Brett Porter <[EMAIL PROTECTED]> wrote: > That's the Maven 1.x plugin. The error reporting is a known bug. > > org.codehuas.mojo > jdepend-maven-plugin I have tried this one (I guess that the groupId is actually org.codehaus.mojo. I get The plugin 'org.codehaus.mojo:jdepend-maven-plugin'

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Jason van Zyl
On Sat, 2005-11-12 at 12:17 +0100, Alexander Hars wrote: > Jason, > > Thank you for setting up the mavenusers space on confluence. While this > solution is certainly better for integrating the documentation with > Maven, it has the disadvantage that it significantly raises the bar for > anyone

Re: Testing with EJB3

2005-11-12 Thread Tanju Erinmez
The problem deployment wise with the JBoss EJB3 alpha 3 release is that the 3rd party libs are not pruned (reduced to the necessary ones). So you might find yourself doing some unnecessary work. What I did for the time being and not waste too much time on infra was to simply jar everything up and i

Re: problem about repository setting

2005-11-12 Thread Brett Porter
You need to use inside the element. - Brett On 11/12/05, jeff li <[EMAIL PROTECTED]> wrote: > Hi, everybody > > > I change setting file to set repository to c:/repo , and maven can work well > to access to c:/repo for jar files when I input command "mvn ...", but when > I excute the ant tasks r

problem about repository setting

2005-11-12 Thread jeff li
Hi, everybody I change setting file to set repository to c:/repo , and maven can work well to access to c:/repo for jar files when I input command "mvn ...", but when I excute the ant tasks regarding the classpath defined with antlib taskdef, maven changes to access to its default directory c:/do

Re: Test cases that rely on build artifacts being Jars

2005-11-12 Thread Brett Porter
> I've separated out the core libraries test-suite into a separate module > to avoid a 'circular' dependency (the plugins have a compile dependency > on the core library; the core-library has a test dependency on the > plugins). The plugins now depend on the core library and the core > library tes

Re: [m2] exception from POM - not sure why

2005-11-12 Thread Arik Kfir
I think it was because it didn't generate the javadocs by default (but perhaps I was a bit drousy ;-) but non-the-less I would still need it for the project-info plugin (to selectively choose the reports I want). On 11/12/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > > Hi, > > I've continued dwelling

Re: usefile setting

2005-11-12 Thread Brett Porter
maven-surefire-plugin false or -Dsurefire.usefile=false on the command line - Brett On 11/11/05, Neil Blue <[EMAIL PROTECTED]> wrote: > Hello, > > I have searched in the archive and looked at the docs, but I can't seem to > find the answer to this simple question. How do I sent jun

Re: [m2] exception from POM - not sure why

2005-11-12 Thread Arik Kfir
Hi, I've continued dwelling on it. It appears it is not a specific plugin, but rather the appearance of the element. I've tried with both the javadoc and the project-info plugins - both cause the NPE when they have atleast one element. Having an empty does not cause the exception. Filed in JIR

Re: [m2] How to reference timestamp of build as property

2005-11-12 Thread Brett Porter
There isn't currently a plugin for this, so it would be necessary to write one. - Brett On 11/12/05, Richard Allen <[EMAIL PROTECTED]> wrote: > Is there a way to reference a timestamp when the build was executed as a > property for filtering, etc.? I'm trying to transition a multi-module > projec

Re: [m2] Exclude some modules

2005-11-12 Thread Brett Porter
No, phases are completely controlled by the packaging. What is your use case? On 11/12/05, Oscar Picasso <[EMAIL PROTECTED]> wrote: > Is it possible to exclude some a set of modules to be use during a phase run. > > for example, with something like this: > > mvn deploy -Dexclude=my-excluded-set >

Re: Testing with EJB3

2005-11-12 Thread Brett Porter
You can request them to be uploaded. You can also install them in a local repository yourself (much like working with Ant). http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html http://maven.apache.org/guides/mini/guide-ibiblio-upload.html - Brett On 11/12/05, Richard Wallac

Re: [m2] maven-jdepend-plugin:FATAL error, NullPointerException

2005-11-12 Thread Brett Porter
That's the Maven 1.x plugin. The error reporting is a known bug. org.codehuas.mojo jdepend-maven-plugin On 11/12/05, berndq <[EMAIL PROTECTED]> wrote: > Hi, > > I want to use the plugin for jdepend in maven 2. > > With google I found > > http://mojo.codehaus.org/jdepend-maven-plugin/howto.html >

Re: Users List configuration

2005-11-12 Thread Brett Porter
No, that's not possible - maybe one of the web archives (nabble?) allows you to subscribe to your own topics for updates? - Brett On 11/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I have a question concerning this Users List. Maybe it's a stupid question > ;-) , > but I have

Re: [m2] exception from POM - not sure why

2005-11-12 Thread Brett Porter
Any NPE is a bug (even if it is just incorrect error reporting), so please file it. Is there any reason yo need to use a report set for the javadoc plugin? Can you narrow it down to which report is causing the issue? - Brett On 11/12/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > I have three POMs:

Re: NoClassDefFound when runing surefire

2005-11-12 Thread Brett Porter
Runner comes from surefire-booter. However, I don't think that it is saying that it can't find the runner, as the call that causes it is: at com.meridea.cs.logging.Logger.getDelegatePlugin(Logger.java:306) Surefire runs in the VM, with a separated classloader, so is this using a class not

[m2] exception from POM - not sure why

2005-11-12 Thread Arik Kfir
I have three POMs: A: serves as a template for new projects B: Extends A - the root POM of a multi-module project C: Extends B - a module in the B project One of the things project A defines is the element. However, when I try to build project B, I get the following exception: [EMAIL PROTECTED]

Users List configuration

2005-11-12 Thread blaise . gosselin
Hello, I have a question concerning this Users List. Maybe it's a stupid question ;-) , but I have to answer it. Indeed, I have subscribed to this mailing list four days ago, and since that moment I receive all the mails sent by every users. Isn't it possible to receive only the mail in response

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Arik Kfir
Provided that somehow this will (slowly, based on available time of maven devs) propagate back to the official Maven docs On 11/12/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > > Although I'm not part of the original discussion, big +100 from me :) > > > On 11/12/05, Alexander Hars <[EMAIL PROTECTED]

Re: get the source from SCM in Maven 2

2005-11-12 Thread Brett Porter
You can use the scm:checkout goal to get the entire source tree. - Brett On 11/11/05, Maruf Aytekin <[EMAIL PROTECTED]> wrote: > In maven 2 is there a way to get the source from SCM and place in the > src directory at build time like fetching the source at the build time > with Ant? > > Thanks, >

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Arik Kfir
Although I'm not part of the original discussion, big +100 from me :) On 11/12/05, Alexander Hars <[EMAIL PROTECTED]> wrote: > > Jason, > > Thank you for setting up the mavenusers space on confluence. While this > solution is certainly better for integrating the documentation with > Maven, it has

Re: Documentation -- making better use of the wiki

2005-11-12 Thread Alexander Hars
Jason, Thank you for setting up the mavenusers space on confluence. While this solution is certainly better for integrating the documentation with Maven, it has the disadvantage that it significantly raises the bar for anyone who wants to contribute. For example, unregistered users can't see

[m2] maven-jdepend-plugin:FATAL error, NullPointerException

2005-11-12 Thread berndq
Hi, I want to use the plugin for jdepend in maven 2. With google I found http://mojo.codehaus.org/jdepend-maven-plugin/howto.html http://www.ibiblio.org/pub/packages/maven2/maven/maven-jdepend-plugin/1.5/ I added ibiblio to my pom ibibliorepo ibiblio repo http://www.

Re: [m2] Exception in release plugin

2005-11-12 Thread Arik Kfir
Yes, the parent project is correctly parsed and deployed, so I assume the parent's group ID is ok. Filed in JIRA under: http://jira.codehaus.org/browse/MNG-1527 On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Do you correctly specify the groupID in the parent? > > Please file a bug, yes

Re: [mojo url svn Anonymous access]

2005-11-12 Thread olivier lamy
Yes really better ;-) - Olivier 2005/11/12, Emmanuel Venisse <[EMAIL PROTECTED]>: > > Personally, I use https protocol > > svn co https://svn.codehaus.org/mojo/trunk/mojo > > olivier lamy a écrit : > > In my linux box the response is : > > svn: No repository found in ' > > svn://svn.codehaus.org/m

Re: [mojo url svn Anonymous access]

2005-11-12 Thread Emmanuel Venisse
Personally, I use https protocol svn co https://svn.codehaus.org/mojo/trunk/mojo olivier lamy a écrit : In my linux box the response is : svn: No repository found in ' svn://svn.codehaus.org/mojo/trunk/mojo/surefire-report-maven-plugin' 2005/11/12, Emmanuel Venisse <[EMAIL PROTECTED]>: svn

Re: [mojo url svn Anonymous access]

2005-11-12 Thread olivier lamy
In my linux box the response is : svn: No repository found in ' svn://svn.codehaus.org/mojo/trunk/mojo/surefire-report-maven-plugin' 2005/11/12, Emmanuel Venisse <[EMAIL PROTECTED]>: > > svn co svn://svn.codehaus.org/mojo/trunk/mojo/surefire-report-maven-plugin > > olivier lamy a écrit : > > Hi,

Re: [mojo url svn Anonymous access]

2005-11-12 Thread Emmanuel Venisse
svn co svn://svn.codehaus.org/mojo/trunk/mojo/surefire-report-maven-plugin olivier lamy a écrit : Hi, I tryed to checkout some mojo plugins sources. But I have trouble concerning the url Anonymous Access in the documentation ( http://mojo.codehaus.org/surefire-report-maven-plugin/source-reposito

[mojo url svn Anonymous access]

2005-11-12 Thread olivier lamy
Hi, I tryed to checkout some mojo plugins sources. But I have trouble concerning the url Anonymous Access in the documentation ( http://mojo.codehaus.org/surefire-report-maven-plugin/source-repository.html ). svn checkout svn://svn.codehaus.org/mojo/scm/trunk/surefire-report-maven-pluginsurefire-re