How to organize shared subprojects?

2005-06-10 Thread Daniele Pizzoni
Suppose I have 2 big projects Big1 and Big2, they both use a little web sub-application WA. I use WA in Big1 and Big2 as a Maven subproject, say WA1 and WA2. The issue is that WA, WA1 and WA2 are not identical. That is they share the same java code but they have different, personalized, jsps. No

Re: How to organize shared subprojects?

2005-06-10 Thread Nicolas Chalumeau
Hi Daniele 2005/6/10, Daniele Pizzoni <[EMAIL PROTECTED]>: > Suppose I have 2 big projects Big1 and Big2, they both use a little web > sub-application WA. > > I use WA in Big1 and Big2 as a Maven subproject, say WA1 and WA2. > > The issue is that WA, WA1 and WA2 are not identical. That is they s

Maven and Hackystat

2005-06-10 Thread Helck, Christopher
Hi, Has anyone tried integrating Maven with Hackstat (http://csdl.ics.hawaii.edu/Tools/Hackystat/)? I'm mostly interested in tracking junit tests. There is an Ant integration, and I'm guessing it is simply an issue of adding a post/pre goal to one of the test goals. Thanks, Christopher The infor

Re: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Kakarla_Pratapam
Hi Brett, These are the steps: 1. Developer A update the snapshot in his local machine and put it in central repository. 2. When Developer B run m2 ant:ant he should get the latest snapshot into Developer B local re updated by A. But its not happening since Developer B local repository has prev

Re: project.xml validation

2005-06-10 Thread Jan Bares
Thank you again. I just want to point out that the http://maven.apache.org/reference/project-descriptor.html doesn't match the maven 1.0.2 maven-project.xsd. For instance the order in differs. Also there is some confusion with in the subproject. I applied http://jira.codehaus.org/browse/MAVEN-1

RE: Question about -D

2005-06-10 Thread jjrobert
That does work, but I would cast a vote for a command-line way to pass system properties in - it would be much cleaner from the user's point of view. -Jeff |-+--> | | "David Jackman"| | | <[EMAIL PROTECTED]| |

Re: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Nicolas Chalumeau
In the http://maven.apache.org/maven2/maven1.html# page it is said : Improved SNAPSHOT handling - Snapshots are now checked for updates only once per day by default - though can be configured to be once per build, on a particular interval, or never. A command line option can force a check - makin

Re: Question about -D

2005-06-10 Thread Jamie Bisotti
You should probably log an enhancement request in JIRA. On 6/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > That does work, but I would cast a vote for a command-line way to pass > system properties in - it would be much cleaner from the user's point of > view. > > -Jeff > > > > |---

[Fwd: Re: Canoo webtest problem]

2005-06-10 Thread Siegfried Goeschl
Original Message Subject:Re: Canoo webtest problem Date: Fri, 10 Jun 2005 10:20:08 +0200 From: Siegfried Goeschl <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: IT20one GmbH To: Maven Users List References: <[EMAIL PROTECTED]> Hi Greg

Re: Canoo webtest problem

2005-06-10 Thread Siegfried Goeschl
Hi Greg, the webtest-raw-report.xml is the original result file of Canoo WebTest which will be transformed into a Maven report. The plugin ships with a tiny sample found in the plugin cache directory - you can invoke "maven webtest" from there to ensure that the plugin is working correctly.

[maven-eclipse-plugin] Suggestion for improvement

2005-06-10 Thread Haryon
I'm using maven-eclipse-plugin 1.9, but we have a slightly different way of using jar sources. We use a plugin that packs the src and put them into the repository under src.jars (artifact type is src.jar). Could you change plugin.jelly, line 41 from : to : where ${maven.eclipse.src.

Re: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Nicolas Chalumeau
oups!! You can do this in the settings.xml with the element http://maven.apache.org/maven2/maven-settings/settings.html#class_Repository 2005/6/10, Nicolas Chalumeau <[EMAIL PROTECTED]>: > In the http://maven.apache.org/maven2/maven1.html# page it is said : > > Improved SNAPSHOT handling - Sn

bundle problem

2005-06-10 Thread Iktorn
Hi, I'v got following problem with jar libs. my web application (let say A ) depend on other part of the project (B) which have its own dependencies ( C,D.. etc) . But when I try to deploy 'A', subproject libs from B are not deployed to Tomcat and the site doesn't work properly. Is it possible

Re: bundle problem

2005-06-10 Thread Steve Molloy
Couldn't you use project inheritance to have A extend B so that whenever B changes, it would be reflected in A. Steve On Fri, 2005-10-06 at 15:03 +, Iktorn wrote: > Hi, > I'v got following problem with jar libs. > my web application (let say A ) depend on other part of the project (B) whic

Re: [maven-eclipse-plugin] Suggestion for improvement

2005-06-10 Thread Jamie Bisotti
Filing a JIRA issue is the best way to go about getting something changes/added. On 6/10/05, Haryon <[EMAIL PROTECTED]> wrote: > I'm using maven-eclipse-plugin 1.9, but we have a slightly different > way of using jar sources. We use a plugin that packs the src and put > them into the repository un

Re: Returning midway from a goal?

2005-06-10 Thread Michael Niemaz
would quit the whole build. --mike Surendra Singhi wrote: Hello, Is there any maven function which can return midway from a goal(something like return in programming languages)? Thanks in advance. - To unsubscribe, e-m

distribution reports

2005-06-10 Thread Julian Wood
Hi, I've been playing with Maven over the last little while, and have gotten things to the point where I'm almost totally happy. I just have one task left to do, and it seems that somebody must have come across this before, or I'm taking the wrong approach. It has to do with distributions

RE: Question about -D

2005-06-10 Thread David Jackman
You can still do this on the command line. It would look something like this (all on one line): maven test:single -Dtestcase=com.yadda.SystemPropertyTest -Dmyproperty=foo -Dmaven.junit.sysproperties=myproperty It's a bit trickier if there's m

Re: Question about -D

2005-06-10 Thread Jamie Bisotti
On 6/10/05, David Jackman <[EMAIL PROTECTED]> wrote: > You can still do this on the command line. It would look something like > this (all on one line): > maven test:single > -Dtestcase=com.yadda.SystemPropertyTest > -Dmyproperty=foo > -Dmaven.

RE: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Kakarla_Pratapam
Hi, We tried both the ways 1. 2. -U It did not work the first way and if we use second way we found one problem Ex: Step1: Developer A created a new artifact (artifact1 snapshot) in his local machine and he don't want to move it to central repository untile he coplete working with artfact

Re: [m2] define dependencies between wars

2005-06-10 Thread Haryon
I refused to merge 2 webapps from 2 projects, because of issues with incremental compilation and IDE integration (I mean, too hard to make MyEclipse automatically detect that a file changed in module1 and should remerge web.xml and redeploy module 1 AND module 2 into a webapp. Two days ago, we fou

Re: project.xml validation

2005-06-10 Thread Brett Porter
Yes, they were the issues I was referring to. Maven 1.1 will come with a regenerated XSD, available here: http://maven.apache.org/maven-v3_0_0.xsd (though looking just now, that is still the previous version - so I'll publish it again. If it has documentation annotations, it is the right one) Che

Re: Unable to get latest SNAPSHOT version from repository.

2005-06-10 Thread Brett Porter
I think I understand now. So m2 is working fine - it is when using Ant that the snapshots are not updated? We will eventually changer the generated script to use the Maven tasks instead of get which will make them behave identically. It sounds like your local developer is using m2 to generate the

Re: distribution reports

2005-06-10 Thread Brett Porter
I think you are on the right track. It would be good to have such things better integrated (eg into the downloads page), but at the moment there is no automated integration of distribution links. - Brett On 6/11/05, Julian Wood <[EMAIL PROTECTED]> wrote: > Hi, > > I've been playing with Maven o

plugin ends up in wrong directory when deployed with sftp

2005-06-10 Thread Donszelmann, Mark
Hi, when trying to deploy my plugin on my plugin on my own maven repository using the latest 1.5.1 Artifact Plugin using sftp and a private key, all seems to go well: plugin:repository-deploy: [echo] Deploying... Will deploy to 1 repository(ies): freehep Deploying to repository: freehep Uplo

Re: plugin ends up in wrong directory when deployed with sftp

2005-06-10 Thread Brett Porter
sounds like a bug - perhaps a missing "cd" command. Can you please file a bug in JIRA? I am fixing another issue today so there will be another release in the next couple of days. - Brett On 6/11/05, Donszelmann, Mark <[EMAIL PROTECTED]> wrote: > Hi, > > when trying to deploy my plugin on my plu