Re: [m2] properties

2005-09-12 Thread dan tran
HI John, what can we do with these properties. Can I use it in as expression to replace some common configurations: ${my.property}somethingelse ${my.property}somethingelse2 ... -Dan On 9/12/05, John Casey <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Ha

Re: [m2] properties

2005-09-12 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, no. It's *like* the properties defined in profiles in syntax, but this is a properties section that is specified as a direct child of the element. So: ~ ... ~ ~value ~ Cheers, john Allan Ramirez wrote: | I guess your'e refer

Re: [m2] Multiple remote repositories

2005-09-12 Thread Allan Ramirez
Hi, In your pom.xml insert this segment ... central Maven Repository Switchboard http://repo1.maven.org/maven2 my-repo your custom repo http://jarsm2.dyndns.dk ... Regards, -allan Sverre Eplov wrote: I'm currently looking at the task ahead

Re: [m2] properties

2005-09-12 Thread Allan Ramirez
I guess your'e referring with the profiles, here's a link for your reference http://maven.apache.org/maven2/profiles-overview.html hope this helps, Regards, -allan Ashley Williams wrote: Heard that there is a new properties tag underneath root project, but can't guess the syntax - anyone

RE: [m2] packaging

2005-09-12 Thread Matthew Smalley
Is there a definitive list somewhere, or ... What does this information get used for? -Original Message- From: Wendell Beckwith [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 21:15 To: Maven Users List Subject: Re: [m2] packaging maven-plugin is another. On 9/12/05, Matthew Smalley

[OT] eclipse maven plugin to run without system install

2005-09-12 Thread Darren Hartford
Hello all, I've grabbed an eclipse plugin of maven-1.0.2 (the one that is available from MevenIDE's update site) and been tweaking with it to try to run Maven from within the Eclipse environment without requiring a system install of maven. *plugin/repo issue: The separate external maven plugins c

Re: [m2] packaging

2005-09-12 Thread Wendell Beckwith
maven-plugin is another. On 9/12/05, Matthew Smalley <[EMAIL PROTECTED]> wrote: > > What's the different possible values for in the POM? I've seen > examples of jar, war, ear - any others? > > > - > To unsubscribe, e-mail: [EM

[m2] packaging

2005-09-12 Thread Matthew Smalley
What's the different possible values for in the POM? I've seen examples of jar, war, ear - any others? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] Applets as WAR dependencies

2005-09-12 Thread Mark Hobson
Hi there, I've got an applet that I'd like to be included in a war - both of which are m2 projects. Is there any current or proposed way for the war pom to specify a non-WEB-INF jar dependency? Cheers, Mark - To unsubscribe, e

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Mark Hobson
On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > ugh. My last fix was a bit short sighted - sorry about that. > > I'll keep looking into it. That's working now thanks. Cheers, Mark - To unsubscribe, e-mail: [EMAIL PROTEC

[m2] properties

2005-09-12 Thread Ashley Williams
Heard that there is a new properties tag underneath root project, but can't guess the syntax - anyone know? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [M2] maven-ear-plugin

2005-09-12 Thread Edward Yakop
This is what I have in my pom.xml: 4.0.0 com.tokuii.serverside.baseapp bsp-ear 1.0-SNAPSHOT Baseapp - EAR http://www.tokuii.com ear com.tokuii.serverside baseapp 1.0-SNAPSHOT org.apache.maven.plugins maven-ear-plugin

Re: [m2] quick update question, Mac OS X build failure

2005-09-12 Thread Ashley Williams
the tools.jar bug is now in jira. On 12 Sep 2005, at 15:24, Brett Porter wrote: 65 was only created in the last couple of hours and I broke it - fixing now. 63 is a bug on Mac OS X - it would be great if you could file that in JIRA as it will mean you can't use anything wanting tools.jar a

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Brett Porter
ugh. My last fix was a bit short sighted - sorry about that. I'll keep looking into it. - Brett On 9/13/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > Hmm, still having probs with this, albeit slightly different. The > remote artifact metadata now reads: > > > org.codehaus.mojo > maven-tomcat

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Mark Hobson
Hmm, still having probs with this, albeit slightly different. The remote artifact metadata now reads: org.codehaus.mojo maven-tomcat-plugin 1.0-SNAPSHOT 1.0-SNAPSHOT Which compared to the previous one is missing the latest version tag. Now it's looking for "org.a

Problems with ant typedef

2005-09-12 Thread Oliphant, Erich \(Contr\) \(Mission Systems\)
Hi, I am in the process of moving some ant scripts into my maven.xml. Everything is going smoothly other than the fact that I think Maven/Jelly is treating my attempt to use a type I created with as a task invocation. I get ClassCastExceptions. All of my taskdef's work with no problems at all.

Re: [m2] quick update question, Mac OS X build failure

2005-09-12 Thread Brett Porter
65 was only created in the last couple of hours and I broke it - fixing now. 63 is a bug on Mac OS X - it would be great if you could file that in JIRA as it will mean you can't use anything wanting tools.jar as a dependency. Thanks, Brett On 9/12/05, Ashley Williams <[EMAIL PROTECTED]> wrote:

Re: [m2] quick update question, Mac OS X build failure

2005-09-12 Thread Ashley Williams
Ok thanks, useful property to know. Also at last I've noticed I get an integration test countdown! Worth pointing out is that for the last four svn updates over a week and a half I consistently get: Failed tests: [it0065, it0063]. You should know that it doesn't (seem to) affect day to day

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Mark Hobson
On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > fixed - will commit when svn cleanup gives me back my console :) Heh, thanks Brett, muchly appreciated. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [m2] quick update question

2005-09-12 Thread Brett Porter
That's the safest option, but I also do this: m2 install && cp target/*.jar $M2_HOME/lib for a single lib. For all libs, you can do m2 install at the root, then m2 assembly:assembly in maven-core and use the temp directory in target as your M2_HOME. We expect to add something more useful in th

Building Mavenbook sources (was RE: [ANN] Maven 1.1 Beta 2 Released)

2005-09-12 Thread Vincent Massol
Hi Emerson, > -Original Message- > From: emerson cargnin [mailto:[EMAIL PROTECTED] > Sent: lundi 12 septembre 2005 13:13 > To: Maven Users List > Subject: Fwd: [ANN] Maven 1.1 Beta 2 Released > > Hu > > I was testing mavenbook with maven 1.0.2, I had to update changelog > plugin

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Brett Porter
fixed - will commit when svn cleanup gives me back my console :) - Brett On 9/12/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > That's the problem. Will fix. > > Thanks Brett - I did think that was a bit strange but couldn't find > any do

Re: [m2] quick update question

2005-09-12 Thread Emmanuel Venisse
you need to run m2-bootstrap.sh Emmanuel Ashley Williams wrote: First of all what's the quickest way to update my maven installation? I'm very keen to avoid running the tests so I was hoping to do something like svn update, followed by m2 clean:clean install at the maven-components level.

[m2] Multiple remote repositories

2005-09-12 Thread Sverre Eplov
I'm currently looking at the task ahead of us, migrating from Maven 1 to Maven 2. Transitive dependency resolving will cure many of our current ill's But: I'm having trouble getting M2 to work with multiple repositories. I wish M2 to first look at ibiblio (http://www.ibiblio.org/maven2) and s

Re: [m2] quick update question

2005-09-12 Thread Ashley Williams
Actually running install will run the unit tests. Maybe I have to bite the bullet and do a full rebuild every time I svn update?? On 12 Sep 2005, at 14:06, Ashley Williams wrote: First of all what's the quickest way to update my maven installation? I'm very keen to avoid running the tests s

[m2] unit test question

2005-09-12 Thread Ashley Williams
I'm keen to see a particular low priority bug fixed (high priority to me) so I thought I'd take a look myself. Is there a good example of a unit test I should follow within the maven source code that I should try to follow? Thanks AW

Re: [M2] Hibernate plugin

2005-09-12 Thread Johann Reyes
Hello Jose If you need annotations support I put something together quickly for a project I'm working on. You can get it from here: http://www.hiberforum.org/2005/09/maven2_hibernate_and_dbunit_pl.html and also there it specifies where you can get the source code from it. Regards Johann

[m2] quick update question

2005-09-12 Thread Ashley Williams
First of all what's the quickest way to update my maven installation? I'm very keen to avoid running the tests so I was hoping to do something like svn update, followed by m2 clean:clean install at the maven-components level. This would update my repository artifacts, but obviously I wouldn

WAS Re: problems with Maven 1.1 -beta-1 in defining entities in project.xml - NOW Potential POM policy change

2005-09-12 Thread Andy Glick
Brett Porter wrote: http://jira.codehaus.org/browse/MODELLO-18 when this is fixed it will be possible (however, it will be a non-default option) - Brett On 9/12/05, Jörg Schaible <[EMAIL PROTECTED]> wrote: Andy Glick wrote on Saturday, September 10, 2005 4:10 AM: Marco, When I executed

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Mark Hobson
On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > That's the problem. Will fix. Thanks Brett - I did think that was a bit strange but couldn't find any docs on the new metadata format so didn't look into it further. Mark -

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Brett Porter
On 9/12/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > The remote version metadata is: > > ... true > That's the problem. Will fix. - Brett

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Mark Hobson
On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > It sounds like you've got it right. It should simply work. > > what is the contents of maven-metadata.xml for the artifact and version on > the remote server? what about the various copies in the local repository? The remote artfiact metadata

Re: [m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Brett Porter
It sounds like you've got it right. It should simply work. what is the contents of maven-metadata.xml for the artifact and version on the remote server? what about the various copies in the local repository? I will do a quick test as we don't have integration tests for deployment. - Brett On 9

[m2] using deployed plugin snapshots with new metadata

2005-09-12 Thread Mark Hobson
I've just svn up'd to the latest m2 and seem to be having issues with using deployed snapshots of custom plugins that was working previously. I deploy the custom plugin with "m2 -DupdateReleaseInfo=true deploy". All seems to deploy okay, complete with the new XML metadata files. I then delete an

Re: [m2] xsd updates

2005-09-12 Thread Mark Hobson
On 12/09/05, Brett Porter <[EMAIL PROTECTED]> wrote: > It will next be updated when the next Maven release goes out. It will be > locked down at 2.0 final, and after that changes to the POM will cause a > model increment (4.0.1, etc). Thanks for the clarification guys. Mark -

Re: [m2] xsd updates

2005-09-12 Thread Brett Porter
It will next be updated when the next Maven release goes out. It will be locked down at 2.0 final, and after that changes to the POM will cause a model increment (4.0.1, etc). - Brett On 9/12/05, Mark Hobson <[EMAIL PROTECTED]> wrote: > > Just wondering when does http://maven.apache.org/maven-

Fwd: [ANN] Maven 1.1 Beta 2 Released

2005-09-12 Thread emerson cargnin
Hu I was testing mavenbook with maven 1.0.2, I had to update changelog plugin in order to succefull build the site. I used the command: maven plugin:download -Dmaven.repo.remote=http://www.ibiblio.org/maven, http://cvs.apache.org/repository/ -DgroupId=maven -DartifactId=maven-changelog-

[m2] xsd updates

2005-09-12 Thread Mark Hobson
Just wondering when does http://maven.apache.org/maven-v4_0_0.xsd get updated? I noticed that it's missing distributionManagement/snapshotRepository but not sure if it gets updated when you publish the site? Cheers, Mark - To u

Re: [ANN] Maven 1.1 Beta 2 Released

2005-09-12 Thread jean-laurent
Hi, I just ran into the same problem myself. As a quick temporary fix you can use the 0.9.2-SNAPSHOT version of the findbugs plugin, which is available through ibiblio. It works with maven 1.1 beta2. I just updated this to my project.xml : maven-plugins maven-findbugs-plug

RE: [ANN] Maven 1.1 Beta 2 Released

2005-09-12 Thread Vincent Massol
> -Original Message- > From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] > Sent: lundi 12 septembre 2005 12:16 > To: Maven Users List; [EMAIL PROTECTED] > Subject: Re: [ANN] Maven 1.1 Beta 2 Released > > For your first error, can you launch maven with the -e option to see which > pom is in

Re: [ANN] Maven 1.1 Beta 2 Released

2005-09-12 Thread Arnaud HERITIER
For your first error, can you launch maven with the -e option to see which pom is invalid ? For your second error you must re-install the findbugs plugin because it was certainly deleted during the installation (it doesn't come with maven). Arnaud On 9/12/05, emerson cargnin <[EMAIL PROTECTED]

Re: [ANN] Maven 1.1 Beta 2 Released

2005-09-12 Thread emerson cargnin
I started to have the following exception after installed beta 2: __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.1-beta-2 build:start: multiproject:projects-init: [echo] Gathering project list Starting the reactor... BUI

Re: Naming convention for Maven plugin

2005-09-12 Thread Trygve Laugstøl
On Mon, 2005-09-12 at 11:15 +0200, Martin Burger wrote: > Hello, > > is there any naming convention for new Maven plugins? If my project is > named "foo", should I name the belonging Maven plugin "maven-foo-plugin" > ($pom.id)? Are names starting with "maven-" reserved for official plugins? > >

Naming convention for Maven plugin

2005-09-12 Thread Martin Burger
Hello, is there any naming convention for new Maven plugins? If my project is named "foo", should I name the belonging Maven plugin "maven-foo-plugin" ($pom.id)? Are names starting with "maven-" reserved for official plugins? Background: I named my plugin "ddchange-maven-debugging" and I wond

Re: [M2] maven-ear-plugin

2005-09-12 Thread Adam Hardy
It seems I didn't send my reply, so if it arrives twice, my apologies. garg-ejb is declared as ejb packaging. No modules declarations at all appear in the application xml. This is what it has: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:sche

Re: problems with Maven 1.1 -beta-1 in defining entities in project.xml

2005-09-12 Thread Marco Mistroni
Hello, Pls do not bother to test...i found theproblem in compatibility issues.. *Entities and JDK 1.4* Due to a bug in the parser included with JDK 1.4, relative SYSTEM entities will not work in maven.xml where they may have previously. *Fix:* As above, we recommend not using entities in ma

[M2] Resource filtering with encoding

2005-09-12 Thread Andrius Karpavicius
Hello, How to specify encoding for resource files during filtering? In ant we used Thank you, Andrius Karpavicius --

Re: [m2] how to deal with missing dependencies

2005-09-12 Thread Ralph Pöllath
On 11.09.2005, at 19:03, Jorg Heymans wrote: In this case, who is right : the pom declaring d-haven-managed-pool d-haven-managed-pool 1.0 or the maven repository having groupId and artifactId d-haven-mpool ? As I didn't feel to change the poms, i adjusted my local re

Re: [M2] maven-ear-plugin

2005-09-12 Thread Edward Yakop
what is garg-ejb packaging? an ejb packaging? regards, Edward Yakop Note: By default, all dependency will not be generated inside application.xml unless if it is either ejb-client, ejb or war. On 9/11/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > I'm bootstrapping m2 from svn source and I cannot w

Re: [m2] Torque plugin?

2005-09-12 Thread Allan Ramirez
Hi, you can generate a sample mojo using the archetype plugin, this can be treated as your additional reference for creating plugin just execute on your command line m2 archetype:create -DgroupId= -DartifactId= -DarchetypeArtifactId=maven-archetype-mojo you can also read http://maven.apac