Re: Maven Output Verbosity

2006-01-19 Thread Gisbert Amm
Have you tried the -q (--quiet) command line switch already? Regards, Gisbert Amm Mike Lantink wrote: Is there a way to turn down the output produced during a maven execution...goal specific or otherwise ? - To unsubscribe,

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Man-Chi Leung
hi, I do suggest a wiki page to document the "BEST PRACTICE" for maven 2. I agree an idea that a good tool does not need much documentation; btw, anyone needs a manual for iPod ? so, I hope m2 should be as seamless and intuitive as possible. (yes, M2 is heading the right direction. that w

[M1.1b2] problem with site generation : missing dependency

2006-01-19 Thread Hervé BOUTEMY
Maven site generation has been working well for a long time. But lately, I deleted my local repository, and now I can't generate my site any more : a dependency is missing : $ maven site:site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___

Re: [m2] multiple project's component dependency declaration possible or too complex?

2006-01-19 Thread dan tran
how about create one big zip file?? then use antrun to unpack. I do that quite often -Dan On 1/19/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > > You mean you want a single pom to have several jars associated with it? > This doesn't comply with the one-artifact-one-jar philosophy of maven

Re: [m2] multiple project's component dependency declaration possible or too complex?

2006-01-19 Thread Edwin Punzalan
You mean you want a single pom to have several jars associated with it? This doesn't comply with the one-artifact-one-jar philosophy of maven and so is not possible. Also, accdg to the maven gurus, such configuration you gave is possible as long as the each jar you set as a dep is placed in

Re: Continuum import multimodule project [M2]

2006-01-19 Thread martin . kuhn
I have in every pom.xml file the scm definition in the form: scm:svn:http://username:[EMAIL PROTECTED]://servername/svn/xyz_proj_name/trunk When I try to "Add Maven 2.0+ Project" I use the following POM Url: http://servername/svn/xyz_proj_distribution/trunk/pom.xml This r

Re: [M2] Odd Compilation Behaviour - One way works, the other doesn't!

2006-01-19 Thread Edwin Punzalan
What you said is correct. After creating the archive for the project, maven sets the project as resolved and sets the created archive (the archive created by jar, war, etc) to the coressponding MavenProject->Artifact. However, what's being passed into the classpath of module 2 is the locat

Re: ##Site Generation Error!

2006-01-19 Thread Siegfried Goeschl
Hi Narayan, the changelog report is not too happy with your CVS configuration regarding the project - fix your POM scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:${pom.artifactId} scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:${pom.artifactId} Cheers, Siegfried Goes

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Ramin Farhanian
Afkham, We might contribute some examples to Maven team but It's better that we do not expose it ourselves. Because Most of maven users might have understood a version of truth about Maven mechanism. I really like the team to give Maven aware people a homework example. This way they dont start sam

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Afkham Azeez
Hi Folks, I sincerely wish that everybody commenting on the bad documetation will at least try to contribute some documentation. After all, most of you have figured out stuff the hard way. Why not share it with the community? Why keep on blaming the developers for insufficient documentation, and no

Re: M2: Having trouble with legacy repository

2006-01-19 Thread Edwin Punzalan
As long as the poms inside the repository is pom v3, there's no way to get rid of the warnings/errors. The real solution is convert the poms to v4. If you do not want to change your existing builds to m2, then I guess you can create a separate repository that will pull the v3 poms from the

Re: [m2] how can multiple users use the same settings.xml?

2006-01-19 Thread dan tran
how about placing the entired maven2 + settings.xml in scm so htat every one would use the same m2. -D On 1/19/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > > Hi. > > You might want to take a look at the maven command option "-s " > where path is the location of your settings.xml. So you c

Re: [m2] how can multiple users use the same settings.xml?

2006-01-19 Thread Edwin Punzalan
Hi. You might want to take a look at the maven command option "-s " where path is the location of your settings.xml. So you can put your settings.xml into a shared folder but you will have to put the -s CLI option in your mvn commands. But then, you can put the "-s" option into your MAVEN_

##Site Generation Error!

2006-01-19 Thread narayan dhumale
Friends, I am using Maven 1.0.2 & while trying to generate the site in the following way i am getting errors pasted below. Please let help me to sort out the problem D:\dev\mavenbook\code\genapp\test-application>maven site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent

##Site Generation Error!

2006-01-19 Thread narayan dhumale
Friends, I am using Maven 1.0.2 & while trying to generate the site in the following way i am getting errors pasted below. Please let help me to sort out the problem D:\dev\mavenbook\code\genapp\test-application>maven site __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Ramin Farhanian
The nature of an open souce project is not an excuse not to document. We are facing 50 different MVC frameworks. What if they don't have documentation? Open source projects are there to let all of us live in a more harmonized, more peaceful, ever evolving world. You code here today in Maven, I w

Re: [m2] How i get the source code for the eclipse plugin ?

2006-01-19 Thread Maria Odea Ching
Hi Malcolm, Please see the following link http://maven.apache.org/eclipse-plugin.html Regards, Odea Malcolm Wong Ho wrote: How i get the source code for the eclipse plugin ? DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are n

Re: [m2] How i get the source code for the eclipse plugin ?

2006-01-19 Thread Allan Ramirez
Please refer to this link http://maven.apache.org/eclipse-plugin.html -allan Malcolm Wong Ho wrote: How i get the source code for the eclipse plugin ? DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipien

To use M1 or M2 for websphere projects ?

2006-01-19 Thread Malcolm Wong Ho
I mainly develop for the websphere enviroment, should i use M1 or M2 for the build process. There is better support and documentation for M1, but M2 is easier and where Maven is heading. DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. I

Re: [M1] Ant Zip task excluded empty directories

2006-01-19 Thread Afkham Azeez
Hi Lukas, I'd be grateful if you could provide me with the link to download 1.1-b3. None of the mirrors seem to contain it :( Thanks Azeez On 1/19/06, Lukas Theussl <[EMAIL PROTECTED]> wrote: > This is fixed only in the current maven 1.1-beta-3: > http://jira.codehaus.org/browse/MAVEN-1657 > > (j

[m2] How i get the source code for the eclipse plugin ?

2006-01-19 Thread Malcolm Wong Ho
How i get the source code for the eclipse plugin ? DISCLAIMER: This message may contain information which is confidential, private or privileged in nature. If you are not the intended recipient, you may not peruse, use, disseminate, distribute or copy this message or file which is attached to

RE: [m2] strange problem

2006-01-19 Thread Shukla, Sanjay
I have the same problem. What steps did you take to fix this ? Any luck ? Sanjay Shukla, HPI Product Engineering, 2 Penn Plaza, NY. 212 904 3629 Office 732 692 4419 Cell -Original Message- From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED] Sent: Friday, November 18, 2005 4:46 PM To: Mav

Re: Integrating Eclipse with Maven2

2006-01-19 Thread Daniel Kulp
Already logged as a bug: http://jira.codehaus.org/browse/MECLIPSE-9 Go vote for it. :-) Dan On Thursday 19 January 2006 21:39, William Ferguson wrote: > The "Guide to using Eclipse with Maven 2.x" states that the command to > configure Eclipse with the path to the local Maven repository doesn

RE: Transitive "sibling" builds

2006-01-19 Thread Chris Bredesen
I just tried this, and the problem is that the POM that contains the modules becomes an aggregator project, and requires pom. This precludes us (I think) from using w1 (or any "end result" artifact) as the driving build. I will play with this some more. My actual enterprise is quite a bit more com

Re: M-2.0.2 - Error in downloading build-helper-maven-plugin

2006-01-19 Thread Allan Ramirez
Hi, The problem is you executed "mvn install:install". Use "mvn install:install-file" for installing 3rd party jars -allan [EMAIL PROTECTED] wrote: No it was missed while coping it from the command line... can u give any simple steps/sample how to manually download and use plugins Appre

RE: Worst documentation in the whole apache projects

2006-01-19 Thread Phill Moran
This is an interesting thread one that strikes at the heart of open source in the marketplace. A product paid for or not needs to be complete, functional and correct. To stop short is just that. The documentation like QA testing is required to consider the job complete. I am a long time coder and m

Integrating Eclipse with Maven2

2006-01-19 Thread William Ferguson
The "Guide to using Eclipse with Maven 2.x" states that the command to configure Eclipse with the path to the local Maven repository doesn't work. It does actually add an org.eclipse.jdt.core.classpathVariable.M2_REPO entry into org.eclipse.jdt.core.prefs, but (on Windows 2000 at least) it places

Re: one more question regarding PreGoal

2006-01-19 Thread Henry Isidro
Ok, let's break down your example. When you call 'newVersion', these happen (in this order): -> ${basedir}/target/classes get deleted -> it attempts to run 'jar:install' but a preGoal for it has been defined, so maven must execute everything defined in the preGoal first -> the cv

RE: M2 : Issue with echoproperties task with maven-antrun-plugin using Maven 2.0

2006-01-19 Thread Sean Hennessy
See previous thread.. Subjext: [m2] antrun build.xml

M2 : Issue with echoproperties task with maven-antrun-plugin using Maven 2.0

2006-01-19 Thread Matthew Wheaton
Hi all, I have the following in my pom.xml org.apache.maven.plugins maven-antrun-plugin generate-sources

running an antrun task alone -- or pulling a maven classpath from the pom?

2006-01-19 Thread Eric Biesterfeld
So, I have my maven classpath all set up, everything's running quite nicely. (and once this release is out and I'm settled down in a few projects I'll try to write up what we did to get our multi-product, multimodule ant project building under Maven 2...) However, I'm trying to run TestNG and I'm r

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Kathryn Huxtable
For what it's worth, I like Maven 2.0. The show stopper for me as far as having my team switch to it is the insufficiency of the Eclipse plugin for Maven. We use Eclipse as our IDE, and a pom editor would be very nice, as well as a more full-functioned dependency search utility. Also, we're mainly

RE: Worst documentation in the whole apache projects

2006-01-19 Thread Darren Hartford
I have been using since Maven pre-1.0, and actually have it in production in a couple larger projects and have been happy with the general documentation and maturity of the maven 1.0, 1.1 series. However, I am supporting Jeroen's perception of Maven 2.0's "features are lacking or not-quite-there

[m2] Question about writing my first Mojo

2006-01-19 Thread Matthew Beermann
It's my understanding that plugins do not communicate with one another directly; rather, they utilize their parameters. Which is all well and good, so here's what I'm trying to do: I'm writing a plugin that overrides Surefire's classpath to a classpath that I've constructed. In particular,

Re: Dependency on hibernate

2006-01-19 Thread Greg Case
Guenther, You will need to download the jar separately from sun and install it in your local repository. Please see http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html for more information. Regards, Greg Case On 1/19/06, Guenther Schroettner <[EMAIL PROTECTED]> wrote: > > Hello

Dependency on hibernate

2006-01-19 Thread Guenther Schroettner
Hello! I added a dependency on hibernate in my pom.xml: hibernate hibernate 3.1rc2 compile If I try to compile I get an error: [INFO] [ERROR] BUILD ERROR [INFO]

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-19 Thread Dennis Lundberg
Yann Le Du wrote: Hi, In order to ease Continuum use, we want to have the following project structure : ~ PROJECT ~ +-- parent ~ +-- pom.xml ~ +-- module ~ +-- pom.xml module has obviously parent for parent parent defines this SCM URL : scm:svn:svn://host/PROJECT/parent In modul

Re: [m2] Dependencies declaration: .dll / .so files howto?

2006-01-19 Thread Loïc Lefèvre
Hello all, Yes, the dll are hardcoded in the *thirdparty* application so recompiling is not the right solution (apart telling this directly to the team). Okay, I've figured out too that can't be empty ;o) I'll take a look at this famous dependency-maven-plugin. Thanks! Loic On 1/19/06, Wim Deb

Re: [M2] Is generating an application.xml with connector module possible?

2006-01-19 Thread Stephane Nicoll
On 1/19/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote: > > My use-case: > - Using the maven-ear-plugin to generate the application.xml deployment > descriptor. > - Want to include a SAR module in the deployment descriptor. > - Found out about ejbModule, warModule and javaModule but could not f

Re: [m2] Error setting contextRoot in my ear

2006-01-19 Thread Mick Knutson
The worked. Thanks Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED] - O

Re: ibiblio maven2 repository

2006-01-19 Thread Brett Porter
Are you sure? I don't see any /jakarta-tomcat/ and wouldn't know where that would have come from. As to policy, we don't remove anything lightly. It would only be for legal reasons or at the request of the project. - Brett On 1/19/06, jerome lacoste <[EMAIL PROTECTED]> wrote: > I sent this messa

Re: ibiblio maven2 repository

2006-01-19 Thread Carlos Sanchez
nothing gets removed or changed from ibiblio (ideally) I dont think there was ever anything under org/apache/jakarta-tomcat when everything is uder tomcat On 1/19/06, jerome lacoste <[EMAIL PROTECTED]> wrote: > I sent this message 2 days ago, but got no answer: > > On 1/17/06, jerome lacoste <[EM

ibiblio maven2 repository

2006-01-19 Thread jerome lacoste
I sent this message 2 days ago, but got no answer: On 1/17/06, jerome lacoste <[EMAIL PROTECTED]> wrote: > there used to be a zip file of jakarta-tomcat version 5.5.9 on ibiblio > under maven2/org/apache/jakarta-tomcat/... > > it's not there anymore. Was it removed intentionally? > > If so, what i

Maven Output Verbosity

2006-01-19 Thread Mike Lantink
Is there a way to turn down the output produced during a maven execution...goal specific or otherwise ? Regards, Michael Lantink Software Engineer (519) 880-2400 ext 2765 www.sandvine.com - To unsubscribe, e-mail: [EMAIL PRO

Re: Information on customizing a Maven project

2006-01-19 Thread Doug Douglass
Matt, While it's true that M1 provides a jar override mechanism via properties, I've found I've used it very infrequently (I still use m1 day in and day out). Regarding version numbers in artifact names, if you find that you're trying to circumvent this, you'll be fighting an uphill battle w

Re: [M1] Ant Zip task excluded empty directories

2006-01-19 Thread Lukas Theussl
This is fixed only in the current maven 1.1-beta-3: http://jira.codehaus.org/browse/MAVEN-1657 (jira seems to have some problems again, right now you can't see any comments, just wait a bit). Lukas Afkham Azeez wrote: Hi Folks, I'm using Maven 1.0.2. I have a problem with the ant zip task.

Re: Continuum import multimodule project [M2]

2006-01-19 Thread Emmanuel Venisse
With actual version of maven-scm, you must define scm-url in all your modules if you use relative path for module declaration. This problem is fixed in maven-scm trunk Emmanuel [EMAIL PROTECTED] a écrit : Hi, I tried to import a multimodule project into continuum and failed. the structure

M2 - Site & Deploy - Help needed

2006-01-19 Thread raghurajan . x . gurunathan
Hi All, Thanks for reading this, I Need help on 2 things, if anyone has solution for this please post it My Project has multi module like project |+ - - Module-A |+ - - pom.xml | + - - Module-B | + - - pom.xm + - - pom.xml 1. Depl

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-19 Thread Emmanuel Venisse
Actually, you need to define scm url in all your modules if you want to use relative path. This problem is fixed in maven-scm trunk. Emmanuel Yann Le Du a écrit : Hi, In order to ease Continuum use, we want to have the following project structure : ~ PROJECT ~ +-- parent ~ +-- pom.xml

RE: Information on customizing a Maven project

2006-01-19 Thread Osborne, Matthew
Sorry I forgot to note the version. I have been using version 2.0. However, I just realized that version 2.0 only allows for artifacts to come from a central repository, and gives no leeway whatsoever with how the dependencies are named (eg artifactname-1.0.jar must have the version number in the f

[m2] Downloading m1 JARs from a legacy repo

2006-01-19 Thread Sasvata Chatterjee
When m2 downloads m1-built JARs from a legacy repo, and there is an associated m1-POM, is m2 supposed to create a 4.0.0 POM in the local m2 repo? I have this repo definition: apache - legacy legacy http://cvs.apache.org/repository/

Multiple Projects with Maven 2

2006-01-19 Thread Taleswapper
I've created a pom that references multiple projects using the tag. This works great, even catching the order when one of the subprojects depends on another subproject. However, if a subproject uses the result of another project as a plugin, I get a fatal error. Anybody experienced

Maven2: Error trying to run tests.

2006-01-19 Thread Gerard Garrigan
Hello,   I have set up a maven project. When I try to run mvn test from within eclipse I get the following error.   Compiling 453 source files to E:\workarea\iTRAX2\target\classes org.apache.maven.plugin.CompilationFailureException: Compilation failure   at org.apache.maven.plugin

Re: Information on customizing a Maven project

2006-01-19 Thread Doug Douglass
Matthew, What version of maven are you using/trying to use? Maven 1.x has very good support and documentation for various properties files and how they are read and relate to the build process. See this reference: http://maven.apache.org/maven-1.x/reference/properties.html To many, includin

Multiple Projects with Maven 2

2006-01-19 Thread Taleswapper
I've created a pom that references multiple projects using the tag. This works great, even catching the order when one of the subprojects depends on another subproject. However, if a subproject uses the result of another project as a plugin, I get a fatal error. Anybody experie

RE: [M2] Configuration parameters for my Mojo(s)

2006-01-19 Thread John Wells
This did not work. It still does not pick up true in the integration test phase. Anyone else? I have created a JIRA issue about this: http://jira.codehaus.org/browse/MNG-1969 Note that when I tried your suggestion: /** * Should these tests be skipped? * @parameter expression="skip" d

Re: Is there a documentation team

2006-01-19 Thread Tim OBrien
There is a group of people currently working on a Maven 2 book that promises to be the preferred reference. I think Carlos, Vincent, and Brett are working on that tome. But, in terms of contributed to the online documentation. I'd suggest the following because this project could use the help.

SV: Worst documentation in the whole apache projects

2006-01-19 Thread Bengt-Erik Fröberg
I have posted a wish in JIRA on some kind of standard for plugin documentation à la http://cargo.codehaus.org/Maven2+plugin. Under "Documentation". Vote for it if you agree! Regards, /B-E -Ursprungligt meddelande- Från: Tim OBrien [mailto:[EMAIL PROTECTED] Skickat: den 19 januari 2006

[m2] Mailing list & how to deploy 3rd party jars ?

2006-01-19 Thread Romain Rouvoy
Hi everybody, Concerning the documentation of maven ... it is sure that the documentation is not perfect but no one is perfect ... let's try to improve it :-). Maven plugin for Cargo has a good documentation describing well how to install/configure/execute the plugin, I think that it is

Re: Continuum import multimodule project [M2]

2006-01-19 Thread Geoffrey De Smet
Peschier J. (Jeroen) wrote: I experienced the same problem as you when importing a multimodule project into Continuum. When you add the parent POM it looks for the modules' POM relative to the group/artificat/version directory in the repository. This awful scheme prevents all M2 multimodule

RE: Worst documentation in the whole apache projects

2006-01-19 Thread Peschier J. (Jeroen)
Considering Maven is the work of volunteers I understand it comes with no kind of warranty as to the quality of the product or the documentation. However, since Maven is portrayed as an Apache project you certain expectations are raised. High profile open source projects like Maven should act res

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Tim OBrien
I've have to totally agree. 200% The documentation is a total joke, it's hard to read and the maintainers don't seem to care to create a consolidated reference. And, the book by Vincent Massol and Tim O'Brien is just a total rag. I mean really, full of typos and everything. C'mon, if Maven

[m2] Central repository in a standalone environment

2006-01-19 Thread COUVREUR jacques
Hello, I am using m1 since 2004 on my projects : our "remote repository" (m1) is on a network drive (z:/maven/repository). We manage a pool of business libraries and we want to control the dependencies. I have downloaded the m2.0.2 and I want to do the same thing (use only our local "central repo

RE: Worst documentation in the whole apache projects

2006-01-19 Thread Domsch, Christian
I have to agree totally. I do have some experience with open source projects and maven2 is one of the best documented open source tools. Clearly there are many points where docu is missing or not clearly enough. But I think the original poster has not much experience with *really* bad documente

SV: Is it possible?

2006-01-19 Thread Bengt-Erik Fröberg
EXCELLENT documentation on cargo! Maybe to take as a rolemodel for other components of Maven2? Examples of minimal, small and full-fledged configuration, not just a cryptic html-table with a intelligent "No description" in the column "Description". Just check out deploy:deploy goal gets you

RE: Continuum import multimodule project [M2]

2006-01-19 Thread Peschier J. (Jeroen)
I experienced the same problem as you when importing a multimodule project into Continuum. When you add the parent POM it looks for the modules' POM relative to the group/artificat/version directory in the repository. This awful scheme prevents all M2 multimodule projects from working in Continu

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Miguel Griffa
very well said! I thinnk this kind ot mail would be totally ok in a commercial and expensive support forum of a build system, but definetly not an open source one. I also think documentation is a strong - in maven, but that's why I've tried to help on it a little, contributing is the way, On 1/18

SV: Is it possible?

2006-01-19 Thread Bengt-Erik Fröberg
Hi! The task of deploying to a Tomcat instance is very interesting for me to. However the docs on the install plugin is very rudimentary. How do you configure the deploy plugin to install your generated war-file into, say %CATALINA_HOME%/webapps on your local machine? And, if possible, to the sam

[m2] maven-artifact-ant and M2 plugin - howto?

2006-01-19 Thread Darren Hartford
Hey all, I have a challenge. My challenge is my shop runs two build systems - one for ANT on the developer workstations (usually through Eclipse-Ant), and Maven2 on CruiseControl. The ANT uses the maven-artifact-ant to read as much of the POM as I can and simulate much of the developer-oriented m

Is there a documentation team

2006-01-19 Thread Hines, John
I do some writing at work. Is there already a team doing maven 2 documentation? How do I get in contact with them? John Hines [EMAIL PROTECTED] -Original Message- From: Kathryn Huxtable [mailto:[EMAIL PROTECTED] Sent: Thursday, January 19, 2006 8:50 AM To: Maven Users List Subject: Re

Re: [M1] Defining multiple source directories for a given maven module

2006-01-19 Thread Arnaud HERITIER
It's supported by few people In theory it's better to create a different project for your samples If you don't want to / cannot do it, you can use the maven:addPath in a pregoal Arnaud On 1/19/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > > Hi Folks, > Isn't maven 1 supported or u

maven-surefire-pluging doesn't pick "home-made" test suite

2006-01-19 Thread Alexandre Russel
Hi, I have 3 files, one(SpiderSiteTest.java) with the main method calling a test suite Object. The test suite is SpiderPageSuite, the only thing it does is an empty addTest and create one Test object and run it. The test Obect (SpiderPageTest) implements run(TestResult result), not doing anyth

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Kathryn Huxtable
Yes, that's one of the reasons why I'm switching from Maven 1 to Maven 2. It's just better. (But although it's released, it's not really done...) -K On 1/19/06 7:31 AM, "Richard Allen" <[EMAIL PROTECTED]> wrote: > I'm amazed at the lack of appreciation some people have for getting > something f

RE: Transitive "sibling" builds

2006-01-19 Thread Christopher Cobb
That's an interesting idea. I'll give it a try. But even if it works, it is less than ideal because then you are putting the same information in twice: once at the top level to say what its children are, and once at the child level to say what its siblings are. This violates the hallowed OnceAn

RE: Transitive "sibling" builds

2006-01-19 Thread Christopher Cobb
I think a plug in could be written to do this, but that would mean that a plug in would have to be able to do some of the same work that the "reactor" does. I haven't had time to figure out how the reactor works or how difficult it would be to have one plug in be able to "invoke" (possibly non-chi

Re: [m2] Cannot download picocontainer 1.0 due to invalid POM, even though it's in local repo

2006-01-19 Thread Stephen Duncan
Actually, I think that's http://jira.codehaus.org/browse/MNG-1557, my pet bug. :) But thanks for pointing out the other one, they are definitely related. -Stephen On 1/19/06, Michael Mattox <[EMAIL PROTECTED]> wrote: > I found a bug in JIRA for the problem I'm experiencing. When you use an > ex

RE: Worst documentation in the whole apache projects

2006-01-19 Thread Christopher Cobb
> -Original Message- > From: Jeff Jensen [mailto:[EMAIL PROTECTED] > > But sometimes the patches sit and rot... > http://jira.codehaus.org/browse/MNG-1479 Maybe what we need as users is to set up (or start using) a wiki. It seems like there are two maven2 wikis: one at apache.org and o

How to I migrate repositories?

2006-01-19 Thread Helck, Christopher
I have a large internal M1 repository and projects that continue to update it. How do I migrate it to M2. How do I keep the two repos in sync? I imagine that I will have projects using Maven1 and Maven2 for some time. How should I handle the case where a Maven1 project depends on an artifact produ

Re: [M1] Defining multiple source directories for a given maven module

2006-01-19 Thread Afkham Azeez
Hi Folks, Isn't maven 1 supported or used anymore? On 1/16/06, Afkham Azeez <[EMAIL PROTECTED]> wrote: > Hi Folks, > I have a project with multiple maven modules. In one of these modules, > there are 2 different source directories. When these module is > compiled, I need maven to compile both thes

Re: [m2] Cannot download picocontainer 1.0 due to invalid POM, even though it's in local repo

2006-01-19 Thread Michael Mattox
I found a bug in JIRA for the problem I'm experiencing. When you use an exclude on a transitive dependency, that jar is excluded for the entire pom, even if you list it as a dependency. This means one invalid pom (such as pico) and everything is broken. http://jira.codehaus.org/browse/MNG-1797

Re: [m2] Cannot download picocontainer 1.0 due to invalid POM, even though it's in local repo

2006-01-19 Thread Michael Mattox
I just created JIRA issue for the Pico invalid POM: http://jira.codehaus.org/browse/MEV-309 Thanks for the tip, I didn't know this project existed for this purpose. I don't mind upgrading to Pico 1.1 or 1.2 but now the exclude thing is preventing me from doing this. I hope this isn't a Maven bu

RE: [m2] Generating was5 ejb code ?

2006-01-19 Thread Marcel Schutte
I assume you mean the project directory layout. We use the WSAD form with ejbmodule for java sources etcetera. --- Malcolm Wong Ho <[EMAIL PROTECTED]> wrote: > > How do you cope with project structure? do you use M2 or Wsad/RAD > project structure ?

Re: [m2] Cannot download picocontainer 1.0 due to invalid POM, even though it's in local repo

2006-01-19 Thread Michael Mattox
Does using an exclusion on a dependency of a dependency mean that if I include a dependency for that jar myself that it won't be used? For example, if I have: picocontainer picocontainer 1.2 This works fine, I have pico in my classpath. However, if I try to add

RE: Transitive "sibling" builds

2006-01-19 Thread Scokart Gilles
Isn't it possible to use something like that : For example if w1 use c1 and c3, in the pom of w1 use : ../c1 ../c3 I think you could even put that into a profile in order to allow recursive build or not. Gilles > -Original Message- > From: Chris Bredesen [mailto:[EMA

Continuum import multimodule project [M2]

2006-01-19 Thread martin . kuhn
Hi, I tried to import a multimodule project into continuum and failed. the structure of my projects projects | +-- xyz_proj_distributon | +-- xyz_proj_backend | +-- xyz_proj_frontend | im my pom.xml of xyz_proj_di

RE: Worst documentation in the whole apache projects

2006-01-19 Thread Jeff Jensen
But sometimes the patches sit and rot... http://jira.codehaus.org/browse/MNG-1479 Even though a tiny contribution, it is clarifications I needed when I began migrating to M2, but then stayed with M1 due to completeness, stability, and docs. If more users did little patches like that for what they

RE: Transitive "sibling" builds

2006-01-19 Thread Christopher Cobb
+5! _ From: Chris Bredesen [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 8:42 PM To: users@maven.apache.org Cc: [EMAIL PROTECTED] Subject: Transitive "sibling" builds Hello All, Just subscribed, and I wanted to revisit the discussion that took place regarding the

Re: [m2] Cannot download picocontainer 1.0 due to invalid POM, even though it's in local repo

2006-01-19 Thread Stephen Duncan
Not sure on the local fix bug issue, but you can put in an issue to get the invalid POM fixed. My experience has been that fixes are put into the repository quite quickly. http://jira.codehaus.org/browse/MEV -Stephen On 1/19/06, Michael Mattox <[EMAIL PROTECTED]> wrote: > The new dependency mec

Re: Worst documentation in the whole apache projects

2006-01-19 Thread Richard Allen
I'm amazed at the lack of appreciation some people have for getting something for nothing! Maven is FREE! The developers don't get paid to write the code, much less the documentation, or even to respond to lousy user email. They do it all in their free time. However, I bet Roberto is getting pa

Re: M2: Current directory (user.dir) problem in case of multi-module project.

2006-01-19 Thread Joern Huxhorn
But shouldn't this probably be changed for future versions of Maven? Subprojects should behave the same way if they are compiled separately or all in a bunch via in a parent pom. I think this is a pretty common problem. which should be addressed somehow, probably with an optional fork="true"

RE: [m2] Generating was5 ejb code ?

2006-01-19 Thread Malcolm Wong Ho
How do you cope with project structure? do you use M2 or Wsad/RAD project structure ? -Original Message- From: Marcel Schutte [mailto:[EMAIL PROTECTED] Sent: Thu 1/19/2006 10:32 AM To: Maven Users List Subject: Re: [m2] Generating was5 ejb code ? This works for me, but a real plugin wo

[m2] Cannot download picocontainer 1.0 due to invalid POM, even though it's in local repo

2006-01-19 Thread Michael Mattox
The new dependency mechanism in m2 is really cool, but I'm totally stuck on a picocontainer dependency. We added XDoclet 2.0 to our project, which uses pico. The pico POM is invalid. So I downloaded it and put it on our local repository and fixed the invalid POM, and erased pico from my .m2/repo

RE: Maven2 xdoclet jsptaglib How?

2006-01-19 Thread Druzhinin, Dmitry \(DB\)
> YES! It was not Maven problem! > My tag classes extend Struts BaseHandlerTag class. NOPE, it IS Maven problem! When your tag class extends BaseHandlerTag from Struts, Xdoclet looks for it in the classpath. But maven Xdoclet plugin, as well as other plugins, doesn't include project dependencie

How to define default values for complex mojo parameters?

2006-01-19 Thread Michael Böckling
And while we're at it: is there a way to define a default value for a Mojo parameter that is a List? Naive as I was, I tried this: @parameter expression="${excludes}" default-value="org.apache.maven,org.codehaus.plexus" Is this possible at all? I searched some other plugins using complex par

[M1] Ant Zip task excluded empty directories

2006-01-19 Thread Afkham Azeez
Hi Folks, I'm using Maven 1.0.2. I have a problem with the ant zip task. Empty directories are not getting included in the zip archive. Seems like a bug. Anybody encountered a similar situation before? -- Thanks Afkham Azeez - To

Re: [m2] Dependencies declaration: .dll / .so files howto?

2006-01-19 Thread Wim Deblauwe
You will need to put them in your repository with a version. When you compile, you first copy the necessairy dll files to your target directory. During this copy you can strip off the version, going back to the original name. The dependency-maven-plugin can do this stripping for you. regards, Wi

[M2] Is generating an application.xml with connector module possible?

2006-01-19 Thread Peschier J. (Jeroen)
My use-case: - Using the maven-ear-plugin to generate the application.xml deployment descriptor. - Want to include a SAR module in the deployment descriptor. - Found out about ejbModule, warModule and javaModule but could not find any info on how to generate a connector module. So I tried the obvi

[m2] Error assembling WAR

2006-01-19 Thread Malcolm Wong Ho
I'm getting an 'Error assembling WAR' when trying to package a web application. Log : Embedded error: Could not explode webapp... Could not create destination directory '/home/malcolm/IBM/rationalsdp6.0/maven_workspace/my-webapp2/my-webapp2-1.0-SNAPSHOT /WEB-INF/classes/my-webapp2-1.0-SNAPSHOT/

Re: How-to: Intra-Plugin communication

2006-01-19 Thread Michael Böckling
Thanks for the hint, but it seems the section can't contain complex values (I need an arrayList). The dirty-but-working way that i've found works like this: Xpp3Dom aJavadocPluginConfiguration = project.getReportConfiguration("org.apache.maven.plugins", "maven-javadoc-plugin", null); Iterat

[m2] Creating Systems Deps programmatically - Help with a maven-a rtifact-manager bug that I'm trying to fix....

2006-01-19 Thread Stevenson, Chris
Dear All, I reported a bug a while back regarding a problem in the maven-artifact-manager library. http://jira.codehaus.org/browse/MNG-1933 I've been trying to replicate the bug myself in a unit test in a checked out version of this project but I'v

  1   2   >