SVN Revision Number in the name of a snapshot artifact

2006-08-01 Thread Binil Thomas
Hi all, I am using Continuum 1.0.3, Maven 2.0.4 SVN . I have configured Continuum to publish the artifacts it build into a shared repository, as described in the 'Better Builds With Maven' book. I would like the revision number of the SVN repository to be part of the version number of artifacts

Re: building twice - version 1.0.3

2006-08-01 Thread josh . steele
Sorry I haven't checked this in so long - but I think Adam found the problem - I was also using Firefox when I had this problem before. However, I do not see it with Safari on the Mac - it only builds once. I tested it with Firefox 1.5.0.1 on my Mac and see the problem. So it looks to be

Re: [ANN] Archy - a simple frontend to archetypes

2006-08-01 Thread Brett Porter
Yes (and discussion should be happening on dev@ in the mean time) On 01/08/06, Don Brown [EMAIL PROTECTED] wrote: Very cool. Well, with that hard part done, there won't be anything from Archy worth reusing, but I'll be happy to take a stab at patching the archetype plugin when the search is

maven-native-plugin long command lines and individual files ...

2006-08-01 Thread J. Matthew Pryor
does the native plugin always want files specified individually? AFAICT I have to do this ... source directory${generated.native.source.dir}/directory fileNames fileNamedevices.c/fileName fileNameerrors.c/fileName /fileNames /source

Re: pom reference could use better indenting

2006-08-01 Thread Denis Cabasson
cbrevard wrote: be better indented? The xml takes up a fifth of the possible column width and is essentially illegible from a structural standpoint. This documentation is generated automatically from description files, and the standard identation is 2 spaces. I don't know if changing it

questions on 'mvn site'

2006-08-01 Thread Laurie Harper
Playing with 'mvn site' I'm finding a few surprises and documentation gaps. I'm hoping someone can explain some of these behaviours and answer a couple of questions: - 'mvn site' with no src/site or pom configuration generates a site containing just the default set of reports; but as soon as

Re: Aggregate profiles

2006-08-01 Thread Roland Asmann
I've been looking for something similar and found that it is possible, but atm only for a maximum of 2 profiles. Use the property-activation for your profiles and activate 'p6spy' when the property is set. Then activate one of the other profiles when this property is set to a specific value:

[m2] plugin and parent pom

2006-08-01 Thread Damien Viel
Hi all, I'd like to install the last version of the changes-plugin. So I've downloaded the sources, but when I run the install goal, he can't find the parent pom. parent artifactIdmaven-plugins/artifactId groupIdorg.apache.maven.plugins/groupId version2-SNAPSHOT/version /parent

Re: [m2] plugin and parent pom

2006-08-01 Thread Barrie Treloar
On 8/1/06, Damien Viel [EMAIL PROTECTED] wrote: Hi all, I'd like to install the last version of the changes-plugin. So I've downloaded the sources, but when I run the install goal, he can't find the parent pom. parent artifactIdmaven-plugins/artifactId

Re: m2/eclipse/wtp configuration

2006-08-01 Thread Stefan Magnus Landrø
the classpath files should be generated automatically by the maven-eclipse plugin. Have you added a setting for wtp support in your pom? (see eclipse plugin for details) stefan Kev D'Arcy Kevin.A.D'[EMAIL PROTECTED] skrev 31.07.2006 18:59:09: Hi, I'm trying to set-up a dynamic web project

Re: test-classes in War

2006-08-01 Thread devillina
I think i'm doing something wrong. I put the thing for the jar-plugin in my pom.xml (the one that builds the war). And i do get a test-jar build. But building this jar is the last thing maven does. So when i put the dependency in my war-plugin like this: plugin

Re: Aggregate profiles

2006-08-01 Thread Alexis Midon
you can activate many profiles with -Pprofile1,profile2,profile3 etc. as explained in mvn -h: -P,--activate-profilesComma-delimited list of profiles to activate On 8/1/06, Roland Asmann [EMAIL PROTECTED] wrote: I've been looking for something similar and found that it is possible, but

Re: maven2 xdoclet2 plugin

2006-08-01 Thread Marco Mistroni
Hello Gregory, thx for mail.. no i m still on XDoclet1.. i m trying to move my whole environment to eclipse + maven2 + xdoclet.. i got xdoclet1 working with maven2.. i'll try to get eclipse in then i'll try to move to xd2 and i'll let you know of result dont expect any mail from me soon thoug

Re: Maven and Selenium?

2006-08-01 Thread Christophe DENEUX
Hi , A snapshot repository is available at: http://maven.openqa.org/ Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html) instead of Selenium for your functional tests? With jWebUnit, you can run your tests with different engines as htmlunit or Selenium (the Selenium engine is

Re: Aggregate profiles

2006-08-01 Thread Roland Asmann
That is true, but for my project I have sort of a profile pre-requisite list... I am looking for a way to have profile A automatically activated when I activate B, which in turn is needed when I run C. The thing is that I do not want to build profile A into B and C, and profile B into C, which

Re: Using mvn to download jars to local repository (without pom/project)

2006-08-01 Thread Henry S. Isidro
On Monday, July 31, 2006 17:24, Jan Galinski wrote: Hi, on a server, I want to use mvn (2.0.4) to manage a central jar repository. Even non maven applications should benifit from this, beacause there will be be on common repository from where to link commons, db-drivers etc. Its not going to

Re: [m2] plugin and parent pom

2006-08-01 Thread Damien Viel
Thanks, Sorry for the repeeting, but I've not seen the response. ;) Damien Barrie Treloar a écrit : On 8/1/06, Damien Viel [EMAIL PROTECTED] wrote: Hi all, I'd like to install the last version of the changes-plugin. So I've downloaded the sources, but when I run the install goal, he can't

[m2] changes and modules

2006-08-01 Thread Damien Viel
Hi all, Is it possible to aggregate in the same report, all changes report from modules ? Thanks Damien -- -- Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED] -- |

RE : [m2] plugin and parent pom

2006-08-01 Thread Olivier Lamy
bash-2.05$ svn co -N https://svn.apache.org/repos/asf/maven/plugins/trunk plugins cd plugins mvn -N clean install HTH, -- Olivier -Message d'origine- De : Damien Viel [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 août 2006 11:56 À : Maven Users List Objet : Re: [m2] plugin and parent

Maven2 eclipse plugin

2006-08-01 Thread Marco Mistroni
hi all, i have a project in which i am using Maven2... so far i have used Notepad/TextPad as java editor, but now i wanted to move to Eclipse i followed steps outlined here http://maven.apache.org/guides/mini/guide-ide-eclipse.html fact is, my project is a MultiProject made of a main project

Re: Using mvn to download jars to local repository (without pom/project)

2006-08-01 Thread Tamás Cservenák
Hi, you can take a look at Proximity (http://proximity.abstracthorizon.org/). To make an artifact available on it, you can: a) manage the underlying storage (get them whatever way you can, and simply file copy under it) b) make fake Maven POMs OR issue HTTP GET's (like script using wget) for

Re: One sub module randomly appears twice after adding a parent multi-module 1.0.3

2006-08-01 Thread Jesse McConnell
hm, how odd... what scm are you using? also, could you file this at http://jira.codehaus.org/browse/CONTINUUM jesse On 7/31/06, Johnson, Jonathan [EMAIL PROTECTED] wrote: One sub module randomly appears twice after adding a parent multi-module to continuum 1.0.3. I have a parent maven 2 pom

Re: Maven2 eclipse plugin

2006-08-01 Thread Stefan Magnus Landrø
Hi, Personally I use the cli for building. Also, I bleieve, the development on the eclipse plugin hasn't come that far yet (ie. it might be buggy). Marco Mistroni [EMAIL PROTECTED] skrev 01.08.2006 15:05:51: hi all, i have a project in which i am using Maven2... so far i have used

RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

2006-08-01 Thread Johnson, Jonathan
Using cvs but problem occurs before build happens and before cvs is accessed. Problem occurs when adding a parent pom.xml M2 project file via URL. Thanks for the link, I will submit the problem. -Original Message- From: Jesse McConnell [mailto:[EMAIL PROTECTED] Sent: Tuesday, August

Re: SVN Revision Number in the name of a snapshot artifact

2006-08-01 Thread Jesse McConnell
I don't really know of a simple way to do that, there are a couple of factors at play here.. the version tag in the pom.xml is what governs the version that is appended to the artifact for storage in the repository, and that version doesn't change with scm version numbers anyway that I know of

Maven2 - Where to put script files?

2006-08-01 Thread CodingPlayer
Hi, i just browsed through the standard directory layout for Maven2. http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html here I still could not find out where to put my shell-scripts (batch-files), that for example start my application from the CLI.

Re: One sub module randomly appears twice after adding a parent multi-module 1.0.3

2006-08-01 Thread Jesse McConnell
have you looked into the working directory that corresponds to that project id to see what is in there? in the working directory there should be a mess of numbered directories corresponding to each of the projects as they exist in continuum, mouse over the link to the project and you should see

Re: Maven2 - Where to put script files?

2006-08-01 Thread Stefan Magnus Landrø
I believe the scripts folder is the best place for this kind of stuff CodingPlayer [EMAIL PROTECTED] skrev 01.08.2006 15:47:31: Hi, i just browsed through the standard directory layout for Maven2. http://maven.apache.org/guides/introduction/introduction-to-the-

Re: Re: m2/eclipse/wtp configuration

2006-08-01 Thread Kev D'Arcy
Stefan, The classpath does have the Maven2 Dependencies in it, but it's just not picking them up at runtime. I attached the 3 config files Kev ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/main/java/ classpathentry kind=src path=src/test/java/

RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

2006-08-01 Thread Baron.Reznik
I've had a similar problem when using continuum with SVN. I end up with two projects that have the exact same SCM url, but different continuum build id's (sequential, in my case). Updating the build definition for one, automatically updates it for the other. However, updates inside svn only

test classes in submodule as dependencies for other modules

2006-08-01 Thread Wojciech Biela
I have test helper classes (AbstractMyProjectTestCase) in one submodule, and I would like tests in other submodules to see that class. I have a depencency element pointing to the submodule where the test helper class resides. Unfortunately this doesn't work, the dependency mechanism sees only the

Re: test classes in submodule as dependencies for other modules

2006-08-01 Thread Tomasz Pik
On 8/1/06, Wojciech Biela [EMAIL PROTECTED] wrote: I have test helper classes (AbstractMyProjectTestCase) in one submodule, and I would like tests in other submodules to see that class. I have a depencency element pointing to the submodule where the test helper class resides. Unfortunately this

RE: One sub module randomly appears twice after adding a parent multi-module 1.0.3

2006-08-01 Thread Johnson, Jonathan
I looked in the working directory. I have 1-15 directories under working-directory. The module that is duplicated has an id of 10 and another of 16. The one that is 16 is the module that still has the status of New and throws the database DELETE exception when I try to remove the module from

Re: Maven2 - Where to put script files?

2006-08-01 Thread CodingPlayer
thx for your reply, but i'm not sure what exactly you mean: project_name/scripts or (since the scripts belong to the whole project) project_name/src/scripts or (since scripts are part of the source) project_name/src/main/scripts and project_name/src/test/scripts (since scripts for

Re: Using mvn to download jars to local repository (without pom/project)

2006-08-01 Thread Denis Cabasson
Jan Galinski wrote: pseudo mvn download -package=mysql -file=driver -version=3.10 /pseudo Seems to be rather simple, but its hard to search for (maven, download, jar, repository ... gives me anything but an answer to my problem). Have a look at the dependency plugin:

Jetty Embedded maven classpath problem.

2006-08-01 Thread Meghan Pike
HI, I'm attempting to use embedded jetty 6.0 and maven 2.0. Unfortunately jetty has an issue where it requires a copy of tools.jar on the classpath, in order to compile jsp's. Compiling jsp's is what I want to do. I have been attempting to mangle maven's classpaths (very wrong, I know) with code

RE: [m2] The packaging for this project did not assign a file to the build artifact

2006-08-01 Thread andreas.ebbert-karroum
Hi, Can somebody please enlighten me, how I can add build artefacts in an ant-based plugin? Can it be somewhere set in the plexus/components.xml? Currently I'm getting the error: [INFO] [deploy:deploy] [INFO] [ERROR]

embedded jetty in maven test phase classpath problem.

2006-08-01 Thread Meghan Pike
HI, I'm attempting to use embedded jetty 6.0 and maven 2.0. Unfortunately jetty has an issue where it requires a copy of tools.jar on the classpath, in order to compile jsp's. Compiling jsp's is what I want to do. I have been attempting to mangle maven's classpaths (very wrong, I know) with code

embedded jetty in maven test phase classpath problem.

2006-08-01 Thread Meghan Pike
HI, I'm attempting to use embedded jetty 6.0 and maven 2.0. Unfortunately jetty has an issue where it requires a copy of tools.jar on the classpath, in order to compile jsp's. Compiling jsp's is what I want to do. I have been attempting to mangle maven's classpaths (very wrong, I know) with code

[M2] Equivalent of ant dist in Maven

2006-08-01 Thread Peter . Pilgrim
Hi All You now I have reached the point in a project where I have no clue what is the equivalent of ant dist in Maven 2.0? In other words I want to create a ZIP or JAR distribution of my project. Clean it, remove all the target/** and another generated source stuff from all folders, including

RE: [M2] Equivalent of ant dist in Maven

2006-08-01 Thread Ian Springer
The assembly plugin is what you're looking for. See http://maven.apache.org/guides/mini/guide-assemblies.html. | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] | Sent: Tuesday, August 01, 2006 12:23 PM | To: users@maven.apache.org | Subject: [M2] Equivalent of

[m2] Assign build artefact from ant (was: The packaging for this project did not assign a file to the build artifact)

2006-08-01 Thread andreas.ebbert-karroum
To put the question differently: Is there any way to do this: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html --- One final task that is required is for the packaging goal you have

Re: Maven and Selenium?

2006-08-01 Thread Daniel Serodio
Christophe DENEUX wrote: Hi , A snapshot repository is available at: http://maven.openqa.org/ Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html) instead of Selenium for your functional tests? With jWebUnit, you can run your tests with different engines as htmlunit or

RE: [M2] Equivalent of ant dist in Maven

2006-08-01 Thread Peter . Pilgrim
Wicked! Assembly plug-in is very good indeed. Thanks Ian -Original Message- From: Ian Springer [mailto:[EMAIL PROTECTED] ==== The assembly plugin is what you're looking for. See http://maven.apache.org/guides/mini/guide-assemblies.html. | -Original Message- |

Re: Getting the ear plugin to recognise har files

2006-08-01 Thread Stephane Nicoll
Hi, On 7/7/06, Graham Leggett [EMAIL PROTECTED] wrote: Hi all, I have managed to get a combination of the antrun plugin and the build-helper-maven-plugin to build and deploy a JBoss har file into my repository. The ear plugin however bombs out like so: [INFO] [ear:generate-application-xml]

RE: [M2] Surefire POJO / Inner class issue

2006-08-01 Thread Chris Hilton
I also ran into this issue and found this page with a workaround: http://www.jroller.com/page/gridhaus?entry=maven2_testing_madness Basically, just configure Surefire to exclude the problem classes, like this worked for me: plugin artifactIdmaven-surefire-plugin/artifactId

Re: Maven2 eclipse plugin

2006-08-01 Thread Dario Luis Coneglian Oliveros
Hi Marco, If I am not mistaken, this is a known problem with maven embedder that comes with m2eclipse plugin. It does not work with multiproject. However I guess this has been fixed in the main line of development. It's been a while since last time I saw that. Dário Marco Mistroni wrote: hi

Re: Maven2 eclipse plugin

2006-08-01 Thread Mykel Alvis
Another way to do this is to evoke the maven build as an external program. That spawns a new java process, effectively a command line build. It only requires a tiny bit of work. 1. Go to External Tools 2. Right click on Program, not m2 Build 3. Give it a name 4. In Location, browse to the

Re: Getting the ear plugin to recognise har files

2006-08-01 Thread Graham Leggett
Stephane Nicoll wrote: Embedded error: Unknown artifact type[har] Looking in the docs, the configuration option artifactTypeMappings seems to offer a clue, but apart from the text PlexusConfiguration, there is no indication what needs to be done to get this to work, or whether this option

Re: Aggregate profiles

2006-08-01 Thread Laurie Harper
Hmm, using a comma-delimitted list of values with -P does get multiple profiles activated, but the value of databaseDriver isn't reset when the p6spy profile is included. The order the profiles are listed doesn't seem to have any effect; databaseDriver ends up set to the same thing with either

Re: Aggregate profiles

2006-08-01 Thread Wendy Smoak
On 8/1/06, Laurie Harper [EMAIL PROTECTED] wrote: Hmm, using a comma-delimitted list of values with -P does get multiple profiles activated, but the value of databaseDriver isn't reset when the p6spy profile is included. The order the profiles are listed doesn't seem to have any effect;

Changed file list for every build

2006-08-01 Thread Prashanth Krishnamurthy
When I do a build, I see the list of files under Build Result -- Changes. I see files listed even when there is no change to the source files. What exactly is happening ? thanks --Prashanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the

Re: maven site into Trac?

2006-08-01 Thread Srepfler Srgjan
Hi Andrew, Do you feel you know trac/maven integration enough so that you could add support for it to the changes plugin so that we can use trac instead of jira as issue tracker? Srgjan Andrew Williams wrote: OK, OK so here it is - you can grab MavenTrac, the Trac plugin for Maven sites

Re: maven site into Trac?

2006-08-01 Thread Andrew Williams
I cannot say without seeing exactly what you want. I have not looked into the changes plugin much - what exactly are you looking for? Just a handler for Trac changes so the changes plugin outputs links that work inside MavenTrac? Andy On Tue, 2006-08-01 at 22:55 +0200, Srepfler Srgjan wrote: Hi

RE: Problem with checksum generation

2006-08-01 Thread EJ Ciramella
For those of you running ant somewhere, put this build script at the top of your repository: target name=build checksum algorithm=sha1 forceoverwrite=true fileset dir=. include name=**/*.pom/ include name=**/*.jar/ include name=**/*.xml/ /fileset /checksum

Re: test classes in submodule as dependencies for other modules

2006-08-01 Thread Wojciech Biela
Thank you very much Tomasz, that guide at http://maven.apache.org/guides/mini/guide-attached-tests.html was the solution I was looking for best regards Wojtek 2006/8/1, Tomasz Pik [EMAIL PROTECTED]: On 8/1/06, Wojciech Biela [EMAIL PROTECTED] wrote: I have test helper classes

Re: maven site into Trac?

2006-08-01 Thread Srepfler Srgjan
Andrew Williams wrote: I cannot say without seeing exactly what you want. I have not looked into the changes plugin much - what exactly are you looking for? Just a handler for Trac changes so the changes plugin outputs links that work inside MavenTrac? Andy On Tue, 2006-08-01 at 22:55 +0200,

Re: Getting the ear plugin to recognise har files

2006-08-01 Thread Doug Douglass
Graham, There have been some recent discussions over on the mojo-dev list regarding JBoss packagings and how best to implement them in the jboss-packaging-maven-plugin. Specifically, the very issue you note (name clashing) did come up, thought dismissed as a very unlikely use case. One thought

Re: maven site into Trac?

2006-08-01 Thread Doug Douglass
Srgjan, Andrew, First, thanks Andrew for the contribution. I found the maven and continuum content on your trac site a few weeks back -- very nice. As for the changes plugin, in the m1 version of the plugin a URL template can be used to prodive the links to different systems -- we did this

Re: test-classes in War

2006-08-01 Thread David J. M. Karlsen
devillina wrote: I think i'm doing something wrong. I put the thing for the jar-plugin in my pom.xml (the one that builds the war). And i do get a test-jar build. But building this jar is the last thing maven does. So when i put the dependency in my war-plugin like this: plugin

Re: Re: m2/eclipse/wtp configuration

2006-08-01 Thread Kev D'Arcy
Stefan, The classpath does have the Maven2 Dependencies in it, but it's just not picking them up at runtime. I attached the 3 config files Kev ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src path=src/main/java/ classpathentry kind=src path=src/test/java/

Using another server to run Continuum

2006-08-01 Thread Matheus Leite
Hi all, Is there a standard way to deploy Continuum using an existing server, instead of using the embedded Jetty server? If not, is this a planned feature? Thanks in advance, Matheus - To unsubscribe, e-mail: [EMAIL

Problem with scm:changelog

2006-08-01 Thread Aryam Online
Hi everyone .. I am a newbie to maven .. I've been using the scm api and it seems that it's working properly except when I execute the scm:changelog goal I get this error [INFO] [scm:changelog] [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:repository -q log [INFO] Working