Re: Setting Environment variable in pom.xml

2007-09-07 Thread Wendy Smoak
On 9/7/07, Huang, Yan <[EMAIL PROTECTED]> wrote: > I'm wondering if there is a simple way to set up a build-time > environment variable in pom.xml without writing a custom plug-in? > > Let's say I want to set an environment variable called MY_TOOL_DIRECTORY > to the ${project.build.directory}/myto

Re: generate different artifact types against a project?

2007-09-07 Thread Wendy Smoak
On 9/7/07, mfs <[EMAIL PROTECTED]> wrote: > Well i dont think this is possible, but just wanted to be sure if through > any of the plugins (or otherwise) we can achieve the objective, so basically > i have a project which contains some pojo(s) with some core functionality > and also some servlets

Re: Code Complexity Plugin

2007-09-07 Thread Wendy Smoak
On 9/7/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: > Is there a plug-in to calculate the code complexity of Java code? I > tried using the PMD, but I did not see the results for complexity. May > someone please point me in the right direction for this? Thank you. Try

[m2] REALLY need some help with ant task xml parser and PMD issues

2007-09-07 Thread Mick Knutson
Ok, I started a new thread as the mail daemon kept kicking everything back trying to solve this. This is a serious issue that I have been messing with for over 2 weeks. I have a group of modules that each use the ant plugin to call the Oracle bpel ant tasks. These tasks keep calling other tasks a

Re: [m2] strange, show-stopping PMD error

2007-09-07 Thread Mick Knutson
On another idea, when I turn off the modules that require the oracle xml parser, then everything works fine. So, is there a way to FORCE that module to run LAST after everything else? The issue seems to be that even with the site command, that modules uses an ant task that uses the Oracle xmlparse

generate different artifact types against a project?

2007-09-07 Thread mfs
Guys, Well i dont think this is possible, but just wanted to be sure if through any of the plugins (or otherwise) we can achieve the objective, so basically i have a project which contains some pojo(s) with some core functionality and also some servlets which provide an http interface to these co

Setting Environment variable in pom.xml

2007-09-07 Thread Huang, Yan
Hello, I'm wondering if there is a simple way to set up a build-time environment variable in pom.xml without writing a custom plug-in? Let's say I want to set an environment variable called MY_TOOL_DIRECTORY to the ${project.build.directory}/mytools before a compile is started. Is there a way to

Re: buildnumber with modified subversion

2007-09-07 Thread Julian Wood
Maybe (re extra info). The plugin currently parses the result from svn info, but that will be changed to svn --xml info, to get info in a localized-friendly manner. It will probably also be giving a timestamp property of some sort, and maybe it actually needs some sort of mechanism to allow

Re: Heap overflow in deploy:deploy-file

2007-09-07 Thread Joshua ChaitinPollak
At least on *nix, you can set MAVEN_OPTS in ~/.mavenrc On Fri, 2007-09-07 at 11:16 +0200, Jo Vandermeeren wrote: > Have you tried increasing the max heap size for maven by setting > MAVEN_OPTS? > > On Fri, 2007-09-07 at 02:08 -0700, Larry Suto wrote: > > > Hi I am trying to upload an artifact to

Re: [m2] strange, show-stopping PMD error

2007-09-07 Thread dvicente
Mick Knutson-4 wrote: > > How do I redirect the output to a log file? > > On 9/7/07, dvicente <[EMAIL PROTECTED]> wrote: >> > like this: mvn -e -X site>maven.log > >> >> Hi, >> >> I'm the dashboard project leader. >> >> No, i haven't seen this error before. >> >> could you do a mvn -e -X site

Code Complexity Plugin

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Is there a plug-in to calculate the code complexity of Java code? I tried using the PMD, but I did not see the results for complexity. May someone please point me in the right direction for this? Thank you. This message (including any attachments) contains confidential information intended f

Re: [m2] strange, show-stopping PMD error

2007-09-07 Thread Mick Knutson
There is one of my modules that needs oc4j's xmlparserv2.jar which has " oracle.xml.jaxp.JXDocumentBuilderFactory" in it. That class extends " *javax.xml.parsers.DocumentBuilderFactory" *How and why would pmd be using JXDocumentBuild instead of *DocumentBuilderFactory* On 9/7/07, Mick Knutson

Re: Maven2 properties file as in Ant

2007-09-07 Thread Juan Ignacio Garzón
Which plugin could I use? The reason for prefering to store the properties outside personal's settings.xml is that I want it to be in the source code repository. And i dont want to have them inside pom.xml because its cleaner (i think) having them outside. Maybe my mind is not still ready for ma

Re: Maven2 properties file as in Ant

2007-09-07 Thread Wayne Fay
Not without using a plugin. Why not use the settings.xml that stored in your personal user directory (~/.m2/settings.xml) for these kinds of things -- that's about as secure as it gets. Wayne On 9/7/07, Juan Ignacio Garzón <[EMAIL PROTECTED]> wrote: > Hi! > > I have read the Settings Reverence [1

Maven2 properties file as in Ant

2007-09-07 Thread Juan Ignacio Garzón
Hi! I have read the Settings Reverence [1], and in the section "Properties" there is a paragraph saying: "x : Set within a element or an **external files**, the value may be used as ${someVar} ." Is there a way to define properties in an external file, in the same way as Ant? I would like to ha

RE: Unable to locate the Javac Compiler error with cygwin

2007-09-07 Thread Urroz, Hector (Hector)
Never mind, I was pointing to a jre, not the jdk. Thanks, Hector -Original Message- From: Urroz, Hector (Hector) [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 2:24 PM To: users@maven.apache.org Subject: Unable to locate the Javac Compiler error with cygwin I'm running 'mvn

Unable to locate the Javac Compiler error with cygwin

2007-09-07 Thread Urroz, Hector (Hector)
I'm running 'mvn compile' on cygwin and am getting the following: Unable to locate the Javac Compiler in: c:\Program Files\Java\jre1.6.0_01\..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can c

Re: [m2] strange, show-stopping PMD error

2007-09-07 Thread Mick Knutson
How do I redirect the output to a log file? On 9/7/07, dvicente <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm the dashboard project leader. > > No, i haven't seen this error before. > > could you do a mvn -e -X site and redirect the output to a log file and > upload it as an attachment ? > > so, co

Re: [m2] strange, show-stopping PMD error

2007-09-07 Thread dvicente
Hi, I'm the dashboard project leader. No, i haven't seen this error before. could you do a mvn -e -X site and redirect the output to a log file and upload it as an attachment ? so, could you also uncomment the dashboard plugin but still left the PMD plugin commented out, and do a mvn -e -X s

How to exclude the contents from WEB-INF/classes from being copied over?

2007-09-07 Thread Jim Sellers
Hello. While using MyEclipse with maven, I have the eclipse plug-in keeping the output directory as WEB-INF/classes so that I can still work with hot deploys. org.apache.maven.plugins maven-eclipse-plugin src/main/webapp/WEB-INF/classes

[REQ] Ant compatibility build.xml

2007-09-07 Thread Johannes Schneider
Hi, has anyone created a build.xml that can be used to build a standard maven project? I think of a small script that is able to compile, run tests and create jar files using the common maven directory layout. In combination with a Maven plugin (does it exist yet?) that is able to store all

Re: [m2] strange, show-stopping PMD error

2007-09-07 Thread Mick Knutson
To add more details, I removed the dashboard plugin as well as the pmd plugin, and it works fine, but then I don't get PMD and I really need it! So I also uncommented PMD but still left the dashboard plugin commented out, and went back to the same error "Provider oracle.xml.jaxp.JXDocumentBuilderF

why is xalan serializer 2.70 missing from central?

2007-09-07 Thread Russ Tremain
Does anyone know why the 2.7.0 serializer jar is missing from the xalan distribution: http://repo1.maven.org/maven2/xalan/xalan/2.7.0/ I assume it should be here: http://repo1.maven.org/maven2/xalan/serializer/2.7.0/ How do we get it fixed? thanks, -Russ ---

Re: q4eclipse NullPointerException importing project

2007-09-07 Thread Joshua ChaitinPollak
I filed issue 60, thanks On Fri, 2007-09-07 at 10:17 -0700, Carlos Sanchez wrote: > In Eclipse go to Window - Show view - Error Log and you should get > there the details > > But please report bugs and problems in the Q4E mailing list as here > they can get lost in the mailing list traffic > http

[m2] strange, show-stopping PMD error

2007-09-07 Thread Mick Knutson
I have a strange and intermittent error. It appears [mostly], when I am running site on a module goup that does not have any java code in it. Now oracle.xml.jaxp.JXDocumentBuilderFactory is the jaxp lib's from OC4j in my project, but I have no idea how that is getting referenced as I am running the

Re: Maven 2 dashboard-plugin clover historic report data missing

2007-09-07 Thread dvicente
Ok i've released the new version of dashboard as 1.0-SNAPSHOT keep me informed Best regards David Vicente Jimbog wrote: > > Issue for this is > > http://jira.codehaus.org/browse/MOJO-907 > > Thanks > James > > > > dvicente wrote: >> >> Hi, >> >> yes it's true, i have the same bug. >>

Re: maven-archetype-j2ee-simple

2007-09-07 Thread Ash Stuart
You can think of the outer pom as an abstract class, only the inner ones can be concrete (=have code). Ash On 9/7/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Pom packaging does not contain source. > > You must create modules for all your source code etc. The top parent > pom simply organizes th

RE: tomcat plugin questions

2007-09-07 Thread EJ Ciramella
Ok, maybe I'm still struggling a bit. So when I tweak a jsp, I run "mvn package tomcat:redeploy" but then I don't see my changes. Any suggestions? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:58 PM To: Maven Users List Subject: RE:

Re: The processing order of Maven2's reactor

2007-09-07 Thread Tim Kettler
Please keep the discussion on the list, others might be interested too. Maven prints the content of the tag in that log entries. I guess you have just two modules with the same in your poms. -Tim Huang, Yan schrieb: > Hi Tim, > > I ran "mvn validate" under our source and its print has these

Re: maven-archetype-j2ee-simple

2007-09-07 Thread Wayne Fay
Pom packaging does not contain source. You must create modules for all your source code etc. The top parent pom simply organizes the modules. Wayne On 9/7/07, Eric Wood <[EMAIL PROTECTED]> wrote: > I ran the > > mvn archetype:create ... > -DarchetypeArtifactId=maven-archetype-j2ee-simple > >

Re: [m2] How to exclude modules from site:site

2007-09-07 Thread Mick Knutson
Thanks so much! On 9/7/07, Tim Kettler <[EMAIL PROTECTED]> wrote: > > module-2/pom.xml: > > [...] > > maven-site-plugin > >false > > > [...] > > Mick Knutson schrieb: > > How would I configure that for just one module? > > > > ROOT:pom.xml > >|-->module-1: pom.

Re: q4eclipse NullPointerException importing project

2007-09-07 Thread Carlos Sanchez
In Eclipse go to Window - Show view - Error Log and you should get there the details But please report bugs and problems in the Q4E mailing list as here they can get lost in the mailing list traffic http://groups.google.com/group/q4e-users The issue tracker http://code.google.com/p/q4e/issues/lis

Re: [m2] How to exclude modules from site:site

2007-09-07 Thread Tim Kettler
module-2/pom.xml: [...] maven-site-plugin false [...] Mick Knutson schrieb: How would I configure that for just one module? ROOT:pom.xml |-->module-1: pom.xml (Generate site) |-->module-2: pom.xml (DO NOT Generate site) |-->module-3: pom.xml (Generate site)

Re: [m2] How to exclude modules from site:site

2007-09-07 Thread Mick Knutson
How would I configure that for just one module? ROOT:pom.xml |-->module-1: pom.xml (Generate site) |-->module-2: pom.xml (DO NOT Generate site) |-->module-3: pom.xml (Generate site) On 9/7/07, Tim Kettler <[EMAIL PROTECTED]> wrote: > > Hi, > > have you tried false in the > site-plugin

maven-archetype-j2ee-simple

2007-09-07 Thread Eric Wood
I ran the mvn archetype:create ... -DarchetypeArtifactId=maven-archetype-j2ee-simple command to create a j2ee directory structure ant its associated POM.XML files. Top level directory contains both a src folder and a pom.xml file that contains the pom directive. From what I can ascertain,

RE: tomcat plugin questions

2007-09-07 Thread EJ Ciramella
Ah HA - looks like I needed to move this out of a profile. Sorry for the noise! -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:49 PM To: Maven Users List Subject: tomcat plugin questions Is anyone using the tomcat plugin for deployme

RE: J2ee maven 2.0 examples/documentation

2007-09-07 Thread Eric Wood
Please ignore this email. It was sent by mistake. E -Original Message- From: Eric Wood [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:51 PM To: users@maven.apache.org Subject: J2ee maven 2.0 examples/documentation ---

J2ee maven 2.0 examples/documentation

2007-09-07 Thread Eric Wood

tomcat plugin questions

2007-09-07 Thread EJ Ciramella
Is anyone using the tomcat plugin for deployment? I'm struggingling a little bit. Currently, I'm running Tomcat 4.X and seeing this error repeatedly: E:\work\release_engineering\exportUpdater>mvn tomcat:undeploy Error reading settings.xml: parser must be on START_TAG or TEXT to read text (posi

Re: [m2] How to exclude modules from site:site

2007-09-07 Thread Tim Kettler
Hi, have you tried false in the site-plugin's configuration [1]? -Tim [1] http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html Mick Knutson schrieb: I have a multi-module project that when I run site:site, there are some modules I want to exclude. This is due to a strange bug i

Re: multiple jar project split into two projects

2007-09-07 Thread Dan Tran
It is too bad that the tool requires the actual .java files. A possible solution I can think of is to use antrun plugin to copy the source over to the module that needs it and use build-helper-maven-plugin to add the copied source dir to maven compilable source tree if needed -D On 9/7/07, Sebas

[m2] How to exclude modules from site:site

2007-09-07 Thread Mick Knutson
I have a multi-module project that when I run site:site, there are some modules I want to exclude. This is due to a strange bug in ant-run where I get PMD errors when this modules runs site:site. I do not have time to spend on that error as I have already posted that here several times with zero r

How to specify remote repository on mvn command line

2007-09-07 Thread Farrukh Najmi
Is there a way to specify to mvn command line to pickup additional remote repositories? I tried the -DremoteRepositories property that works with maven-archetype-plugin but it did not work. If this is not supported, IMHO this would be a very good thing to add to a future version. Thanks fo

Re: Dependencies conflict with dependencyManagement

2007-09-07 Thread Wayne Fay
Its not that simple. The way Maven resolves dependencies (declared and transitive) is just more complex than I can explain in a few short sentences via email. The easiest way to "fix" this "problem" is to simply specify and lock-down the versions as I've suggested. Wayne On 9/7/07, Farhdine Bout

Re: Question how to prevent maven from update manually added dependencies

2007-09-07 Thread Sebastian Johnck
I believe you can change the update frequency when you declare the repository element, options are always, never, daily, Xminutes, etc. I dont think you can do it on a per dependency basis. On 9/7/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Its not clear what you are trying to do and why. Please

RE: Dependencies conflict with dependencyManagement

2007-09-07 Thread Farhdine Boutzakhti
Cool, thanks it works now! But I'm astonished to learn that Maven doesn't support really conflicts between sub-dependencies... Thanks again Wayne! Farhdine. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 4:53 PM To: Maven Users List Subjec

Re: multiple jar project split into two projects

2007-09-07 Thread Sebastian Johnck
Almost, I've got 5 core modules. 1 war module which depends on all the cores. The src directory for the war contains jsr 181 pojo endpoints, which all refer to core code. I'm using wsconsume and wsprovide (Jboss tools) to generate the client code. One of the requirements for the tool is that you

Re: Multiple-Module Build? maven-assembly-plugin or maven-jar-plugin?

2007-09-07 Thread Tim Kettler
Hi, Andrew Leer schrieb: I am making my first attempt at building a multiple-module project. Should I use the maven-assembly-plugin, or the maven-jar-plugin? just building a multi-module project doesn't imply you have to explicitly use the jar- or assembly-plugin. Think of a multi-module pr

Re: Maven application bootloader?

2007-09-07 Thread Tim Kettler
Hi, of course there are. Never tried them though. -Tim [1] http://jlaunchpad.sourceforge.net/ [2] http://pomstrap.prefetch.com/en/index.xml Putrycz, Erik schrieb: Just wondering if there is any kind of project that could allow me to use the maven facilities (pom descriptors and repositories

Maven application bootloader?

2007-09-07 Thread Putrycz, Erik
Just wondering if there is any kind of project that could allow me to use the maven facilities (pom descriptors and repositories) to launch an application? Ideally I'd just like to have a small bootloader with a project reference and a repository location, then let the user choose a version to l

Multiple-Module Build? maven-assembly-plugin or maven-jar-plugin?

2007-09-07 Thread Andrew Leer
I am making my first attempt at building a multiple-module project. Should I use the maven-assembly-plugin, or the maven-jar-plugin? What is the difference between them? Does which plugin should be used have to do with if the project is a standalone app, or something else? Thank you, Andrew

Re: Maven 2 and Subversion

2007-09-07 Thread Mark Eramo
I am trying to do automated and semi automated builds so I will look at Continum as it seems to add a lot of value with Maven/Subversion integration. Regards, Mark Graham Leggett wrote: On Fri, 2007-09-07 at 10:06 -0400, Mark Eramo wrote: Can anyone point me to detailed information a

Re: ${basedir} Windows and ${file.separator}

2007-09-07 Thread Andrew Leer
Thanks Wayne... Submitted a bug... http://jira.codehaus.org/browse/MNG-3198 Thanks, Andrew J.Leer On 9/7/07, Wayne Fay <[EMAIL PROTECTED]> wrote: > There are *always* some small differences in environments. Therefore, > profiles are a way of handling those differences in Maven. > > ${file.s

Re: Maven 2 and Subversion

2007-09-07 Thread Graham Leggett
On Fri, 2007-09-07 at 10:06 -0400, Mark Eramo wrote: >>Can anyone point me to detailed information and maybe some examples >> on how to integrate maven and subversion. Ideally I would like to be >> able to have the build fetch the latest code from subversion before I do >> the build. I have lo

RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you. I will look into this. -Original Message- From: LAMY Olivier [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 10:46 AM To: [EMAIL PROTECTED] Subject: RE: Connecting to the Continuum Derby Database Maybe you can add an issue and explain what kind of reports you need

Re: Dependencies conflict with dependencyManagement

2007-09-07 Thread Wayne Fay
Then you need to add commons-collections as a "direct dependency". And "lock down" the version. Maven does its best to sort out the dependency graphs including transitivity etc. But sometimes it needs your help. This seems to be one of those times. Wayne On 9/7/07, Farhdine Boutzakhti <[EMAIL PR

RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
I am trying to create some reporting pages which show statistics of number of builds per project, elapsed build times, average build times, and other similar information. Thank you. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 10:36 AM T

RE: Connecting to the Continuum Derby Database

2007-09-07 Thread LAMY Olivier
Maybe you can add an issue and explain what kind of reports you need ? -- Olivier -Message d'origine- De : Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 septembre 2007 16:44 À : [EMAIL PROTECTED] Objet : RE: Connecting to the Continuum Derby Data

RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you. In my JSP I am trying to select all rows and search by field to create some reporting pages for our builds. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 10:28 AM To: [EMAIL PROTECTED] Subject: Re: Connecting to the Conti

RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Sure. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 10:28 AM To: [EMAIL PROTECTED] Subject: Re: Connecting to the Continuum Derby Database the username is 'sa' with an empty password. Just for my information, what do you try to do

RE: Dependencies conflict with dependencyManagement

2007-09-07 Thread Farhdine Boutzakhti
Hi Wayne! I can't try this, because the conflict is in a sub-dependency, it isn't a direct dependency. Thanks for your help. Farhdine. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 4:11 PM To: Maven Users List Subject: Re: Dependencies co

Re: Connecting to the Continuum Derby Database

2007-09-07 Thread Wendy Smoak
On 9/7/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > the username is 'sa' with an empty password. I knew I wrote this down somewhere. Here's a page talking about Archiva and Derby Network Server. It should be easily adaptable to Continuum. http://docs.codehaus.org/display/MAVENUSER/Archiv

RE: Maven 2 and Subversion

2007-09-07 Thread COPPENS, Fabien
Continuum integrates really effortlessly with Maven and Subversion. -Message d'origine- De : Mark Eramo [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 septembre 2007 16:28 À : Maven Users List Objet : Re: Maven 2 and Subversion Eric/Nick, Thanks for the information. I am fairly new t

Re: ${basedir} Windows and ${file.separator}

2007-09-07 Thread Wayne Fay
There are *always* some small differences in environments. Therefore, profiles are a way of handling those differences in Maven. ${file.separator} is simply not valid/available at this time for use in the pom. Feel free to file an RFE. Wayne On 9/7/07, Andrew Leer <[EMAIL PROTECTED]> wrote: > He

Re: Connecting to the Continuum Derby Database

2007-09-07 Thread Wendy Smoak
On 9/7/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: > I started the Derby Database server on the Continuum machine. It is > listening on port 1527. In my JSP page deployed on an Application > Server on another machine in the same network I have the code: > > Connection c

Re: Maven 2 and Subversion

2007-09-07 Thread Mark Eramo
Eric/Nick, Thanks for the information. I am fairly new to Maven so I am still trying to feel my way around. I will look at cruise control but I am also thinking about using the Ant plugin to just fetch the code from Subversion before I compile. I don't want to use Ant to much as I am trying

Re: Maven 2 and Subversion

2007-09-07 Thread Nick Stolwijk
Maybe try something like: [...] org.apache.maven.plugins maven-scm-plugin 1.0-SNAPSHOT http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_execution>> Update scm

Re: ${basedir} Windows and ${file.separator}

2007-09-07 Thread Andrew Leer
Hello, >Use 2 profiles that are auto-activated based on OS and hard-code the >proper value in both. >Wayne Doesn't the defeat the purpose of having an environment portable build? And when I use ${basedir} I can't insert two ${file.separator}'s inside of that variable. I.E. ${basedir}=C:\works

Re: Maven 2 and Subversion

2007-09-07 Thread Eric Miles
I'd recommend automating that via a system like Continuum or Cruise Control. I'm not sure there's any other way to do that directly with the POM or not... On Fri, 2007-09-07 at 10:06 -0400, Mark Eramo wrote: > Hello, >Can anyone point me to detailed information and maybe some examples > on

Re: Question how to prevent maven from update manually added dependencies

2007-09-07 Thread Wayne Fay
Its not clear what you are trying to do and why. Please explain things better. In the meantime, you can use "mvn -o ..." for "offline mode" which will force Maven to use only the artifacts available on your machine for a given build. Wayne On 9/7/07, Ritz, Martin <[EMAIL PROTECTED]> wrote: > Ho

Re: Dependencies conflict with dependencyManagement

2007-09-07 Thread Wayne Fay
Try "locking down" the version you've declared in depMgmt like: [3.1] With this configuration, you should be more or less "guaranteed" to get 3.1 in your Jars etc. Wayne On 9/7/07, Farhdine Boutzakhti <[EMAIL PROTECTED]> wrote: > Hi all! > > > > I've a question about dependencies conflict m

Maven 2 and Subversion

2007-09-07 Thread Mark Eramo
Hello, Can anyone point me to detailed information and maybe some examples on how to integrate maven and subversion. Ideally I would like to be able to have the build fetch the latest code from subversion before I do the build. I have looked at the documentation on the Maven site but I am lo

Re: Realm Basic Authentication required

2007-09-07 Thread Wayne Fay
This is not a "mvn install" problem. Instead your tests are failing -- I think this is pretty obvious from the error/stacktrace. Get your TestNG tests working properly and then try again. Or "skip" tests if you are determined to install this code despite the failing tests. Wayne On 9/7/07, theoz

Re: Maven 2 dashboard-plugin clover historic report data missing

2007-09-07 Thread Jimbog
Issue for this is http://jira.codehaus.org/browse/MOJO-907 Thanks James dvicente wrote: > > Hi, > > yes it's true, i have the same bug. > > Could you create an issue on JIRA : http://jira.codehaus.org/browse/MOJO > > I will correct it this week-end and try to make a new snapshot release

Re: ${basedir} Windows and ${file.separator}

2007-09-07 Thread Wayne Fay
Use 2 profiles that are auto-activated based on OS and hard-code the proper value in both. Wayne On 9/7/07, Andrew Leer <[EMAIL PROTECTED]> wrote: > Hello all, > > I am using Maven2 on Windows XP > > Lets say that I have this property in my pom.xml file: > > > ${basedir}${file.separator}log${file

Re: Tomcat Manager username

2007-09-07 Thread Mark Hobson
Thanks - patches are welcome! Mark On 06/09/2007, Alexandre Gomes <[EMAIL PROTECTED]> wrote: > Ok Mark, > > isseu created in [1]. > > Thanks a lot. > > [1] http://jira.codehaus.org/browse/MOJO-906 > > []s > Alê! > > > On 9/4/07, Mark Hobson <[EMAIL PROTECTED]> wrote: > > On 03/09/07, Alexandre Go

Re: Cargo issues

2007-09-07 Thread emerson cargnin
Hi guys I created a maven2 archetype with cargo using the command: mvn archetype:create -DarchetypeGroupId=org.codehaus.cargo -DarchetypeArtifactId=cargo-archetype-webapp-functional-tests-module -DarchetypeVersion= -DgroupId= -DartifactId= as showed in the instructions in the cargo webpage. prob

Question how to prevent maven from update manually added dependencies

2007-09-07 Thread Ritz, Martin
Ho Maven Users, I searched a lot around but couldn't find the answer to my question: How can I prevent maven from update manually added dependencies? Scope provided and system doesn't match my requirements - is there a way of doing in a other way? Thx alot --- Martin Ritz > BTC AG - Geschäftsei

Re: Always send EMail missing in 1.1 beta 2

2007-09-07 Thread Emmanuel Venisse
it's a JNDI conf. If you use the standalone version, you can configure it in /conf/plexus.xml Emmanuel Mac-Systems a écrit : hmm, i compared continuum 1.0.3 config which 1.1 beta 2. Where to config the smtp host ? 1.1. Beta 2 application.xml org.codehaus.plexus.notification.no

Realm Basic Authentication required

2007-09-07 Thread theozaf
Hi guys I am trying mvn install in the correct path and what I get is the following error, I have to mention that the realm dippst exists in a BEA DBmanager and is set to true. com.meterware.httpunit.AuthorizationRequiredException: Basic authentication req ired: realm="dippst" at com.mete

Re: Always send EMail missing in 1.1 beta 2

2007-09-07 Thread Mac-Systems
hmm, i compared continuum 1.0.3 config which 1.1 beta 2. Where to config the smtp host ? 1.1. Beta 2 application.xml org.codehaus.plexus.notification.notifier.Notifier mail org.apache.maven.continuum.notification.mail.MailContinuumNotifier org.co

Re: Maven 2 dashboard-plugin clover historic report data missing

2007-09-07 Thread dvicente
Hi, yes it's true, i have the same bug. Could you create an issue on JIRA : http://jira.codehaus.org/browse/MOJO I will correct it this week-end and try to make a new snapshot release the next week. Keep me informed Best regards David Jimbog wrote: > > Great, thanks, let me know if you n

Dependencies conflict with dependencyManagement

2007-09-07 Thread Farhdine Boutzakhti
Hi all! I've a question about dependencies conflict management. I have a POM with sub-modules. I have specified my dependencies in a dependencyManagement tag. All sub-modules include the dependencies without version and scope. Here is my problem: My sub-modules generate WAR archives

Re: Always send EMail mitting in 1.1 beta 2

2007-09-07 Thread Mac-Systems
Thanks a lot, seems i was a bit blind to find that file ;) Wish a nice Weekend, Jens Have a look in the webapp file WEB-INF/classes/META-INF/plexus/application.xml . -- Olivier -Message d'origine- De : Mac-Systems [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 septembre 2007 10:26 À

RE: Always send EMail mitting in 1.1 beta 2

2007-09-07 Thread LAMY Olivier
Have a look in the webapp file WEB-INF/classes/META-INF/plexus/application.xml . -- Olivier -Message d'origine- De : Mac-Systems [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 septembre 2007 10:26 À : [EMAIL PROTECTED] Objet : Re: Always send EMail mitting in 1.1 beta 2 Anyone knows abo

Re: Heap overflow in deploy:deploy-file

2007-09-07 Thread Larry Suto
Thanks it works On 9/7/07, ossi petz <[EMAIL PROTECTED]> wrote: > > hallo > > outofmemory yes, but with reports. > > set an env varaiable: > > MAVEN_OPTS=-Xms128m -Xmx512m > > to allow maven to use more memory. that should do the trick > > > regards > ossi > > > > Larry Suto schrieb: > > Hi I am t

Re: Heap overflow in deploy:deploy-file

2007-09-07 Thread Jo Vandermeeren
Have you tried increasing the max heap size for maven by setting MAVEN_OPTS? On Fri, 2007-09-07 at 02:08 -0700, Larry Suto wrote: > Hi I am trying to upload an artifact to Maven repository with > deploy:deploy-file. I am getting a java.lang.OutOfMemoryError > . The file is about 42mb in size. I a

Re: Heap overflow in deploy:deploy-file

2007-09-07 Thread ossi petz
hallo outofmemory yes, but with reports. set an env varaiable: MAVEN_OPTS=-Xms128m -Xmx512m to allow maven to use more memory. that should do the trick regards ossi Larry Suto schrieb: Hi I am trying to upload an artifact to Maven repository with deploy:deploy-file. I am getting a java.l

Heap overflow in deploy:deploy-file

2007-09-07 Thread Larry Suto
Hi I am trying to upload an artifact to Maven repository with deploy:deploy-file. I am getting a java.lang.OutOfMemoryError . The file is about 42mb in size. I am using Maven 2.07. Has anyone else come across this problem. Thanks, Larry

Re: EAR plugin and altDeploymentDescriptor

2007-09-07 Thread Martin Gilday
Hi Stéphane, I had forgotten to set the "version" to 5, the default of 1.4 does not have this element. More of a general JEE question than Maven, but am I correct using this tag in application.xml to change the persistence.xml descriptor? Thanks, Martin. - Original message - From: "Step

Re: profile inheritance and activation

2007-09-07 Thread ossi petz
hallo glad to help :) i have no mixture of the profiles neeeded for the builds within settings.xml (so everyone who gets the pom can built it). you dont have a profiles.xml too? i have put everything in pom.xml profiles: local

Re: EAR plugin and altDeploymentDescriptor

2007-09-07 Thread Stephane Nicoll
You can use 2.3.1, it's released and has this feature. Show your ear plugin's configuration.. Stéphane On 9/6/07, Martin Gilday <[EMAIL PROTECTED]> wrote: > Hi, > I am trying to produce an EAR with two instances of a JPA module with > alternative persistence.xml. I thought I could use the EAR p

Re: Always send EMail mitting in 1.1 beta 2

2007-09-07 Thread Mac-Systems
Anyone knows about it ? regards, Jens Hello, i there some similar property in 1.1.beta 2 like true i found in 1.0.3 ? best regards, Jens

Re: How can i setup the dependency on more than one repos in certain order?

2007-09-07 Thread ossi petz
hallo sorry for the confusion. repos defined in a pom dont need a profile. i have put them into settings.xml, there i got my example from. when you create different flavours of artifacts (test, stage, prod) the best practice is to use profiles. most likely it is only the project that needs

Re: q4eclipse NullPointerException importing project

2007-09-07 Thread ossi petz
hallo within the exlipse workspace there is a .metadata folder, there should be some .log file with the complete stacktrace. i think isues should go to http://code.google.com/p/q4e/issues/list regards ossi Joshua ChaitinPollak schrieb: Using q4eclipse, I get a null pointer exception impor