Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-30 Thread Nicolas De Loof
I've made a minimal POM to test this, I allways get " compilerArguments = {bootclasspath=null}" If anyone can find a way to make this work ... 4.0.0 foo bar 1.0.0 org.apache.maven.plugins maven-compiler-plugin

Re: Questions about including C/C++ files in a web war file

2006-06-30 Thread Napoleon Esmundo Ramirez
Hello, Your web application sure is an unusual one. I'm just wondering how you manage to execute the C/C++ executables in your war file. I think setting the -x bit would make use of the same mechanism. Regarding the shared library files that need to be copied into the WEB-INF/lib directory, i

Re: Profiles for sub-projects

2006-06-30 Thread Henrik Mejlgaard
Why not use: However, this bit is not working: ${basedir}\plugin.xml /Henrik On 6/12/06, Boden, David <[EMAIL PROTECTED]> wrote: I've managed to track this down. The profiles work correctly. However, this bit is not working: plugin.xml It is not looking

Re: Continuum 1.0.3 shell script compilation errors

2006-06-30 Thread Emmanuel Venisse
Can you attach your logs? Emmanuel apache maillist a écrit : Hi all, Just want to know if anyone seem this the same problem in 1.0.3. We have a shell script scheduled to run every midnight. It basically checks out the maven projects from CVS. the pom structure we have is like the following: p

Re: maven-pmd-plugin can't find my source files

2006-06-30 Thread Heiko Wolf
I don't know, should I laugh or cry? The problem was - that there was no problem! If pmd finds nothing, it says nothing. My source code was just perfect, at least for pmd :) The "problem" is, pmd does not say, your source code is ok, it says just nothing. I think, it would be better to have a no

Deploying the site

2006-06-30 Thread Srinivasan, Nithya \(Cognizant\)
Hi, Am Nithya, I am a fresh user of maven.I would like to know which url should I give in pom.xml when I deploy my site using mvn site-deploy I would be glad if any of you could help with this issue Thanks and regards Nithya This e-mail and any files transmitted with it are for the so

updating a jar that is changed in remote repository

2006-06-30 Thread Ahmet Işık
hi everbody, I want to make maven update my local repository when the file on remote repository is changed. please note that the version number doesn't change here. can maven be instructed to check for updates (for even the same version) for a library? i have tried setting updatePolicy in reposi

Re: Deploying the site

2006-06-30 Thread Martin Gilday
You will need to add a element under distribution management in your POM. From what I understand you cannot use FTP to deploy the site, as Wagon does not support directory uploading, so I am using SCP. POM.xml-- webdev-site scp://10.0.0.3

acces to svn.apache.org

2006-06-30 Thread Gilles Scokart
When I try to get the source, I got an HTTP 302 error. : / $ svn ls http://svn.apache.org/repos/asf/maven svn: PROPFIND request failed on '/repos/asf/maven' svn: PROPFIND of '/repos/asf/maven': 302 Found (http://svn.apache.org) I tried with https, I updated my svn client (I use Windows client),

[solved] Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-30 Thread Nicolas De Loof
I got it : ${settings.localRepository}/com/sun/rt/1.3.1_08/rt-1.3.1_08.jar I've searched maven2 sources for "localRepository" String and found PluginParameterExpressionEvaluator.java. This class helped m

Re: updating a jar that is changed in remote repository

2006-06-30 Thread Nicolas De Loof
This use case is covered by the "SNAPSHOT" keyword. Deploy your artifact as x.y.z-SNAPSHOT. Maven will produce metadatas on the latest version and check for update (one time every day by default). You may need to configure your repo in settings.xml to enable snapshots. Ahmet Işık a écrit : h

Streaming a lot of data to the browser in a custom component problem

2006-06-30 Thread Mikael Andersson
Hi, I am running into some problems when trying to stream files back to the browser via a simple custom component. The problem is that I get OutOfMemory exceptions when the files grow large in size. The code in the renderer is really simple: BufferedReader buffReader = new BufferedReader(

Re: Streaming a lot of data to the browser in a custom component problem

2006-06-30 Thread Mikael Andersson
Ops, sorry sent this to the wrong mailing list. Please ignore it, posting to myfaces list now.. On 30/06/06, Mikael Andersson <[EMAIL PROTECTED]> wrote: Hi, I am running into some problems when trying to stream files back to the browser via a simple custom component. The problem is that I get O

Project site generation

2006-06-30 Thread Jeff Mutonho
I'm running mvn site from my top level directory (where my super pom is located).The console logging shows that M2 is generating the site for the modules(web, messaging , business,etc).Under target/site in my toplevel directory I can see the generated html ,etc.Loading the index.html from there ,

assembly plugin problem

2006-06-30 Thread nazim chakik
Hello, I use the maven's assembly plugin and I have the following problem: I have several projects which are modules of one main project containing the pom root. Each module has its own dependencies , When I run the command: (mvn assembly:assembly) on the root pom, I recover the su

RE: Project site generation

2006-06-30 Thread Roald Bankras
They are created in the target dir of the module. If you want to take a look at the working site, use mvn site-deploy or setup a staging environment. Roald Bankras Software Engineer JTeam b.v. -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: Friday, June 30, 2006 11

maven idea plugin source association problem

2006-06-30 Thread Ahmet Işık
hi, i'm trying to make an idea project out of maven pom. i can generate the project with its library dependencies added with the idea plugin but sources are not associated with the libraries. the sources are present in the repository and i have stated to download sources in plugin configuration.

[m2] individual log4j config in team environment?

2006-06-30 Thread Adam Hardy
Hi, I would like to configure our m2 setup so that each developer can work with his/her own log4j.properties file, in testing and in deploy. One approach I looked at meant filtering the web.xml and appending the username to the log4j.properties setting, but this requires log4j.properties fil

Re: Site schema and inheritence

2006-06-30 Thread Geoffrey De Smet
Has anyone tried site inheritance and managed to do use it in child module's site.xml files? Geoffrey De Smet wrote: Is there an updated version of the site.xml schema available? http://maven.apache.org/maven-navigation-1.0.xsd is outdated as it doesn't support etc I couldn't find one in h

Re: acces to svn.apache.org

2006-06-30 Thread Carlos Sanchez
it works for me. You may try with https On 6/30/06, Gilles Scokart <[EMAIL PROTECTED]> wrote: When I try to get the source, I got an HTTP 302 error. : / $ svn ls http://svn.apache.org/repos/asf/maven svn: PROPFIND request failed on '/repos/asf/maven' svn: PROPFIND of '/repos/asf/maven': 302 Fo

use "fork" with compiler plugin : "line too long"

2006-06-30 Thread Nicolas De Loof
On windowsn when configuring M2 compiler-plugin I get " Failure executing javac, but could not parse the error: La chaîne de caractères suivante est trop longue : -d D:\commons\platina\platina-remoting\target\classes -c ... " This line too long error seems to be a limitation of the win32 comma

Re: use "fork" with compiler plugin : "line too long"

2006-06-30 Thread Nicolas De Loof
I was setting fork option to "true" because I want to set the javac bootclasspath. I discovered this is not required, and the in-process compiler uses my bootclasspath. Nico. Nicolas De Loof a écrit : On windowsn when configuring M2 compiler-plugin I get " Failure executing javac, but cou

RE: maven idea plugin source association problem

2006-06-30 Thread Roald Bankras
You have to configure the idea plugin to fetch the sources. org.apache.maven.plugins maven-idea-plugin 1.5.0_06 true true true

Re: maven idea plugin source association problem

2006-06-30 Thread Ahmet Işık
thanks Roald but I have already stated downloadSources as I mentioned in my post On 6/30/06, Roald Bankras <[EMAIL PROTECTED]> wrote: You have to configure the idea plugin to fetch the sources. org.apache.maven.plugins maven-idea-plugi

Best practise: handling xdoclet generated sources

2006-06-30 Thread Graham Leggett
Hi all, I am trying to figure out the proper maven based layout for some existing ant code that uses xdoclet for code generation (standard EJB stuff). >From what I have seen to date, the way so far is for maven to ask xdoclet to generate the code in the temporary target/generated-src directory.

Re: acces to svn.apache.org

2006-06-30 Thread Gilles Scokart
I did, without success. Thanks for your answer anyway. It means something is wrong on my side. I will try with an other network connection when I have the oportunity (in a few days, unfortunately). Thanks, Gilles Scokart -- View this message in context: http://www.nabble.com/acces-to-svn

Re: maven-pmd-plugin can't find my source files

2006-06-30 Thread Doug Douglass
DOH! Now that's the kind of problem I like. Add a JIRA enhancement request, that seems like a worthy feature. On 6/30/06, Heiko Wolf <[EMAIL PROTECTED]> wrote: I don't know, should I laugh or cry? The problem was - that there was no problem! If pmd finds nothing, it says nothing. My source code

Re: use "fork" with compiler plugin : "line too long"

2006-06-30 Thread Carlos Sanchez
I think this is already in jira On 6/30/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: On windowsn when configuring M2 compiler-plugin I get " Failure executing javac, but could not parse the error: La chaîne de caractères suivante est trop longue : -d D:\commons\platina\platina-remoting\targ

xdoc plugin not rendering title properly moving to maven-2

2006-06-30 Thread Brice Lambi
I have a file downloads.xml in my site that looks like this: Downloads ... The title is not being generated when I build the site. Instead of seeing "Downloads" in the title bar of the browser like my other pages, I just see plain text before my se

Re: xdoc plugin not rendering title properly moving to maven-2

2006-06-30 Thread Arnaud HERITIER
isn't it instead of ?? Bad Cut'n Paste ? Arnaud On 6/30/06, Brice Lambi <[EMAIL PROTECTED]> wrote: I have a file downloads.xml in my site that looks like this: Downloads ... The title is not being generated when I build the site. Inste

Re: xdoc plugin not rendering title properly moving to maven-2

2006-06-30 Thread Brice Lambi
Thanks, sometimes it just takes a fresh set of eyes! On 6/30/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: isn't it instead of ?? Bad Cut'n Paste ? Arnaud On 6/30/06, Brice Lambi <[EMAIL PROTECTED]> wrote: > > I have a file downloads.xml in my site that looks like this: > > > >

Re: How to have project pull specific label from SCM?

2006-06-30 Thread Emmanuel Venisse
yes, it's the field to use. Do you know if the Perforce command is different if it's a label or a branch? Emmanuel Karr, David a écrit : There is a field labeled "Scm Branch/Tag". Is that where I put the label name? How would it know this is a label and not a branch? -Original Message-

Re: Continuum 1.0.3 shell script compilation errors

2006-06-30 Thread Emmanuel Venisse
In your log, I can only see the exit code of your build.sh: 158605624 [Thread-2] INFO org.apache.maven.continuum.execution.ContinuumBuildExecutor:shell - Exit code: 1 so your shell script return an error, and I don't see compilation errors in your logs. You can run it directly in the '36' di

Maven 1.0.2: maven-jaxb-plugin: Using maven:set to Pass Properties, Plugin Not Available in Project

2006-06-30 Thread Corey Klaasmeyer
We're using maven-jaxb-plugin to generate code for xml schemata. Since we have multiple schema files we need to pass properties from maven.xml. We're using this syntax: This fails because the properties are never passed to the jaxb plugin. Apparently, the plugi

Re: Re: Assembly plugin with war packaging type fails to work properly

2006-06-30 Thread Martijn Dashorst
I fixed this by forcing the assembly 2.0.1 version in the plugin management section of my projects. The only thing that isn't solved by that is that the assembly id is appended to the filename. Martijn On 6/30/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: The only difference between assembly:a

Re: Maven 1.0.2: maven-jaxb-plugin: Using maven:set to Pass Properties, Plugin Not Available in Project

2006-06-30 Thread Lukas Theussl
You might want to read through this issue: http://jira.codehaus.org/browse/MAVEN-1656 especially the explanation given by Brett in the center. Feel free to post any comments, as the information given there has never made it into the Maven docs! Cheers, -Lukas Corey Klaasmeyer wrote: We're

Strategies for setting up "enhanced" build of what's in SCM

2006-06-30 Thread Karr, David
I like the way Continuum does all the work of setting up an internal repository for the local SCM view, so I don't have to define that externally like I do in CruiseControl. Ironically, however, I now see a capability in CruiseControl that I need, that I don't see in Continuum, mostly because of t

Maven with Flex

2006-06-30 Thread Tony Hillerson
Hello all, I'm wondering if anyone out there is using Maven with a Flex project. I'm interested in how you've solved common Flex problems or frustrations you've had with Flex or Maven in the process. I'm considering writing a maven Flex plugin, and I'm interested in what problems have already b

Which schedule job will run first in 1.0.3?

2006-06-30 Thread apache maillist
Hi all, I have 3 schedule jobs as below in Continuum 1.0.3 0 0 13 ? * THU 0 0 0 ,7,10,13,16,19 * * ? 0 0 0 * * * ? Can someone tell me which schedule would run first at 1PM on every Thursday? Thanks. LJ

extending Modello

2006-06-30 Thread Tony Hillerson
For a flash or flex project using java it's a common need to generate DTOs in both java and actionscript. I want to write the modello plugin to do that, but I'm not sure where to start. Can anyone point me in the right direction? Source for the modello plugin and the different parsers would be nice

error running javadoc plugin

2006-06-30 Thread dasfrosty
When I add the javadoc plugin to my reporting plugins and run the site goal I get the following error message: org.apache.maven.reporting.MavenReportException: Exit code: 1 - javadoc: error - cannot read options (The system cannot find the file specified) Is there a configuration option that I n

external link new window icon xdoc

2006-06-30 Thread Brice Lambi
I'm moving my site from maven 1 to maven 2 and the external link and new window icons are not appearing. The target="_blank" isn't being carried over to the anchor in the acutal html. It is just being ignored. Is there a property I need to set or something?

Re: Hammurapi plugin?

2006-06-30 Thread Arun Nachimuthu
Henrik, You can find the hammurapi plugin for maven 1 at https://maven-plugins.dev.java.net/ I am currently moving the plugin to SF.net with other plugins. I was planning a maven 2 version of the plugin and started some initial work but progressing very slowly because of the amount of time i get

Newbie question, missing AndroMDA plugin on ibiblio Maven 1.0.2

2006-06-30 Thread rgc
Hi, I´m trying to follow the androMDA tutorial[1], but when I try to download the AndroMDA plugin, maven can not find it in ibiblio, and does not look in the alternate site (http://team.andromda.org). Why can´t maven look in team.andromda.org after failing in ibiblio.org? Actually, I downl

Project structure and releasing

2006-06-30 Thread Martijn Dashorst
All, I've updated the structure of my projects that depend on one another to the structure as proposed in the better builds with maven book. The one problem I have with this way of building is the link to the parent project: wicket wicket-parent 1.2-SNAPSHOT Now I have to update all

Configuring a plugin from inside a different plugin?

2006-06-30 Thread Russell, Mark
Is it possible to configure a plugin via code inside another plugin? Specifically I have a plugin that generates a bunch of source code, and based on its output it needs to configure the manifest of the jar that will be created. Thus my custom plugin basically needs to configure the maven-jar-p

[m2] release:prepare generateReleasePoms?

2006-06-30 Thread Mark Hewett
I have been trying to work out how to use release:prepare to create reproducible releases of our projects - i.e. trying to get a release-pom.xml generated with the versions of all the plugins resolved (as documented in the Mergere book and the plugin documentation). It seems like I should just sp

RE: Newbie question, missing AndroMDA plugin on ibiblio Maven 1.0.2

2006-06-30 Thread Naresh Bhatia
This is not an answer to your question, but FYI, the tutorial you are trying is dated. The latest tutorial is at http://galaxy.andromda.org/index.php?option=com_content&task=category§ionid=11&id=42&Itemid=89 and tells you step-by-step how to use AndroMDA with Maven 2. Naresh -Original Mess

Re: Project structure and releasing

2006-06-30 Thread Andrew Williams
I may be wrong, but if your parent is, as in the book, a pom packaged artifact with a module list then doing a release at that level should prompt (with sensible defaults) the release of all the modules. Andy On Fri, 2006-06-30 at 21:29 +0200, Martijn Dashorst wrote: > All, > > I've updated the

[m2] Transitive Dependency Questions

2006-06-30 Thread Graham Lea
Hi all I am new to using Maven2 and am concerned about the behaviour of transitive dependencies. In particular, I foresee certain situations where automated transitive dependencies, controlled by a third party, could be a Bad Thing. I have documented two such situations below. If anybody knows

RE: [m2] Transitive Dependency Questions

2006-06-30 Thread Mike Perham
Graham, you would just list the updated logger 1.0.1 dependency in your own POM. Maven will prefer that because it is "closer" and override 1.0 in Sally's POM. > -Original Message- > From: Graham Lea [mailto:[EMAIL PROTECTED] > Sent: Friday, June 30, 2006 6:27 PM > To: users@maven.apache

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Stephen Duncan
In either case, with Maven 2, the solution (as far as I know) is simply to directly declare your dependency on Bob's Ace Logger v1.0.1. Then you'll get that version. - Stephen On 6/30/06, Graham Lea <[EMAIL PROTECTED]> wrote: Hi all I am new to using Maven2 and am concerned about the behaviour

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Wendy Smoak
On 6/30/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: In either case, with Maven 2, the solution (as far as I know) is simply to directly declare your dependency on Bob's Ace Logger v1.0.1. Then you'll get that version. In addition, in Scenario One, even if Sally did know about Bob's 1.0.1 ver

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Graham Lea
Thanks for the answer, guys. Another scenario: Say I am using SickWebFramework 1, which relies on commons-logging 1.0, and BasicTemplateEngine 2.0, which relies on commons-logging 2.3. How will Maven know which version to use? Would I need to tell it? G. Stephen Duncan wrote: In either cas

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Graham Lea
That is a very interesting statement. I can see where you're coming from - people who originally selected that POM would not want it to change and start providing something different. However, it seems a bit odd to me to have to "upgrade" a project because of a dependency change, when no code ha

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Andrew Williams
The "closest to current pom" i.e. least dependencies dependency away etc. if they were equally far from the current node it is slightly undefined I believe. A On Sat, 2006-07-01 at 09:40 +1000, Graham Lea wrote: > Thanks for the answer, guys. > > Another scenario: > > Say I am using SickWebFra

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Andrew Williams
Any chance means more testing even if nothing has changed locally. Even with interfaces being the same there are no guarantees that things are exactly the same. Any small change warrants a new release (or an upgrade of some kind) or you break the always-reproducable-release idea too. Andy On Sat,

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Wendy Smoak
On 6/30/06, Graham Lea <[EMAIL PROTECTED]> wrote: Say I am using SickWebFramework 1, which relies on commons-logging 1.0, and BasicTemplateEngine 2.0, which relies on commons-logging 2.3. How will Maven know which version to use? Would I need to tell it? Maven builds a dependency graph and pic

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Graham Lea
Does this then make the whole transitive dependencies thing less useful than it at first seems? I think what I most want to know is: *What is the GOAL of transitive dependencies?* If the goal is to /stop me having to know about or think about the dependencies in use/, it would seem that it doe

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Wendy Smoak
On 6/30/06, Graham Lea <[EMAIL PROTECTED]> wrote: I think what I most want to know is: *What is the GOAL of transitive dependencies?* If the goal is to /stop me having to know about or think about the dependencies in use/, it would seem that it doesn't work: I still need to know about all the d

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Graham Lea
Thanks, Wendy. I don't disagree that it's powerful and convenient, and it definitely doesn't absolve responsibility. But that still leaves me unsure as to what the goal of it actually is. What do you think is the goal of transitive dependencies? G. Wendy Smoak wrote: Maven's transitive dep

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Mykel Alvis
It's like anything in the pom. It documents the needs of the project. If there were no transitive dependencies, how would you know what the implicit transtive dependencies were? Whether you like the method or not, the transitive dependencies exist, and the method in m2 beats out a "Requires the

Re: [m2] Transitive Dependency Questions

2006-06-30 Thread Mykel Alvis
And, for the record, I have had to make the "for the suits" speech about maven and especially transitive dependencies nearly a dozen times in the last month. It's a common question and given Graham's concern that is clearly mirrored by many others, probably deserves at least a paragraph or 2 in t

Re: Best practise: handling xdoclet generated sources

2006-06-30 Thread jerome lacoste
On 6/30/06, Graham Leggett <[EMAIL PROTECTED]> wrote: Hi all, I am trying to figure out the proper maven based layout for some existing ant code that uses xdoclet for code generation (standard EJB stuff). From what I have seen to date, the way so far is for maven to ask xdoclet to generate the