maven-struts-plugin

2006-09-01 Thread BISO
Dears, How can i configure maven-struts-plugin Thanks in advance BISO -- View this message in context: http://www.nabble.com/maven-struts-plugin-tf2206189.html#a6110163 Sent from the Maven - Users forum at Nabble.com. - To u

Re: directory v. outputDirectory

2006-09-01 Thread dan tran
native-maven-plugin''s outputDirectory purposely set to readonly so that all outputs ( .o, .dll, etc) stay inside target directory. and mvn clean can clear them as well. Why do you want the output files outside of project? perhaps there is another way to accomplish what you need after the build.

Patch for Ten Minute Test Sample File sample-echo.zip

2006-09-01 Thread Robert Kennington
Hi, On the Maven page 'The Ten Minute Test - Creating a Project with Maven 1.x' download page, http://maven.apache.org/maven-1.x/start/ten-minute-test.html there is a note with a link to allow you to download sample code "Note that you can download some sample code instead of creating the proj

Error using the release:prepare goal

2006-09-01 Thread Grégory Canto
Hi, I was trying to test the plugin maven-release, and got a NullPointerException while executing the prepare goal. I've used a project created with the archetype:create goal, and the only modifications I have made were to set the properties needed by the release plugin in the pom.xml: scm

RE: Scripts for building multiple projects

2006-09-01 Thread Chris Hilton
I do it all the time. It's allowed us to start migrating our Ant build project-by-project to Maven without retraining our dev monkeys during the transition ;-). Projects that have been converted to Maven now have bare-bones build.xml files for per-project customization, but the majority of function

Scripts for building multiple projects

2006-09-01 Thread Douglas Ferguson
I just wrote a script to build a couple of modules in a specific order, for dev purposes. Once I did this, I thought that it might be handy to make it an ant script. Anybody call mvn from ant before? Just wondering if there are any tasks for this already? Here’s my shell script… pushd

m2: container config using maven-war-plugin

2006-09-01 Thread flyboy
Hi, I don't know if what I did is best, so I'm posting for comments. I've read some of the postings on this list regarding resource filtering in war plugin. I've been able to get it to work using version 2.0.1 of the plugin. In some other posting, the point is made that web resources are not

directory v. outputDirectory

2006-09-01 Thread Brad Harper
What's the difference between ... I'm using maven-native-plugin, which has identical configuration elements, but I'm prevented from using them, i.e. by errors complaining about over-written read-only parameters.

Re: Multipart question regarding releasing with an assembly and integration tests.

2006-09-01 Thread Wendy Smoak
On 9/1/06, Todd Nine <[EMAIL PROTECTED]> wrote: Most of these questions would best be addressed to the Cargo user list. http://cargo.codehaus.org/Mailing+Lists Clustered JBoss configuration is beyond me, but I bet Vincent can help. :) Just picking out one thing: Also, what project structu

Re: Multipart question regarding releasing with an assembly and integration tests.

2006-09-01 Thread Todd Nine
Thanks for the feedback Barrie and Wendy. The inclusion of the assembly worked great, the admins and I thank you. Wendy, I've downloaded the book and read it, as well as viewed your example pom, but I'm still having a difficult time getting my mind around how to do this. We run our own custom v

Re: Reproducing maven builds versus auto updating maven.

2006-09-01 Thread Doug Douglass
Doesn't the release plugin hard-code the plugin/dependency versions in the distributed pom, for just the reasons being discussed? On 9/1/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Well run "mxn -X deploy" and you should get all plugins used up to and including deploy goal. Assuming all your plugi

RE: snapshot - maven 1.0.2

2006-09-01 Thread Jeff Jensen
So I think you are asking how to always get the latest version. If you are in development mode, then yes use SNAPSHOT for that: com.daffodil.dak.gwt dakhar 1.5-SNAPSHOT true Please carefully read the "Using SNAPSHOT Dependencies" section on this

Re: Reproducing maven builds versus auto updating maven.

2006-09-01 Thread Wayne Fay
Well run "mxn -X deploy" and you should get all plugins used up to and including deploy goal. Assuming all your plugins are bound to a proper lifecycle phase, they should all show up in that list. Another good component (imo) in guaranteeing a reproducable build is a Corporate Maven repo and prox

Re: snapshot - maven 1.0.2

2006-09-01 Thread neeraj daffodil
hi Jeff Jensen thanks to replay ,yes you are write i have to use 1.5 in version but i need some think that i have not to mention the version no. and it will download the latestes jar file from the repository ,i am sure that to do this work we have to use snapshot in version but how i can u

Re: Module dependecy graph

2006-09-01 Thread Donnchadh Ó Donnabháin
Yeah, that's probably 90% of what I want. I'm thinking of something that draws a visual graph and only shows inter-module dependencies On 9/1/06, Vinod Panicker <[EMAIL PROTECTED]> wrote: I asked this question today. Basically to get the dependency graph, you can run the "site" goal. If you hav

Re: Module dependecy graph

2006-09-01 Thread Vinod Panicker
I asked this question today. Basically to get the dependency graph, you can run the "site" goal. If you have a multi-module project, you will have to run the site goal within each module directory since the plugin currently does not collate all the dependency information. HTH, Vinod. On 9/1/06,

[OT][ANN] JAVAWUG BOF 21 / 5th Sept 2006 @ 18:30 / SkillsMatter / Max Antoni / AJAX & Objected Oriented Javascript

2006-09-01 Thread Peter . Pilgrim
Hi All I would like remind you of the twentieth first birds-of-a-feather (BOF 21) of the Java Web Users Group, taking part at the Skillmatters building, London, England on Tuesday 5th September 2006 FYI: http://www.jroller.com/page/javawug?entry=announcement_javabof_xxi_max_a ntoni The feature

Re: Reproducing maven builds versus auto updating maven.

2006-09-01 Thread berndq
Hi, looking at reproducable builds, I would consider auto updating of anything as a bug. WDYT? Bernd I recently gave a quick hands on introductions to Maven (v2) at the company I'm currently consulting at. The company is now interested in testing maven out in a project. There are two major an

Re: getting bash complete to echo mvn -D args

2006-09-01 Thread jim stafford
Takashi, I got -D args working with the following brute force method. Since it works, I haven't gone back to simplify. I could probably get rid of the if/else by adding the -- escape to your original compgen. That alone made me wonder how you got -D to complete since it wasn't escaped going i

RE: Re: sql server jars

2006-09-01 Thread James Richards
I've used this. It's pretty fast and stable from what I saw... -Original Message- From: news on behalf of Geoffrey De Smet Sent: Fri 9/1/2006 11:10 AM To: users@maven.apache.org Subject: Re: sql server jars Interesting, I think I 'll try this one as an alternative :) Wendy Smoak wrot

Continuum 1.0.3 hanging during deploy phase

2006-09-01 Thread Baron.Reznik
I'm running continuum 1.0.3 on a large multimodule project. On one of my maven2 projects inside continuum, I have a 'clean deploy' build definition recursively building a large chunk of code, which seems to keep hanging during the deploy phase. I have to keep restarting continuum so that it can

Re: sql server jars

2006-09-01 Thread Stephen Duncan
FYI: My experience is that the JTDS driver is better than the one from Microsoft anyway. -Stephen On 9/1/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: Interesting, I think I 'll try this one as an alternative :) Wendy Smoak wrote, On 2006-09-01 4:03 PM: > On 9/1/06, Douglas Ferguson <[EMAIL

Re: sql server jars

2006-09-01 Thread Geoffrey De Smet
Interesting, I think I 'll try this one as an alternative :) Wendy Smoak wrote, On 2006-09-01 4:03 PM: On 9/1/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote: Are there sql server jars in central, of so what's the groupId? Are you looking for a JDBC driver for Microsoft SQL Server? Google tu

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short
Christophe, That fixed it. Thanks Ben On 9/1/06, Christophe DENEUX <[EMAIL PROTECTED]> wrote: Try to add the following dependencies to your POM: javax.servlet jsp-api 2.0 tomcat jasper-runtim

Re: How to set custom Plugin Parameters?

2006-09-01 Thread Alexis Midon
What you say is right but my pb is the following: my plugin is an aggregator style, which means I want only one execution on the root pom. If I set a phase this behavior does not happen! my plugin will be executed once per sub-pom :( On 9/1/06, Jared Bunting <[EMAIL PROTECTED]> wrote: Sounds

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread Christophe DENEUX
Try to add the following dependencies to your POM: javax.servlet jsp-api 2.0 tomcat jasper-runtime 5.5.15

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short
I'll log it right away. Thank for your help. Ben On 9/1/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: On 9/1/06, ben short <[EMAIL PROTECTED]> wrote: > Ok, > > I set the version to 1.4.2 and it works ok. > > Heres the output for mvn -X compile... I wonder whether it pertains to the window lo

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread Jacek Laskowski
On 9/1/06, ben short <[EMAIL PROTECTED]> wrote: Ok, I set the version to 1.4.2 and it works ok. Heres the output for mvn -X compile... I wonder whether it pertains to the window long path issue and the spaces in your project path. Anyway, would you mind reporting an issue and put it in the js

RE: snapshot - maven 1.0.2

2006-09-01 Thread Jeff Jensen
I'm a bit confused by your email description. What happens when you change the version number? You didn't state how you are trying to get version 1.5, and the dependency example you gave shows 1.2. Additionally, I suggest these changes to your example, based on what I understand from your email:

Re: executing after being built with Maven2

2006-09-01 Thread Stephen More
mvn assembly:assembly -DdescriptorId=jar-with-dependencies + org.apache.maven.plugins maven-assembly-plugin my.package.to.my.MainClass == exactly what I want. Thank you very much. -Steve More On 8/

Re: [m2] release:prepare generateReleasePoms?

2006-09-01 Thread Yann Le Du
Hi, Are there any news about the generation of release-pom.xml with release:prepare ? The Mergere book talks about release-pom.xml without even mentioning generateReleasePoms argument - which anyway seems to be useless since, as stated below, the related code is not implemented (yet ?). Has the

Re: sql server jars

2006-09-01 Thread Wendy Smoak
On 9/1/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote: Are there sql server jars in central, of so what's the groupId? Are you looking for a JDBC driver for Microsoft SQL Server? Google turned up jTDS: http://jtds.sourceforge.net/ It's on ibiblio in groupId net.sourceforge.jtds http://www.

snapshot - maven 1.0.2

2006-09-01 Thread neeraj daffodil
hi all i am using maven 1.0.2 and i want to use latest version of jar which are defines in the project.xml , i mean to say that in our remote repository there are 4 to 5 version of jar but i want to use the latest version (i.efrom remote repository only latest version will download but i am

Re: sql server jars

2006-09-01 Thread Geoffrey De Smet
You mean JDBC connectors? Those of mysql and hsqldb are available, search with www.mvnrepository.com Those of MS SQL server are not of course, because it's illegal to distribute them. PS: after downloading the JDBC connector for MS sql server from MS, unjar and rejar and unsign it, because it

sql server jars

2006-09-01 Thread Douglas Ferguson
Are there sql server jars in central, of so what’s the groupId?

Re: [m2] Generating Source in Ant

2006-09-01 Thread Douglas Ferguson
Does the sourceRoot defined in the antRun get added to the maven-compiler-plugin source path? Lee Meador-2 wrote: > > Never mind. But I do have a question down there ... > > Although I had fun poking around into maven2 and creating a plugin of my > own > that would compile, load and run (even

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short
Ok, I set the version to 1.4.2 and it works ok. Heres the output for mvn -X compile... + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\Ben Short\.m2\plugin-registry.xml' [DEBUG] Building Maven global-l

Prepare Sources & Prepare Resources

2006-09-01 Thread Douglas Ferguson
Howdy, I was just curious about how folks are using prepare sources & prepare resources. 1) When you generate sources/resources, do you generate them to /src or /target? If you generate them to /target do you have to add them to the sources in the pom.xml? 2) I need to generat

Re: How to set custom Plugin Parameters?

2006-09-01 Thread Jared Bunting
Sounds like the phase thing might point at the problem - say you had two executions defined. This is useful if you want to define the same goal (or different goals) to be run in different phases. But, just running it from the command line, how would maven know which one to use? Following this l

Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread Jacek Laskowski
On 9/1/06, ben short <[EMAIL PROTECTED]> wrote: Hi, I have been trying to get the jspc-maven-plugin to work. Here is the relivent part of my pom. org.codehaus.mojo jspc-maven-plugin 1.5 1.5

[m2] jspc-maven-plugin - Problems

2006-09-01 Thread ben short
Hi, I have been trying to get the jspc-maven-plugin to work. Here is the relivent part of my pom. org.codehaus.mojo jspc-maven-plugin 1.5 1.5 jspc compile

Re: javax.resource connector, unable to download dependency

2006-09-01 Thread ben short
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html On 9/1/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: hi all, i m runnig maven2 for building my app, which uses spring. i tried to set as dependency spring dependency> org.springframework spring 1.2.5 co

javax.resource connector, unable to download dependency

2006-09-01 Thread Marco Mistroni
hi all, i m runnig maven2 for building my app, which uses spring. i tried to set as dependency spring dependency> org.springframework spring 1.2.5 compile downloading htat dependency will require maven2 to download also javax.resource.connector version 1.0, which maven

Email Notification using Shell Scripts

2006-09-01 Thread Garrick
Hi, I am very new to continuum and need to ask a rather noob question. We are using version 1.0.3. We are using a shell script to kick off the build and I want to configure the email notifications. I manually added notifiers but nothing happens? For Maven 2 projects it appears as though the POM.x

Re: running multiple instances of continuum on one machine

2006-09-01 Thread Jesse McConnell
yep On 9/1/06, Feniks Nator <[EMAIL PROTECTED]> wrote: "You only need to modify the port of http and xmlrpc services in apps/continuum/conf/application.xml" Probably a stupid question: so I install a second copy of continuum? -- jesse mcconnell [EMAIL PROTECTED]

Re: Database deployment

2006-09-01 Thread Christophe DENEUX
We are thinking to a solution on a similar problem, but in a contionuous integration context. Our solution should be the following: - on the pre-integration-tests phase, execute the following tasks through the maven-antrun-plugin: 1 - drop all tables in your database 2 -

Database deployment

2006-09-01 Thread Donnchadh Ó Donnabháin
Hi everyone, I'm using the cargo plugin to deploy a webapp to tomcat. This webapp depends on a database and I would like run a SQL script to deploy the updated schema before deploying the webapp. What is the best approach to this? Is there a plugin to facilitate this? Once I have this working I

Module dependecy graph

2006-09-01 Thread Donnchadh Ó Donnabháin
Hi everyone, Does anyone know of a tool (preferrably a maven2 plugin) to generate a graph of dependices between modules within a maven2 project? I'm thinking of something that you could point at the root pom.xml and would go through all the modules - possibly something like springs beandoc (BTW i

Disable adding artifact in Maven Assembly Plugin

2006-09-01 Thread Andy Yeung
Hi all,     I have tried to use the assembly plugin to create a zip for deploy purpose. I would like to put those zip into another location during deploy phase other than the maven repository (I would like to have a simpler structure so users can browse them easily).   I successfully created

Targeted e-mails

2006-09-01 Thread Jeff Mutonho
Is there a way of setting up maven to only send build failure e-mails to only the developer(s) working on a sub-module that fails to build? The idea is to avoid sending messages to all team members , when the build failure only concerns particular individuals working on the failing sub-module.

RE: Permissions on files in assembly

2006-09-01 Thread Orford, Ian
Excellent. Too easy! Many thanks. Ian. > You can use filemode and directorymode to set the permissions. Refer to > http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html > for more info. The informatio

Re: Permissions on files in assembly

2006-09-01 Thread Vinod Panicker
You can use filemode and directorymode to set the permissions. Refer to http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html for more info. HTH, Vinod. On 9/1/06, Orford, Ian <[EMAIL PROTECTED]> wrote: I've recently moved from Maven 1 to 2. One of the things I'm trying to do is

Permissions on files in assembly

2006-09-01 Thread Orford, Ian
I've recently moved from Maven 1 to 2. One of the things I'm trying to do is set permissions on my scripts in my .tar.gz assembly. In maven 1 I used the task and could specifiy permissions using Is there any way of specifying the same in a maven 2 assembly? Thanks, Ian Orford -

Re: Way to organizing common JSPs?

2006-09-01 Thread Geoffrey De Smet
IIRC if a war artifact depends on a war artifact everything in the webapp dir is copied. Adrian Shum wrote, On 2006-09-01 11:00 AM: > HI all, > > Assume I have something like > > CommonJSP/ > App1/ > + App1-WAR/ > App2/ > + App2-WAR/ > > My colleagues now use ant to copy those shared JSP

RE: Clover and additional target/src directory

2006-09-01 Thread Vincent Massol
Hi Ingo, > -Original Message- > From: Ingo Düppe [mailto:[EMAIL PROTECTED] > Sent: vendredi 1 septembre 2006 01:22 > To: Maven Users List > Subject: Clover and additional target/src directory > > Hi, > I use AndroMDA to generate my sources under /target/src and we uses > clover to for cod

Re: Reproducing maven builds versus auto updating maven.

2006-09-01 Thread Scott Tailor
Thanks for the tip. But doesn't "mvn -X install" only show you the plugins you are using when running install? Assuming one can get a complete list of plugins and their versions, does that mean all I needed is the maven-2.0.4.zip file, a copy of the local repository, and the project's pom files (w

Way to organizing common JSPs?

2006-09-01 Thread Adrian Shum
HI all, Assume I have something like CommonJSP/ App1/ + App1-WAR/ App2/ + App2-WAR/ My colleagues now use ant to copy those shared JSPs in CommonJSP to individual App1-WAR and App2-WAR. I am now trying to help them to switch to Maven2. I am not sure if it is normal to have Common JSPs

Maven-eclipse-plugin : MECLIPSE-34 improvement

2006-09-01 Thread Sharma, Jaikumar
Sorry, subject line should have been Maven-eclipse-plugin. Dear Maven users, Any idea when the following improvement / issue would be implemented / resolved ? http://jira.codehaus.org/browse/MECLIPSE-34 Regards.

Re: How to set custom Plugin Parameters?

2006-09-01 Thread Alexis Midon
thanks all for your answers, actually the problem as not due to 'protected' modifier nor to 'expression' attribute. Something was wrong with my pom. The command I use is: mvn mygroupId:foobar:copyfile Configuration was not taken into account when I write: mygroupId

Maven-PDE-plugin : MECLIPSE-34 improvement

2006-09-01 Thread Sharma, Jaikumar
Dear Maven users, Any idea when the following improvement / issue would be implemented / resolved ? http://jira.codehaus.org/browse/MECLIPSE-34 Regards.

Re: Reproducing maven builds versus auto updating maven.

2006-09-01 Thread Geoffrey De Smet
Lock down all your plugin versions. 2.0-beta5 ... Since I 've done that I experience it as being much much more in control over the build process. When a new plugin is released, I change the version and test it locally first before committing it. Do a mvn -X install to find out which plugi

Re: [POLL] Why switch to Maven?

2006-09-01 Thread Arnaud HERITIER
It's why I said that it's not a real solution but only a workaround. You can't know in which time-stamped version is fixed which bug if the developper who fix it and deploy the snapshot doesn't tell it to you. A good practice that we should have is to document it when we close an issue on a plugin

Reproducing maven builds versus auto updating maven.

2006-09-01 Thread Scott Tailor
I recently gave a quick hands on introductions to Maven (v2) at the company I'm currently consulting at. The company is now interested in testing maven out in a project. There are two major and related concerns I have though with using maven: 1. Maven updates itself at a regular basis. Occ

Re: [m1.1] aspectJ plugin : all my project is copued into target/classes

2006-09-01 Thread Arnaud HERITIER
It seems to be related to http://jira.codehaus.org/browse/MPASPECTJ-16 The problem seems to be in these lines (90->97) if maven.aspectj.weaveAspectSources = true and pom.build.aspectSourceDirectory isn't defined I th

SV: [POLL] Why switch to Maven?

2006-09-01 Thread Simon Kepp Nielsen
Hi Arnaud, I know that i can use a time-stamped version of a dependency, which is a great feature. But how do i know in which timestamped version, a given issue in JIRA has been fixed in? Also, reading the "Guide to Testing Development Versions of Plugins", i come across the following: "Note:

[m1.1] aspectJ plugin : all my project is copued into target/classes

2006-09-01 Thread Nicolas De Loof
Hello, I've just added maven-aspectj-plugin to my project. When I run maven aspectj:compile, all my project directory is copied into target/classes* If I set maven.aspectj.weaveAspectSources = false, I works fine. Setting in my POM also solves this issue. It seems maven 1.1-beta-3 consider

Re: executing after being built with Maven2

2006-09-01 Thread Stéphane Bouchet
Take a look to the last maven-jar-plugin : http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html Cheers, Stéphane berndq a écrit : Stephen More wrote: I guess you are looking for the assembly plugin Here is the docu: http://maven.apache.org/plugins/maven-assembly-p

Re: [POLL] Why switch to Maven?

2006-09-01 Thread Ralph Pöllath
On 31.08.2006, at 23:27, ArneD wrote: After all, if can't trust your team to stick to approved versions of artifacts how can you trust them to write your precious business code? I think it's not a question of mistrusting people, but a question of how can you help people to avoid mistakes. Eve