Surefire test query.

2006-12-08 Thread Robert Langridge
Hi, I have a situation where all my test classes are in the same directory structure as my main classes. When I point the testSourceDirectory to the directory where all the source lives it does not exclude the normal source files. I thought by default the Surefire plugin only compiles and tests

remote touch on repository root directory

2006-12-08 Thread Brigitte . Ilsanker
After a successful deploy onto our central project repository server I'd like to do a touch onto the repository root directory in order to see easily that the deploy finished sucessful. I'm deploying from a windows machine up to a unix server with a simple command shell script and use scp for the

Re: what dependency is bringing in this artifact?

2006-12-08 Thread Mark Hobson
On 07/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: Build the site and look at the dependencies report, or run mvn with -X and look at the indented tree view of the dependencies. (You'll probably want to redirect it to a file and view it in something that doesn't wrap lines.) Or apply MPH-14

remote touch on repository root directory

2006-12-08 Thread Brigitte . Ilsanker
After a successful deploy onto our central project repository server I'd like to do a touch onto the repository root directory in order to see easily that the deploy finished sucessful. I'm deploying from a windows machine up to a unix server with a simple command shell script and use scp for the

surefire transitive classpath bug ?

2006-12-08 Thread Nigel Magnay
I think this is a bug in surefire. If I run my project with mvn -X I see in the output : [DEBUG] Retrieving parent-POM: org.apache.myfaces.maven:myfaces-master::1.0.2 for project: org.apache.myfaces.core:myfaces-core-project:pom:1.1. from the repository. [DEBUG]

Re: what dependency is bringing in this artifact?

2006-12-08 Thread Mark Hobson
I'll try again - the below email was rejected by an over-zealous spam filter (Symantec Mail Security detected prohibited content in a message sent from your address): On 08/12/06, Mark Hobson [EMAIL PROTECTED] wrote: On 07/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: Build the site and look at

Re: what dependency is bringing in this artifact?

2006-12-08 Thread Mark Hobson
On 07/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: Build the site and look at the dependencies report, or run mvn with -X and look at the indented tree view of the dependencies. (You'll probably want to redirect it to a file and view it in something that doesn't wrap lines.) (Third time lucky

Re: what dependency is bringing in this artifact?

2006-12-08 Thread Fabrizio Giustina
On 12/8/06, Mark Hobson [EMAIL PROTECTED] wrote: Or apply MPH-14 and use help:dependencies for an easy-to-read dependency tree! the patch has been applied, you should be able to run the help:dependencies goal using the latest snapshot available in the repo. cheers fabrizio

Javapolis Quickie: Introduction to Java EE Maven 2.0

2006-12-08 Thread Peter . Pilgrim
Hi I will giving a quickie presentation at JavaPolis 2006 next Monday lunchtime http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim Come on down! See also here http://www.javapolis.com/confluence/display/JP06/Quickies

Re: Install Running Twice

2006-12-08 Thread Milos Kleint
mevenide is using a m2 2.1-snapshot version in the embedded environment. The issue is possibly either in the embedder mode or in the fact that 2.1 and 2.0.4 are different version. Please file such issues against the embedder. a reproducible testcase is a plus of course. Milos Kleint On

EJB

2006-12-08 Thread Sangram Chavan
I am trying to build an EJB project using maven 2.0.4. While compiling I am getting the following error. Please advice. BUILD ERROR Embedded Error : D:\san\META-INF\ejb-jar.xml isnt a file -- Sangram

Re: EJB

2006-12-08 Thread Marco Mistroni
hi, pls post your pom.xml how r you generating your ejb-jar.xml? regards marco On 12/8/06, Sangram Chavan [EMAIL PROTECTED] wrote: I am trying to build an EJB project using maven 2.0.4. While compiling I am getting the following error. Please advice. BUILD ERROR Embedded Error :

Re: surefire transitive classpath bug ?

2006-12-08 Thread Wendy Smoak
On 12/8/06, Nigel Magnay [EMAIL PROTECTED] wrote: I think this is a bug in surefire. If I run my project with mvn -X I see in the output : ... [DEBUG] commons-logging:commons-logging:jar:1.0:compile (removed - nearer found: 1.0.4) ... However, the version of commons-logging that

m2eclipse and settings.xml

2006-12-08 Thread nicolas de loof
Hello, I'm trying m2eclipse from eclipse. I'm setting a custom repository and a mirrors for central in my settings.xml, but m2eclipse doens't seem to use it. Is there some configuration to set ? Nico.

Re: surefire transitive classpath bug ?

2006-12-08 Thread Nigel Magnay
But the -X shows 2 lines for commons-logging, both claiming to be selected for compile: [DEBUG] commons-logging:commons-logging:jar:1.1:compile (selected for compile) [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for compile) Though actually the compile works,

Re: Maven Release Plugin Version Problem

2006-12-08 Thread Antonio Parolini
I hade the same issue. I solved it by using the preparationGolas maven-release-plugin in order to do an install instead of integration-test: configuration preparationGoalsclean install/preparationGoals /configuration cheers, -tony Gilles Scokart wrote: Actually, to find a

Re: [m2 2.0.4] maven-release-plugin 2.0-beta-4 fails with ejb-client depency type to perform prepare

2006-12-08 Thread Antonio Parolini
I had the same issue. I solved it by using the preparationGolas maven-release-plugin option in order to do an install instead of integration-test: configuration preparationGoalsclean install/preparationGoals /configuration cheers, -tony Markku Saarela-2 wrote: For all ejb-client

Antwort: m2eclipse and settings.xml

2006-12-08 Thread Brigitte . Ilsanker
Hi, I experienced the same thing. Seems that m2eclipse doesn't know about the settings.xml. A workaround would be to start maven from commandline to force the download of external jars. Brigitte nicolas

Re: m2eclipse and settings.xml

2006-12-08 Thread nicolas de loof
I followed the maven guide for using eclipse (configure a keyword replacement in eclipse and some external tool launch). Seems there is fiew developper active on m2eclipse as there is no new release since May 2006, and plugin is only 0.0.9 (early alpha ?) Nico 2006/12/8, [EMAIL PROTECTED]

Re: Tagging a maven project in sourceforge with release:prepare fails with this message

2006-12-08 Thread Markku Saarela
Thanks, That resolved also mine release tagging problem at Sourceforge. Rgds, Markku David wrote: Just in case it's useful for someone, I've found the curious solution to this weird problem within the SF tracker after being knocking my head against the screen for some time...

Re: surefire transitive classpath bug ?

2006-12-08 Thread Lee Meador
The real problem is that your application several dependencies and they have dependencies and sor forth AND when you follow out that tree of dependencies you find several versions of common logging. I see 1.0, 1.0.4 and 1.1 but I may be missing some. When that happens there is no definite way to

configuration of wagon-ssh

2006-12-08 Thread Martin Goldhahn
Hi! I am trying to make password authentication work with the wagon-ssh. Juan F. Codagnone proposed a fix a year ago (WAGONSSH-21 on http://jira.codehaus.org/browse/WAGONSSH-21). Where do I put this configuration section? Putting it in the settings.xml in servers server configuration doesn't

Re: Archiva: 507 Insufficient Storage

2006-12-08 Thread Aaron . Digulla
Mohni, Daniel [EMAIL PROTECTED] schrieb am 07.12.2006 14:12:50: Just a question: Which version of wagon-webdav do you use for the upload? we use this: version1.0-beta-1/version With beta-1, I get the 507 quite often. With beta-2, it works most of the time. :-/ Regards, --

Re: checkstyles

2006-12-08 Thread Mark Hobson
Just been doing this myself and you can use regular plugin dependencies rather than resorting to extensions. For example, putting this in your company-wide parent pom will run checkstyle:check at the verify phase: build plugins plugin

Re: configuration of wagon-ssh

2006-12-08 Thread Martin van den Bemt
Something like this should work (in your settings.xml) : servers server idid of server that is used in pom/id usernameyour username/username passwordpassword/password /server /servers Mvgr, Martin Martin Goldhahn wrote: Hi! I am trying to make password authentication work

Javapolis Short Presentation: Introduction to Java EE Maven 2.0

2006-12-08 Thread Peter . Pilgrim
Hi I will giving a quick (15 minute) presentation at JavaPolis 2006 next Monday lunchtime http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En terprise+Edition+Maven+2.0+-+Part+1+-+by+Peter+Pilgrim Come on down! See also here

3rd Party Repository

2006-12-08 Thread Marc Boorshtein
Hello All, I'm trying to understand how to create a 3rd party repository. I'm not looking to build a mirror of ibiblio, but instead have my own 3rd party repository in addition to the repository. Thanks Marc - To unsubscribe,

Change default source version

2006-12-08 Thread Holt, Jack C.
Please forgive me if this question has been asked a million times already but I didn't see it in the FAQ and this is my first post so here goes... When I enter mvn package in the root directory of my project, I get a Compilation failure with the following error message (apparently from javac

[Ann] Maven-SCM 1.0-beta-4 is released

2006-12-08 Thread Emmanuel Venisse
Hi, I'm happy to announce the release of Maven-SCM 1.0-beta-4. This version includes lot of fixes for CVS, Subversion, Perforce, Clearcase, Starteam, Visual Source Safe and the support of CM Synergy. Release Notes :

Re: [Ann] Maven-SCM 1.0-beta-4 is released

2006-12-08 Thread Mick Knutson
When will this be on Ibiblio? and will it be here: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-beta-4/version configuration usernameusername/username

Re: [Ann] Maven-SCM 1.0-beta-4 is released

2006-12-08 Thread Dan Tran
already at repo1.maven.org -D On 12/8/06, Mick Knutson [EMAIL PROTECTED] wrote: When will this be on Ibiblio? and will it be here: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-beta-4/version

Re: [Ann] Maven-SCM 1.0-beta-4 is released

2006-12-08 Thread Mick Knutson
I also need some help getting Clear case configured. Is there an example I can use? On 12/8/06, Mick Knutson [EMAIL PROTECTED] wrote: When will this be on Ibiblio? and will it be here: plugin groupIdorg.apache.maven.plugins/groupId

Re: Change default source version

2006-12-08 Thread Mykel Alvis
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html On 12/8/06, Holt, Jack C. [EMAIL PROTECTED] wrote: Please forgive me if this question has been asked a million times already but I didn't see it in the FAQ and this is my first post so here

Re: 3rd Party Repository

2006-12-08 Thread Mykel Alvis
I'm about to start working on this again in the maven user wiki, but there are a lot of questions to be asked. 1. Why are you doing this? It makes a lot of sense to do, but your reasons for doing it determine things later in the chain. 2. Where are you doing this? In a publicly accessible

Re: [Ann] Maven-SCM 1.0-beta-4 is released

2006-12-08 Thread Dan Tran
read the doc, search the list, try to configure, and post your problem when encouter ;-) -D On 12/8/06, Mick Knutson [EMAIL PROTECTED] wrote: I also need some help getting Clear case configured. Is there an example I can use? On 12/8/06, Mick Knutson [EMAIL PROTECTED] wrote: When will

Re: 3rd Party Repository

2006-12-08 Thread Marc Boorshtein
1. I want a 3rd party repository because the jars I am using bulds that are in a public cvs, but have not yet been blessed by the owners. I would upload them to the main repository myself, but as I do not own them I would tyhink that is at leats rude if not worse. Since I am using it in my own

Re: Javapolis Short Presentation: Introduction to Java EE Maven 2.0

2006-12-08 Thread Mykel Alvis
Will notes, etc, become available from your talk? :) On 12/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I will giving a quick (15 minute) presentation at JavaPolis 2006 next Monday lunchtime http://www.javapolis.com/confluence/display/JP06/Introduction+to+Java+En

Re: 3rd Party Repository

2006-12-08 Thread Wayne Fay
If they're official builds with proper version numbers and not snapshots, I think they could certainly be hosted by the main repo. There are numerous blah-1.0-rc1.jar or -beta4.jar type projects in the repo already. Wayne On 12/8/06, Marc Boorshtein [EMAIL PROTECTED] wrote: 1. I want a 3rd

Re: 3rd Party Repository

2006-12-08 Thread Marc Boorshtein
If they're official builds with proper version numbers and not snapshots, I think they could certainly be hosted by the main repo. Thats what I was hoping. I'm currently validating that i wouldn't be breaking any licesnes. Thanks! Marc

Re: maven proxy question

2006-12-08 Thread Christian Goetze
Barrie Treloar wrote: Can you paste in the types of build failures you are getting? I get the usual cannot find artifact, can you upload it with the following commands error. I changed the the proxy setting to not check for pom file updates, and I'll see if it happens again. Proxy log

install-file does not work

2006-12-08 Thread leonid_ilyevsky
The install:install-file does not work for me. Here is the log: mvn install:install-file –DgroupId=spring –DartifactId=spring-core -DgeneratePom=true –Dversion=1.0 -Dpackaging=jar –Dfile=/local/lilyevsk/spring-framework-2.0.1/dist/modules/spring-core.jar [INFO] Scanning for projects... [INFO]

Re: 3rd Party Repository

2006-12-08 Thread Mykel Alvis
If they are hostable, and if they are valid versions, then please consider building a proper pom that lists the known dependencies and thier scopes rather than using the default pom that seems very prevalently used. It's always a good time to increase the order of things. On 12/8/06, Marc

Re: install-file does not work

2006-12-08 Thread Wendy Smoak
On 12/8/06, leonid_ilyevsky [EMAIL PROTECTED] wrote: The install:install-file does not work for me. Here is the log: It works fine here. Try adding -U to the command line to make sure you've got the latest release of the plugin. (Maybe install-file was added later.) (Why are you adding a

Re: Re: selenium plugin?

2006-12-08 Thread David
You can have a look at mavenium. It's a simple plugin that lets you use Selenium-IDE HTML tests in your maven webapp project and integrates in maven's build life cycle, stopping it whenever a test fails. Upload to the maven central repository pending. http://mavenium.sourceforge.net/ David

Re: install-file does not work

2006-12-08 Thread leonid_ilyevsky
Thanks Wendy. never mind, it works now. There was something wrong in my environment. Logout-login did the trick. Of course I will install Spring 2.0.1 as 2.0.1. The 1.0 was not relevant anyway when it did not work. Wendy Smoak-3 wrote: On 12/8/06, leonid_ilyevsky [EMAIL PROTECTED] wrote:

Appending the branch name to Eclipse .project and .classpath files generated by maven-eclipse-plugin.

2006-12-08 Thread Trustin Lee
Hi, I wrote a simple shell script that helps people who works with multiple branches of one project in Eclipse. We can use a separate workspace for each branch, but it's somewhat cumbersome. I tested the script in a various project settings such as a complex multiproject. Here's the page that

Re: how to have required files inside .settings folder

2006-12-08 Thread Arnaud HERITIER
you have to launch : mvn eclipse:eclipse -DwtpVersion=1.5 (It works only with a recent snapshot of the eclipse plugin) Arnaud On 12/7/06, Viral [EMAIL PROTECTED] wrote: I need few files to be present inside .settings folder like org.eclipse.wst.common.component org.eclipse.jdt.core.prefs

Re: maven proxy question

2006-12-08 Thread Barrie Treloar
See http://www.nabble.com/forum/ViewPost.jtp?post=7751368framed=yskin=177 You may need to change where you are point maven-proxy at. I've updated the maven-proxy to point to http://mirrors.ibiblio.org/pub/mirrors/maven2/ instead of http://www.ibiblio.org/maven2 and all appears to be well.

RE: maven proxy question

2006-12-08 Thread LAMY Olivier
Is there any chance to revert this redirection in ibiblio ? Because in a corporate environnemt some servers doesn't have full internet access and it's difficult/long to configure this (firewall + proxy). And due to this some build fails. Is there any maven guy which can ask ibibio for revert ?

relativePath in parent not honored

2006-12-08 Thread Bolisetty, Himabindu \(GE Healthcare\)
Hi All, Our organization has a pom hierarchy set up and the child poms refer to the parent pom using relativePath element. In the maven documentation, the following is clearly listed: Notice the relativePath element. It is not required, but may be used as a signifier to Maven to first search

Jar classpath order

2006-12-08 Thread Marco Di Cesare
I've looking through the archives and haven't found the answer I am looking for. We have a scenario where we are using some older Spring Jars with one of our projects that we are converting to use Maven 2. We use the standard spring Jar and the spring sand box Jar. The problem is that there is

Version range for plugin section

2006-12-08 Thread ekio
Hi, I know it is possible to specify version ranges when resolving dependencies. But I this feature does not seem to work in the plugin section. Is this intended? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId

Re: Jar classpath order

2006-12-08 Thread Wayne Fay
Two quick off the top of my head options: 1. Only depend on one of the jars, not both. Why are you using two versions of an artifact -- this smells wrong anyway. 2. Create a third jar under your own groupId that does not include the overlapping Asset class (and any others you don't want included

Example pom.xml for scm:checkout

2006-12-08 Thread mttw
Hello, I'm currently trying to figure out a pom.xml that simply checks out some files from a perforce depot. I've tried several ways, but nothing worked and now I'm beginning to despair... Can anyone show me a simple example pom.xml that is actually working? It needn't be perforce... Thanks in

Issue when deploying web application built using Maven 2 on Geronimo

2006-12-08 Thread Vinita Joshi
Hi, I am a new Maven user. When trying to deploy the web application which is built using Maven 2.0 onto Geronimo, I get the error about parsing application.xml. This file is being generated by Maven. I am not sure what is the issue here? Any help is appreciated. Thanks, Vinita My

Re: relativePath in parent not honored

2006-12-08 Thread Bob Allison
Usually when I have seen this it is because I messed up the path or version. Since it didn't point to a project with the EXACT group, artifact, and version specified in the child project's parent tag, Maven went looking in the repositories. - Original Message - From: Bolisetty,

Re: Issue when deploying web application built using Maven 2 on Geronimo

2006-12-08 Thread Wayne Fay
From my reading of the error message, it seems like Geronimo doesn't like the J2EE 1.3 application.xml file that Maven is generating for you, and instead expects a J2EE 1.4 file. My container is 1.3 compatible so I haven't had to configure 1.4, but I imagine this is supported by the EAR plugin

Using Jars located on System without using a repository

2006-12-08 Thread Alistair Bush
Hi I am currently investigating strategies of how to bring maven support to the package management system used in Gentoo Linux (portage) Here is a background on gentoo and portage. Gentoo is a linux source based distro, portage its package manager does any compiling, patching, 'draft

Re: Re: selenium plugin?

2006-12-08 Thread Dan Tran
looks like mavenium and selenium-maven-plugin at http://svn.codehaus.org/mojo/trunk/mojo/selenium-maven-plugin/ may want to merge. -D On 12/8/06, David [EMAIL PROTECTED] wrote: You can have a look at mavenium. It's a simple plugin that lets you use Selenium-IDE HTML tests in your maven

Properties file exclusion from a Jar in Maven2

2006-12-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am trying to exclude abc.properties from being put into the /classes directory when a jar is created. I try to do it like this. However, the file still is in the /classes directory after I run mvn package. I include this file as a resource because I need it during the build, but I don't want

Re: Properties file exclusion from a Jar in Maven2

2006-12-08 Thread Dan Tran
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html On 12/8/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: I am trying to exclude abc.properties from being put into the /classes directory when a jar is created. I try to do it like this.

Re: Using Jars located on System without using a repository

2006-12-08 Thread Wayne Fay
Take a look at this recent thread: from [EMAIL PROTECTED] [EMAIL PROTECTED] to users@maven.apache.org date Nov 30, 2006 5:24 AM subject MAVEN_INSTALL_DIR/conf/settings.xml It discusses specifying the localRepository in settings.xml file among other things you might find useful. Also,

Re: Example pom.xml for scm:checkout

2006-12-08 Thread Dan Tran
I am not a perforce user, but if you post your pom and error, someone may be able to help. D On 12/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I'm currently trying to figure out a pom.xml that simply checks out some files from a perforce depot. I've tried several ways, but

Re: Anyone seen a M2 XSTLC plugin?

2006-12-08 Thread Wayne Fay
I just found this: http://jira.codehaus.org/browse/MOJO-483 Haven't tried it yet, but it teaches me to search JIRA first next time! And even if this isn't perfect, it gives me something to work with rather than starting from scratch. Thanks to Matt Whitlock if you're reading... And I'm curious

Re: [m2 2.0.4] maven-release-plugin 2.0-beta-4 fails with ejb-client depency type to perform prepare

2006-12-08 Thread Markku Saarela
Thanks, That save for manually doing the same thing. rgds, Markku Antonio Parolini wrote: I had the same issue. I solved it by using the preparationGolas maven-release-plugin option in order to do an install instead of integration-test: configuration preparationGoalsclean

Re: Anyone seen a M2 XSTLC plugin?

2006-12-08 Thread Dan Tran
it has 0 vote ;-) until now :-). I wonder if it should be merged into xml-maven-plugin or stands by itself -D On 12/8/06, Wayne Fay [EMAIL PROTECTED] wrote: I just found this: http://jira.codehaus.org/browse/MOJO-483 Haven't tried it yet, but it teaches me to search JIRA first next time!

Re: Surefire test query.

2006-12-08 Thread Wayne Fay
Easiest fix is to simply move the 8 test files to the src/test rather than src/main. Given that its just 8 files, I don't know why you wouldn't just do it?? Wayne On 12/8/06, Robert Langridge [EMAIL PROTECTED] wrote: Hi, I have a situation where all my test classes are in the same directory

Re: what dependency is bringing in this artifact?

2006-12-08 Thread Wayne Fay
I got that Symantec Mail Security thing too recently but it seems like it wasn't the Maven Users list bouncing your mail, rather just someone who is subscribed who's Mail Admins have set something up which is sending us bounces for containing prohibited content. Rest assured, we got all 3 emails