SV: Worst documentation in the whole apache projects

2006-01-18 Thread Bengt-Erik Fröberg
I use Maven 2, and I agree on the state of the docs, although I realize this is the deal with open-source software, for better or for worse. I've looked into Ivy framework to see if docs were more complete and transparent, but at the time I was so exhausted by looking for answers, reading webpages

Re: How-to: Intra-Plugin communication

2006-01-18 Thread John Casey
One other note: if your mojos live within the same plugin, you can use: AbstractMojo.getContext(): Map to pass context information. It's a little cleaner for intra-plugin communications. -j Michael Böckling wrote: Hi, this is the last one for today, I hope. :-) I wonder, now that I have a

Re: How-to: Intra-Plugin communication

2006-01-18 Thread John Casey
Hmm, sounds a little hackish, but you might try using the expression ${jlinks} instead, as model (and project) properties are consulted for parameter injection when other things fall through. HTH, john Michael Böckling wrote: Hi, this is the last one for today, I hope. :-) I wonder, now th

[m2] Generating was5 ejb code ?

2006-01-18 Thread Malcolm Wong Ho
How would i go go about generating was5 ejb code using Maven2 as there is no plugin support for M2 and only for M1 ? 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, dissemi

Re: [m2] want advance about setting up multiple

2006-01-18 Thread Henry Isidro
Hi Mick, I assume you mean jars that were built from your project. In that case, you can install those jars manually. Please see http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html and http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafileinmylocalreposit

dist goal doesn't put sources into src package

2006-01-18 Thread Craig L Russell
Hi,Please reply directly as I am not subscribed to this list.I have a non-standard project (the sources are in the test/java directory). I have some other resources in the test directory (test/conf/*, test/jdo/*, test/orm/*, etc).I'm having trouble using the dist goal in maven 1.0.1. The src zip di

Re: [m2] want advance about setting up multiple

2006-01-18 Thread Mick Knutson
Ok, The reason I want is this. I have a project that ahs many modules and jars, included into 1 ear. I want to run idea:idea to create my Intellij project, but it is looking into ibbiblio for my common.jar etc So I am assuming that I need to install my jars into my repository right? --

Re: Maven 2.0.1 not getting Installed

2006-01-18 Thread Maria Odea Ching
Hi Narayan, What other commands have you tried to execute? If you were executing maven goals, did you check whether you're in the right directory (where the pom.xml file of your project is located)? Thanks, Odea narayan dhumale wrote: Hello! I have installed the Latest version of Maven 2.

Re: [m2] want advance about setting up multiple

2006-01-18 Thread Maria Odea Ching
Hi Mick, You don't have to specify your local repository and the ibiblio repository in your pom. Maven automatically checks your local repository first, then the central repository (ibiblio) last. Thanks, Odea Mick Knutson wrote: I want to setup my local repository as my initial, then ibbi

Transitive "sibling" builds

2006-01-18 Thread Chris Bredesen
Hello All, Just subscribed, and I wanted to revisit the discussion that took place regarding the above topic in this thread: http://www.mail-archive.com/users@maven.apache.org/msg32502.html There seems to be a lot of resistance from the community (lack of understanding, maybe) to implementing t

Re: Information on customizing a Maven project

2006-01-18 Thread Julian Wood
Have you looked at profiles? http://maven.apache.org/guides/introduction/introduction-to- profiles.html You activate a profile at build time, and each profile can use properties to localize the build. You might also want to look at resource filtering, which allows you to use these proper

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

2006-01-18 Thread dan tran
Dont understand why you can't rename? Could you give a specific scenario? What do you mean by "dll inn't linked any more? You can not set version element to empty -Dan On 1/18/06, Loïc Lefèvre <[EMAIL PROTECTED]> wrote: > > However, what can I do if I *can't* rename the .dll / .so files: > f

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Henry Isidro
Hi Karthik, Glad to hear that you've got it working. You can send artifacts to specific directories in your ear by using the tag. More info at http://maven.apache.org/plugins/maven-ear-plugin/howto.html. HTH, Henry Karthik V wrote: I got it working finally, but dont understand how ... all

Re: Site plugin problem - NullPointerException

2006-01-18 Thread Emmanuel Venisse
here: http://maven.apache.org/plugins/maven-site-plugin/source-repository.html natalie burdick a écrit : Thomas -- can you indicate where on the site this was an issue for you, so we can log the issue? On 1/18/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: thanks. May be worth updating t

[m2] want advance about setting up multiple

2006-01-18 Thread Mick Knutson
I want to setup my local repository as my initial, then ibbiblio as the secondary repository. How do I do this?: central Maven Repository Switchboard default C:\\Documents and Settings\\Owner\\.m2\\repository

Re: Site plugin problem - NullPointerException

2006-01-18 Thread natalie burdick
Thomas -- can you indicate where on the site this was an issue for you, so we can log the issue? On 1/18/06, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > > thanks. May be worth updating the docs on the site. > > On 1/18/06, Scokart Gilles <[EMAIL PROTECTED]> wrote: > > > > The plugins have mo

Clover running as part of the normal build

2006-01-18 Thread Mike Perham
How do we get the Clover report to generate as part of the normal build? If I run 'mvn clover:clover' it generates the report but does not perform the install process. If I run 'mvn site:site' with the clover report plugin, same as clover:clover. If I run 'mvn install site:site', it builds the pro

RE: [m2] Where to place resources for unit tests?

2006-01-18 Thread Jeff Lowe
I believe that the get copied into the /target/test-classes directory and are therefore available to the unit tests (as resources) when they run. Unlike resources in /target/classes, they don't get added to the generated jar. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL P

Re: [m2] Mojo field injection problem extending abstract Mojo classes from another plugin/jar

2006-01-18 Thread Sasvata Chatterjee
I went ahead and created a JIRA issue: http://jira.codehaus.org/browse/MNG-1983 since I needed to attach two plugin projects and a test project to demonstrate the issue, and that was too awkward to cut and paste. The projects are extremely trivial, please take a look at the ZIP file attached to th

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

2006-01-18 Thread Loïc Lefèvre
Hello, After some time struggling with my local repository I wonder if it's me doing mistakes or if the declaration of multiple project's components is too complex. Let's take my current example: In my local repository, I want to add LWJGL which is compound of multiple jar, dll, so, dylib and jni

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

2006-01-18 Thread Loïc Lefèvre
However, what can I do if I *can't* rename the .dll / .so files: for example: DevIL.dll -> DevIL-0.99.dll will be perfect for the maven 2 repository however the dll isn't linked anymore! And if I set the version tag to empty () then the POM becomes invalid! What can I do? Loic On 1/18/06, Napol

Re: Continuum XML-RPC?

2006-01-18 Thread Emmanuel Venisse
Documentation will be add for 1.1 when xml-rpc client(CONTINUUM-544) will be in svn. I don't think you can actually add/remove projects with client but it's easy to add it. Emmanuel Mayorgaadame, Alex a écrit : Where can I found documentation about this functionality? What would be a general

RE: [testng-users] TestNG from a custom Maven2 MOJO/plugin

2006-01-18 Thread Michael Fiedler
I changed the test classes from TestNG language annotations to a javadoc tag (known to TestNG). Subsequently, the tests were run and no runtime exceptions were thrown, i.e. it worked as expected. Do I need to tell Maven2 something about my plugin needing java 1.5 lang annotations class loading

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

2006-01-18 Thread Brian E. Fox
I typically download the code, modify the pom to include my own internal remote repository in the distributionManagement section, and install/deploy as needed. Then I will typically check this modified code & pom into my own svn repository in case I need to modify again. When you have the code alre

Re: [m2] Mojo field injection problem extending abstract Mojo classes from another plugin/jar

2006-01-18 Thread Sasvata Chatterjee
No, I hadn't, created the dir structure manually. This was the third Mojo project I was working with, the previous ones worked fine. But, I am taking yours and Rinku's advice, will create a very simple Mojo using a mojo-archetype, and provide an example of the problem (assuming it still shows the

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

2006-01-18 Thread raghurajan . x . gurunathan
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 Appreciate your help in this Thanks, Raghurajan G "Brian E. Fox" <[EMAIL PROTECTED]> 01/18/2006 03:15 PM Please respond to "Maven Users List" T

Re: Worst documentation in the whole apache projects

2006-01-18 Thread Arnaud HERITIER
You can also use maven 1 and you'll find a lot of documentation in the web. There's also : - a book written by Vincent Massol & Tim O'Brien *Maven*: A *Developer's Notebook* - an article :http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html A book for maven 2 will be available in some we

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

2006-01-18 Thread Brian E. Fox
-DgroupId="org.code aus.mojo" Missing the h in codehaus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 4:06 PM To: Maven Users List Cc: Maven Users List Subject: RE: M-2.0.2 - Error in downloading build-helper-maven-plugin Brain,

RE: Another CLASSPATH question

2006-01-18 Thread Dixit, Sandeep (ProSource Solutions)
There are about 50 jars in WAS. Do I need to install each one of them - one at a time - in my local directory? Is there a tool that can do this or why can't we have systemPath dependency accept a directory? Thanks, Sandeep -Original Message- From: Lee Meador [mailto:[EMAIL PROTECTED] Sen

Re: M2 - add custom classpath to plugin compiler:compile

2006-01-18 Thread Stephen Duncan
Yeah, pretty much. Each jar you need that is not in ibibilio should be added to your shared repository. You use deploy:deploy-file. Some details are in this discussion: http://www.nabble.com/-ANN-Maven-Install-and-Deploy-Plugins-%28v2.1%29-released-t900023.html#a2352563 To the list as a whole:

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

2006-01-18 Thread raghurajan . x . gurunathan
Brain, what i do i need to do after downloading this, i tried to do 3rd party jar install as described in http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html C:\Raghu\downloads>mvn install:install -Dfile="build-helper-maven-plugin-1.0-20060106.071921-1.jar" -DgroupId="or

Re: Executing a task before Clean

2006-01-18 Thread dan tran
i meant in the components.xml, have not figured out yet, since i think clean has its own lifecycle -Dan On 1/18/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > It should be using the normal technique from the build lifecycle > introduction, but using the different IDs. > > - Brett > > On 1/18/0

Re: Worst documentation in the whole apache projects

2006-01-18 Thread Carlos Sanchez
You can choose: - using it with the documentation it has - create your own system and document it to the extent you want just good luck if you choose second option ;) On 1/18/06, Nanamura, Roberto <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any way to improve all the documentation for the Maven

RE: [m2] Mojo field injection problem extending abstract Mojo classes from another plugin/jar

2006-01-18 Thread Christopher Cobb
Did you use the mojo archetype to create your mojo project? mvn archetype:create \ -DgroupId=$topLevelPackage \ -DpackageName=$topLevelPackage \ -DartifactId=$dirName \ -DarchetypeArtifactId=maven-archetype-mojo > -Original Message- > From: Sasvata Chatterjee [mailto:[EMA

Re: Worst documentation in the whole apache projects

2006-01-18 Thread Kathryn Huxtable
I have similar issues, but I still think it's useful enough to go ahead. But then, I'm not doing J2EE, just Hibernate/Tomcat apps. -K On 1/18/06 1:52 PM, "Nanamura, Roberto" <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any way to improve all the documentation for the Maven. > > I will not us

[M2] Ant task

2006-01-18 Thread Lee Meador
Is there some reason I can't use the task in ant when invoked from within Maven2? Here is my POM.xml maven-antrun-plugin generate-sources

Re: Another CLASSPATH question

2006-01-18 Thread Lee Meador
You can load the websphere jars into your local repository. The way to do that is here: http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html There is also the issue of getting a pom.xml to accompany it. Perhaps someone else will clarify or you can search the email archives her

RE: Worst documentation in the whole apache projects

2006-01-18 Thread Mike Perham
Yes. Go here http://jira.codehaus.org/browse/MNG and look through the components that start with "documentation". Pick something that interests you, write the docs for it and attach your documentation to the issue. We'll get it into the next version. An open source project is only as good as it

RE: M2 - add custom classpath to plugin compiler:compile

2006-01-18 Thread Dixit, Sandeep (ProSource Solutions)
How can I setup a shared repository? Do I have to install each and every jar manually in it? Thanks, Sandeep -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 3:19 PM To: Dixit, Sandeep (ProSource Solutions) Subject: Re: M2 - add custom c

RE: Another CLASSPATH question

2006-01-18 Thread Dixit, Sandeep (ProSource Solutions)
I am still struggling with this. Any pointers would be highly appreciated... Thanks, Sandeep -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 12:57 PM To: Maven Users List Subject: Another CLASSPATH question My Mav

Worst documentation in the whole apache projects

2006-01-18 Thread Nanamura, Roberto
Hi, Is there any way to improve all the documentation for the Maven. I will not use Maven anymore since there are a bunch of thing missing from the documentation (and a lot of things do not work like the J2EE archetype which is nowhere to be find and I am not the only one to complain about it).

Information on customizing a Maven project

2006-01-18 Thread Osborne, Matthew
Hello After much headbanging, I think I've figured out a solution to some issues I've had in converting an Ant build process to Maven. That solution is customizing Maven builds using *.properties files. However, the documentation I was able to find on this on the maven website was lacking a l

Re: [m2] Mojo field injection problem extending abstract Mojo classes from another plugin/jar

2006-01-18 Thread Rinku
Hi Sasvata, Can you paste: a) relevant POM section b) relevant Mojo code on http://www.rafb.net/paste/ , and send links on the mailing list and someone can have a look at it. Your best bet would be to use Composition but that would depend if a Mojo exposes getters/setters. Cheers, Rahul ---

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

2006-01-18 Thread Brian E. Fox
Curious. It found the pom but not the jar. But if you go there manually, the jar is able to be downloaded: http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/build-helpe r-maven-plugin/1.0-SNAPSHOT/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wedn

Re: [m2] Mojo field injection problem extending abstract Mojo classes from another plugin/jar

2006-01-18 Thread Sasvata Chatterjee
Could someone familiar with the plugin architecture please take a look at this and help me out? I am kind'a stuck, in the sense that I have to copy all the Mojo-s from the plugins I want to reuse to get it to work. I don't think that is the corret way, so either I am doing something wrong, or, so

Re: Executing a task before Clean

2006-01-18 Thread Brett Porter
It should be using the normal technique from the build lifecycle introduction, but using the different IDs. - Brett On 1/18/06, dan tran <[EMAIL PROTECTED]> wrote: > How do I bind my mojo to one of those clean phases in my own lifecyle > extension? > > An example is super. > > Thanks > > > On 1/1

Re: Executing a task before Clean

2006-01-18 Thread dan tran
How do I bind my mojo to one of those clean phases in my own lifecyle extension? An example is super. Thanks On 1/18/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > pre-clean > clean > post-clean > > On 1/18/06, Chris Berry <[EMAIL PROTECTED]> wrote: > > Hi Paul, > > You can, you will have atta

RE: Getting the maven pluggins from a local remote repository (Maven 2.0.2)

2006-01-18 Thread Mike Perham
We set up a local mirror of central in our settings.xml. See the guides for more details. -Original Message- From: LaCasse, John [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 12:40 PM To: users@maven.apache.org Subject: Getting the maven pluggins from a local remote reposit

Getting the maven pluggins from a local remote repository (Maven 2.0.2)

2006-01-18 Thread LaCasse, John
Hi, I've set up a remote repository locally in which I've located all the maven plug-ins and modified my pom to point to it. When I run Maven however it still try's to go to ibiblio to get it's own plug-ins. It does use the local remote repository for all other dependency jars however. I need t

Re: Executing a task before Clean

2006-01-18 Thread Brett Porter
pre-clean clean post-clean On 1/18/06, Chris Berry <[EMAIL PROTECTED]> wrote: > Hi Paul, > You can, you will have attach the task early on in the build process -- say, > at the validate phase. Currently, all attached Plugins execute after teh > phase they refer to. > > I am uncertain what the actu

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

2006-01-18 Thread Brett Porter
No, this is as expected. user.dir is never changed. - Brett On 1/18/06, Joern Huxhorn <[EMAIL PROTECTED]> wrote: > Hi Joerg. > > > >> Hi Joern, > >> > >> Joern Huxhorn wrote: > >> > >> [snip] > >> > >>> Is this a bug or a feature? I expected the current dir (user.dir) to > >>> change for every ex

Re: Executing a task before Clean

2006-01-18 Thread Chris Berry
Hi Paul, You can, you will have attach the task early on in the build process -- say, at the validate phase. Currently, all attached Plugins execute after teh phase they refer to. I am uncertain what the actual lifecycle (i.e. the phases) is for the Clean Plugin, maybe a M2 expert can tell us all?

Executing a task before Clean

2006-01-18 Thread Paul Hepworth
Hi Is it possible to run an Ant task using antrun before the clean task is executed?? I need to do this due to a limitation with Windows in that my directory structure is too deep and exceeds the maximum depth so the classes cannot be deleted. I need to run an ant task that will move the classe

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
I got it working finally, but dont understand how ... all i did was (in the ear projects pom) remove the reference to the parent pom project ... all jars i need are being included properly ... but i dont know the reason for this .. can someone explain? and also, how do i send the jars, wars etc. i

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

2006-01-18 Thread raghurajan . x . gurunathan
Hi Brain Thanks for your reply, i added the version as ;;; org.codehaus.mojo build-helper-maven-plugin 1.0-SNAPSHOT ;; i tried it after adding version, but it still throws erro

Another CLASSPATH question

2006-01-18 Thread Dixit, Sandeep (ProSource Solutions)
My Maven project has a WebSphere 6 runtime library dependency. How do I provide this path during the compile time (I mean mvn install)? Thanks, Sandeep --- ***National City made the following annotations -

How-to: Intra-Plugin communication

2006-01-18 Thread Michael Böckling
Hi, this is the last one for today, I hope. :-) I wonder, now that I have a List containing links to external Javadoc URLs, how to tell the Javadoc-Plugin about it. Javadoc has a "link" property that accepts an ArrayList of external links. Inside my custom plugin, I tried this: project.getPro

Re: 2.0.2 ant lib is missing ant classes

2006-01-18 Thread Tomislav Stojcevich
Once created it looks like you can't change the priority. Somebody from the maven team probably could. I would suggest voting for it in JIRA. I tried to rebuild the jar myself from the trunk and get the same results, no antlib.xml and no ant package. On 1/18/06, Rollo, Dan <[EMAIL PROTECTED]> w

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

2006-01-18 Thread Brian E. Fox
Set the tag. I think the latest is 1.0-SNAPSHOT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 12:10 PM To: Maven Users List Subject: M-2.0.2 - Error in downloading build-helper-maven-plugin Hi All, How do i download "build-helpe

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
and yes, the ear, war and jar projects have parent tags pointing to the pom project On 1/18/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Hi, > > Thank you. I couldn't find a single difference :( ... As for the super > pom, I have a pom project that has modules like this - > > pom > >

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

2006-01-18 Thread raghurajan . x . gurunathan
Hi All, How do i download "build-helper-maven-plugin" from http://snapshots.maven.codehaus.org/maven2/ I follwed instruction from http://mojo.codehaus.org/index.html 1. This is what i added into my pom.xml My-repo My Rep

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
Hi, Thank you. I couldn't find a single difference :( ... As for the super pom, I have a pom project that has modules like this - pom abc-bean abc-war abc-ear the bean and war projects dont have any dependencies on the ear, but ear has tags pointing to both. Can you guess wh

Re: [m1] svn and maven plugin trunk

2006-01-18 Thread Lukas Theussl
Hi, Most likely you are behind a proxy and the proxy isn't configured to allow REPORT requests. Solution: either re-configure your proxy, or use the https:// protocol, which will circumvent the proxy. -Lukas Anthony Kong wrote: Hi, all, When I tried to use svn to check out the latest plu

Re: 2.0.2 ant lib is missing ant classes

2006-01-18 Thread Rollo, Dan
Somehow I mangled the URL for the bug report. This is a very big problem, since as the report states, it's not only the antlib.xml file that is missing, but all the ant plugin classes...in short, there is no ant plugin in version 2.0.2. Ouch! http://jira.codehaus.org/browse/MNG-1970 Dan 2.0.2

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

2006-01-18 Thread Paul Hepworth
Hi I'm getting some strange behaviour when trying to compile and install my projects. Here's my situation... Parent POM with definitions for 2 sub-modules: - Module 1: Uses the antrun plugin to hook into the integration-test phase to compile our xml schema into XmlBeans jar using Weblogic

Re: Repository POMs: nobody knows?

2006-01-18 Thread Michael Böckling
Sorry, I didn't notice that my MavenProjectBuilder component wasn't properly inject. Anyway. thanks for the help! -- Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel P: +41 61 226 99 63 - F: +41 61 226 99 69 [EMAIL PROTECTED]; http://www.giniality.com/ --

Re: deploying 3rd party jars

2006-01-18 Thread Man-Chi Leung
for remote repository *check wagon-ssh-external-1.0-alpha-5.jar in your $MAVEN_HOME/lib *check your settling.xml *make sure u have this in setting.xml my-repository myname 664 775 1. $mvn deploy:deploy-file -U (to get deploy-plugin downloaded)

RE: Ear file doesnt contain war and jar

2006-01-18 Thread Dário Luís Coneglian Oliveros
Hi Karthik, I have an EAR project using M2 that does something similar, but it works for me though. All the artifacts as added into the final EAR. I can´t think of a reason why yours is not working, since it´s quite similar to mine. You may check if the super pom already define some of the depen

Web application lifecycle

2006-01-18 Thread Danilo Tuler
Hi, I have multi module setup, with 2 modules generating JAR's and the third is a web application, which depends on those JAR's. It's working fine, but I have problems with the building lifecycle. What should I run just to copy files from webapp to the destination directory, without restarting my

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
Hi Henry, Below is my ear projects pom ... I've *** ed the proprietary stuff ... I'm trying to include abc-bean.jar, abc-war.war and commons-collection.jar into the ear file (in the directory i need) ... Note that, I tried the section (now commented) but it didnt work ... 4.0.0 *** 1.0

Excluding JARs from EJB manifests

2006-01-18 Thread Brian Ashburn
Using maven2, I have the following in my pom.xml: maven-ejb-plugin org.apache.maven.plugins true

RE: pmd crashes

2006-01-18 Thread Mike Perham
Dan, these issues are usually one of two problems: 1) You did not configure the targetJdk parameter so PMD uses the wrong parser. 2) PMD parser bug. (2) would belong on the PMD mailing list, not here. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 1

RE: attainGoal,what is it?

2006-01-18 Thread Zheng Wen Zhe
Thanks Arnaud.Very helpful. Regards, Jason -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: 18 January 2006 15:54 To: Maven Users List Subject: Re: attainGoal,what is it? It's not really documented in maven : http://maven.apache.org/maven-1.x/tags.html#werkz:mave

RE: pmd plugin m2

2006-01-18 Thread Mike Perham
Dan, I think that's a valuable feature request and I had the same thought a few days ago. I would ask that you enter a new JIRA issue requesting a "pmd:check" goal just like we currently have a "clover:check" goal which fails the build if the unit tests are not robust enough. You can enter the sa

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

2006-01-18 Thread dan tran
all dependency files go to the same place ( ie .jar,.so,.dll) - local repository. If you decide to move it some where else, use dependency-maven-plugin -D On 1/17/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote: > > hello Napoleon, > i don't understand if using the dll/so packaging i'm declaring

Re: attainGoal,what is it?

2006-01-18 Thread Arnaud HERITIER
It's not really documented in maven : http://maven.apache.org/maven-1.x/tags.html#werkz:mavenAttainGoal This tag is used to call another goal. In your case, if you don't do anything else that to use several attainGoal you could do : Arnaud On 1/18/06, Zheng Wen Zhe <[EMAIL PROTECTED]> wrote: >

pmd crashes

2006-01-18 Thread dan tran
Folks my problem is PMD not the plugin, but I ask anyway here Here is the error: = [INFO] Error during report generation Embedded error: Failure executing PMD for: ..\ui\internal\launcher\configuration\PreferencePageHistory.java Encountered "abstract" at line 151, column 17. Was

Re: pmd plugin m2

2006-01-18 Thread Daniel Kulp
On Wednesday 18 January 2006 10:37, Mike Perham wrote: > Tony, pmd is a reporting plugin, not a build plugin. Which happens to be my #1 complaint about the PMD and Checkstyle plugins. We want the build to fail if there are ANY PMD or Checkstyle errors. The reporting should be meaningless a

RE: pmd plugin m2

2006-01-18 Thread Mike Perham
Tony, pmd is a reporting plugin, not a build plugin. It does not go in . -Original Message- From: tony nys [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 4:11 AM To: Maven Users List Subject: Re: pmd plugin m2 Allen, Sorry I didn't mention it but I had this already define

Re: M2: Having trouble with site

2006-01-18 Thread Alexandre Russel
Helck, Christopher a écrit : Yes, or at least I think so. With my browser I can go to http://jaws.bp.ebsdr.com/maven/ebs/poms/marketdata-1.0.7.pom (there is also a md5 file too). The file is clearly a maven1 pom. then you should maybe try to transform it to maven2 pom: http://maven.apache.or

Re: maven build from eclipse

2006-01-18 Thread softwarearchitekt
Thats the Mailinglist for the PlugIn: mailto:[EMAIL PROTECTED] It is poissible to start an goal about ExternalTool's. Fredy "Maven Users List" schrieb am 18.01.06 15:40:06: I tried the early release of mevenide for m2, and I think another plugin, but I don't think I've found what I'm really

attainGoal,what is it?

2006-01-18 Thread Zheng Wen Zhe
Hi, what does this attainGoal do within the code below? Is there any article I could refer to? Thanks, Jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

RE: M2: Having trouble with site

2006-01-18 Thread Helck, Christopher
Yes, or at least I think so. With my browser I can go to http://jaws.bp.ebsdr.com/maven/ebs/poms/marketdata-1.0.7.pom (there is also a md5 file too). The file is clearly a maven1 pom. In the naihboring jars directory is the actual jar file (also with a md5 file). -christopher helck -Origin

RE: provided - not transitive?

2006-01-18 Thread Boden, David
I've raised a Jira for this. http://jira.codehaus.org/browse/MNG-1978 Please feel free to vote and watch it if you have similar requirements. Thanks. -Original Message- From: Boden, David Sent: Tuesday, January 17, 2006 2:46 PM To: 'users@maven.apache.org' Subject: RE: provided - not t

Re: M2: Having trouble with site

2006-01-18 Thread Alexandre Russel
Helck, Christopher a écrit : I'm just converting over to m2. When I build the site I get a fatal error. My POM has an empty section. I am using a legacy internal repo as well as ibiblio. Can someone help? did you had a look at: ebs:marketdata:1.0.7 ? [INFO] **

M2: Having trouble with site

2006-01-18 Thread Helck, Christopher
I'm just converting over to m2. When I build the site I get a fatal error. My POM has an empty section. I am using a legacy internal repo as well as ibiblio. Can someone help? [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] Runtim

Re: Repository POMs: nobody knows?

2006-01-18 Thread Michael Böckling
Thank you for your answer! If it worked, it would be the perfect solution to my problem. Unfortunately, I get an NPE in "DefaultPluginManager", line 434: Thread.currentThread().setContextClassLoader( oldClassLoader ); The local var "oldClassLoader" isn't even set to null... Shall I file a Jira

Re: maven 2 plugins not working: jdepend/cobertura/xdoclet

2006-01-18 Thread Tim Morrow
I checked out the Cobertura plugin from codehaus, built it, installed it locally and used it to successfully generate a coverage report. TIm On 1/17/06, tony nys <[EMAIL PROTECTED]> wrote: > Has anyone sucessfully used maven2 with the jdepend or > cobertura plugins ? > > On the plugin matrix they

M2: Having trouble with legacy repository

2006-01-18 Thread Helck, Christopher
I'm using a legacy repository. When I run maven I see warnings like this: [WARNING] POM for 'ebs:marketdata:pom:1.0.7' is invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. The jar in question was built and deployed with maven1. How do I get rid of this error? Do I nee

Re: [m2] Disable transitive dependency / Globally exclude some artifact ?

2006-01-18 Thread Alessio Pace
done! :) On 1/18/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: > > Done: http://jira.codehaus.org/browse/MNG-1977 > Go vote for it! > > (I took the liberty to quote your posting, I could not express it more > accurately) > > Kees > >

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

2006-01-18 Thread Joern Huxhorn
Hi Joerg. Hi Joern, Joern Huxhorn wrote: [snip] Is this a bug or a feature? I expected the current dir (user.dir) to change for every executed sub-module build. Any ideas how I could solve this problem? Absolute filenames are not really an option (that's my current workaround and it's

RE: Adding new M2 project using file url

2006-01-18 Thread Mayorgaadame, Alex
Malcom, Try to uncomment this in continuum-1.0.X/apps/continuum/conf That should let you use file:// in Continuum. Regards, Alex -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 2:18 AM To: continuum-users@maven.apache.org Subject: Re:

Re: Regarding maven2.0

2006-01-18 Thread Alexandre Russel
krishna a écrit : Hi can i excludes some *.java files while compiling.please do mail me. http://maven.apache.org/plugins/maven-compiler-plugin/howto.html Thanking you. Regards, krishna. Mail Disclaimer: This e-mail and

maven build from eclipse

2006-01-18 Thread Kevin Galligan
I tried the early release of mevenide for m2, and I think another plugin, but I don't think I've found what I'm really looking for. I'd like a plugin that would allow you to run your maven build from inside eclipse. Anything like that out there? Also, when we're building webapps, there's an

deploying 3rd party jars

2006-01-18 Thread Jake Pezaro
i want to deploy a 3rd party jar (which is already in my local repository) to the remote repository that we have set up on one of our servers. what command should i use to do this? __ This email has been scanned by the MessageLab

Re: [m2] Disable transitive dependency / Globally exclude some artifact ?

2006-01-18 Thread Kees de Kooter
Done: http://jira.codehaus.org/browse/MNG-1977 Go vote for it! (I took the liberty to quote your posting, I could not express it more accurately) Kees - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: Keep my MANIFEST.MF and not use auto-generate ?

2006-01-18 Thread Olive
Hi When i generate my webapp (maven clean package), my manifest 's file is replace by maven How to stop generate manisfest... I put my file in src/resources/META-INF/MANIFEST.MF in target it's alright but in my war archive it is maven's manisfest.mf and not mine. Thanks for answers (

Regarding maven2.0

2006-01-18 Thread krishna
Hi can i excludes some *.java files while compiling.please do mail me. Thanking you. Regards, krishna. Mail Disclaimer: This e-mail and any files transmitted with it are confidential and the views expressed in the same are no

Continuum XML-RPC?

2006-01-18 Thread Mayorgaadame, Alex
Where can I found documentation about this functionality? What would be a general view of the model that I should follow to programmatically add/remove/monitor projects in Continuum? Thanks, Alex Mayorga Adame

Keep my MANIFEST.MF and not use auto-generate ?

2006-01-18 Thread Olive
Hi When i generate my webapp (maven clean package), my manifest 's file is replace by maven How to stop generate manisfest... I put my file in src/resources/META-INF/MANIFEST.MF in target it's alright but in my war archive it is maven's manisfest.mf and not mine. Thanks for answers (

  1   2   >