Re: How can I specify a Servlet API JAR for compiling but exclude that from a release?

2005-05-23 Thread Brett Porter
Assuming you are using Maven 1.0, you must explicitly include the ones you want in there using , , etc properties. Each plugin should give more details. - Brett On 5/24/05, Rahul <[EMAIL PROTECTED]> wrote: > Greetings, > > I need to specify the API Jars for JSP and Servlets to compile my > proje

How can I specify a Servlet API JAR for compiling but exclude that from a release?

2005-05-23 Thread Rahul
Greetings, I need to specify the API Jars for JSP and Servlets to compile my project sources. But I don't need these to be packaged up when I prepare a release as these will be available from the J2EE container. How can I ensure that? I don't see any flags in dependency tags that allow me to

Re: Can POM have more than one packages defined?

2005-05-23 Thread Rahul
Thanks Arnaud, Cheers, Rahul Arnaud HERITIER wrote: Hi Rahul, It's not supported in several plugins (javadoc for example). But it's an optionnal entry and you're not obliged to define it. Arnaud Greetings Maven Users, I am newbie at using Maven and currently exploring h

RE: Can POM have more than one packages defined?

2005-05-23 Thread Arnaud HERITIER
Hi Rahul, It's not supported in several plugins (javadoc for example). But it's an optionnal entry and you're not obliged to define it. Arnaud > > Greetings Maven Users, > > I am newbie at using Maven and currently exploring how I can > adapt our existing projects to use Maven

remote system bat file execution

2005-05-23 Thread NATARAJAN Sasi Kumar
Hi All I am trying remote system .bat file need to execute through my location PC. How can I achieve this by use maven with ant. I tried so for D:\Maven1\bin>maven maven:ssh __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_

Can POM have more than one packages defined?

2005-05-23 Thread Rahul
Greetings Maven Users, I am newbie at using Maven and currently exploring how I can adapt our existing projects to use Maven for build and release management. We have a peculiar requirement - the java sources for a project are under two different packages. One package for the libraries that w

RE: Location of non-distributed resource files

2005-05-23 Thread Jeff Jensen
Yes, exactly. To throw a curve, most of the time the tools are great with that arrangement, yet runtime config for frameworks such as Struts, Tiles, Spring, et al usually need them in the web content dir, such as WEB-INF/struts or just organizing files, like WEB-INF/tlds. Particularly, the IDE us

Re: Maven2 + Subversion + Continuum (was RE: scm svn cruisecontrol issue)

2005-05-23 Thread Sebastien Arbogast
> Similarly, are there any resources/examples out there on using the above > combination? I've poked around the Maven 2 and Continuum websites and > done a few Google searches, but haven't found anything. That would be amazing, since both Continuum and Maven 2.0 are still in technology preview !

Re: Maven2 + Subversion + Continuum (was RE: scm svn cruisecontrol issue)

2005-05-23 Thread Brett Porter
This should be a lot more straightforward. The SCM URL format given here is still what is valid: http://maven.apache.org/reference/plugins/scm/scmurl.html The POM is configured with both the SCM details: http://maven.apache.org/maven2/maven-model/maven.html#class_Scm and continuum details (just th

Re: scm svn cruisecontrol issue

2005-05-23 Thread Carlos Sanchez
July http://www.oreilly.com/catalog/mavenadn/ On 5/23/05, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: > 2005/5/23, Carlos Sanchez <[EMAIL PROTECTED]>: > > It deals with Subversion. > > Anyway it should be pretty straightforward to use SVN once you know > > how to setup CVS. > > It should be...

Maven2 + Subversion + Continuum (was RE: scm svn cruisecontrol issue)

2005-05-23 Thread Logan Bowers
Similarly, are there any resources/examples out there on using the above combination? I've poked around the Maven 2 and Continuum websites and done a few Google searches, but haven't found anything. Logan Bowers -Original Message- From: Arik Kfir [mailto:[EMAIL PROTECTED] Sent: Monday

Re: scm svn cruisecontrol issue

2005-05-23 Thread Carlos Sanchez
It deals with Subversion. Anyway it should be pretty straightforward to use SVN once you know how to setup CVS. On 5/23/05, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: > 2005/5/23, Arik Kfir <[EMAIL PROTECTED]>: > > now I *know* I'm gonna buy it :) > > > > - Original Message - > > From:

Re: scm svn cruisecontrol issue

2005-05-23 Thread Sebastien Arbogast
2005/5/23, Arik Kfir <[EMAIL PROTECTED]>: > now I *know* I'm gonna buy it :) > > - Original Message - > From: "Carlos Sanchez" <[EMAIL PROTECTED]> > To: "Maven Users List" > Sent: Tuesday, May 24, 2005 2:23 AM > Subject: Re: scm svn cruisecontrol issue > > There's almost one full chapter

Re: scm svn cruisecontrol issue

2005-05-23 Thread Arik Kfir
now I *know* I'm gonna buy it :) - Original Message - From: "Carlos Sanchez" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Tuesday, May 24, 2005 2:23 AM Subject: Re: scm svn cruisecontrol issue There's almost one full chapter about Maven and CruiseControl integration in Vincent's

Re: scm svn cruisecontrol issue

2005-05-23 Thread Carlos Sanchez
There's almost one full chapter about Maven and CruiseControl integration in Vincent's book. http://www.amazon.com/exec/obidos/ASIN/0596007507/ref=nosimRss/onfocus/103-3720349-9735866?dev-t=amznRss Regards On 5/23/05, Arik Kfir <[EMAIL PROTECTED]> wrote: > Vincent - another book? ;-) > > - O

Re: scm svn cruisecontrol issue

2005-05-23 Thread Arik Kfir
Vincent - another book? ;-) - Original Message - From: "Sebastien Arbogast" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Tuesday, May 24, 2005 2:09 AM Subject: Re: scm svn cruisecontrol issue All the more so as everybody introduces those three tools as being the future of develop

Re: scm svn cruisecontrol issue

2005-05-23 Thread Sebastien Arbogast
All the more so as everybody introduces those three tools as being the future of development and integration tools. And I confirm : I'll never use Ant or CVS again. But what would be wonderful would be to integrate those three together... with a good and exhaustive tutorial ;-) 2005/5/23, Arik Kfi

Re: scm svn cruisecontrol issue

2005-05-23 Thread Arik Kfir
A tutorial for integrating cruise control and maven (subversion/cvs) would definitly be a valuable resources. We're tackling this here too, and have run into some issues as well. - Original Message - From: "Sebastien Arbogast" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Tuesday

Re: scm svn cruisecontrol issue

2005-05-23 Thread Sebastien Arbogast
BTW is there a good step-by-step tutorial somewhere to integrate Maven, Subversion and Cruisecontrol ? Because I already have an important codebase maintained by Subversion and built with Maven and I'd like to male the link between Maven and Subversion and if possible setup a continuous integration

Re: scm svn cruisecontrol issue

2005-05-23 Thread Adrian Herscu
Tried to change the plugin.jelly in D:\Documents and Settings\bmf1972\.maven\cache\maven-cruisecontrol-plugin-1.6\ to use this file URL: file:///D:/Documents and Settings/bmf1972/.maven/cache/maven-cruisecontrol-plugin-1.6/plugin-resources/cruisecontrol.jsl and it works this way - otherwise,

Re: scm svn cruisecontrol issue

2005-05-23 Thread Adrian Herscu
The failure reason is that \cruisecontrol.jsl could not be found. Here is the stack trace: E:\Documents\bmf1972\My Tests\test>maven -e cruisecontrol __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: scm:find-co

Re: Email Address change

2005-05-23 Thread Brett Porter
My bad. Trigger happy moderator. It wasn't spam, therefore it must come through! :D On 5/24/05, Jon Strayer <[EMAIL PROTECTED]> wrote: > On 5/23/05, Jon Strayer <[EMAIL PROTECTED]> wrote: > > FYI, if anyone is still using my ... > > Sorry. > > ---

Re: Email Address change

2005-05-23 Thread Jon Strayer
On 5/23/05, Jon Strayer <[EMAIL PROTECTED]> wrote: > FYI, if anyone is still using my ... Sorry. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Email Address change

2005-05-23 Thread Jon Strayer
FYI, if anyone is still using my [EMAIL PROTECTED] email address it is going away this June. Please use [EMAIL PROTECTED] instead. Thanks, Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Help with multiproject...

2005-05-23 Thread Savitha Rajiv
Hi, I can build sub projects seperately. But when I define multiproject in project.properties, it is unable to find the sub project's project.xml. My project.properties looks like this: maven.multiproject.type=jar maven.multiproject.basedir=c:/workspace/root maven.multiproject.includes=*/proje

Re: Assembly and deploy

2005-05-23 Thread Brett Porter
Can you please file a JIRA ticket. This still needs to be implemented. Thanks, Brett On 5/24/05, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]> wrote: > No, the m2 assembly:assembly only creates the file in the "target" > directory. > > -Original Message- > From: Nicolas Chalumeau

Re: Resource filtering wish

2005-05-23 Thread Brett Porter
Reopened. Will use the same solution as m2. - Brett On 5/24/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > I just found this: http://jira.codehaus.org/browse/MAVEN-514 > > Does this mean Maven 1.x users are out of luck? > > > On 5/23/05, Graham King <[EMAIL PROTECTED]> wrote: > > It's not ju

Re: Location of non-distributed resource files

2005-05-23 Thread Charles Daniels
Seems reasonable. So we could have src/conf/checkstyle, src/conf/xdoclet, src/conf/cactus, etc.? How can we have this approach (or any suggested alternatives) considered for inclusion in the Maven conventions/best practices? On 5/22/05, Jeff Jensen <[EMAIL PROTECTED]> wrote: > Nice analysis. I h

RE: Assembly and deploy

2005-05-23 Thread Ilyevsky, Leonid (Equity Trading)
No, the m2 assembly:assembly only creates the file in the "target" directory. -Original Message- From: Nicolas Chalumeau [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 3:41 PM To: Maven Users List Subject: Re: Assembly and deploy I thing m2 assembly:assembly will do the job Nicol

RE: newbie questions

2005-05-23 Thread David Jackman
1st. For any dependency not in the public repository, the procedure is the same, as outlined in http://maven.apache.org/reference/standard-sun-jar-names.html. Basically, it involves setting up your own internal repository (I believe you could just use the local repository Maven sets up for you if

Re: Assembly and deploy

2005-05-23 Thread Nicolas Chalumeau
I thing m2 assembly:assembly will do the job Nicolas, On 5/23/05, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]> wrote: > How can I tell assembly plugin to upload the assembly file in remote > repository (similar to what deploy pluging is doing, using > )? > ---

Re: newbie questions

2005-05-23 Thread Alex Soto
> 1st. I have some libs not present on the ibiblio (jta, mail, activation, > concurrent-1.3.4) and my project depends on them, how do I set > dependencies for that? The 'right way' is probably to setup your own remote repository. I did so for sun jar's I needed that were not available at ibiblio

Re: newbie questions

2005-05-23 Thread Kristian Nordal
On 5/24/05, Vinicius Caldeira Carvalho <[EMAIL PROTECTED]> wrote: > Hello there. I'm creating my first project using maven. I have some good > experience with ant. So far It seems the COOLEST Project management around. > I have a feel questions, simple ones I believe :D > > 1st. I have some libs n

Re: newbie questions

2005-05-23 Thread Arik Kfir
Hi Vinicius, You have two options: 1. You can set up your own repository. Good news: it's quite simple. If you have a web server or some public dir that's available via http, you can mimic the structure of your local repository (look at ~/.maven/repository) and recreate it in your public dir (

newbie questions

2005-05-23 Thread Vinicius Caldeira Carvalho
Hello there. I'm creating my first project using maven. I have some good experience with ant. So far It seems the COOLEST Project management around. I have a feel questions, simple ones I believe :D 1st. I have some libs not present on the ibiblio (jta, mail, activation, concurrent-1.3.4) and m

Assembly and deploy

2005-05-23 Thread Ilyevsky, Leonid (Equity Trading)
How can I tell assembly plugin to upload the assembly file in remote repository (similar to what deploy pluging is doing, using )? If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act

Including multiproject:site output doc in a distribution

2005-05-23 Thread Michael Niemaz
Hi all, I am playing with the reactor tag and it works great. All I do is generate a zip file containing my sub-projects war files by postgoaling the dist:prepare-bin-filesystem goal. Now, next step is to replace the 'single' project generated doc inserted into the distribution package wit

Re: Laszlo

2005-05-23 Thread Alex Soto
not yet, but plan to eventually on my latest project. Keep the community here informed on what you find out if you have the time. Good luck, Alex On 5/23/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > > Is anyone else using Laszlo? Is anyone aware of a Maven plug-in for > Laszlo? > -- > Jamie

Re: Laszlo

2005-05-23 Thread Webb Morris
I've been playing with laszlo lately, but not to the point of using a build tool for the project. I just use the eclipse plug-in and then deploy the swf files out to my server. WM --- Jamie Bisotti <[EMAIL PROTECTED]> wrote: > Is anyone else using Laszlo? Is anyone aware of a Maven plug-in for

Re: Resource filtering wish

2005-05-23 Thread Jamie Bisotti
I just found this: http://jira.codehaus.org/browse/MAVEN-514 Does this mean Maven 1.x users are out of luck? On 5/23/05, Graham King <[EMAIL PROTECTED]> wrote: > It's not just you - I went through a similar process. I heartily > second your enhancement wish. > > Jamie Bisotti wrote: > > Why c

Re: Resource filtering wish

2005-05-23 Thread Graham King
It's not just you - I went through a similar process. I heartily second your enhancement wish. Jamie Bisotti wrote: Why can't true, on a element provide some basic filtering, without requiring writing/modifying maven.xml? For example, why can't it apply system properties, or just properties

Resource filtering wish

2005-05-23 Thread Jamie Bisotti
Why can't true, on a element provide some basic filtering, without requiring writing/modifying maven.xml? For example, why can't it apply system properties, or just properties in general? In my case, I want to put the CruiseControl build label (provided as the "label" sys prop), into the MANIFES

Laszlo

2005-05-23 Thread Jamie Bisotti
Is anyone else using Laszlo? Is anyone aware of a Maven plug-in for Laszlo? -- Jamie Bisotti Software Engineer Lexmark International, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: [ANN] Mavenbook.org

2005-05-23 Thread Vincent Massol
> -Original Message- > From: David Jackman [mailto:[EMAIL PROTECTED] > Sent: lundi 23 mai 2005 17:19 > To: Maven Users List > Subject: RE: [ANN] Mavenbook.org > > This looks great. I especially liked the Maven quizzes (although it > said I got a question wrong that I didn't). That's e

RE: [ANN] Mavenbook.org

2005-05-23 Thread Vincent Massol
> -Original Message- > From: David Jackman [mailto:[EMAIL PROTECTED] > Sent: lundi 23 mai 2005 17:19 > To: Maven Users List > Subject: RE: [ANN] Mavenbook.org > > This looks great. I especially liked the Maven quizzes (although it > said I got a question wrong that I didn't). That's e

RE: (Simple) multiproject question (and war files)

2005-05-23 Thread David Jackman
Sure. For our project, the POM listed as dependencies each of the other project artifacts. (This is error prone to some extent (when adding/removing projects), but not a huge risk for us since our QA group always starts from the output of this project. Plus, we're able to add the other projects'

RE: [ANN] Mavenbook.org

2005-05-23 Thread David Jackman
This looks great. I especially liked the Maven quizzes (although it said I got a question wrong that I didn't). This will be a great Maven resource for all. Can't wait for the Maven 2 edition of the book :) ..David.. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] S

[ANN] Mavenbook.org

2005-05-23 Thread Vincent Massol
Hi there, In preparation for the launch of "Maven: A Developer's Notebook" (available end of June), Tim and I have created the Mavenbook.org web site. http://www.mavenbook.org By using it you'll be able to track the progress of the book but more importantly it'll allow you to download the book's

[ANN] Mavenbook.org

2005-05-23 Thread Vincent Massol
Hi there, In preparation for the launch of "Maven: A Developer's Notebook" (available end of June), Tim and I have created the Mavenbook.org web site. http://www.mavenbook.org By using it you'll be able to track the progress of the book but more importantly it'll allow you to download the book's

Re: (Simple) multiproject question (and war files)

2005-05-23 Thread Michael Niemaz
I'm almost done but I wouldn't mind having a look at your approach. Thanx, --mike David Jackman wrote: I did this sort of thing for our product, but instead of doing this at the multiproject level, I just created another subproject that gathers all the dependency jars and wars (and other depen

RE: (Simple) multiproject question (and war files)

2005-05-23 Thread David Jackman
I did this sort of thing for our product, but instead of doing this at the multiproject level, I just created another subproject that gathers all the dependency jars and wars (and other dependency types) for the product (in our case it dumps them all into a directory that we can then burn to CD).

Re: [database] Where do I put my database Scripts.

2005-05-23 Thread Charles Daniels
And where would be a good place for the data itself? Specifically, I have files that contain some records that I want to import in order to create my initial, minimal data set required for my application to function. The records are similar to CSV files and can be imported by the import tool that I

Re: A dependency with compile scope in pom.xml still adds jar to war lib in m2?

2005-05-23 Thread Kristian Nordal
On 5/23/05, Brett Porter <[EMAIL PROTECTED]> wrote: > Please search the archives. It is how they are intended to work. > > Please read the documentation about dependencies... since this is a > FAQ, it obviously is lacking in some area, so I'd like suggestions on > how to make it clearer. Hi, The

RE: JUnit testing with Maven

2005-05-23 Thread Jeff Jensen
I have the same setup and multiproject is not needed because our dir structure is simple enough. To do so, use a relative dir name for the test dir, e.g. ${basedir}/../testproject/src/test. -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 7:

RE: [m2] Max mem setting

2005-05-23 Thread Jeff Jensen
http://jira.codehaus.org/browse/MNG-426 Thanks Brett. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Sunday, May 22, 2005 11:21 PM To: Maven Users List Subject: Re: [m2] Max mem setting Sounds like a good idea. You could request it in JIRA. At the very least, yo

Re: JUnit testing with Maven

2005-05-23 Thread Martijn Dashorst
A_Chitra wrote: Hello all, I have two projects (two enterprise applications) developed in RAD. One application has JUnit test cases to test the other application. Is it possible to automate the testing using Maven. Please advise me. You'd have to do a multiproject in order for this to

RE: JUnit testing with Maven

2005-05-23 Thread Jeff Jensen
RTFM: - go to Maven website - click plugins link - search the page for "junit" -Original Message- From: A_Chitra [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 1:48 AM To: users@maven.apache.org Subject: JUnit testing with Maven   Hello all, I have two projects (two enterprise

Re: [Maven-1.02] scm plugin with subversion, setting checkout dir error

2005-05-23 Thread Alex Soto
True about the system name. I checkout, update, commit with the same URL using just svn, so I doubt it's the lack of a username in the url since it picks up my local username. On 5/23/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > On 5/23/05, Alex Soto <[EMAIL PROTECTED]> wrote: > > FYI, I hav

dependency on a dll

2005-05-23 Thread Wim Deblauwe
Hi, I have this dependency I want to specify on a dll: nativeAccessJni nativeAccessJni.dll 1.0-SNAPSHOT 1.0-SNAPSHOT/nativeAccessJni.dll dll This works fine, but the version number is in there twice. Is it possible to refer to the version number like this: nativeAccessJni

Re: [Maven-1.02] scm plugin with subversion, setting checkout dir error

2005-05-23 Thread Brett Porter
On 5/23/05, Alex Soto <[EMAIL PROTECTED]> wrote: > FYI, I have a ssh-key setup so I don't need to login. But it still needs a username, though it should default to the system username so that may be a red herring. > > I'll file a bug. Besides what I already posted, is there any more > informatio

Re: [m2] how to control the plugin execution order

2005-05-23 Thread Nicolas Chalumeau
Hi Anatol I's actually just a project in my todo list but I will do it as I need it ;-). I let you know when it will be ready. Do you want I open an issue for this (xdoclet2 project or xdoclet2 plugin project ?) Nicolas On 5/23/05, Anatol Pomozov <[EMAIL PROTECTED]> wrote: > > PS: if my M2 XDocl

Re: [Maven-1.02] scm plugin with subversion, setting checkout dir error

2005-05-23 Thread Alex Soto
FYI, I have a ssh-key setup so I don't need to login. I'll file a bug. Besides what I already posted, is there any more information I can provide? On 5/23/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > I'd need to take a closer look, but I'd take a stab at the username > not being specified. >

Re: [Maven-1.02] scm plugin with subversion, setting checkout dir error

2005-05-23 Thread Brett Porter
I'd need to take a closer look, but I'd take a stab at the username not being specified. either way, its a bug - so if you could file the details that'd be appreciated (sorry, I susually follow up when someone doesn't file it, but mustn't have in this case). - Brett On 5/23/05, Alex Soto <[EMAIL

[Maven-1.02] scm plugin with subversion, setting checkout dir error

2005-05-23 Thread Alex Soto
Hi I'm trying to use maven to checkout a project. I'm running on windows under cygwin and I'm using the cygwin packaged svn binaries. If I don't set the checkout dir property then it checks out the project under target/checkout. When I set the checkout dir property I get a NullPointerException.

Re: A dependency with compile scope in pom.xml still adds jar to war lib in m2?

2005-05-23 Thread Brett Porter
Please search the archives. It is how they are intended to work. Please read the documentation about dependencies... since this is a FAQ, it obviously is lacking in some area, so I'd like suggestions on how to make it clearer. Thanks, Brett On 5/23/05, Malcolm Wong Ho <[EMAIL PROTECTED]> wrote:

(Simple) multiproject question (and war files)

2005-05-23 Thread Michael Niemaz
Hi all, I have a main project which contains several sub-projects. I'd like to create a bianry 'distrib' that contains all the war files of the sub-projects. I thought I could use the multiproject goal but It looks like it only deals with documentation of sub-projects. Am I missing something

A dependency with compile scope in pom.xml still adds jar to war lib in m2?

2005-05-23 Thread Malcolm Wong Ho
A dependency with compile scope in pom.xml still adds jar to war build lib in m2, is this supposed to happen? and will it be fixed in next release? -- Malcolm Wong Ho May you live in uninteresting times. -- Chinese proverb - T