Re: eclipse:eclipse does not generates proper folder for resources

2005-09-27 Thread Geoffrey
If you're using m1.1b2, try adding (or something similar) to your project.xml's resource element. The idea plugin doesn't generate resources if it's not included (it did in m1.0.2 though). Erick Dovale wrote: Hi there, When I call m2 eclipse:eclipse on any eclipse project it does it all fine

Re: [m2] multiple repository confusion

2005-09-27 Thread andrew
Brett Porter wrote: > Finally, the profile you have below should also work (you need to be > able to add this on some occasions - specifically when the parent that > specifies the repository to use is actually in the repository). I > think what you are lacking is a line to activate the profile.

Re: Can I get html reports out of maven 2 beta 2 surefire

2005-09-27 Thread Brett Porter
There is a plugin that is almost ready for release that will produce HTML reports, much like those in maven 1. It will be announced here - it is in SVN at http://svn.mojo.codehaus.org/ Regards, Brett On 9/28/05, Dhananjay Nene <[EMAIL PROTECTED]> wrote: > Thanks to maven 2 beta 2 I am now able t

Can I get html reports out of maven 2 beta 2 surefire

2005-09-27 Thread Dhananjay Nene
Thanks to maven 2 beta 2 I am now able to get a text output of the test case execution status. Any way I can get the same generated in html / xml format ? Dhananjay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [m2] multiple repository confusion

2005-09-27 Thread Saleem Shafi
Thanks for the tip, but it didn't quite work.. i wasn't sure if you meant that i should delete just the RELEASE value/element or the entire file.. i did both but neither worked, the value/file just came right back.. what did seem to work was replacing the RELEASE value with '1.0-alpha-3', the ve

Re: [m2-b1] classifier-specific dependencies colliding with generic dependencies

2005-09-27 Thread Brett Porter
I think its because the project you are depending on is in the reactor, and its probably a bug. Basically, its trying to use the built version of that project, but projects are only identified by group:artifactId - Brett On 9/28/05, John Fallows <[EMAIL PROTECTED]> wrote: > Folks, > > It seems l

Re: [m2] war:inplace

2005-09-27 Thread Brett Porter
If there isn't already, yes. It is currently part of a TODO in the code I think... - Brett On 9/28/05, Stephen Duncan <[EMAIL PROTECTED]> wrote: > Should a tracker against the war plugin component be added for > war:inplace and war:exploded? > > -Stephen > ---

Re: [m2] multiple repository confusion

2005-09-27 Thread Brett Porter
On 9/28/05, andrew <[EMAIL PROTECTED]> wrote: > Where I am having trouble is if I have a dependency that is not > available on the central maven/ibiblio repository, or my local > repository, but is available on my deployment repository. For example, > when a colleague deploys a project that I do no

Re: archetype:create help

2005-09-27 Thread Brett Porter
This looks like: http://jira.codehaus.org/browse/MNG-916 Please check ~/.m2/plugin-registry.xml - if that has RELEASE as a version in there somewhere, remove it - that should correct the problem. - Brett On 9/28/05, Saleem Shafi <[EMAIL PROTECTED]> wrote: > hello all, > > i'm a bit new to Maven,

[m2-b1] classifier-specific dependencies colliding with generic dependencies

2005-09-27 Thread John Fallows
Folks, It seems like there is a collision between dependencies from the same project but with different classifiers, causing only the main dependency artifact to be present on the compilation classpath. This example will look familiar to anyone following a previous public mock api thread. :-) pr

[m2] multiple repository confusion

2005-09-27 Thread andrew
Maven version: 2.0-beta-2 Hi, I am having some trouble getting m2 repositories to work as I expect. Not sure if the problem is with my configuration, or my expectation :) I can download plugins and dependencies from the main maven/ibiblio repositories to my local (~/.m2/repository) repository wi

archetype:create help

2005-09-27 Thread Saleem Shafi
hello all, i'm a bit new to Maven, so please bear with me.. i played around with Maven1 a bit, so i get the basic idea.. i finally got around to needing to do something a bit more serious and wanted to try Maven out.. i noticed that Maven2 b2 came out just today and got all excited.. i read al

M2 scm plugin

2005-09-27 Thread Michael Cassidy
Trying to get the scm plugin to work with my project using goal scm:update, And I get the following error. I know that the repository location is valid, but the plugin can't seem to find it. Just below is the configuration excerpt (The stuff in brackets I replaced to protect sensitive data).

Re: [m2] Archetype Plugin parameters and templates

2005-09-27 Thread Eric Jacob
Hi Jason, Thanks for your fast answer. However, I took a look at the " maven-archetype-quickstart-1.0-alpha-3.jar" in my local repository and I saw no velocity templates... Here where I looked: %USER_HOME%\.m2\repository\org\apache\maven\archetypes\maven-archetype-quickstart\1.0-alpha-3 Is it po

RE: using maven.test.skip

2005-09-27 Thread Anthony Kong
Thanks very much for your help, Andy! The 2nd problem I mentioned in my last mail seems to have something to do with how I read the variable back. Instead of I used And it works! Thanks, Anthony -Original Message- From: Andy Glick [mailto:[EMAIL PROTECTED] Sent: Tuesday, 27 Se

[ann] Maven 2.0 Beta 2 Released

2005-09-27 Thread Brett Porter
The Apache Maven team are proud to announce the second beta release of Maven 2.0. Download it from http://maven.apache.org/maven2/download.html Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build,

Re: [m2] war:inplace

2005-09-27 Thread Stephen Duncan
Should a tracker against the war plugin component be added for war:inplace and war:exploded? -Stephen On 9/27/05, Brett Porter <[EMAIL PROTECTED]> wrote: > On 9/27/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > Does everyone think it's wise to remove these different modes of > > operation? I und

Re: [m2] Newbie Questions

2005-09-27 Thread Brett Porter
Are you on beta-1? It should not have attempted to use the new version of the plugin. I will investigate. You can fix this by pinning your version to beta-1 of the site plugin, or getting the beta-2 core release. - Brett On 9/28/05, Beermann,Matthew <[EMAIL PROTECTED]> wrote: > > Just one more..

Re: [m2] multiple Suites and surefire

2005-09-27 Thread Brett Porter
I'm not sure the test parameter can be wildcarded? I think you want to change to **/*Suite*, right? - Brett On 9/28/05, Mike Perham <[EMAIL PROTECTED]> wrote: > Sorry Emmanuel but I still only see the first Suite being run. > > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL

Re: [m2] antlib and typedef - feel like a noob

2005-09-27 Thread Brett Porter
well, it would have if someone hadn't deleted it from SVN :) fixed... - Brett On 9/28/05, Chad Berghorst <[EMAIL PROTECTED]> wrote: > FYI - I logged a documentation bug about this, which has been fixed (see: > http://jira.codehaus.org/browse/MNG-918). I imagine we should see it the > next tim

Re: Cross-project dependencies on unit test code

2005-09-27 Thread Brett Porter
This has been asked 2 or 3 times this week. IIRC someone was going to write up their experience doing it? Would anyone like to volunteer to add it to the wiki? - Brett On 9/28/05, Raphaël Piéroni <[EMAIL PROTECTED]> wrote: > Hi Tim, > > May you try with something like this : > wrapper > +- core-a

Re: Building only dependencies

2005-09-27 Thread Brett Porter
On 9/28/05, Jerry Charumilind <[EMAIL PROTECTED]> wrote: > Is it possible to set up maven to allow me to request a build of C > which will also build D, E, and F automatically? I do not want to have > to aggregate the dependencies by hand, since they are already expressed > in the project.xml file

Re: Deploying to Local File System

2005-09-27 Thread Brett Porter
standard URL notation: file://localhost/path/to/file or file:///path/to/file - Brett On 9/28/05, Allison, Bob <[EMAIL PROTECTED]> wrote: > The repository that I deploy artifacts to is an NFS mount on my system. > Is there a way to specify the repository so that deploys just copy the > file like i

Re: [M2] equivalent to false

2005-09-27 Thread Brett Porter
On 9/28/05, Mike Perham <[EMAIL PROTECTED]> wrote: > Can dependency scopes solve most of this problem? Maybe the only jars > to appear in the eclipse .classpath should be those in the compile, test > and provided scopes? Or should the eclipse classpath reflect the full > set of libraries required

Re: [m20b2] Upgrade Problem with Site Plugin

2005-09-27 Thread Brett Porter
It seems you don't have the latest site plugin that was also released to match this change. This particular isssue required an API breaking change, unfortunately. Try m2 -U site:site once to see if it gets it. I'll update the download page with a note. - Brett On 9/28/05, Allison, Bob <[EMAIL P

Re: Maven ANT task help

2005-09-27 Thread Brett Porter
On 9/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm guessing from what i've seen that something like > "4.0-SNAPSHOT" gets the > same treatment as "SNAPSHOT" in maven 1.0? In that if it's newer in the > remote repository, > it will be transferred to the local repository. correct > I g

[m20b2] Upgrade Problem with Site Plugin

2005-09-27 Thread Allison, Bob
I upgraded from -beta-1 to -beta-2 this morning. When I try to build a site (m2 clean:clean site:site), I get the dump at the end of the message. I tried flushing my local repository in case there was a problem but the problem remains. I have also tried updating the site plugin (m2 -U site:site)

Re: and scoping

2005-09-27 Thread Brett Porter
Please file a feature request in JIRA. Thanks, Brett On 9/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Sorry, found the "useScope" attribute in the source code, which is not > documented in the ant tasks documentation page. > However, i've also found something else missing, which is retr

RE: [M2] equivalent to false

2005-09-27 Thread Mike Perham
Because you have a transitive dependency that you don't want polluting your Eclipse classpath but you still need at runtime? For example, when I hit Ctrl+Space to suggest a class I don't want to see the BSF classes but Tapestry needs that jar at runtime. Can dependency scopes solve most of this p

Re: eclipse:eclipse does not generates proper folder for resources

2005-09-27 Thread Kenney Westerhof
On Tue, 27 Sep 2005, Erick Dovale wrote: I use the plugin extensively and never had these sorts of problems. What is your pom.xml, directory structure, and how do you invoke eclipse:eclipse, and from what location? -- Kenney > Hi there, > When I call m2 eclipse:eclipse on any eclipse project it

Re: [M2] equivalent to false

2005-09-27 Thread Kenney Westerhof
On Tue, 27 Sep 2005, Erick Dovale wrote: No, there isn't, why would you want that? Maybe there's some other solution? > Hello there, > is there an equivalento to > false in M2 so that when I call > m2 eclipse:eclipse these dependecies don;t get added to the .classpath > file?? > > Thanks. > > edo

Deploying to Local File System

2005-09-27 Thread Allison, Bob
The repository that I deploy artifacts to is an NFS mount on my system. Is there a way to specify the repository so that deploys just copy the file like install does rather than needing an ssh connection? - To unsubscribe, e-mail:

Maven Plugin Matrix -- adding hyperlink to actual plugin sites would help newcomers

2005-09-27 Thread Miks Rozenbergs
Hi! The great Maven Plugin Matrix would be even more usefull if it would contain links to home sites of each plugin. Otherwise people should guess of what exactly it does by name of the plugin. Best Regards. Miks Rozenbergs,

Building only dependencies

2005-09-27 Thread Jerry Charumilind
Suppose I have several projects, A, B, C, D, E, F, none of which are a "main" project. However, there are dependencies between the various projects: project A depends on B (A->B), C->D, D->E, D->F, A->F for example. Is it possible to set up maven to allow me to request a build of C which will als

eclipse:eclipse does not generates proper folder for resources

2005-09-27 Thread Erick Dovale
Hi there, When I call m2 eclipse:eclipse on any eclipse project it does it all fine except for the fact that the src/main/resources directory is outputted to the root of the project. is it me whose missing something here or is there a bug?? I search in jira and did not find anything like this r

[M2] equivalent to false

2005-09-27 Thread Erick Dovale
Hello there, is there an equivalento to false in M2 so that when I call m2 eclipse:eclipse these dependecies don;t get added to the .classpath file?? Thanks. edovale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Cross-project dependencies on unit test code

2005-09-27 Thread Raphaël Piéroni
Hi Tim, May you try with something like this : wrapper +- core-api +- core-test (depend only on api) +- core-impl (with some test cases - depends on core-api and core-test the later with scope test) +- use-core-1 (depend on core-impl, depends on core-test at scope test - the test cases must not

Re: and scoping

2005-09-27 Thread MInger
Sorry, found the "useScope" attribute in the source code, which is not documented in the ant tasks documentation page. However, i've also found something else missing, which is retrieving arbitrary types of dependencies, such as tld files. I'd like to be able to do this: >From there, i

Cross-project dependencies on unit test code

2005-09-27 Thread Tim Dysinger
I have a "best practices" question. I have a multi-project setup with three sub-projects. Two of the sub-projects have tests which subclass tests in the "core" project. However, just having the sub-projects depend on "core" does not expose the unit test code and the build fails with a compilati

and scoping

2005-09-27 Thread MInger
Is there a particular reason that the task has no way to specify which level of scoping you are looking for? It would be nice if I could do the following: ... ... ... ... - Matthew Inger Fiberlink Communications Corp 215-664-1723

Re: [m2] antlib and typedef - feel like a noob

2005-09-27 Thread Chad Berghorst
FYI - I logged a documentation bug about this, which has been fixed (see: http://jira.codehaus.org/browse/MNG-918). I imagine we should see it the next time that the Maven 2 site is updated. >>> [EMAIL PROTECTED] 09/27/05 12:01 PM >>> Hi, There's a bug in the documentation. Instead of yo

Maven JDepend Plugin 1.5.1 release

2005-09-27 Thread Carlos Sanchez
The maven team is pleased to announce the Maven JDepend Plugin 1.5.1 release! http://maven.apache.org/reference/plugins/jdepend/ JDepend traverses Java class file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a d

Maven ANT task help

2005-09-27 Thread MInger
I'm trying to use the Maven Artifact tasks for ANT. We have an existing build structure which has several modules which share the same versions of various jar files. Not all modules use all jar files. My plan was this: 1. Create a parent pom file 2. Create a pom file for each i

Re: [m2] Newbie Questions

2005-09-27 Thread Beermann,Matthew
Just one more... I didn't see this one in Jira. The site:site goal seems to have broken overnight (literally - it downloaded a new version of the plugin when I ran it today). [INFO] [ERROR] BUILD ERROR [INFO] --

Re: [m2] antlib and typedef - feel like a noob

2005-09-27 Thread Davy . Toch
Hi, There's a bug in the documentation. Instead of you should have Regards, Davy Toch On Tuesday 27 September 2005 15:37, Darren Hartford wrote: > name="NewDepTest" > default="get-deps" > basedir="." > xmlns:artifact="urn:maven-artifact-ant" > > >

Re: Schedule Definitions

2005-09-27 Thread Emmanuel Venisse
The first field is the second's parameter, so run every hour if you want to run a schedule every 15 minutes, you must define it to : "0 0,15,30,45 * * * ?" The full description of schedule expression is there http://www.opensymphony.com/quartz/api/org/quartz/CronTrigger.html Emmanuel Allison

Re: m1.1b2 localization

2005-09-27 Thread jan_bar
Thanks, but it doesn't help, the date is still in Czech locale. Jan > You could hack the maven.bat file to use: > java -Duser.language=en -Duser.region=US - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Schedule Definitions

2005-09-27 Thread Allison, Bob
I am trying to set up a schedule to run every 15 minutes. I am a little confused about the current cron-style specification since, as written, it indicates that the DEFAULT_SCHEDULE (0 0 * * *) should run only at midnight. Is there some sort of disconnect between the text being displayed and the

[m2] antlib and typedef - feel like a noob

2005-09-27 Thread Darren Hartford
Hey all, I was ecstatic to see the maven repository support available through Ant! I tried to follow the clear instructions at http://maven.apache.org/maven2/ant-tasks.html, specifically the 'typedef' version. Unfortunately, I'm getting the "Could not create task or type of type: urn:maven-artifa

Re: m1.1b2 localization

2005-09-27 Thread Geoffrey
You could hack the maven.bat file to use: java -Duser.language=en -Duser.region=US jan_bar wrote: Hi, maven tries to display localized strings, for instance the last output line: Finished at : ter, 27. z 2005 11:15:33 CEST Unfortunately the text for Czech locale is bad, all the UNICODE charact

RE: [m2] multiple Suites and surefire

2005-09-27 Thread Mike Perham
Sorry Emmanuel but I still only see the first Suite being run. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 9:06 AM To: Maven Users List Subject: Re: [m2] multiple Suites and surefire use this : *Suite* surefire plugin add "**/ E

Re: [m2] multiple Suites and surefire

2005-09-27 Thread Emmanuel Venisse
use this : *Suite* surefire plugin add "**/ Emmanuel Mike Perham a écrit : I've got a project with multiple TestSuites and I have surefire configured like so: **/*Suite* I find that only the first TestSuite is being run. Are projects not allowed to have more than one TestSuite? mik

[m2] multiple Suites and surefire

2005-09-27 Thread Mike Perham
I've got a project with multiple TestSuites and I have surefire configured like so: **/*Suite* I find that only the first TestSuite is being run. Are projects not allowed to have more than one TestSuite? mike - To unsu

m1.1b2 localization

2005-09-27 Thread jan_bar
Hi, maven tries to display localized strings, for instance the last output line: Finished at : ter, 27. z 2005 11:15:33 CEST Unfortunately the text for Czech locale is bad, all the UNICODE characters for month and day name are lost (tried with Eclipse console and Win2k console). Seems like bug in

Fw: Error While executing Maven2 deploy

2005-09-27 Thread narayanan . devanathan
Narayanan Devanathan/CHN/TCS 09/26/2005 04:32 PM To users@maven.apache.org cc Subject Fw: Error While executing Maven2 deploy Dear All, Can anyone please help in resolving the below issue in Maven2? Regards and Thanks, Deva Narayanan Devanathan/CHN/TCS 09/22/2005 06:01 PM To users@

Re: [m2] war:inplace

2005-09-27 Thread Mark Hobson
On 27/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > The intended replacement for the deprecated mode is to have a > war:inplace and war:exploded goal (like m1), that will also perform > "compile" first. Ah right, no-one mentioned this - thanks for clarifying. Mark

Re: [m2] Mojo, subproject and self-reference

2005-09-27 Thread Brett Porter
This seems identical to the situation John Fallows is working through at the moment: http://mail-archives.apache.org/mod_mbox/maven-users/200509.mbox/[EMAIL PROTECTED] - Brett On 9/27/05, Gilles Scokart <[EMAIL PROTECTED]> wrote: > > > I'm writting a mock generator and I need advice on how to or

Re: [m2] war:inplace

2005-09-27 Thread Brett Porter
On 9/27/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > Does everyone think it's wise to remove these different modes of > operation? I understand they break the install/deploy goals, but > can't help thinking that removing them will break a lot more people's > in-development build cycle. The intend

Re: [m1.1b1] IntelliJ IDEA plugin with Maven 1.1beta1

2005-09-27 Thread Geoffrey
Brett, Have you gotten a chance to take a look at the following regression bug in m1.1b2 that corrupts the idea plugin a bit: > Try the following line in jelly: > 0${res.targetPath}0 0${res.targetPath == ''}0 > My output was: > [echo] 00 0false0 > > So the string is empty but still it's not e