RE: [M2] Too heavy load for ibiblio?

2005-11-08 Thread Jörg Schaible
Hi Brett, Brett Porter wrote on Wednesday, November 09, 2005 12:35 AM: > Just the metadata by default, but the poms can be enabled for > refreshes. Fine. This matches my patch http://jira.codehaus.org/browse/MAVENPROXY-34. Metadata and their checksums are handled like snapshots and looked up a

Re: built in project properties

2005-11-08 Thread Anuerin Diaz
On 11/9/05, Brett Porter <[EMAIL PROTECTED]> wrote: > The only properties available are ${basedir} and ${project.*} where * > mirrors the POM layout, eg ${project.build.directory} is 'target'. > > - Brett > thanks brett but that did not work. it was one of the things that I tried "echoing" in an a

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-08 Thread Brett Porter
The @component tag is in 2.0. The other form is deprecated. /** * @component */ private ArtifactFactory factory; (role is only necessary for a list of components or if it differs from the type) - Brett On 11/9/05, David H. DeWolf <[EMAIL PROTECTED]> wrote: > Jason van Zyl wrote: > > On Tue, 2

Re: [m2] How dependency versions are resolved with transitivity?

2005-11-08 Thread Brett Porter
The default in Maven 2.0 is to use "soft versions", ie if you say "2.0.2", you are recommending, but not enforcing, that version. You can instead give a range such as [1.0,2.0) - this is a hard requirement. To force a specific version, you can say [2.0.2,2.0.2]. If two dependencies have mutually

Re: [m2] How dependency versions are resolved with transitivity?

2005-11-08 Thread Roger Hoover
My understanding is that Maven 2 supports a syntax for specifying a range of versions in a dependency. What is the syntax for this? I searched the Maven site and found only a link saying documentation was needed for it ( http://maven.apache.org/maven2/docs-required.html). Will transitive dependenc

RE: [m2] doc suggestions (was Guide to creating archetypes)

2005-11-08 Thread Jeff Jensen
Besides the multi-module doc, my experience wishes for the POM entry descriptions - some are too vague. More detail (what is it for/why would you use it, how to use it), examples, valid values, etc. would help a lot. I think the project descriptor has big potential as a solid reference vehicle, w

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-08 Thread David H. DeWolf
Jason van Zyl wrote: On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote: I'm developing a plugin which requires an ArtifactFactory and ArtifactResolver and am attempting to get them injected. I have tried two approaches: @component role="org.apache.maven.artifact.resolver.ArtifactReso

Re: [M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 22:08 -0500, David H. DeWolf wrote: > I'm developing a plugin which requires an ArtifactFactory and > ArtifactResolver and am attempting to get them injected. I have tried > two approaches: > > @component role="org.apache.maven.artifact.resolver.ArtifactResolver" > @compon

[M2] Injecting ArtifactFactory and ArtifactResolver into Plugin

2005-11-08 Thread David H. DeWolf
I'm developing a plugin which requires an ArtifactFactory and ArtifactResolver and am attempting to get them injected. I have tried two approaches: @component role="org.apache.maven.artifact.resolver.ArtifactResolver" @component role="org.apache.maven.artifact.factory.ArtifactFactory" and @p

[m2] Third party repository

2005-11-08 Thread Chris Bozic
I have a large number of third party jars that I don't have the source for but am legally allowed to use for my project. I would like to create a maven2 remote repository (containing these third party jars) that is available to the rest of our development team inside our office network. I have re

Re: [m2] Custom artifact types (and the handlers who love them)

2005-11-08 Thread Brett Porter
Yes, while the docs are lacking in this area it is very similar to the build lifecycle which is documented. - add components.xml with handler reference (see maven-artifact for examples) - when using the plugin, set true to make the type available. On 11/9/05, David Jackman <[EMAIL PROTECTED]> wro

Re: [M2] How to designate what classes go in the ejb client jar

2005-11-08 Thread Brett Porter
It seems the excludes weren't made configurable as they should have been. Can you file a request in JIRA? - Brett On 11/9/05, Ballard, Ken <[EMAIL PROTECTED]> wrote: > In M1.0.2, I put this: > > maven.ejb.client.base.excludes=**/*EJB.class,**/*Bean.class,**/*CMP.class,** > /*Session.class,**/*Loc

Re: Profiles not working?

2005-11-08 Thread Brett Porter
yes, but that is what the activation is for. Please file a JIRA issue for investigation. On 11/9/05, Brian E. Fox <[EMAIL PROTECTED]> wrote: > Mvn -Pwindows should do it. > > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mike Whittemore > Sent: Tuesday, November 08

Re: [m2] How can I deploy the maven-tomcat-plugin to my local remote repository?

2005-11-08 Thread Brett Porter
Does your project have your company repository listed as a pluginRepository? (not just a normal repository) On 11/9/05, KC Baltz <[EMAIL PROTECTED]> wrote: > I've pulled the Tomcat plugin from codehaus via svn and had good success > installing and using it. Now I'd like to deploy it to our inter

Re: [m2]Need help with antrun (ClassCastException)

2005-11-08 Thread Brett Porter
You can't use the artifact tasks within antrun scripts (the bug is fixed in 2.0.1). - Brett On 11/9/05, KC Baltz <[EMAIL PROTECTED]> wrote: > I'm getting a ClassCastException trying to execute my build.xml file. Can > anyone figure out why? > > > > Embedded error: The following error occurred w

Re: SNAPSHOT replacement

2005-11-08 Thread Brett Porter
not at present On 11/9/05, Duane Homick <[EMAIL PROTECTED]> wrote: > Is there a way to have SNAPSHOT just be replaced by the build number and not > by the date-build number? Can I control the formatting as well? (ie. use _ > instead of -) > > Thanks > Duane Homick > Software Engineer > Sandvin

Re: [m2] 's

2005-11-08 Thread Brett Porter
The version is required too. Automatic versioning of the parent was deferred until 2.1. - Brett On 11/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I understand that artifactId and groupId are still required. But when I try > using (and therefore removes the version element), Mave

Re: M2 Getting started guide

2005-11-08 Thread Brett Porter
Isn't the old guide still around somewhere? - Brett On 11/9/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > On Tue, 2005-11-08 at 08:51 -0700, [EMAIL PROTECTED] wrote: > > Hi All > > > > I am also looking for this information and I cannot find any guidance on the > > correct structure for multiple

Re: Maven SVG Plugin

2005-11-08 Thread Martin van den Bemt
Never seen it before, but the project is quite recent compared to mine. It's a lot more up-to-date with dependencies though :) Mvgr, Martin Lukas Theussl wrote: Don't know if you are aware of this: http://doodleproject.sourceforge.net/projects/mavenite/maven-batik-plugin/index.html Never u

Re: After using install:install-file for 3rdparty jar, maven2 still checks ibiblio

2005-11-08 Thread Chris Richardson
Its looking for a .pom. Thanks Chris On 11/8/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > Is it looking for the JAR or POM? > > If it is the POM, it is a known issue to be addressed in the next > release. You can create a stub pom (or even an empty file) in the > local repository to avoid th

Re: Maven SVG Plugin

2005-11-08 Thread Lukas Theussl
Don't know if you are aware of this: http://doodleproject.sourceforge.net/projects/mavenite/maven-batik-plugin/index.html Never used it though... -Lukas Martin van den Bemt wrote: See http://www.mvdb.org/maven/plugins/svg/ The first line on How to use? is a bit outdated though and I am not s

Re: After using install:install-file for 3rdparty jar, maven2 still checks ibiblio

2005-11-08 Thread Brett Porter
Is it looking for the JAR or POM? If it is the POM, it is a known issue to be addressed in the next release. You can create a stub pom (or even an empty file) in the local repository to avoid the issue. - Brett On 11/9/05, Chris Richardson <[EMAIL PROTECTED]> wrote: > Hi, > I used install:insta

Re: Maven SVG Plugin

2005-11-08 Thread Martin van den Bemt
See http://www.mvdb.org/maven/plugins/svg/ The first line on How to use? is a bit outdated though and I am not sure the plugin still works with more recent maven 1.x versions (it's been a while since I actually used it). Hmm see it is almost 2 years old, so assume that dependencies are kind of

After using install:install-file for 3rdparty jar, maven2 still checks ibiblio

2005-11-08 Thread Chris Richardson
Hi, I used install:install-file to install a bunch of 3rd party jars into my local (default) repository But maven 2.0 insists on trying to download the dependency from http://repo1.maven.org. This fails of course: [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/m

Re: [M2] Problem using scm with cvs

2005-11-08 Thread Brett Porter
This looks like a bug... On 11/9/05, Tony Steele <[EMAIL PROTECTED]> wrote: > I am trying to use cvs as the scm with the cvs user name etc specified > in the local settings.xml. However the profile properties do not appear > to be substituted in the scm connection string. > > Anybody got any ideas

Re: JCOVERAGE for MAVEN 2

2005-11-08 Thread Brett Porter
David, Do you have specific examples? - IDEA is now feature complete, pending release - I've unchecked QALabs Cheers, Brett On 11/8/05, David Sag <[EMAIL PROTECTED]> wrote: > > > I do not put much stock in that matrix - it's not exactly accurate. > > Kind regards, > Dave Sag > > > > > > > stéph

Re: [M2] - maven-release-plugin cannot load SCM provider

2005-11-08 Thread Brett Porter
No problem. Perhaps you could help reword the docs to make it clearer what tagBase does/is? - Brett On 11/9/05, Trent Rosenbaum <[EMAIL PROTECTED]> wrote: > Brett thanks for taking the time to look into my issues with the > maven-release plugin. > I was able to deploy a release locally. I just t

Re: Can't use maven2 (offline)

2005-11-08 Thread Brett Porter
If you are overriding the ibiblio repositories, set the id of both to "central". You may also need to use file:///mypath. A plugin repository is where a plugin is searched for, a normal repository is for all other dependencies and extensions. On 11/8/05, Eric Parpal <[EMAIL PROTECTED]> wrote: > >

Re: built in project properties

2005-11-08 Thread Brett Porter
The only properties available are ${basedir} and ${project.*} where * mirrors the POM layout, eg ${project.build.directory} is 'target'. - Brett On 11/8/05, Anuerin Diaz <[EMAIL PROTECTED]> wrote: > you could use ${project.basedir} or ${basedir} to get a reference to the > path containing the pom

Re: [m2] install plugin bug with classifiers ?

2005-11-08 Thread Brett Porter
The first is easier. You should be able to remove the executions element then, and just add the configuration for both plugins in the profile when it is activated. If that doesn't work, can you attach a minimal test case to a jira item for 2.0.1? - Brett On 11/8/05, Julien Stern <[EMAIL PROTECTE

Re: [M2] Too heavy load for ibiblio?

2005-11-08 Thread Brett Porter
Just the metadata by default, but the poms can be enabled for refreshes. It'd probably be best to always reget the checksums, and if they've changed redownload the rest. - Brett On 11/8/05, Jörg Schaible <[EMAIL PROTECTED]> wrote: > > Allison, Bob wrote on Saturday, October 29, 2005 2:52 AM: > >

Re: Unit test stub object question

2005-11-08 Thread Aaron Colwell
On Mon, Nov 07, 2005 at 09:25:33PM +0100, Arnaud Bailly wrote: > Aaron Colwell wrote: > >Hi, > > Hello, > Could'n you make a separate 'test-stub' project and add a dependency in > your project ? This would cleanly separate test code from main code > while giving you greater control on how your s

Re: Maven SVG Plugin

2005-11-08 Thread Jorg Heymans
Martin van den Bemt wrote: > I have an SVG Plugin for maven 1 and I wonder if anyone is interested in > using that plugin in maven2 (the maven1 plugin was never released, but > is in public cvs on mvdb.org). If there is any interest in a maven2 > plugin, I will try to have a go at a rewrite this

[m2]Need help with antrun (ClassCastException)

2005-11-08 Thread KC Baltz
I'm getting a ClassCastException trying to execute my build.xml file. Can anyone figure out why? Embedded error: The following error occurred while executing this line: C:\copart\handheld\build.xml:12: java.lang.ClassCastException: org.apache.maven. artifact.manager.DefaultWagonManager My

RE: Profile precedence?

2005-11-08 Thread Brian E. Fox
I'm getting too good at answering my own questions. It seems to be alphabetically by id...Last one wins. I can see why this would be the case, but probably not always the best solution. I would like to have control over this by either POM order, or if specified by -P, the order there. -Origi

Re: War and Site plugins: final release soon?

2005-11-08 Thread Brett Porter
the corny "when its done" answer. You're right, we need to resolve the outstanding issues (minor as they are in most cases) first. - Brett On 11/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi guys, > > Maven 2.0 has been released for quite a while now, and I was wondering when >

Re: [m2] Deploying and using snapshot versions

2005-11-08 Thread Richard Wallace
Oh wait, nevermind. It's a problem with my eyes. The pom it's trying to download is for it's parent project which I haven't deployed yet. Richard Wallace wrote: Hello again, I have several projects that I'm trying to convert to use maven 2. There are some that are dependent on others. The

[m2] Deploying and using snapshot versions

2005-11-08 Thread Richard Wallace
Hello again, I have several projects that I'm trying to convert to use maven 2. There are some that are dependent on others. The projects that are depended on have versions like 0.2-SNAPSHOT. With m1 this wasn't a big deal, everything was treated the same pretty much. Now, when I do a 'mv

[m2] How can I deploy the maven-tomcat-plugin to my local remote repository?

2005-11-08 Thread KC Baltz
I've pulled the Tomcat plugin from codehaus via svn and had good success installing and using it. Now I'd like to deploy it to our internal remote repository. I can run the deploy (not tomcat:deploy) goal and everything appears to work. however, when I delete the maven-tomcat-plugin directory

Profile precedence?

2005-11-08 Thread Brian E. Fox
I am trying to determine how maven processes profiles. I have defined a property in 2 profiles like this: test env test /path/to/test/appserver dev true /path/to/dev/appserver When I echo th

RE: Profiles not working?

2005-11-08 Thread Brian E. Fox
Mvn -Pwindows should do it. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mike Whittemore Sent: Tuesday, November 08, 2005 3:48 PM To: users@maven.apache.org Subject: Profiles not working? We have all our source code in ClearCase on Unix, under the "vobs" directory

Profiles not working?

2005-11-08 Thread Mike Whittemore
We have all our source code in ClearCase on Unix, under the "vobs" directory, but also mount it on Windows drive "Z:". I want to be able to build on either windows or unix using the same source code and Maven files, and need to reference this root directory (as "root.dir") in several plugin propert

RE: [m2] Adding goals to execution

2005-11-08 Thread David Jackman
I think so, too. I filed a bug (MNG-1464) and included a patch. -Original Message- From: John Casey [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 11:51 AM To: Maven Users List Subject: Re: [m2] Adding goals to execution -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd sa

[m2] Custom artifact types (and the handlers who love them)

2005-11-08 Thread David Jackman
I've created a Mojo that generates a Javadoc-like documentation set, and my plugin does things similar to the javadoc plugin in that it archives all of the docs into a jar file and attaches the artifact to the list. In looking at the artifact code, however, it looks like it's trying to find an arti

Maven SVG Plugin

2005-11-08 Thread Martin van den Bemt
Hi everyone, I have an SVG Plugin for maven 1 and I wonder if anyone is interested in using that plugin in maven2 (the maven1 plugin was never released, but is in public cvs on mvdb.org). If there is any interest in a maven2 plugin, I will try to have a go at a rewrite this week and actually tr

[M2] How to designate what classes go in the ejb client jar

2005-11-08 Thread Ballard, Ken
In M1.0.2, I put this: maven.ejb.client.base.excludes=**/*EJB.class,**/*Bean.class,**/*CMP.class,** /*Session.class,**/*LocalHome.class,**/*Local.class in my project.properties. Does anyone know how to achieve this in M2? Thanks, Ken -

Re: [M2] - maven-release-plugin cannot load SCM provider

2005-11-08 Thread Trent Rosenbaum
Brett thanks for taking the time to look into my issues with the maven-release plugin. I was able to deploy a release locally. I just thought that because their was a jira issue with the tagBase property for the plugin I should be putting the whole URL with the prexfix because the URL specified in

RE: Set my own properties

2005-11-08 Thread Brian E. Fox
Found it here: http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l Duh. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 2:15 PM To: Maven Users List Subject: Set my own properties Is there a way to set properties in

Re: [m2] Adding goals to execution

2005-11-08 Thread Wim Deblauwe
I added the mail in the comments. I still had it in my gmail. hope it helps. regards, Wim 2005/11/8, Jason van Zyl <[EMAIL PROTECTED]>: > > On Tue, 2005-11-08 at 10:02 -0700, David Jackman wrote: > > Here's what I'd like to do: For our product, we have a number of Maven > > projects, most of whi

Set my own properties

2005-11-08 Thread Brian E. Fox
Is there a way to set properties in the pom and the settings.xml that are available during execution? Something like path_to_file_x = c:\. The intent is to have some properties that are defined in profiles that can change behaviors defined in my poms.

Re: [m2] Surefire report plugin exception

2005-11-08 Thread Eduardo Rocha
You can checkout HEAD on CVS and build Maven as indicated in site :) 2005/11/8, Wim Deblauwe <[EMAIL PROTECTED]>: > ah, ok. Hopefully a new version containing this fix will be released soon, > because now I can't generate any site using Maven 2. I would like to be able > to continue my conversion

Re: [m2] Surefire report plugin exception

2005-11-08 Thread Wim Deblauwe
ah, ok. Hopefully a new version containing this fix will be released soon, because now I can't generate any site using Maven 2. I would like to be able to continue my conversion from M1 to M2 as soon as possible. thanks, Wim 2005/11/8, Eduardo Rocha <[EMAIL PROTECTED]>: > > Hi Wim, > > It is a k

Re: [m2] Adding goals to execution

2005-11-08 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'd say that the javadoc:jar mojo needs to detect its environment just as the javadoc:javadoc mojo does. That's a bug IMO. FWIW, john David Jackman wrote: | Here's what I'd like to do: For our product, we have a number of Maven | projects, most of

SNAPSHOT replacement

2005-11-08 Thread Duane Homick
Is there a way to have SNAPSHOT just be replaced by the build number and not by the date-build number? Can I control the formatting as well? (ie. use _ instead of -) Thanks Duane Homick Software Engineer Sandvine Inc. - To un

Re: [m102] bad results when including custom.css

2005-11-08 Thread Thomas_Perry
Lukas, my fault, I did not read your response thoroughly. You had the correction right. It would have saved me some time had I *carefully* read your response. Thank you again for your help. and a big d'oh for me. Tom

Re: [m102] bad results when including custom.css

2005-11-08 Thread Lukas Theussl
Thomas, I'm a bit confused by your message, you are describing exactly what I wrote in my previous reply (custom.css -> project.css), this is also prominently documented on the xdoc plugin homepage [1]. Anyway, it seems that you got it right now. On a side note, you might be interested in h

Re: WAR

2005-11-08 Thread Emmanuel Venisse
It isn't possible for the moment to use continuum as a war. We'll try to do it for 1.1 Emmanuel Rafael Silva a écrit : Hi, First, thanks to Emmanuel Venisse, it's all right now with the CVS. Now I'd like to know if has any way to use the continuum in my tomcat. Usually I take the "w

Re: [m2] Surefire questions

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 10:25 -0700, Richard Wallace wrote: > A couple of other questions about differences from m1. > > In m2 it seems that the test message output is being buffered and not > displayed until all tests have been run. Is there a way to change that? > > In m1 I could tell maven to

Re: [m2] Adding goals to execution

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 10:02 -0700, David Jackman wrote: > Here's what I'd like to do: For our product, we have a number of Maven > projects, most of which are simple Java jar projects, but others are > not. For these jar projects, I'd like the javadoc:jar and source:jar > goals to execute as well

Re: [m2] Surefire questions

2005-11-08 Thread Richard Wallace
A couple of other questions about differences from m1. In m2 it seems that the test message output is being buffered and not displayed until all tests have been run. Is there a way to change that? In m1 I could tell maven to only run tests matching a certain criteria with something like "mav

[m2] Surefire questions

2005-11-08 Thread Richard Wallace
Hey everyone, I'm trying to move a maven 1 project to maven 2. All the dependencies look like they're working fine now, and I'm able to build and run the tests. When running the tests, there is a quite a bit of output going to stdout, such as Hibernate query statements. In maven 1 I used t

Re: [m2] Surefire report plugin exception

2005-11-08 Thread Eduardo Rocha
Hi Wim, It is a known bug, it was already reported and fixed: http://jira.codehaus.org/browse/MOJO-100?page=all []'s Eduardo 2005/11/8, Wim Deblauwe <[EMAIL PROTECTED]>: > Hi, > > after running mvn -U clean site:site site:deploy > > I go the following error: > > > [INFO] Generate "Maven Surefir

[m2] Adding goals to execution

2005-11-08 Thread David Jackman
Here's what I'd like to do: For our product, we have a number of Maven projects, most of which are simple Java jar projects, but others are not. For these jar projects, I'd like the javadoc:jar and source:jar goals to execute as well. I'd like this to be as automatic as possible for projects (i.

Re: (first maven 2 day) unable to download artifact

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 17:48 +0100, ir. ing. Jan Dockx wrote: > Thanks for the apt ( ;-) ) response. > > I already got it built, that's not the issue. I then removed ~/.m2, did > a clean install of the bin distro, and tried that installation on the > clean trunk project. Then you just wiped out

Re: (first maven 2 day) unable to download artifact

2005-11-08 Thread ir. ing. Jan Dockx
Thanks for the apt ( ;-) ) response. I already got it built, that's not the issue. I then removed ~/.m2, did a clean install of the bin distro, and tried that installation on the clean trunk project. This is just a request to get my facts straight (I'll be knee deep in here over the next few

[m2] assembly:directory requires an install?

2005-11-08 Thread Anuerin Diaz
hi, does the assembly:directory goal really need the project's sub-module artifacts to be installed in the local repository before it will assemble them? i am a little confused becase a couple of days ago i dont remember needing to install the sub-module artifacts prior to calling the assembly:

Re: Guide to creating archetypes

2005-11-08 Thread Wim Deblauwe
2005/11/8, Jason van Zyl <[EMAIL PROTECTED]>: > > On Tue, 2005-11-08 at 13:53 +0100, Alexander Hars wrote: > > Hi, > > > > Two weeks ago I wrote a significantly expanded Guide to Creating > > Archetypes. It was immediately posted to CVS, but it is still not > > available on the website. > > http://

Re: (first maven 2 day) unable to download artifact

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 16:57 +0100, ir. ing. Jan Dockx wrote: > Just started working with maven 2. I've installed the binary > installation of maven 2, and I'm trying to run > > maven eclipse:eclipse > > on the freshly checked-out maven 2 main trunk. If you are using trunk then you need to boots

RE: Error on first maven

2005-11-08 Thread Sean Hennessy
Your browser probably was not wide enough to display the other command line parameters.. mvn -e archetype:create \ -DgroupId=com.mycompany.app \ -DartifactId=my-app \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-site (don't forget to cd to my-app before at

WAR

2005-11-08 Thread Rafael Silva
Hi, First, thanks to Emmanuel Venisse, it's all right now with the CVS. Now I'd like to know if has any way to use the continuum in my tomcat. Usually I take the "war" files of the projects and put at my webapps. But about the continuum, I didn't find any war file and none document abou

Re: Guide to creating archetypes

2005-11-08 Thread Anuerin Diaz
On 11/8/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > On Tue, 2005-11-08 at 15:11 +0200, Anuerin Diaz wrote: > > maybe we can use http://wiki.apache.org/maven/ for a collaborative > > effort? there is no specific wiki site for maven2 but from what i can > > see that wiki is relatively unused by ma

[m2] Surefire report plugin exception

2005-11-08 Thread Wim Deblauwe
Hi, after running mvn -U clean site:site site:deploy I go the following error: [INFO] Generate "Maven Surefire Report" report. java.lang.NumberFormatException: For input string: "0,157" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224) at java.lang.Float.parseFloat(Flo

Re: [m2] 's

2005-11-08 Thread fabrice . belingard
I understand that artifactId and groupId are still required. But when I try using (and therefore removes the version element), Maven tells me that the version element of parent element is missing... Is it the default behaviour or I'm missing something? Best Regards / Cordialement, Fabrice BEL

Re: [m2] How dependency versions are resolved with transitivity?

2005-11-08 Thread Mark Hobson
Hi Fabrice, On 08/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Mark, > > Thank you for your answer! :) No probs. > Then I have another question: when 2 different dependency versions are at > the same level in the dependency tree, which one wins? Because in my case, > I have version 2

Error on first maven

2005-11-08 Thread Giuseppe Picone
When I run Maven for th 1-st time (no repository) Condir>mvn archetype:create -DgroupId=com.mycompany.app -DartifactI d=my-app -e I get the following error: + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO

(first maven 2 day) unable to download artifact

2005-11-08 Thread ir. ing. Jan Dockx
Just started working with maven 2. I've installed the binary installation of maven 2, and I'm trying to run maven eclipse:eclipse on the freshly checked-out maven 2 main trunk. I get [INFO] Failed to resolve artifact. GroupId: org.apache.maven ArtifactId: maven-model Version: 2

Re: [m2] How dependency versions are resolved with transitivity?

2005-11-08 Thread Mark Hobson
On 08/11/05, Jason van Zyl <[EMAIL PROTECTED]> wrote: > > As a side note, I really need the highest-wins strategy - any pointers > > to open issues or code required? > > It's slated for 2.1. Right thanks. Just found the issue if anyone's interested: http://jira.codehaus.org/browse/MNG-612 And t

RE: [M2] single source tree - multiple artifacts - summary ofoptions

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 09:36 -0600, Ruel Loehr wrote: > Whoops. Hit send too fast I created a JIRA issue for an ejb client guide. I'll see if I can get to it later on today. > Existing source tree can be seen here: > > http://anoncvs.forge.jboss.com:8080/viewrep/JBoss/jboss-common/src > > R

RE: M2 Getting started guide

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 08:51 -0700, [EMAIL PROTECTED] wrote: > Hi All > > I am also looking for this information and I cannot find any guidance on the > correct structure for multiple projects. This would be an extremely useful > guide. It's in JIRA, you can vote on it: http://jira.codehaus.org/

RE: M2 Getting started guide

2005-11-08 Thread scowx
Hi All I am also looking for this information and I cannot find any guidance on the correct structure for multiple projects. This would be an extremely useful guide. regards Stephen Quoting "Mordo, Aviran (EXP N-NANNATEK)" <[EMAIL PROTECTED]>: I have just started to evaluate Maven myself,

RE: M2 Getting started guide

2005-11-08 Thread Mordo, Aviran (EXP N-NANNATEK)
I have just started to evaluate Maven myself, and was looking for this information of how to setup multiple projects. Aviran http://www.aviransplace.com -Original Message- From: Pete [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 7:23 AM To: Maven Users List Subject: M2 Gett

RE: [M2] single source tree - multiple artifacts - summary ofoptions

2005-11-08 Thread Ruel Loehr
Whoops. Hit send too fast Existing source tree can be seen here: http://anoncvs.forge.jboss.com:8080/viewrep/JBoss/jboss-common/src Ruel Loehr JBoss QA - 512-626-2782 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Message- From: Ruel Loehr

RE: [M2] single source tree - multiple artifacts - summary ofoptions

2005-11-08 Thread Ruel Loehr
>What are the artifacts that you want to produce? The first use case is as follows. I have a single source tree from which 5 jars are produced. Jboss-common.jar- primary source jar Jboss-common-client.jar - a subset of the primary source jar Namespace.jar - some javax/xml/namespace clas

Re: [m2] How dependency versions are resolved with transitivity?

2005-11-08 Thread fabrice . belingard
Hi Mark, Thank you for your answer! :) Then I have another question: when 2 different dependency versions are at the same level in the dependency tree, which one wins? Because in my case, I have version 2.0 and version 1.0.1 of commons-lang at the same level, and 1.0.1 wins. The highest-win s

Re: Assembly dependency set includes

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 10:24 +0100, Nitko2 wrote: > Can I use wildcards in dependency set includes inside assembly descriptor? > > >my-assembly > > jar > >false > > >target/classes >/ > > > > >/ >true >runti

Re: [m2] Guide to creating archetypes

2005-11-08 Thread ir. ing. Jan Dockx
On 8 Nov 2005, at 15:42, Tony Steele wrote: Please update website, my biggest problem is finding out how to do things. Tony That's one for my sigs! :-) "[…] my biggest problem is finding out how to do things." (in a mail on the Maven Users List)

Re: [m2] How dependency versions are resolved with transitivity?

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 12:49 +, Mark Hobson wrote: > Hi Fabrice, > > mvn currently mediates dependency versions using a nearest-wins > strategy. This means that the dependency version specified highest in > the dependency tree (i.e. nearest to the project being built) is used. > > As a side n

[M2] Problem using scm with cvs

2005-11-08 Thread Tony Steele
I am trying to use cvs as the scm with the cvs user name etc specified in the local settings.xml. However the profile properties do not appear to be substituted in the scm connection string. Anybody got any ideas? I have the following: Pom: scm:cvs:pserver:[EMAIL PROTECTED]:/data/cvsroot:

Re: [M2] single source tree - multiple artifacts - summary of options

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 09:02 -0600, Ruel Loehr wrote: > Guys, > > I was looking for a faq or doc that spelled out the options for those of > us who have single source trees but need to produce multiple artifacts > but can't find one. What are the artifacts that you want to produce? We do support

Re: [M2] How to add generation-only dependencies like junitdoclet

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 16:07 +0100, Dietrich Schulten wrote: > Hi, > > some dependencies are used as external tools for generation only, for > instance junitdoclet. They are not needed in the distribution. The > scopes compile, test, runtime do not suffice as it seems. > > What is best-practice to

RE: [m2] Guide to creating archetypes

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 14:42 +, Tony Steele wrote: > Please update website, The site is updated very frequently. We try to keep it current with the changes made to the documentation. > my biggest problem is finding out how to do > things. Anything in particular that's missing from the guides

Re: Issue tracking system

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 14:57 +0100, Srepfler Srgjan wrote: > Trac is a issue tracking system that's gaining popularity these days > http://www.edgewall.com/trac/ you can see an running instance here: > http://projects.edgewall.com/trac/ > It's a blend of wiki - issuetracker - subversion and is wri

Re: mvn site for parent does not create site info for children?

2005-11-08 Thread Jeff Jensen
What goal did you run? Only "site:deploy" will do what you are looking for. Running "site" only does the site build. The goals for each plugin are listed on the Maven plugin docs. Here is the one for site: http://maven.apache.org/plugins/maven-site-plugin/ Quoting Dietrich Schulten <[EMAIL PR

Re: Guide to creating archetypes

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 15:11 +0200, Anuerin Diaz wrote: > maybe we can use http://wiki.apache.org/maven/ for a collaborative > effort? there is no specific wiki site for maven2 but from what i can > see that wiki is relatively unused by maven1. Anyone is welcome to use the wiki but we have a decent

RE: JCOVERAGE for MAVEN 2

2005-11-08 Thread REBOISSON Eric
jcoverage in http://www.ibiblio.org/maven2/ seems to be a library and not a plugin. The plugin jcoverage is not yet implemented ? Eric -Message d'origine- De : SCHNEIDER Sebastien [mailto:[EMAIL PROTECTED] Envoyé : mardi 8 novembre 2005 10:19 À : Maven Users List Objet : RE : JCOVERAGE

[M2] single source tree - multiple artifacts - summary of options

2005-11-08 Thread Ruel Loehr
Guys, I was looking for a faq or doc that spelled out the options for those of us who have single source trees but need to produce multiple artifacts but can't find one. I realize that my #1 option is to split the tree (this is in fact that path I will pursue), but I also want to be able to defen

Re: Guide to creating archetypes

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 08:02 -0500, Richard Allen wrote: > I second that one. My biggest stumbling block so far with adopting Maven > has been lack of documentation. However, I do understand how difficult > it can be to get the docs written. If there is something lacking then it is best to use on

Re: Guide to creating archetypes

2005-11-08 Thread Jason van Zyl
On Tue, 2005-11-08 at 13:53 +0100, Alexander Hars wrote: > Hi, > > Two weeks ago I wrote a significantly expanded Guide to Creating > Archetypes. It was immediately posted to CVS, but it is still not > available on the website. http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Re: WebDav

2005-11-08 Thread Mark Hobson
Hi there, My colleague has written the WebDAV wagon referred to on the website and I'm bugging him to submit it :) It's based on apache slide and we use it fine internally. The blocker to submitting was sorting out the slide pom on ibiblio - I've just submitted an issue summarising the problem:

RE: [m2] Guide to creating archetypes

2005-11-08 Thread Tony Steele
Please update website, my biggest problem is finding out how to do things. Tony -Original Message- From: Alexander Hars [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 12:53 To: Maven Users List Subject: Guide to creating archetypes Hi, Two weeks ago I wrote a significantly expanded G

  1   2   >