Re: Some guidance using EJB client dependencies

2007-06-01 Thread Rémy Sanlaville
Hi Alexander and Marcel, A good news for us, the patch for the issue 2921 ( http://jira.codehaus.org/browse/MNG-2921) is applied. I haven't try it. Regards, Rémy 2007/5/29, Marcel Schutte <[EMAIL PROTECTED]>: Alexander, Your suggestion of using scope provided will work I guess, but I just ca

[ANN] Portlet Archetype 1.0.1 Released

2007-06-01 Thread Brett Porter
The Portlet Archetype 1.0.1 has been released. To use it, run: mvn archetype:create -DgroupId=... -DartifactId=... - DarchetypeArtifactId=maven-archetype-portlet -DarchetypeVersion=1.0.1 The reason for this release is to correct the issue ARCHETYPE-40 which caused the previous release to gen

How to reset java.home value from inside a pom file?

2007-06-01 Thread Tawfik, Sameh E
Hi, I'm using Maven version: 2.0.6, and I've different versions of java sdk installed on my machine. Currently on my WindowsXP, JAVA_HOME is set to C:\j2sdk1.4.2_13, but when I run maven I need to have JAVA_HOME set to C:\Program Files\Java\jdk1.5.0_11 instead. I can reset the value of JAVA_HO

any way to exclude many or all transitive dependencies with ?

2007-06-01 Thread nicolas de loof
Hello, Spring 2.1-m2 changed spring packaging and I had to revisit my POM. I get lot's of dependencies conflicts as many other dependencies introduce old spring modules as transitive dependencies. I'll have to set a huge number of to make it work. Is there any way to use exclude with some patte

Re: best practices: the location of configuration files vs resources

2007-06-01 Thread Rémy Sanlaville
Hello, This question is quite common. In fact, in my opinion, the documentation is not enough clear for this point. Have a look to nabble : http://www.nabble.com/Default-location-of-config-files--%3E-Maven-Standard-Directroy-Layo-ut--tf3466078s177.html#a9672316 HTH, Rémy

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan Arend Jansen
Still no effect ;-( mvn -U -Dsurefire.useSystemClassLoader=false install gave: [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for updates from central [INFO] [resources:reso

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan Arend Jansen
Attached a more datailed log Jan Arend Jansen wrote: > > Still no effect ;-( > > mvn -U -Dsurefire.useSystemClassLoader=false install > > gave: > > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking > for updates from central > > [INFO] artifact org.apache.maven.plugin

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Brett Porter
My apolgies, can you try -Dsurefire.useSystemClassLoader=false. Thanks, Brett On 01/06/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: Brett, the server seems to be up again I did a mvn -U install. The build 7 version was downloaded, but I got the same exception. Then I did mvn -DuseSyste

RE: UnsupportedClassVersionError on unit test using java 1.5

2007-06-01 Thread Piotr Skawinski
It works now fine thanks a lot !!! -:)))> Subject: RE: UnsupportedClassVersionError on unit test using java 1.5> Date: Thu, 31 May 2007 18:16:36 +0200> From: [EMAIL PROTECTED]> To: users@maven.apache.org> > Check out the options on the Surefire plugin. The jvm parameter seems to> be what you w

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan Arend Jansen
Same here! Please fix this. It is blocking for me. Help is very much appreciated! I need TestNG 5.5 so I need 2.4-SNAPSHOT... Jan-Christopher Bals-2 wrote: > > Hi! > > I have got the same problem. > > Can anyone fix the pom? > > [WARNING] POM for > 'org.apache.maven.surefire:surefire-booter:p

Scheduled build not run all goals

2007-06-01 Thread VILA Jean-Louis
Hi all, I've a simple configuration (Continuum 1.0.3, m2): 1 project (maven2), 2 Goals (sharing the same working copy of course) : The first goal : mvn clean test with a test profile especially to manage testFailureIgnore value (false for test go

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan-Christopher Bals
-- Forwarded message -- From: Jan-Christopher Bals <[EMAIL PROTECTED]> Date: 01.06.2007 10:03 Subject: Re: Surefire 2.4-SNAPSHOT errors To: Maven Users List Hi! I have got the same problem. Can anyone fix the pom? [WARNING] POM for 'org.apache.maven.surefire:surefire-booter:po

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan-Christopher Bals
Hi! I have got the same problem. Can anyone fix the pom? [WARNING] POM for 'org.apache.maven.surefire:surefire-booter:pom:2.4-SNAPSHOT:runtime' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM Jan 2007/5/31, mhargus <[EMAIL PROTECTED]>: I'm getting an

Re: SCM report?

2007-06-01 Thread Rémy Sanlaville
Hi, You also have the stat-scm plugin (cf. http://stat-scm.sourceforge.net/index.html). HTH, Rémy

multi-project archetype creation

2007-06-01 Thread Lieven Doclo
Hi, I'm currently trying to create a archetype for our standard project structure. One could describe it as: {artifactId}-all/ | --- {artifactId}-api/ | --- src/main/java/ pom.xml ... | --- {artifactId}-server/ | --- src/m

Re: Help with the scm cvs plugin

2007-06-01 Thread Emmanuel Venisse
The best way is to use ssh key, you'll find lot of tutorial about how to create them with Google Mohammad Nour El-Din a écrit : Thats good, but is there anyway to make the scm plugin or cvs itself to pass this password to the ssh so it does not prompt me for the password. I need to automate th

plugin shorthand not working as expected

2007-06-01 Thread ertnutler
I've read through and followed this: http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html I have a custom plugin whose groupId I've configured in a custom pluginGroup in my /conf/settings.xml like so: com.mycompany.maven.plugin In the generated plugin.xml

RE: Building files with different jdk versions

2007-06-01 Thread Piotr Skawinski
This is what I did, thanks a lot -:))> Date: Thu, 31 May 2007 20:44:01 -0500> From: [EMAIL PROTECTED]> To: users@maven.apache.org> Subject: Re: Building files with different jdk versions> > You probably should separate your project into different projects each> containing the set of files you w

[M2] Assembly plugin won't expand RAR files

2007-06-01 Thread James Abley
I have this in my assembly configuration: jackrabbit*rar jcr-repository.rar /applications true runtime This fails: [INFO] Failed to create assembly: Error adding file-set for 'org.apache.jackrabbi

Re: Could this be an xdoclet-maven-plugin issue?

2007-06-01 Thread Jeff Mutonho
I used XML Spy to validate the generated hbm.xml files and found out that indeed one of my hbm.xml , namely Person.hbm.xml , file is failing validation in XML Spy .The offending part is "unique" attribute which appears twice in the following entry : These hbm.xml files are being generat

Maven proxies / Let's get together

2007-06-01 Thread Tamás Cservenák
Hello all, since the first maven proxy appeared, the well known maven-proxy on codehaus, things changed. Slightly. Now, we have (or soon will have) these: Archiva Artifactory Gatekeeper Proximity All of these are able to act as "maven proxy" and a few (or a lot of) things more than that. Every

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Brett Porter
I've just deployed a new snapshot of the surefire-booter (you should get build 7). Can you try with the -U flag to get the update and see if that helps? If not, can you try with -DuseSystemClassLoader=false? Thanks, Brett On 01/06/07, Jan Arend Jansen <[EMAIL PROTECTED]> wrote: Same here! Pl

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan Arend Jansen
Is http://people.apache.org/repo down? I was trying to get your update Brett, but I cannot connect anymore. My Internet connectivity seems fine for other sites Brett Porter wrote: > > I've just deployed a new snapshot of the surefire-booter (you should > get build 7). > > Can you try wi

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Jan Arend Jansen
Brett, the server seems to be up again I did a mvn -U install. The build 7 version was downloaded, but I got the same exception. Then I did mvn -DuseSystemClassLoader=false, but the result was the same (see below) I run JDK 1.6.0_1 and maven 2.0.5 [INFO] snapshot org.apache.maven.surefire:su

archetype:create -- define packaging

2007-06-01 Thread Jan Torben Heuer
Hi, for automates project-creating, i'd like to define the parameter, set in a pom when creating submodules. Is that possible? As far as I read the documentation it is not, so why? Jan - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: multi-project archetype creation

2007-06-01 Thread Maria Odea Ching
Hi, There are available archetypes right now that are multi-module s.a. myfaces (http://wiki.apache.org/myfaces/MyFaces_Archetypes_for_Maven) or simple-j2ee (http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html) that you can use but the modules are specific to thes

Property precedence when using profiles

2007-06-01 Thread Kevin Stembridge
Hi all, I'm trying to use profiles to provide environment-specific properties but I'm not clear on how profile precedence works. Better Builds With Maven says that pom.xml overrides profiles.xml, which overrides settings.xml. But I've defined a property with the same name in a profile in setti

CVS Local checkout

2007-06-01 Thread Lee, Tim
Hi, I'm using an Scm Url of : scm:local:: - when I run the build I get the following output: 609392 [SocketListener0-1] INFO org.apache.maven.continuum.Continuum - Enqueuing 'test' (Build definition id=1). 610460 [Thread-2] INFO org.apache.maven.continuum.scm.ContinuumScm - Checking out pr

Re: [M2] Assembly plugin won't expand RAR files

2007-06-01 Thread Dan Tran
assembly plugin uses plexus-archiver which currently does not support unpacking .rar extension. File a enhancement request against both plexux-archiver and assembly plugin. -D On 6/1/07, James Abley <[EMAIL PROTECTED]> wrote: I have this in my assembly configuration:

How-to use a lib directory instead of the repository

2007-06-01 Thread Maarten Volders
All, I have a lot of libs which are not in the repository (central) each of them depending on a whole bunch of other libs, and manually putting them in the internal repository is really a lot of work, type-work :-) because all the dependencies have to be declared manually. So instead I want to ma

Re: How-to use a lib directory instead of the repository

2007-06-01 Thread CasMeiron
I dont think u can do that. Maven uses repository (groupId + artifactID) to find urs dependencies, its not that hard to create them using maven install command line. U should try. On 6/1/07, Maarten Volders <[EMAIL PROTECTED]> wrote: All, I have a lot of libs which are not in the repository (

Re: CVS Local checkout

2007-06-01 Thread David Roussel
what version(s)? On Fri, 1 Jun 2007 13:41:52 +0100, "Lee, Tim " <[EMAIL PROTECTED]> said: > Hi, > ... > > Tim

Re: How-to use a lib directory instead of the repository

2007-06-01 Thread Wayne Fay
If its really that much work, you could merge all your jars into a single huge jar, then you only have one jar to install and one dependency to add to your pom.xml files. But more seriously, Maven does not have the ability to utilize jars in lib folders. The only way it gets dependencies is via t

testing a plugin that generates source

2007-06-01 Thread kelvin goodson
Hi, I'm trying to understand best practice for testing a plugin [1]. The plugin is aimed at exercising a tool that generates java source from XML schema. It is bound to the generate-sources phase. I have inherited this plugin, so I'm at novice level in developing maven plugins. I want to do a

Re: [M2] Assembly plugin won't expand RAR files

2007-06-01 Thread James Abley
On 01/06/07, Dan Tran <[EMAIL PROTECTED]> wrote: assembly plugin uses plexus-archiver which currently does not support unpacking .rar extension. File a enhancement request against both plexux-archiver and assembly plugin. http://jira.codehaus.org/browse/PLXCOMP-67 and http://jira.codehaus.

RE: CVS Local checkout

2007-06-01 Thread Lee, Tim
1.0.3 Thanks, Tim -Original Message- From: David Roussel [mailto:[EMAIL PROTECTED] Sent: 01 June 2007 14:55 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: CVS Local checkout what version(s)? On Fri, 1 Jun 2007 13:41:52 +0100, "Lee, Tim " <[EMAIL PROTECTED]> said: > Hi, > ... >

isXX vs getXX plugin

2007-06-01 Thread nenad . jaksic
Hello, similar as plug-in from: http://fisheye5.cenqua.com/browse/~raw,r=1.1/jaxb2-commons/www/boolean-getter/index.html does I have the following problem: Oracle SOA-OC4J expects getXX method to perform data binding and JAXB uses isXX. and I use Maven to compile/deploy services Is there simil

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread mhargus
Looks like I'm not the only one. Here's a little more detail to help debug. *JDK 1.5 *Mac OS X *Maven 2.0.6 Also, I'm using TestNG, which necessitates using the 2.4-SNAPSHOT version. Here's a link to the log of the failed install I ran with the debug flag: http://rafb.net/p/kEFDBH54.html Let

Re: CVS Local checkout

2007-06-01 Thread Emmanuel Venisse
It isn't normal, and I'm sure you'll get the same result if you run a checkout manually. Something should be wrong in your cvs. Emmanuel Lee, Tim a écrit : Hi, I'm using an Scm Url of : scm:local:: - when I run the build I get the following output: 609392 [SocketListener0-1] INFO org.apach

Re: How-to use a lib directory instead of the repository

2007-06-01 Thread Jeff Jensen
To not have them in the repo, you could look at of system, and set . You will still have to declare each dependency. It is a Maven tenet to declare all dependencies. If your situation allows sharing the dep list across projects, a parent pom could contain some/all of the deps. This would

RE : How-to use a lib directory instead of the reposit ory

2007-06-01 Thread Deneux, Christophe
Hi, To do that, you must use a private repository. A private repository has the same directory tree than your local repository ($HOME/.me/repository), and is located in your project. It is declared in your pom into the section and/or . Its URL is a file based URL. Moreover, in a multomodule

Re: Maven proxies / Let's get together

2007-06-01 Thread Tim Moloney
This email message caught my attention because I am about to start investigating the different maven proxies available. Since you said that all of the current maven proxies are essentially repository managers and you are suggesting that we combine them and all of their features into one projec

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread SiSi'mon
Oracle simply requires an agreement to distribute the jars (or put on a public repository). I am wondering why Apache Maven VIP's could not sign the agreement and distribute them from the repo1 repository. Any idea who I could be put in touch with to do this? I have copies of the documents and

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread Wayne Fay
Another reasonable question is why does Oracle not simply set up a Maven repo to host their files, like JBoss and Sun etc have already done? Or even better, why doesn't someone from Oracle contact the Maven dev team and ask them to pretty please, with sugar on top, host these files so our customer

Re: RE : How-to use a lib directory instead of the repository

2007-06-01 Thread Maarten Volders
Great! This is exactly what I was looking for, I'll give it a try over the weekend. Thx Maarten On 6/1/07, Deneux, Christophe <[EMAIL PROTECTED]> wrote: Hi, To do that, you must use a private repository. A private repository has the same directory tree than your local repository ($HOME/.me/

Newbie question 1

2007-06-01 Thread Chris Helck
Hi, I'm confused. I've added a managed repository that points to one of our in house repos. I delete my .m2/repository and was able to rebuild a project. Yet, if I click on the "scan repository now" button it says that it has zero files. I assumed that archiva would cache stuff that it downloads.

Newbie Question 2

2007-06-01 Thread Chris Helck
Hi, How do I make maven use Archiva to fetch things from the central repo? Thanks, Christopher Helck ** This communication and all information (including, but not limited to, market prices/levels and data) contained therein (t

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread icetravel
I have a similar problem that I list below : If someone has an idea ? D:\Integration-Lugma\production-tree>mvn -e package + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building Mock [I

Re: Maven proxies / Let's get together

2007-06-01 Thread Tamás Cservenák
Hello, no, i'm not talking about bringing them under one project. I think it is too late for that. IMHO, every MRM (MRM as Maven Repo Manager and not Archiva predecessor) team achieved a lot, and it would be irrealistic to expect from them to throw it away or dissect it. And even if they do, the

Re: Maven surefire question

2007-06-01 Thread SiSi'mon
I am not sure I understand. I want to shut down and cause a ripple effect so that no other tests run. Si'Simon James Abley-2 wrote: > > On 31/05/07, SiSi'mon <[EMAIL PROTECTED]> wrote: >> >> >> As I understand it, typically when a JUnit test fails, you want it to >> stop >> right there and re

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread Wayne Fay
Good luck with that. It may be easier to work on this from the Oracle front given that you know some people inside Oracle -- Maven is a project of Apache, and things like this must go through Apache Legal etc which is nontrivial. Wayne On 6/1/07, SiSi'mon <[EMAIL PROTECTED]> wrote: Yea, I thou

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread Carlos Sanchez
it would be the Apache Maven PMC but I'm pretty sure it won't be possible AFAIK They require explicit agreement of the license from people downloading it which is something maven can't do yet On 6/1/07, SiSi'mon <[EMAIL PROTECTED]> wrote: Yea, I thought of this but it seemed like more trouble t

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread SiSi'mon
Yea, I thought of this but it seemed like more trouble than it is worth and I even worked at Oracle and know people there. My first attempt will be to get the Maven team to sign some paper allowing them to post the jars and then work on Oracle. Who do I talk to at maven.org? Si'mon Wayne Fay

Re: Maven proxies / Let's get together

2007-06-01 Thread Jason van Zyl
On 1 Jun 07, at 12:02 PM 1 Jun 07, Tamás Cservenák wrote: Hello, no, i'm not talking about bringing them under one project. I think it is too late for that. IMHO, every MRM (MRM as Maven Repo Manager and not Archiva predecessor) team achieved a lot, and it would be irrealistic to expect fr

Re: Help with the scm cvs plugin

2007-06-01 Thread Mohammad Nour El-Din
Yeah I read about this, but what if I don't have administration access to the server I connect to ? On 6/1/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: The best way is to use ssh key, you'll find lot of tutorial about how to create them with Google Mohammad Nour El-Din a écrit : > Thats goo

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Joel Wiegman
Hi! Same exact problem here, even after following all of the steps suggested. Anyone have any work arounds (other than commenting out massive sections of my pom.xml file)? >I have got the same problem. > >Can anyone fix the pom? > >[WARNING] POM for >'org.apache.maven.surefire:surefire-booter

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread SiSi'mon
I spoke with Oracle and they said in order for anyone to distribute the jars, an agreement is needed from the distributor as a vendor. I don't have the details yet on what the receiver of the jars may need to agree to or sign but hope there is a way around this. Thanks Si'mon Carlos Sanche

Re: plugin shorthand not working as expected

2007-06-01 Thread Steven Rowe
Have you tried removing your entire local repo? That seems to fix lots of problems... Steve ertnutler wrote: > I've read through and followed this: > http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html > > I have a custom plugin whose groupId I've configured i

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2007-06-01 Thread SiSi'mon
and going through legal at Oracle is trivial? With lawyers I am surprised anything at all this world is actually allowed to move. Si'mon Wayne Fay wrote: > > Good luck with that. It may be easier to work on this from the Oracle > front given that you know some people inside Oracle -- Maven i

Re: maven-clover-plugin

2007-06-01 Thread Jerome Lacoste
On 5/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi Everyone, I'm running the maven-clover-plugin with the instrument goal on a pom that has modules. The plugin fails on the ear project because it does not contain java files. Can I pass an exclude argument to the clover plugin to skip

Project dependencies in test classes

2007-06-01 Thread Walker_Les
I think that this has been dealt with before in the past, but only as a shortcomming of maven. I'm trying to find whether a feature has been added to remedy this... I have two projects that are dependent on each other B --> A. Project A provides some infrastructure that project B uses to implement

RE: Dependency and groupId?

2007-06-01 Thread Tawfik, Sameh E
Hi Wayne, I'm using "Better Builds With Maven", and I followed the example in chapter 3, but I still get the same error! I must be missing something or not set something correctly? But, I'm not sure what? Attached are my three pom files, the parent and the two sub ones. I made copies and rename

Re: Project dependencies in test classes

2007-06-01 Thread Wayne Fay
This was JUST asked and answered earlier today. from Maarten Volders to Maven Users List date Jun 1, 2007 12:33 AM subject Module B can't find base test class from module A during compilation As for this being a "shortcoming" of Maven, this is simply an inaccurate statement. Wayne On 6/1

Re: Dependency and groupId?

2007-06-01 Thread Wayne Fay
Here's my critiques of your poms: parent: looks ok common add com.fairisaac.mbpa after add 7.0 after add jar after dataaccess add com.fairisaac.mbpa after add 7.0 after Probably, the only thing you really absolutely need is the element in common. Finally, you need to run "mvn install" f

RE: Project dependencies in test classes

2007-06-01 Thread Walker_Les
> As for this being a "shortcoming" of Maven, this is simply an > inaccurate statement. Then it's a good thing that I didn't say that. As for missing it being posted today, I searched the archives and didn't find it. Thanks for the pointer, I'll go and read that thread. -- Les -Original Me

RE: Dependency and groupId?

2007-06-01 Thread Tawfik, Sameh E
Thanks Wayne that did the trick! Sameh -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 12:50 PM To: Maven Users List Subject: Re: Dependency and groupId? Here's my critiques of your poms: parent: looks ok common add com.fairisaac.mbpa after

Maven not respecting order of profiles passed in on the command line

2007-06-01 Thread EJ Ciramella
Hey m2 mailing list - I'm having some issues with getting profiles activated that I'd like. I'm using version 2.0.5 (and tested with 2.0.6 with the same results) and when I do something like: mvn help:active-profiles -Ppersonal,StackDefaults,ca-lime,root I see this: Active Profiles for

Re: How to tell Maven where to find jar (specify classpath)

2007-06-01 Thread Mark Derricutt
Could you not include the jar and a pom for it in a repository in your distribution relative to the pom you mentioned originally - then reference this repo relative to your pom? On 6/1/07, SiSi'mon <[EMAIL PROTECTED]> wrote: Is there a way to tell maven about another jar?

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Brett Porter
Surefire had only been partially deployed. I've just deployed the whole thing - try with -U again to see if that corrects the problem and let us know if not. This is under active development and may break - this is why it is not released. If you need to get a hold of the code that was previously

Re: Surefire 2.4-SNAPSHOT errors

2007-06-01 Thread Brett Porter
I have just deployed a 2.4-collab-SNAPSHOT which *should* be identical to the previous one in use. It's temporary, but it might help if 2.4-SNAPSHOT isn't working for you. On 02/06/07, Brett Porter <[EMAIL PROTECTED]> wrote: Surefire had only been partially deployed. I've just deployed the whole