Re: Continuum sends a online report link with localhost

2006-03-07 Thread dan tran
use the web app to reconfigure your configuration ;-) On 3/7/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > In the build report email. It has a link with localhost, how can I > configure > it to have actual hostname > > Online report : > > http://localhost:8080/continuum/servlet/

Continuum sends a online report link with localhost

2006-03-07 Thread Gautham Pamu
Hi everyone, In the build report email. It has a link with localhost, how can I configure it to have actual hostname Online report : http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/8/buildId/12 -- -Gautham Pamu

Re: "Tagging" a deployed artifact based on profile used to create it

2006-03-07 Thread Lester Ecarma
Hi, Why don't you try something like 4.0.0 your.group yourArtifactId 1.0${pversion} war ... test -test In which case, the version created by the build will depend on which profile you're executing it with. Thus, if you build your app with

Sun Blueprint Petstore Application converted to Maven project

2006-03-07 Thread Manisha Sur
Hi Vincent, I started with the java petstore application to convert in in Maven project. Was inspired from the article written by you on onJava.com. Refering to the mobilefish.com site , i deployed the actual petstore application in jboss. So far so good. The actual petstore.ear containes the cust

ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'javax.jdo.JDODataStoreException

2006-03-07 Thread Gautham Pamu
Hi Everyone, I am seeing this problem with my build, when does it throw this exception. Is it problem happenig due to long paths or did anyone run into this problem. Is this configure error or is this a known error/bug. Online report : http://localhost:8080/continuum/servlet/continuum/target/P

Problem creating an archetype

2006-03-07 Thread Kathryn Huxtable
I'm creating an archetype for my team to use in creating new projects. I want to include a sample jsp file with jstl tags. The archetype creates just fine, but when I do a "mvn archetype:create" command it blows up on the ${empty bean.property} Is there some way to escape the dollar sign in t

Re: Problem with downloading files created with maven deploy:deploy-file CHECKSUM FAILED

2006-03-07 Thread Carlos Sanchez
Please create an issue at http://jira.codehaus.org/browse/MDEPLOY if it's not already there, with as much information as you can (eg. attach files and checksum) On 3/7/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > Already posted this question, posting it again with different subje

Problem with downloading files created with maven deploy:deploy-file CHECKSUM FAILED

2006-03-07 Thread Gautham Pamu
Hi Everyone, Already posted this question, posting it again with different subject line.. I have the files on my remote repository and was also able to access the jar files, pom files using the browser but i am getting following check sum failed error. I have using maven deploy:deploy-file to cre

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Steven Coco
I wonder if I can bend your ear for another simple question about JavaDoc: I can't figure out how to specify the file. I have: src/main/java/overview.html for an overview file. In the JavaDoc plugin configuration, no matter what I try, I can't get anything inside the element to resolve to

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Gautham Pamu
Hi Max, The tried the module alias feature in CVS but that does not meet my current requirements as I also want pom.xml file at the toplevel which is not allowed in CVS. Thanks Gautham Pamu On 3/7/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > The CVS modules facility supports features similar to

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Wendy Smoak
On 3/7/06, Subhash Chandran <[EMAIL PROTECTED]> wrote: > The doclet "gr.spinellis.umlgraph.doclet.UmlGraph" is not > working for me... should I add any snapshot repository details in my pom? There is more info about UMLGraph and m2 here: * http://wiki.wsmoak.net/cgi-bin/wiki.pl?UMLGraph (AFAIK,

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Subhash Chandran
The doclet "gr.spinellis.umlgraph.doclet.UmlGraph" is not working for me... should I add any snapshot repository details in my pom? -- Regards, Subhash Chandran S Cross platform OpenSource Java based file encryption software: http://www.WizTools.org/project/WizCrypt/ > On 3/7/06, Wendy Smoak <[

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Stephen Duncan
Very cool! I didn't know about that, thanks! On 3/7/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 3/7/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > > Ok, I went ahead and made a Wiki Page for reporting plugins: > > http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins > > > > For now

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Wendy Smoak
On 3/7/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > Ok, I went ahead and made a Wiki Page for reporting plugins: > http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins > > For now I just added the ones I use. Thanks. :) I added a more complex example of using configure more than one

RE: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Jeff Jensen
Thanks Brett. Reopened http://jira.codehaus.org/browse/MNG-1479. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 12:23 PM To: Maven Users List Subject: Re: Maven documentation (was Re: how to include all dependencies in your jar) Thanks. I

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Stephen Duncan
Ok, I went ahead and made a Wiki Page for reporting plugins: http://docs.codehaus.org/display/MAVENUSER/Reporting+Plugins For now I just added the ones I use. -Stephen On 3/7/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > Well, it is in the Getting Started guide under "Configuring Reports: > ht

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Stephen Duncan
Well, it is in the Getting Started guide under "Configuring Reports: http://maven.apache.org/guides/getting-started/index.html##How do I create documentation? The only other useful info I could imagine is a list of available report-generating plugins, but I'm not sure a Mini-Guide is the appropria

Re: EJB Client jar creation

2006-03-07 Thread Alexandre Poitras
I don't know if it is going to be of any use, but if you want to declare your ejb as a dependency in another project, specify a "ejb-client" type value and it will work fine. On 3/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi All, > > When i used ejb plugin to create my client jar its cr

EJB Client jar creation

2006-03-07 Thread raghurajan . x . gurunathan
Hi All, When i used ejb plugin to create my client jar its created with all the files from ejb.jar but, i don't want in this way, is there some configuration i could use so my client jar will have only client class files This is what i have in my ejbplugin org.apach

Re: Help a newbie maven user

2006-03-07 Thread Alexandre Poitras
Easier, just put run as an external tool and check the option "refresh workspace afterward". On 3/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I knew there must be an easier way! > > Thanks Stephen > > It's better to be hated for who you are > than loved for who you are not > > Ian D. Stew

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Wayne Fay
Fair enough. It sounds like a somewhat complicated system/requirement to me, when we all generally agree that "dumping the jars in root" does work, while it may not be pretty or ideal. Probably the functionality you are looking for simply does not exist yet in the Maven ejb/jar plugin. I have an

Problem checkout cvs moduleAlias with continuum

2006-03-07 Thread Gautham Pamu
Hi Everyone, I have a problem checkout project from our CVS tree with module alias. I have a following CVS tree under the CVSROOT. Module1 ... pom.xml submoduleA1 -pom.xml submoduleA2 -pom.xml Module2 ... pom.xml submoduleB1 -pom.xml sub

Re: Help a newbie maven user

2006-03-07 Thread ian . d . stewart
I knew there must be an easier way! Thanks Stephen It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Brad O'Hearne
Wayne, I don't feel his response was out of line. It was not apparent that you had already done some of your own homework in the initial email. You asked a question which, as far as Vincent is concerned, has already been answered by existing documentation. Since you said nothing about having pr

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Wayne Fay
For now, add it as a MiniGuide, call it MiniGuide-Reporting or something... I'm actually working on a few MiniGuides the last couple of days, based on conversations here in user@ and some on dev@ and will upload them at some point. http://docs.codehaus.org/display/MAVENUSER/Mini+Guides Sign up fo

Re: Help a newbie maven user

2006-03-07 Thread Stephen Duncan
On 3/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > You had better watch out, Wayne. You keep posting useful information like > this, the Maven Developers will draft you as a technical writer :) > > Based on my (admittedly limited) experience with Eclipse and the Sources > Bundles, this is a

Re: Help a newbie maven user

2006-03-07 Thread ian . d . stewart
You had better watch out, Wayne. You keep posting useful information like this, the Maven Developers will draft you as a technical writer :) Based on my (admittedly limited) experience with Eclipse and the Sources Bundles, this is a pretty accurate description of how things work, with two caveats

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Stephen Duncan
On 3/7/06, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote: > On Tue, 2006-03-07 at 17:25 -0500, Stephen Duncan wrote: > > To include javadocs, jxr, and surefire (testing) reports to your site, > > as examples, add the following to your POM: > > > > > > > >

Re: [m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Wayne Fay
Excellent. Now let's see about getting that documented somewhere. ;-) Wayne On 3/7/06, Adrian Herscu <[EMAIL PROTECTED]> wrote: > SOLVED > --- > The dependencies list for the task in ant-1.6.5 is: > ant-node-ps-1.6.5 -- supplies the optional task classes > xercesImpl-2.7.1 -- provides

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Oleg Kalnichevski
On Tue, 2006-03-07 at 17:25 -0500, Stephen Duncan wrote: > To include javadocs, jxr, and surefire (testing) reports to your site, > as examples, add the following to your POM: > > > > > org.apache.maven.plugins >

Re: [m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Adrian Herscu
SOLVED --- The dependencies list for the task in ant-1.6.5 is: ant-node-ps-1.6.5 -- supplies the optional task classes xercesImpl-2.7.1 -- provides XML schema validation service xml-apis-1.3.02-- supplies the SAX 2.0.2 Extensions required by xercesImpl-2.7.1 Adrian Herscu wrote: > Y

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Stephen Duncan
To include javadocs, jxr, and surefire (testing) reports to your site, as examples, add the following to your POM: org.apache.maven.plugins maven-javadoc-plugin

Re: Source Dependencies

2006-03-07 Thread Stephen Duncan
Generally, source jars are only downloaded by the Eclipse plugin (or probably other IDE plugins), not during a normal build. According to this: http://jira.codehaus.org/browse/MECLIPSE-33 javadoc jars are downloaded if the source jar is not available. Haven't noticed/tested this myself though. I

Re: Help a newbie maven user

2006-03-07 Thread Wayne Fay
I don't use Eclipse + Maven so I'm not positive this will work, but there is a standard way to include sources and javadocs in Maven bundles. See this page: http://maven.apache.org/guides/mini/guide-ibiblio-upload.html Basically you need to copy the binary jar into your local repository using the

[m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Oleg Kalnichevski
Folks, I am currently in the process of migrating Jakarta HttpComponents project (formerly known as Commons HttpClient) from Maven1 to Maven2. I got the most of the fundamental stuff already in place. However, I am having difficulties with some of the reports that used to be quite easy with Maven1

Re: Source Dependencies

2006-03-07 Thread Wayne Fay
First off, I'm not a developer, just a mildly knowledgeable user like yourself. I only know about the source, javadoc, binary thing because I have spent some time recently uploading projects into the Maven repo, and Carlos has been kind enough to help me understand that process, including asking m

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Max Cooper
The CVS modules facility supports features similar to symbolic links: http://cvsbook.red-bean.com/cvsbook.html#The%20modules%20File -Max On Tue, 2006-03-07 at 14:51 -0600, Gautham Pamu wrote: > I knew about symbolic links on linux/unixs but the server is managed by a > different team and we don'

RE: ejb3 plugin

2006-03-07 Thread Nidhi Tuli
Changing the version on maven archiver in pom.xml made install to work. I changed the version to point to 2.01. version in my local copy. /Nidhi -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 11:53 AM To: Maven Users List Subject: Re: ejb3 pl

Re: Source Dependencies

2006-03-07 Thread ian . d . stewart
Hi Wayne, First off, thanks for the quick (and informative) response. Also, please extend my thanks to the author(s) of guide-ibiblio-upload.html. We users (including myself in this group) tend to be quick to request new features and functionality, not so much so when it comes to expressing our

Re: [m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Adrian Herscu
Yes, you guessed right, I am (still) using the JDK 1.4. I am afraid that upgrading to the new JDK will cause me other dependencies headaches. Found in the ANT forum that the xml-apis.jar, which belong to Xerces 2.7.1, was uploaded to ibiblio as xml-apis-1.3.02.jar. (spent four hours to find that -

RE: ejb3 plugin

2006-03-07 Thread Nidhi Tuli
Hi Tim, Thanks a lot for help. This is exactly I need. I was also getting the same ejb-jar.xml error when I was trying to use Ejb plugin. you have already explained that. So now I am using ejb3 plugin. But when I try to install the par plugin. It complains. I am getting the following error. I a

Re: Source Dependencies

2006-03-07 Thread Wayne Fay
Hi Ian, > 1) Is this expected behaviour for either Maven2 or the Eclipse plugin? If > so, is this documented somewhere (no, www.google.com doesn't count)? I don't use M2 with Eclipse, so I can't answer this specifically. > 2) Is there a "sources" repository that I can add to my pom.xml and/or >

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Gautham Pamu
I knew about symbolic links on linux/unixs but the server is managed by a different team and we don't have permissions to create those links.. I was able to create them on my local system and it works. I doubt the admin team will create these links for us. Thanks a lot for responing to my questi

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread ian . d . stewart
FWIW, SysInternals' Junction utility allows you to create symbolic links on Windows: http://www.sysinternals.com/Utilities/Junction.html Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Tech

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Brad O'Hearne
Vincent, Your attitude is counterproductive. Its a real shame that when a developer weighs in, that they put their efforts into slinging mud and turning things personal, rather than hashing through an issue. Vincent Massol wrote: - then mention it in your question if you don't want a RTFM a

Source Dependencies

2006-03-07 Thread ian . d . stewart
Dear List, I recently encountered an unexpected behaviour in the Eclipse plug-in for M2. I was running a JUnit TestCase in debug mode, and when I got to one of the org.hibernate.* classes, I got the "Source Not Found" screen. So far so good. When I clicked the "Attach Source..." button and sele

Re: [m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Wayne Fay
Probably no one has missed this because this is included in JDK5. You are running jdk1.3 or 1.4, I'm guessing? You could probably find this in Saxon 6.5.3 (haven't checked!) or a similar library. Find a library in ibiblio which implements it, add the library as a dependency and see if it works? ;-

Re: [M2] Passing properties to ant script

2006-03-07 Thread Wayne Fay
Not sure about basedir or project.version, but some classpath properties are defined here: http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Have you tried perhaps maven.project.version? I think that's one. Not sure about basedir. If you find a list somewhere else, please post i

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Mang Jun Lau
You can execute: ln -s path-to-actual-CVS-module This will create a symbolic link in a UNIX system. You're out of luck if your CVS is on Windows. In your cvsroot, create a new directory (i.e. module) and place your parent POM in there. Then symlink all of your modules in that directory. Whe

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brett Porter
On 3/8/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I've contributed a new plugin, and mods to two existing plugins, and I see your patches were applied, apart from the new Mojo for JBoss WSR files. It's hard for us to take that on when we don't use it ourselves and there isn't a lot of interest

Re: [M2] Passing properties to ant script

2006-03-07 Thread Roland Bali
This I don't know. I'd also like some kind of reference with these properties. Maybe you should start at new thread on this. /Roland On 3/7/06, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote: > Thanks, I have another question though. Where can I find a list of > properties which are predefined in

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Wayne Fay
He probably means symbolic link as in "on unix or linux, ln -s dir1 dir2". Not symbolic links in CVS itself. At least, I don't know of any symbolic links in CVS! If you're not working on an operating system that supports symbolic links, this will be a difficult option to employ. Perhaps you can us

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Emmanuel Venisse
symbolic links are only on unix/linux. cvs_root CVSROOT your_module1 your_module2 cd cvs_root mkdir your_new_module<== add here your pom.xml ln -s ../your_module1 your_module1 ln -s ../your_module2 your_module2 You have now a new CVS module in cvs that contains a pom.xml and sub_modul

Maven2 dependencies question

2006-03-07 Thread Marco Mistroni
Hello all, i hav enoticed that in maven2 is possible to specify dependencies this way jboss ejb3-persistence 4.0.3 system ${basedir}\lib\ejb3-persistence.jar Not sure if it is possible, but what if i have plenty of jars in the same directory and i need

Re: ejb3 plugin

2006-03-07 Thread Wayne Fay
Thanks a lot for all that info/documentation Marco. Way more than I expected, even if it is "only" for Maven1. ;-) Wayne On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hello > One more thing > > Please NOTE that i have generated myself the persistence.xml file int he > META-INF director

RE: [M2] Passing properties to ant script

2006-03-07 Thread Siegmann Daniel, NY
Thanks, I have another question though. Where can I find a list of properties which are predefined in Maven 2 (such as basedir or project.version)? I looked around on the Maven website but didn't see anything. ~Daniel > -Original Message- > From: Roland Bali [mailto:[EMAIL PROTECTED] > S

Re: ejb3 plugin

2006-03-07 Thread Tim Kettler
Tim Kettler schrieb: Hi Nidhi, you can checkout the maven-ejb3-plugin vie svn from the maven sandbox at: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-ejb3-plugin you then probably also want the maven-par-plugin from: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-p

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Wayne Fay
I don't feel his response was out of line. It was not apparent that you had already done some of your own homework in the initial email. You asked a question which, as far as Vincent is concerned, has already been answered by existing documentation. Since you said nothing about having previously r

[m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Adrian Herscu
Hi all, Anyone tried to use ANT xmlvalidate task from Maven? It seems that maven-script-ant 2.0.2 depends on ant 1.6.5 which depends on xercesImpl 2.7.1 (tried the 2.6.2 and does not work) which depends on SAX 2.0.2 Extensions (which contains the org/xml/sax/ext/Attributes2 class). Adrian. P.S.

Re: ejb3 plugin

2006-03-07 Thread Tim Kettler
Hi Nidhi, you can checkout the maven-ejb3-plugin vie svn from the maven sandbox at: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-ejb3-plugin you then probably also want the maven-par-plugin from: http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-par-plugin Once you ha

Re: ejb3 plugin

2006-03-07 Thread Marco Mistroni
Hello One more thing Please NOTE that i have generated myself the persistence.xml file int he META-INF directory.. not sure if you were expecting maven to do that and, just to clarify, file i sent you works wtih Maven 1.1 regards marco On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: >

RE: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Vincent Massol
> -Original Message- > From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Sent: mardi 7 mars 2006 19:48 > To: Maven Users List > Subject: Re: Specifying the location for maven to put depedencies inside > an ear > > Vincent, > > Thanks for joining the ranks of another RTFM-er, and using you

Re: ejb3 plugin

2006-03-07 Thread Marco Mistroni
Hello, yes sorry for that.. this is a maven 1.1 version though directory structure is as follows ejbs |___ META-INF |___ src |java | com * maven.xml this is part of the project.xml t

Re: ejb3 plugin

2006-03-07 Thread Wayne Fay
It would probably be helpful for Nidhi if you could post some samples from your pom.xml and other associated files (you mentioned persistence.xml and a .par file). Just saying "I've done this" doesn't really help anyone. Wayne On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > hello, > i h

Re: Jar with depenencies or Executable jar - summary

2006-03-07 Thread Brett Porter
Used in this way, the assembly plugin is like the m1 javaapp plugin. There is no equivalent of uberjar in m2 (because it really didn't work very well). jarjar and minijar (also in the mojo sandbox), do similar things to the assembly plugin but also cull out unused classes and rewrite the packages s

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brett Porter
On 3/8/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > If requesting documentation commensurate with current maven feature, in > tandem with compliments for the maven code itself, is considered "an > attack on our work" then I give up. That wasn't my intent with that point, sorry. > I think the re

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brad O'Hearne
Brett Porter wrote: discussing whether it's as bad as you say, really. It's hard not to get drawn into that because it does feel like an attack on our work, If requesting documentation commensurate with current maven feature, in tandem with compliments for the maven code itself, is considere

Re: ejb3 plugin

2006-03-07 Thread Marco Mistroni
hello, i have use dejb3 with maven1.1,, all you need is to deploy your enties in a .par file and write include the persistence.xml file... HTH marco On 3/7/06, Nidhi Tuli <[EMAIL PROTECTED]> wrote: > > Hi, > > I just started working on Maven 2 and trying to build my EJB3 project > using maven

Re: Maven2 tests

2006-03-07 Thread Marco Mistroni
Hello, ... i saw it on a post in some mailing lists on google, while doing a search on surefire plugins thanks for advices regards marco On 3/7/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Docs are wrong. > > Test files go in: > src/test/java > > Where did you see this "test/java" directory r

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Brad O'Hearne
Vincent, Thanks for joining the ranks of another RTFM-er, and using your opportunity to respond and provide help as a means to try to point out to all another non-doc-reading criminal. I asked my question after reading this doc. There was a reason I asked this -- because it wasn't necessaril

Re: [M2] Passing properties to ant script

2006-03-07 Thread Roland Bali
Hi Daniel, This is a example from a POM of mine: It creates the variable project.version inside the Ant script. This parameter should be available to the Ant script but isn't because of a bug (if I'm not mistaken). Anyway this setup works for me. /Roland On 3/7/06, Siegmann Daniel, NY <[EMA

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brett Porter
Thanks. I think someone took a pass at this recently, but it could definitely use some more (and probably an improved presentation). Can you articulate that in a JIRA entry? (I prefer folks that suggest things file their own so they get to see it followed through to completion and take a little cr

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brett Porter
On 3/8/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I know you are speaking tongue in cheek, but on the serious side, if > there is any serious belief that an absence of documentation is a good > encouragement to become a developer -- it isn't. It will relgate and > thin the user base to those wh

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Gautham Pamu
Thanks for responding to my email. I am more inclined to the second option.. Can you tell me how to create these symbollic links, what command should I use to acheive this or Are there any cvs commands to create links... - Keep the structure and create a new module that contains a parent POM

RE: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Vincent Massol
> -Original Message- > From: Brad O'Hearne [mailto:[EMAIL PROTECTED] > Sent: mardi 7 mars 2006 18:52 > To: Maven Users List > Subject: Specifying the location for maven to put depedencies inside an > ear > > Using the maven ear plugin, I would like to specify where maven places > depende

Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Brad O'Hearne
Using the maven ear plugin, I would like to specify where maven places dependencies (jars) inside my ear file. In other words, rather than having my jars (not ejb jars, mind you, but dependency jars) placed at the root, I'd like them placed into: ./common/ so that all the depedencies reside t

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brett Porter
On 3/8/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: > I've submitted two things in regard to this: > 1. a patch to put at least the correct prefix in the SCM reports > 2. an issue for maven-project-info-reports (MPIR-33 > http://jira.codehaus.org/browse/MPIR-33) dealing with the automatic >

ejb3 plugin

2006-03-07 Thread Nidhi Tuli
Hi, I just started working on Maven 2 and trying to build my EJB3 project using maven2. Any ideas what plug-in should I use? In one of the articles I am advised to do ejb3 on the jar file which I created. The package for that is suggested to be "maven-ejb3-plugin" with groupId of goal bindings "or

[M2] Passing properties to ant script

2006-03-07 Thread Siegmann Daniel, NY
I am converting a large and complex project from Ant to Maven2. I am reusing part of the existing ant script to build a Jar file for deployment on a WebSphere Application Server. The existing Ant script has many properties defined which describe the structure of the project, but many of these are r

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brian K. Wallace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brett Porter wrote: > On 3/7/06, Brian K. Wallace <[EMAIL PROTECTED]> wrote: >> Well... I was going to be all smart and what not - actually give you the >> source file it's in... but alas - I can't find it. (?) >> >> http://maven.apache.org/source-repo

Re: SV: multi module projects

2006-03-07 Thread Christian Mouttet
Jakob, that's very tricky but it doesn't make it much easier. Using this method every child module must set its own version number (pom.xml: project/version) instead of project/parent/version. It's about as broad as it's long. ;-) -chris Am Dienstag, 7. März 2006 15:55 schrieb Jakob Vad Niels

Re: [m2] native plugin conventions?

2006-03-07 Thread dan tran
Sorry bad name, it is "uexe" will fix the doc. -D On 3/7/06, Xavier Toth <[EMAIL PROTECTED]> wrote: > > Thanks. > > Now when I try and build I'm getting the follwing error related to my use > of the 'uxe' in packaging. I'm trying to build a Unix executable is this the > correct package type?

Help a newbie maven user

2006-03-07 Thread Chris Long
Hi, I've used other build tools (mostly make and ant, with a smattering of autoconf and imake), but I'd like to move to Maven. However, I'm having a lot of trouble getting started. I'm starting a new project that depends on another local project (of which I'm also a developer), and I want my

Re: [m2] native plugin conventions?

2006-03-07 Thread Xavier Toth
Thanks. Now when I try and build I'm getting the follwing error related to my use of the 'uxe' in packaging. I'm trying to build a Unix executable is this the correct package type? [ERROR] BUILD ERROR [INFO] [INFO] Canno

Re: [m2] native plugin conventions?

2006-03-07 Thread dan tran
If you have very simple native build ( single module), use java convention place all your source in src/main/native if you have complex build which supports multiple platforms, it is best to place source under parent directory to provide uniform header and source access from all sub modules check

Re: maven-archetype-webapp sources ?

2006-03-07 Thread vincent daubry
That was fast ! Thanks a lot :) Piéroni Raphaël <[EMAIL PROTECTED]> a écrit : There : http://svn.apache.org/viewcvs.cgi/maven/archetype/trunk/maven-archetypes/ 2006/3/7, vincent daubry : > > Hi ! > > Sorry, this a newbie question.. I'm looking for the source code of > the maven-archetype-we

Re: maven-archetype-webapp sources ?

2006-03-07 Thread Piéroni Raphaël
There : http://svn.apache.org/viewcvs.cgi/maven/archetype/trunk/maven-archetypes/ 2006/3/7, vincent daubry <[EMAIL PROTECTED]>: > > Hi ! > > Sorry, this a newbie question.. I'm looking for the source code of > the maven-archetype-webapp archetype used in the example given in the > maven guide,

Re: Maven2 tests

2006-03-07 Thread Piéroni Raphaël
Hi Marco, You have too approach the formal one and the customised one. In the formal approach, you will move your tests in the default directory In the customised approach, you will set the testSourceDirectory element of build to the path of your tests. see [1] ... ... test/java ..

Re: Maven2 tests

2006-03-07 Thread Wayne Fay
Docs are wrong. Test files go in: src/test/java Where did you see this "test/java" directory reference? It needs to be changed. Wayne On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hi all, > i m trying ot use Maven2 in my project,. > > structure of my dir is > > > |__src >

maven-archetype-webapp sources ?

2006-03-07 Thread vincent daubry
Hi ! Sorry, this a newbie question.. I'm looking for the source code of the maven-archetype-webapp archetype used in the example given in the maven guide, i've looked on : http://www.ibiblio.org/maven2/org/apache/maven/archetypes/maven-archetype-webapp/ but i cant find the archetype.x

Maven2 tests

2006-03-07 Thread Marco Mistroni
Hi all, i m trying ot use Maven2 in my project,. structure of my dir is |__src |main |___ java |___ resources |___ test |__ java i m trying to run some junit tests. according to docs ihave read (about maven direc

Re: Jar with depenencies or Executable jar - summary

2006-03-07 Thread Geoffrey De Smet
I use the assembly plugin like this: maven-assembly-plugin jar-with-dependencies ggg.MainApp

RE: M202: Multi-module builds and Maven plugins

2006-03-07 Thread John Wells
We know a little more about this problem now. *If* the first thing that builds in the multi-project build is of the osgi-bundle *type*, then things seem to work OK. If instead, the first thing that is built from the top level is something else (say, a normal JAR file) then things do *not* work, a

Re: [m202] mvn site:site with many modules does not tie docs together...???

2006-03-07 Thread François-Xavier Busch
Ok, the snapshot site plugin works for me. But I stil can't use the site:stage goal ! Here is the output : [INFO] Scanning for projects... [INFO] Reactor build order: ... [INFO] Searching repository for plugin with prefix: 'site'. [INFO]

SV: multi module projects

2006-03-07 Thread Jakob Vad Nielsen
Hi Christian, I do not know if there is a way to skip the version, but there is a solution to your problem. Set the parent version to for example 1.0-SNAPSHOT. Then the sub modules will always update the main project settings. /Jakob -Opprinnelig melding- Fra: Christian Mouttet [mailto:

[m2] native plugin conventions?

2006-03-07 Thread Xavier Toth
I'm about to include the building of some C/C++ executables and libraries to my existing Java centric build. I've looked at the docs for the native plugin but it is unclear to me if it follows conventions (related to directory structure) similar to those I follow with my Java code? The example show

Re: [m2] error deploying 3rd party lib to ftp repository

2006-03-07 Thread Pieter Vandepitte
Hi, i didn't realise java is doing lazy evaluation. The source code doesn't give me a clue, but nevermind, I'll use scp instead of ftp. thanx anyway for the quick response Pieter Piéroni Raphaël wrote: Hello, Sorry for beeing familiar to this code. inlined 2006/3/7, Pieter Vandepitte <[EMAI

Jar with depenencies or Executable jar - summary

2006-03-07 Thread Artamonov, Juri
Hi All, Guys, could you please give a summary of what plugin is recommended for using to have executable jar? As I see (per comments in IRC) the result jar that I get after using assembly plugin in m2 is not the same as result jar that I get after using uberjar plugin in m1. Also seems uberjar i

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brad O'Hearne
Jeff, Well spoken. I completely agree.Everyone should realize that when you don't get user docs, you *are still* waiting a week or two or three, because you'll end up sinking that time into figuring it out how everything works, so you certainly aren't coming out ahead by throwing things out w

Re: Maven documentation (was Re: how to include all dependencies in your jar)

2006-03-07 Thread Brad O'Hearne
Brett Porter wrote: On 3/7/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: If you have to read source code in order to figure out what something does, you are effecitvely becoming a developer. Aha! Our evil plan is realised :) I know you are speaking tongue in cheek, but on the seriou

  1   2   >