Re: Compiler settings in Maven

2007-05-02 Thread James Abley
-1. I wouldn't want the default to change. A lot of people still run App servers that require Java4 and won't run on Java5. Once Java4 is fully end-of-lifed, then I wouldn't complain if it was altered. Auto-detection based on JAVA_HOME would be a more palatable solution. Cheers, James On 03/05

Re: [m2] Dependency Ordering Headache

2007-05-02 Thread gridplan
Thanks everyone for your input. I'll be keeping an eye on http://jira.codehaus.org/browse/MNG-1412. If anyone has instructions for where to find the source for maven-artifact-ant and how to build it, I'd love to hear from you. I may need to figure out how to patch this in my environment before

Re: Maven Community news @ blog.octo.com

2007-05-02 Thread Stephane Nicoll
Howdy, Comments inline. Writing in English would have been more appropriate but I guess you just send the mail to the wrong recipient :) On 5/2/07, Henri Tremblay <[EMAIL PROTECTED]> wrote: Salut, Dommage, en fait c'était pour la mailing list, je croyais que j'avais reçu le mail personnelleme

RE: Multi-module passing properties to children

2007-05-02 Thread Balasubramanian, Ravi Shankar
Hi, The master pom in this case need not be installed in the repository. You can use the relativePath element under the parent tag to point to your master pom. Something like as follows: ... .. ../(CORRECT_RELATIVE_PATH_TO_WHERE_YOUR_MASTER_POM_EXISTS< /relativePath> This does not require that y

Re: How did pom file in repository get info

2007-05-02 Thread Maria Odea Ching
Hi, When you installed your jar, did you set this parameter: -DgeneratePom=true? If you didn't (default is generatePom=false), I think the pom in your repo was the one downloaded from ibiblio when you've built the project that has a dependency on the jta jar. From what I saw in ibiblio, only th

Re: Compiler settings in Maven

2007-05-02 Thread Brendan Donovan
Maybe the default setting for maven shoudl be moved from 1.3 (I think?) to 1.5 after all it is a development tool and I think at this stage most development is done under 1.5. It would just make it an easier experience for new users of maven and preclude them having to ask this question on the

Re: Multi-module passing properties to children

2007-05-02 Thread Jared Blitzstein
Does using the parent tag require the project to be in a repository? I planned on having this "suitepom" accessible via CVS but not something that is going to be installed in our company repo. I may be way off base though. Also, how would you pass something through like a version? The ver

Re: Maven Community news @ blog.octo.com

2007-05-02 Thread Henri Tremblay
Salut, Dommage, en fait c'était pour la mailing list, je croyais que j'avais reçu le mail personnellement. Je voulais envoyer un message à la liste mais puisque je t'ai sous la main, je me pose des questions sur l'avenir de maven. En fait j'ai dû mener un dur combat contre certaine limitation et

Re: Multi-module passing properties to children

2007-05-02 Thread Wayne Fay
Put the shared properties in profiles in the parent pom, include the children as in the parent pom, and use the parent tag in the children to share properties with all your poms. Or is there a specific reason this is not sufficient? Wayne On 5/2/07, Jared Blitzstein <[EMAIL PROTECTED]> wrote:

Re: OT: JAXWS Maven2 plugin

2007-05-02 Thread Dan Tran
where did you get it? java.net? On 5/2/07, Seth Mason <[EMAIL PROTECTED]> wrote: Apologies if this is too off topic, but has anyone used the JAXWS maven2 plugin? I just downloaded the samples and those don't even run. I keep getting errors about the plugin not existing even though I've trie

Re: Native plugin and include files

2007-05-02 Thread Mark Donszelmann
Hi you can find the nar plugin under: http://java.freehep.org/freehep-nar-plugin Regards Mark On May 2, 2007, at 6:01 PM, Dan Tran wrote: There is a JIRA requesting to bundle include files with the build binary. To work with other library, the common practice, at least for, is to use depe

Multi-module passing properties to children

2007-05-02 Thread Jared Blitzstein
I have 5 projects that I want to build as a suite. I created a multi- module to do this and it's fine out of the box for just calling the sub projects. But I need to be able to set variables in the multi- module to pass in like the version, profile, and some other basic things. But I also ne

Re: Maven and Ant Integration (Ignores Ant version)

2007-05-02 Thread Wayne Fay
The 2.0.x means "this is something we should/will/can probably fix in 2.0 series" while 2.1.x means "this is something we cannot, for whatever reason, handle in 2.0 series, and so we need to address this in 2.1 series". Wayne On 5/2/07, Petr V. <[EMAIL PROTECTED]> wrote: Thanks Wayne for your h

Re: Maven and Ant Integration (Ignores Ant version)

2007-05-02 Thread Petr V.
Thanks Wayne for your help. You have been great help. I thought 2.0.x meant it was fixed in all 2.0.x projects. Thanks again. Petr. Wayne Fay <[EMAIL PROTECTED]> wrote: The bug status is REOPENED. So most likely, they thought they have fixed this in 2.0.6, but then found out it was not actuall

Re: Maven and Ant Integration (Ignores Ant version)

2007-05-02 Thread Wayne Fay
The bug status is REOPENED. So most likely, they thought they have fixed this in 2.0.6, but then found out it was not actually fixed, so they moved the fix version back to 2.0.x (which means "not yet fixed) and reopened the bug. So no, this is not fixed, its still a bug in all 2.0.x series. And b

Re: Maven and Ant Integration (Ignores Ant version)

2007-05-02 Thread Petr V.
I found a bug about this issue. http://jira.codehaus.org/browse/MNG-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel Has this been fixed. I am using maven 2.0.5 . The second last row says that fix version is 2.0.x and it was changed from 2.0.6 so was that crosspor

Re: Guide to creating archetypes...

2007-05-02 Thread Raphaël Piéroni
The current doco is a bit outdated (the descriptor is in refactoring now), I will enhance it as soon as i have finished my current work on the features. Raphaël 2007/5/2, Wendy Smoak <[EMAIL PROTECTED]>: On 5/2/07, Dave Hoffer <[EMAIL PROTECTED]> wrote: > Can you give me a link to "...the 'ne

Re: Maven and Ant Integration (Ignores Ant version)

2007-05-02 Thread Petr V.
Wayne, I am able to resolve this issue but got some other issue. I guess this issue is due to differnent class loaders. See the following pom file. When I was putting junit dependency at pom level which is now commented out, I was having issue but now what I did I added this dependency for plugi

Re: Guide to creating archetypes...

2007-05-02 Thread Wendy Smoak
On 5/2/07, Dave Hoffer <[EMAIL PROTECTED]> wrote: Can you give me a link to "...the 'next generation' archetype plugin that is going on over at Codehaus"? http://mojo.codehaus.org/maven-archetypeng/ -- Wendy - To unsubscribe

RE: Guide to creating archetypes...

2007-05-02 Thread Dave Hoffer
Can you give me a link to "...the 'next generation' archetype plugin that is going on over at Codehaus"? -Dave -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 9:10 AM To: Maven Users List Subject: Re: Guide to creating archetypes... On 5/2/07

Re: array (or collecton) as a default-value of a mojo configuration parameter

2007-05-02 Thread Roland Asmann
I believe it is not possible to define a Collection or array on plugins (at least not as parameters), although I could be wrong. A solution to your problem could be to input a String with the filename(s), making it comma-separated (or some other identifier which you like). Obviously you'd have

Re: mulktiproject:site getting compiler errors

2007-05-02 Thread emerson cargnin
thank you very much. Emerson On 02/05/07, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: You can also set the property maven.multiproject.site.goals For example maven.multiproject.site.goals=clean ,multiproject:artifact-callback,site Arnaud On 02/05/07, Lukas Theussl <[EMAIL PROTECTED]> wrote: >

Re: mevenide vs. m2eclipse?

2007-05-02 Thread lightbulb432
Any word on when Maven2 support for mevenide in Eclipse will be available? Milos Kleint wrote: > > yup. exactly as you assume. > > the eclipse related code at mevenide only supports maven1. The only > maven2 related codebase we have currently is the netbeans module. > > Milos > > On 10/30/0

OT: JAXWS Maven2 plugin

2007-05-02 Thread Seth Mason
Apologies if this is too off topic, but has anyone used the JAXWS maven2 plugin? I just downloaded the samples and those don't even run. I keep getting errors about the plugin not existing even though I've tried many different repos and many different versions. There doesn't seem to be any supp

How did pom file in repository get info

2007-05-02 Thread lightbulb432
I had a missing dependency on JAR files for JTA when I tried to build a project, so I did a mvn install:install-file as suggested. The JTA jars that I downloaded were correctly put into the repository, and in its .pom file I noticed that it was prepopulated with information about its , , , and /.

Re: Native plugin and include files

2007-05-02 Thread Dan Tran
There is a JIRA requesting to bundle include files with the build binary. To work with other library, the common practice, at least for, is to use dependency to download and unpack the whole bundle ( header + libs) and configure native plugin to find the downloaded headers and lib, before compila

Re: Core Module - Customer spcific Module. How to set up in Maven2?

2007-05-02 Thread Santonian
Hello, ist tested the plugin you mentioned but I have some futher quetiones about it that you might be able to answer. I tried to find documentation about the plugin but I could not find anything except the page you linked in your last post. Anyway, this is my setup right now, maybe you (or anyo

Re: Compiler settings in Maven

2007-05-02 Thread ben short
Add this to the bottom of your pom. org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 On 5/2/07, lightbulb432 <[EMAIL PROTECTED]> wrote: I'm using

Compiler settings in Maven

2007-05-02 Thread lightbulb432
I'm using JDK 1.5 but for some reason Maven gives a compiler error saying "use -source 5 or higher to enable annotations". How can I tell Maven which compiler to use? I don't know much about Maven so I don't know where to change the setting - would it be a project-level setting, would it be a cus

array (or collecton) as a default-value of a mojo configuration parameter

2007-05-02 Thread Geoffrey De Smet
In a Mojo I use the following annotation: /** * @parameter default-value="${basedir}/src/daisy/schema.xml" */ private File[] daisySchemas; This doesn't work, as the default-value is turned into a class of String, and it needs an array of File's (an array of Strings would also

Re: Scheduled build definition won't run if no changes since other build def ran

2007-05-02 Thread Kevin Stembridge
Thanks for the reply Jesse. I'll have to consider moving to the alpha version if that's the only way to get around it. Cheers, Kevin "Jesse McConnell" <[EMAIL PROTECTED]> 02/05/2007 15:05 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: Scheduled build definitio

Native plugin and include files

2007-05-02 Thread David Jackman
I've taken a good look at the native plugin and its example projects in svn. I think I see how I can put it all together except for one thing: the header files. The example projects all share the same source directory, which contains the header files. For my own library project, that isn't possi

Re: Perforce Clients problem with continuum.

2007-05-02 Thread Emmanuel Venisse
The '/' pb was fixed in Maven-SCM 3 days ago and it will be in the next Continuum 1.1-alpha-2. A workaround would be to download the latest Continuum snapshot from there: http://maven.zones.apache.org/~continuum/builds/trunk/ Emmanuel McNaught, Duncan a écrit : Hi, I'm having a new problem

Error on 'mvn compile'

2007-05-02 Thread Chris Russell
Hello, I'm (suddenly) getting this error when I try to compile: [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure error: compiler me

Re: Scheduled build definition won't run if no changes since other build def ran

2007-05-02 Thread Jesse McConnell
work around would be to mark it as 'Build Fresh' which will remove the working copy and recheck out, and then build it.. providing you are using the 1.1-alpha-1 for a 1.1 snapshot jesse On 5/2/07, Kevin Stembridge <[EMAIL PROTECTED]> wrote: Hi all, I have multiple build definitions for a give

Re: Maven 2.X and classifiers

2007-05-02 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tim, Thanks for that - that did the trick. I guess a follow-up question would be - can I do something to ensure that when I do 'mvn install' all classifiers get built or would I have to do some magic trickery with profiles in this case? My concer

[m2] application documentation - Simple DocBook?

2007-05-02 Thread James Abley
Hi, I'd like the documentation that I'm producing for my application to be available in various formats (currently HTML and PDF; the list may grow). The options that we're kicking about are Docbook, or writing it with Word / OpenOffice and saving to different formats. I have a suspicion that Doc

Re: Guide to creating archetypes...

2007-05-02 Thread Wendy Smoak
On 5/2/07, Dave Hoffer <[EMAIL PROTECTED]> wrote: The process given for creating a custom archetype seems limiting and confusing. I'd say limited and tedious. :) Although my files do have this layout pattern when I run this archetype I an error "Template 'trunk/src/main/java/App.java' not in

Re: Guide to creating archetypes...

2007-05-02 Thread Raphaël Piéroni
Hi Dave, Currently, you can't add that folder. Please feel free to raise a Jira. Raphaël 2007/5/2, Dave Hoffer <[EMAIL PROTECTED]>: The process given for creating a custom archetype seems limiting and confusing. I want the standard maven directory layout but in addition I want to add higher

Re: mulktiproject:site getting compiler errors

2007-05-02 Thread Arnaud HERITIER
You can also set the property maven.multiproject.site.goals For example maven.multiproject.site.goals=clean ,multiproject:artifact-callback,site Arnaud On 02/05/07, Lukas Theussl <[EMAIL PROTECTED]> wrote: I'm not sure I follow you. As I said, the site goal only builds the site, it doesn't do

Guide to creating archetypes...

2007-05-02 Thread Dave Hoffer
The process given for creating a custom archetype seems limiting and confusing. I want the standard maven directory layout but in addition I want to add higher level folders called trunk & tags this way my new artifact projects will be configured correctly for VCS usage. (The maven build usage of

Re: Why doesn't my index.html get generated when generating my site?

2007-05-02 Thread Ian Rowlands
So, any reasons why the index.html is not being generated? It seems to be a relatively common problem. Thanks, Ian Ian Rowlands Sun, 29 Apr 2007 06:21:13 -0700 I have been told that an index.html should be generated, and it is not. This is an issue because it is a multi-module project, and li

Re: mulktiproject:site getting compiler errors

2007-05-02 Thread Lukas Theussl
I'm not sure I follow you. As I said, the site goal only builds the site, it doesn't do anything else. If you want to run another goal every time you run site, you can bind it to a pre/postGoal, eg If you just want to define a chain of goals, write your own custom goal. Check the s

Re: Maven 2.X and classifiers

2007-05-02 Thread Tim Kettler
Hi, [...] org.apache.maven.plugins maven-war-plugin myclassifier [...] -Tim Johan Lindquist schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I have a war file which I c

Re: mulktiproject:site getting compiler errors

2007-05-02 Thread emerson cargnin
ok, i don't do any special configuration when running multiproject:install, our default goal. Does the site runs install as well?? if not, how can I force it to do it? so that the site would also install the jar on the local repository? Of course without having to build everything again... thanks

Re: Excluding a test source file

2007-05-02 Thread Tim Kettler
The parameter is present in the 2.0 version of the plugin [1] but there where some bugs fixed in this area in 2.0.1 [2] (in particular [3]). So you should try upgrading to at least that version (2.0.2 is current). -Tim [1] http://svn.apache.org/viewvc/maven/plugins/tags/maven-compiler-plugin-

jar-plugin addClasspath, assembly-plugin dependencySet, snapshot uniqueVersion mismatch woes

2007-05-02 Thread Max Bowsher
A lot of projects where I work use the following idiom: * jar-plugin is configured with addClasspath=true * assembly-plugin is used to collect together all the needed jars with a dependencySet * shell script then invokes "java -jar" on the main jar, to run the program. We're find

RE: Excluding a test source file

2007-05-02 Thread Balasubramanian, Ravi Shankar
Yes I did try using this configuration and it does not seem to work. Which version of the maven-compiler-plugin has this functionality? I am the 2.0 version of the maven compiler plugin and it does not seem to use this functionality. Please do let me know. Thanks, Ravi -Original Message-

Re: Excluding a test source file

2007-05-02 Thread Tim Kettler
Have you looked at the plugin documentation [1]? seems to be what you want. -Tim [1] http://maven.apache.org/plugins/maven-compiler-plugin/testCompile-mojo.html Balasubramanian, Ravi Shankar schrieb: Hi all, I am working with maven 2.0.4 and my requirement is as follows: I have all my te

Excluding a test source file

2007-05-02 Thread Balasubramanian, Ravi Shankar
Hi all, I am working with maven 2.0.4 and my requirement is as follows: I have all my test source files in the same directory and all my maven projects' points to this directory where all the source files are available. For a particular maven project, I want to be excluding a specific source fil

legacy layout imposed onto local mirror with default layout.

2007-05-02 Thread crowne
Hi All, I have an interesting problem. We are using proximity and have set up internal mirrors of multiple repositories. Each internal mirror uses the default maven2 layout. The project that I am building uses xfire and has a dependancy on xfire-java5-1.2.5 This artifact is downloaded successful

Re: Accessing environment variables with Maven 1.x

2007-05-02 Thread Arnaud HERITIER
Did you setted the properties ? Arnaud On 02/05/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am trying to access an environment variable from maven.xml, but I am having no luck. I have the following line in maven.xml: but it prints an empty string in the console. Can someone

Accessing environment variables with Maven 1.x

2007-05-02 Thread george.angeletos
Hi, I am trying to access an environment variable from maven.xml, but I am having no luck. I have the following line in maven.xml: but it prints an empty string in the console. Can someone please help? Thanks, George This message is for the designated recipient only and may contain pri

Re: HOWTO: (Build / ) Release mgmt in multi environment

2007-05-02 Thread Roland Asmann
Hi David, Sorry about the late response, yesterday was a holiday and it was one of the few that I actually don't ignore. As for your question, I am not quite sure about your sub-module versioning, since you didn't really explain it, but I'll do my best on answering. In the latest snapshot-vers

Maven 2.X and classifiers

2007-05-02 Thread Johan Lindquist
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi All, I have a war file which I can build to include either MySQL or Oracle database configurations and I was wondering how I can get the classifier into the final name of the artifact created? In a dependency, I can specify which classifier to use

Re: What is the official maven 2 repository location?

2007-05-02 Thread Stephane Nicoll
On 5/1/07, James Abley <[EMAIL PROTECTED]> wrote: Will it be as simple as issuing HTTP 301 status codes and maven as a good HTTP client will notice and update it's configuration? Or do we as users need to do something at our end? As I said earlier you won't have to do anything. Regards, Stépha

Maven Community news @ blog.octo.com

2007-05-02 Thread Arnaud HERITIER
Hi everybody, FYI, I publish each month in French a list of news about the maven community : http://blog.octo.com/ If you are not speaking french you can however easily understand the list of releases. If I forgot something, do not hesitate to tell me. Best Regards Arnaud

[m2] Out of date links to Maven projects

2007-05-02 Thread William Ferguson
I just built a plugin with the following dependencies: org.apache.maven maven-plugin-api 2.0.6 org.apache.maven maven-project 2.0.6 org.apache.maven.shared file-management 1.1 While looking at the dependencies list on the generated site I notice that 7 of the 9 transitive Maven dependencies pro