Re: issues with 1) forking surefire and 2) Surefire's IsolatedClassloader class

2005-09-30 Thread Andy Glick
Sorry - this was supposed to go the dev list, and I've since posted a copy there. I didn't mean to cause any difficulties - I guess sloppy fingers are what I deserve for staying up until 12:25 AM coding :-) - To unsubscribe,

issues with 1) forking surefire and 2) Surefire's IsolatedClassloader class

2005-09-30 Thread Andy Glick
I've been working on adding forking to the surefire plugin, really into the surefire package, in order to allow clover to work and to allow our implementation to offer features similar to those provided by the JUnit Ant task I've run into a number of problems: 1) on windows using both plexus.

Re: [m2] assembly plugin not preserving manifest settings

2005-09-30 Thread Brett Porter
Unfortunately it is one of the few plugins still needing documentation. http://maven.apache.org/maven2/plugins/maven-assembly-plugin/ We're still accepting volunteers :) - Brett On 9/30/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > Ok fair enough - looks as though I will need to write my own

Re: Multi-artifact projects

2005-09-30 Thread Brett Porter
I'm not entirely sure I know what you are asking, but I'd expect: - create JAR file as usual - install/deploy using tasks - depend on jar file with a filesetId - incorporate fileset in war at WEB-INF/lib with a flatten mapper - install/deploy using tasks is this what you needed to do? - Brett

Re: [m2] exception with report plugin

2005-09-30 Thread Brett Porter
It seems you might have something like this in the pom: ... which is not valid because the variable is readonly? - Brett On 10/1/05, dohadwala, moiz <[EMAIL PROTECTED]> wrote: > It's a field in my report class: > > > /** > * @parameter expression="${project}" > * @required >

Re: Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Brett Porter
On 10/1/05, Chris Berry <[EMAIL PROTECTED]> wrote: > As I've said previously, I do not believe that repository info has > *any* place in a POM -- at any level of the hierarchy. A POM should be > thought of as a recipe. And with any recipe, the recipe itself does > not prescribe where to shop for th

Re: Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Brett Porter
On 9/30/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > Is the proper compromise to specify the team-wide repository in the > Parent POM, and then specify the repository to get that POM in > settings.xml? That was what I was getting at. I will address Chris' concerns separately. A better solution

Re: Maven2 plugin repo wrong!

2005-09-30 Thread Allan Ramirez
I think its the plugin-registry.xml not settings.xml :) -allan Saleem Shafi wrote: i'm not certain, but this looks similar to a problem that i was having a few days ago.. Brett mentioned that it may be related to http://jira.codehaus.org/browse/MNG-916 i was able to work around it by looking

[m1] multiproject throws ClassNotFoundException

2005-09-30 Thread Guo, Jiaqi
When I do maven multiproject, I got same error as the one mentioned at http://www.archivum.info/dev@directory.apache.org/2005-04/msg00207.html. BUILD FAILED File.. /home/jiaqi/.maven/cache/maven-multiproject-plugin-1.4.1/plugin.jelly Element... maven:reactor Line.. 104 Column 9 Una

Mevenide 0.9 for Netbeans 4.1 and 5.0 beta released

2005-09-30 Thread Milos Kleint
A new 0.9 release of Mevenide for Netbeans has been released. It includes multiple bugfixes, doesn't require Maven to be installed anymore and works with the new Netbeans 5.0 beta. See the complete list of changes at http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=10480&fixfor=1

RE: Mave test error

2005-09-30 Thread Sean Hennessy
You need to insure that there is in fact a JVM on your Windows XP SP2. -Original Message- From: Feng Jeffrey [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 11:59 AM To: users@maven.apache.org Subject: Mave test error

Mave test error

2005-09-30 Thread Feng Jeffrey
Hi all,   I've installed Maven 1.0.2 onto my Windows XP SP2 computer. When I test it, I got the following error message:   ERROR: JAVA_HOME not found in your environment.Please set the JAVA_HOME variable in your environment to match the location of your Java installation.   Even if the JAVA_H

Re: classpath woes

2005-09-30 Thread Brian Moseley
Kenney Westerhof wrote: On Wed, 28 Sep 2005, Brian Moseley wrote: Correct, target/classes is not in the classpath when executing maven on a project. It will only be on the classpath during test excution. I recommend you create a plugin containing the org.osaf.cosmo.jackrabbit.RepositoryLoader,

Re: Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Doug Douglass
Chris Berry wrote: Kenney, It's not about taste. Defining repos in teh POM are a real problem. Here's an example; I recently got a POM from someone that had the SNAPSHOT repo defined in the POM. Fine, as long as you could get at it, which we couldn't. But that aside, this repo element defined

RE: Versioning

2005-09-30 Thread Ballard, Ken
Aha! I was hoping it did that. I must have misread the plugin specs. I'll look at the SCM plugin again. Thanks! -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 2:17 PM To: Maven Users List Subject: Re: Versioning Ballard, Ken wrote: >CVS

Re: Versioning

2005-09-30 Thread Doug Douglass
Ballard, Ken wrote: CVS and Subversion support keyword setting: Like CVS, Subversion supports keywords that can be expanded in files, such as $Id$, $Date$, $Revision$, etc. By default, these properties (svn:keywords) are not set on files [http://www.middleware.vt.edu/doku.php?id=middleware:subv

Re: Versioning

2005-09-30 Thread dan tran
It seems you tight your build with a particular family with SCM type. and maven does not support that in general. -D On 9/30/05, Ballard, Ken <[EMAIL PROTECTED]> wrote: > > CVS and Subversion support keyword setting: > > Like CVS, Subversion supports keywords that can be expanded in files, such

RE: Versioning

2005-09-30 Thread Ballard, Ken
CVS and Subversion support keyword setting: Like CVS, Subversion supports keywords that can be expanded in files, such as $Id$, $Date$, $Revision$, etc. By default, these properties (svn:keywords) are not set on files [http://www.middleware.vt.edu/doku.php?id=middleware:subversion]. Could I use

Re: svn push build scheduling

2005-09-30 Thread Emmanuel Venisse
Mark Hobson a écrit : On 30/09/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Yes, it's a possibility. We already have a xml-rpc (and xfire) client/server in continuum. It isn't finished, but you can try to use it a svn push build process. I think it will be availaible for 1.0. Our priority

Including source and javadocs in Idea and Eclipse module files

2005-09-30 Thread John.E.Gregg
Hi all, I've tried the Maven Idea plugin and really like the idea (no pun) of it, but I'd like a way to specify the location of source and javadocs for dependencies. I have a possible solution. I first added a maven.src.root value to my build.properties file. It points to c:\java, which is wh

Re: svn push build scheduling

2005-09-30 Thread Emmanuel Venisse
Mark Hobson a écrit : On 30/09/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Yes, it's a possibility. We already have a xml-rpc (and xfire) client/server in continuum. It isn't finished, but you can try to use it a svn push build process. I think it will be availaible for 1.0. Our priority

RE: [m2] Help with SCM plugin and CVS?

2005-09-30 Thread Michael Cassidy
This is the EXACT same url used in other applications (eclipse, wincvs) and it works fine there. Michael D. Cassidy Software Architect Vegas.com [EMAIL PROTECTED] -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 11:55 PM To: Maven

Re: Versioning

2005-09-30 Thread dan tran
Ken, Could you elaborate more in "one place"? like in one pom, and have all sub poms to inherite it? If so, you are not alone. Currently, you have to declare at least the parent's pom version for each sub pom. I doubt you can get away not tagging the SCM. without the tag, you can't retreive the e

Re: Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Chris Berry
Kenney, It's not about taste. Defining repos in teh POM are a real problem. Here's an example; I recently got a POM from someone that had the SNAPSHOT repo defined in the POM. Fine, as long as you could get at it, which we couldn't. But that aside, this repo element defined true false

Multi-artifact projects

2005-09-30 Thread MInger
Can anyone give me advice on handling multiple artifact projects? Basically, scenarios like this: .war file + .jar file (the jar file is an api, perhaps a web service) .ear file + .war file .jar file + .tld file I'm using the maven 2.0 tasks from ant, and using ANT to build my artifacts and c

Versioning

2005-09-30 Thread Ballard, Ken
I'd like to only declare a version number in one place. Given the opportunity, we'll mix them up at some point if the potential exists. I'd rather not have to tag it with a version number in our SCM and give it a version number in Maven. I'd like to only worry about incrementing the version number

RE: [m2] exception with report plugin

2005-09-30 Thread dohadwala, moiz
It's a field in my report class: /** * @parameter expression="${project}" * @required * @readonly */ private MavenProject project; -Moiz -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Thursday, September 29, 2005 4:50 PM To: Maven Us

Re: svn push build scheduling

2005-09-30 Thread Emmanuel Venisse
Mark Hobson a écrit : On 30/09/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Where do you see it in planned features? Well, it's not explicitly mentioned as such, but I inferred that it was a typical use-case of push scheduling: Yes, it's a possibility. We already have a xml-rpc (and x

Re: Jcoverage and System.getProperties() problem.

2005-09-30 Thread Carlos Sanchez
Hi, That's probably because you're running junit without forking the jvm (all sysprops are there) and jcoverage runs in a new forked jvm (you need to explicitly pass the sysprops). Take a look at the properties of the test plugin, maven.junit.sysproperties, On 9/30/05, Christoffer Sjöquist <[EMAI

Re: Maven2 plugin repo wrong!

2005-09-30 Thread Saleem Shafi
i'm not certain, but this looks similar to a problem that i was having a few days ago.. Brett mentioned that it may be related to http://jira.codehaus.org/browse/MNG-916 i was able to work around it by looking in my settings.xml file, finding the entry that was set to RELEASE and changing it to a

Re: can't get alpha4 to work with java 5

2005-09-30 Thread Emmanuel Venisse
it's weird. With plexus.sh, it's a pure java, so perhaps there are a pb in derby with java 5. You can perhpas try with an other db like hsqldb (but don't use it in production, it's only for the test). You can modify the database in apps/continuum/conf/application.xml. Replace this :

Re: Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Kenney Westerhof
On Fri, 30 Sep 2005, Stephen Duncan wrote: Brett's anwer (define repo @ pom) is the way to go. My 'settings.xml' solution is merely a convenient way to help locate that parent pom the first time - if you don't have that repository on the list, you're going to have to manually download (or use a le

Re: [m2] Filtering problems in Beta

2005-09-30 Thread Andrius Karpavicius
Example with filtering. In resource settings I define target path as well, as I need to filter not only src/main/resources but src/main/webapp directories as well. 4.0.0 lt.sintagma.projects web-project-skaitis war 3.0 SKAITIS CIA Web site project http://www.sintagma.lt

Re: Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Chris Berry
As I've said previously, I do not believe that repository info has *any* place in a POM -- at any level of the hierarchy. A POM should be thought of as a recipe. And with any recipe, the recipe itself does not prescribe where to shop for the ingredients!! This is especially important for projects,

Re: can't get alpha4 to work with java 5

2005-09-30 Thread Emmanuel Venisse
I suggest only to don't use the wrapper (bin/macosx/run.sh) due to bug in it on OSX with java 5 and retry to run bin/plexus.sh on a clean continuum install after you have set rights on files. Emmanuel Ashley Williams a écrit : I don't understand what you're suggesting. I've read the bug report

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Kenney Westerhof
On Fri, 30 Sep 2005 [EMAIL PROTECTED] wrote: > I think we are having a problem with terminology... Especially when > talking about a "module" > Comments and questions are embedded. Yeah - too much terminology from different contexts come clashing together :) > > > Is the following hypothesis cor

Jcoverage and System.getProperties() problem.

2005-09-30 Thread Christoffer Sjöquist
We are building a project and using Maven junit and jcoverage plugins. When we build first junit runs ok and all tests pass. Then the second run for jcoverage starts and now all tests becomes errors. The reason seems to be that the system dosent find our system property for where we place settings

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread eric . starr
I think we are having a problem with terminology... Especially when talking about a "module" Comments and questions are embedded. Kenney Westerhof <[EMAIL PROTECTED]> wrote on 09/30/2005 09:06:39 AM: > On Fri, 30 Sep 2005, Thomas Van de Velde wrote: > > Hi Thomas, > > > Kenney, > > > > Thanks

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Kenney Westerhof
On Fri, 30 Sep 2005, Stephen Duncan wrote: > I'm not at all clear on what the suggestion is. Is there a base > assumption here that you should never have your projects in your > Eclipse "workspace" folder, but always outside it? Well, you can have the projects in the workspace folder, but that d

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Jesse McConnell
http://jira.codehaus.org/browse/MNG-743 that jira issue has a pretty good layout in my opinion...it has a sample jar that builds out everything into empty artifacts and can be a good way of getting going. On 9/30/05, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > > I ment to send this to the us

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Kenney Westerhof
On Fri, 30 Sep 2005, Thomas Van de Velde wrote: > > > - Check in the entire tree as a single SCM module. > > > > Correct. You can also use different scm repositories for each module if > > you want, as long as you specify the scm repository in the pom for that > > module. > > How could that work?

Best Solution to Parent POM Chicken & Egg Problem

2005-09-30 Thread Stephen Duncan
What is truly the preferred/best solution to the chicken & the egg problem with parent POM's? (Where your parent POM might define the internal repository to use, but a project defines it's parent as this POM, which is stored in the internal repository, and therefore how do you get it the first tim

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Thomas Van de Velde
> > > - Check in the entire tree as a single SCM module. > > Correct. You can also use different scm repositories for each module if > you want, as long as you specify the scm repository in the pom for that > module. How could that work? Your master POM is not aware of where in SCM its modules ar

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Kenney Westerhof
On Fri, 30 Sep 2005, Thomas Van de Velde wrote: Hi Thomas, > Kenney, > > Thanks for your reply. I am still a bit puzzled though when SCM is brought > into the picture. > > Is the following hypothesis correct? > > - Setup the recommended M2 structure for multiple modules. > > - Generate an Eclipse

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Stephen Duncan
I'm not at all clear on what the suggestion is. Is there a base assumption here that you should never have your projects in your Eclipse "workspace" folder, but always outside it? Within the workspace, Eclipse won't even support (so far as I can tell) using the modules as projects if you have: w

Re: [m2] Filtering problems in Beta

2005-09-30 Thread Sena Gbeckor-Kove
Hi, I was wondering if anybody could give mea fragment of their pom where they are using filtering. I am migratnig a large project at the EPO and I can't find any ocumentation on it. I am using beta 2. Thx On 24/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > FYI - In beta-2, while the other

RE: Cross-project dependencies on unit test code

2005-09-30 Thread Allison, Bob
1) "base tests"? As I listed, there is only one class in the a-test project and that is used during tests by projects which use the proj-a project. Project proj-a does not depend on this class, so I'm not sure that in this case the implementation needs to be separate from the API for dependenc

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Thomas Van de Velde
Kenney, Thanks for your reply. I am still a bit puzzled though when SCM is brought into the picture. Is the following hypothesis correct? - Setup the recommended M2 structure for multiple modules. - Generate an Eclipse project + class path per module by running the Eclipse plugin from the root

Re: [M2] Preparing a Release

2005-09-30 Thread Bernd Mau
The SCM - Entry in the POM: scm:cvs:pserver:[EMAIL PROTECTED]:/cvsp01-data/hhla:${pom.artifactId} scm:cvs:pserver:[EMAIL PROTECTED]:/cvsp01-data/hhla:${pom.artifactId} MAVEN What happens: T:\workspaces\m2\hhla.lang>m2 release:prepare [INFO] snapshot hhla.library:hhla.library.pom:

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Kenney Westerhof
On Fri, 30 Sep 2005, Thomas Van de Velde wrote: Hi, > I ment to send this to the users list. Sorry for the double post! > > Cheers, > Thomas > > On 9/30/05, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I am wondering what the best way is to setup a project layout with M2 and

Re: [m2] assembly plugin not preserving manifest settings

2005-09-30 Thread Ashley Williams
Ok fair enough - looks as though I will need to write my own assembly file then. Is there any documentation available for doing this? On 30 Sep 2005, at 12:29, Brett Porter wrote: Yes. You gave the manifest to the original JAR file, not the assembly. The assembly is not aggregating the conten

Re: [M2] Recommended Project Layout and Eclipse

2005-09-30 Thread Thomas Van de Velde
I ment to send this to the users list. Sorry for the double post! Cheers, Thomas On 9/30/05, Thomas Van de Velde <[EMAIL PROTECTED]> wrote: > > Hi, > > I am wondering what the best way is to setup a project layout with M2 and > Eclipse for multiple modules. The > documentation

Re: [m2] assembly plugin not preserving manifest settings

2005-09-30 Thread Brett Porter
Yes. You gave the manifest to the original JAR file, not the assembly. The assembly is not aggregating the contents of the manifests. - Brett On 9/30/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > I currently have a project that I wish to build with manifest > classpath and dependency settings

[m2] assembly plugin not preserving manifest settings

2005-09-30 Thread Ashley Williams
I currently have a project that I wish to build with manifest classpath and dependency settings and so I added the following plugin configs to my pom: org.apache.maven.plugins maven-jar-plugin

RE: Cycle detected problem

2005-09-30 Thread Muralidhar Y.
Sorry and thanks for your suggestion. Muralidhar Y Software Engineer, Adastrum technologies-Nikai groups, EmiratesGroup-I.T Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -Original Message-

Maven2 plugin repo wrong!

2005-09-30 Thread Antonio PAROLINI
Hi, I am using maven-2.0-beta-2. It was working yesterday, and not this morning. When I run maven i get: Caused by: java.io.FileNotFoundException: http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-resources-plugin/maven-resources-plugin-RELEASE.version.txt at sun.net