RE: configuring JDK

2007-01-25 Thread Roald Bankras
Interesting approach. Do you know of some way to generify the maven.compile.runtime property? I think I can put it in settings for example. I'll definatly give this a try. Roald Bankras -Original Message- From: nicolas de loof [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007

Re: configuring JDK

2007-01-25 Thread nicolas de loof
The compiler plugin configuration is in my corporate POM. Projects only have to define the compiler properties to set the target runtime. You can also set the as -D command line arguments or in settings.xml as properties section. Nico. 2007/1/25, Roald Bankras [EMAIL PROTECTED]: Interesting

Re: maven ear plugin - jboss datasource

2007-01-25 Thread Stephane Nicoll
I think I've seen something in Jira about this... Voila: http://jira.codehaus.org/browse/MEAR-52 Please comment there. Regards, Stéphane On 1/25/07, Barry Molof [EMAIL PROTECTED] wrote: Hello, I am trying to put my jboss datasource into my ear and add a java entry into the application.xml.

Question about the scm plugin

2007-01-25 Thread Julien Martin
Hello, I would like to know whether the use of the scm plugin and especially the use of the cvs goal of the scm plugin requires the presence of the cvs executable on the user machine. Thanks in advance, Julien. - To unsubscribe,

Re: Question about the scm plugin

2007-01-25 Thread Emmanuel Venisse
because we don't use yet a pure java client for cvs Emmanuel Julien Martin a écrit : Hello, I would like to know whether the use of the scm plugin and especially the use of the cvs goal of the scm plugin requires the presence of the cvs executable on the user machine. Thanks in advance,

Incorrect facet information when doing mvn eclipse:eclipse for war and ejb projects.

2007-01-25 Thread Minto van der Sluis
Hi folks, Seems like JIRA is offline, so I post it here first and create the issue later. When running 'mvn eclipse:eclipse' the results do not take the proper servlet-api en ejb-api into account. ejb version is not taken into account (see http://jira.codehaus.org/browse/MECLIPSE-198) servlet

Re: Question about the scm plugin

2007-01-25 Thread Julien Martin
thanks manu. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Question about the scm plugin

2007-01-25 Thread Rahamim, Zvi \(Zvi\)
How can I set the CVS.exe path? Thanks! -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 11:07 AM To: Maven Users List Subject: Re: Question about the scm plugin because we don't use yet a pure java client for cvs Emmanuel Julien

Re: Question about the scm plugin

2007-01-25 Thread Julien Martin
by changing the environment variable path... 2007/1/25, Rahamim, Zvi (Zvi) [EMAIL PROTECTED]: How can I set the CVS.exe path? Thanks! -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 11:07 AM To: Maven Users List Subject: Re: Question

Using a cvs repository for the sources

2007-01-25 Thread Julien Martin
Hello, I am completely new to maven and would be grateful for some help. I would like for my pom to point to a cvs repository so that: 1. Maven retrieves the sources for my app from distant cvs 2. Maven places the sources into the local repository 3. Maven compiles the sources and places the

RE: Question about the scm plugin

2007-01-25 Thread Rahamim, Zvi \(Zvi\)
Thank you! -Original Message- From: Julien Martin [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 11:55 AM To: Maven Users List Subject: Re: Question about the scm plugin by changing the environment variable path... 2007/1/25, Rahamim, Zvi (Zvi) [EMAIL PROTECTED]: How can

pom.xml editor

2007-01-25 Thread yuubouna
Hi everybody! I need to edit my super pom.xml outside eclipse, that`s why I cannot use the M2plugin for eclipse Does anyone knows a pom.xml editor [third party software]? thanks! -jackie ^_^ -- View this message in context: http://www.nabble.com/pom.xml-editor-tf3097385s177.html#a8599666

RE: pom.xml editor

2007-01-25 Thread jelle.volckaert
Hi, Just use one of the many code editors. And pick one with syntax highlighting. I'm using Notepad++ - http://notepad-plus.sourceforge.net C u -Original Message- From: yuubouna [mailto:[EMAIL PROTECTED] Sent: donderdag 25 januari 2007 11:42 To: users@maven.apache.org Subject: pom.xml

Commons IO FileUtils needed

2007-01-25 Thread jelle.volckaert
Hi, I want to use the org.apache.commons.io.FileUtils functionality in my own plugin. I can't find the jar in the Maven2 repo @ http://repo1.maven.org/maven2/ I downloaded the jar manually and put it in my classpath, so I can use the functionality in Eclipse. I also added the dependency to

add lib to project with maven1

2007-01-25 Thread e.j.w.vanbloem
I am using maven 1 and want to add lib lucene.jar to my project can someone explain how this is done? 1) In which directory should I place the lib? 2) what do I have to alter/add and in which files? Regards, Erik - To

You must specify at least one goal. Try 'install'

2007-01-25 Thread Julien Martin
Hello, I have the latest version of maven installed on my machine. (2.0.4) as well as the maven netbeans module installed. When I run mvn initialize I get this: * C:\dev\miscenalleous\rcc-mavenmvn

Re: transitivity path to resolved dependency

2007-01-25 Thread Gabriele Contini
Petar Tahchiev wrote: On 24/01/07, Gabriele Contini [EMAIL PROTECTED] wrote: Hi, we have a project structure with many modules and inherited dependencies. How can we find out the transitivity path for any given dependency? For example : Path to dependency: 1) fop:fop:jar:0.20.5

RE: Commons IO FileUtils needed

2007-01-25 Thread jelle.volckaert
Never mind, found them in the root :) http://repo1.maven.org/maven2/commons-io/ kind regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: donderdag 25 januari 2007 12:14 To: users@maven.apache.org Subject: Commons IO FileUtils needed Hi, I want to use

Re: add lib to project with maven1

2007-01-25 Thread Arnaud HERITIER
Have a look at in the documentation about dependencies. In short, in your POM (project.xml) you add a dependency to lucene : dependency groupIdorg.apache.lucene/groupId artifactIdlucene-core/artifactId version2.0.0/version /dependency Arnaud e.j.w.vanbloem wrote: I am using maven 1

Best plugin for making property files from templates?

2007-01-25 Thread Tore . Larsen
Hei, my issue is that I have template property files containing substitution variables. What would be the best maven2 plugin to make property files filled with real values to include in jars, wars and ears? Regards from Tore

[m2] antrun plugin line.separator conat

2007-01-25 Thread maik . ebert
Hello, I use the antrun plugin to do some concatenation. I want to add some text comments to a SQL file and want an extra linebreak at its end, so I tried: plugin groupIdorg.apache.maven.plugins/groupId

Spring JavaConfig

2007-01-25 Thread lemon dumpling
Hi, I'm looking for Spring JavaConfig jar file for my maven project. Is this an existing artifact where I could download it to my local repository? If so, what should I add to my pom dependencies? Thanks! Cheers, lemon.dumpling

Complex test cyclic dependency problem

2007-01-25 Thread andy law \(RI\)
All, I have some rather complex objects that need to be viewed at varying 'depths'. In fact, in many ways the entire database contains objects that are inter-related and I only want to be looking at a subset at any one time. This is causing me some grief in my module and testing layout. Let's

RE: Complex test cyclic dependency problem

2007-01-25 Thread Jörg Schaible
andy law (RI) wrote on Thursday, January 25, 2007 1:47 PM: [snip] Has anyone else done anything as complex (read: STUPID) as this and can anyone suggest any sensible, practical solutions? Use a dynamic mock implementation like jMock. With the CGLIB extension you may even mock classes not

Re: Best plugin for making property files from templates?

2007-01-25 Thread Jochen Wiedmann
On 1/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hei, my issue is that I have template property files containing substitution variables. What would be the best maven2 plugin to make property files filled with real values to include in jars, wars and ears? See

Re: [M2] Hibernate mapping files from xdoclet annotated JavaBeans

2007-01-25 Thread Roberto UserList
Hi Mick! I've followed your suggestion, but, now I've been facing the following error. How can I set up ANT_OPTS to solve this problem? Check it out the error message! Regards, Roberto. [DEBUG] (f) tasks = [DEBUG] -- end configuration -- [INFO] [xdoclet:xdoclet {execution: default}] [INFO]

RE: Complex test cyclic dependency problem

2007-01-25 Thread Matthew . Pocock
andy law (RI) wrote on Thursday, January 25, 2007 1:47 PM: [snip] Has anyone else done anything as complex (read: STUPID) as this and can anyone suggest any sensible, practical solutions? Use a dynamic mock implementation like jMock. With the CGLIB extension you may even mock classes not

Dont ask central repository for own artifacts

2007-01-25 Thread Sebastian Breit
Hi, it is possible to exclude requests on my own artifacts to the central repository? Everytime if an artifact was not found in my local or company repository the central repositories are called. Thats ok for really central artifacts like plugins or free libs but its not ok for company

RE: add lib to project with maven1

2007-01-25 Thread e.j.w.vanbloem
thank you it worked Van: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Verzonden: do 25-1-2007 13:04 Aan: users@maven.apache.org Onderwerp: Re: add lib to project with maven1 Have a look at in the documentation about dependencies. In short, in your POM

Re: Commons IO FileUtils needed

2007-01-25 Thread Damien Lecan
Hello, Use that to find your artifacts : http://www.mvnrepository.com/ Damien 2007/1/25, [EMAIL PROTECTED] [EMAIL PROTECTED]: Never mind, found them in the root :) http://repo1.maven.org/maven2/commons-io/ kind regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Send email to developers / contributors

2007-01-25 Thread Rahamim, Zvi \(Zvi\)
Hi, I have configured developers and contributors in my pom.xml How can I tell maven to send notification to the groups on success / errors? Can I specify to send only to one of the developers / contributors? Thanks! - To

RE: transitivity path to resolved dependency

2007-01-25 Thread Janecek Jan
Hi, You can can run maven with -X option. It prints lot of debuging info and among others all dependencies (in tree structure). This works well with maven 2.0.4 but does not with 2.1-SNAPSHOT. Other way is to build site and look at the page with dependencies. Jan -Original Message-

RE: How to read this time stamp in snapshot ?

2007-01-25 Thread Hayes, Peter
I believe it is in GMT time so that there is no conflict in finding the latest snapshot regardless of your localization settings. I don't know if there is a way to configure it, but you probably don't want to do so anyways. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Use jar not in repository

2007-01-25 Thread maxmil
Hi, i'm new to Maven and need to use a jar that is not in the central repository (apache fop 0.93 and its dependencies). Is the best way to get around this to add it (and all the jars that it depends on) to my local repository or is there another way of getting these jars onto my classpath so

Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
Hi Everyone, I am using Java6 and have some junit 3.8.1 test cases. When I try to build I get following? I am using the 2.2 version of surefire? Is sun fire not supporting in Java6 yet? If so is there a work around for this? plugin artifactIdmaven-surefire-plugin/artifactId

Surefire, Cargo and Integration Tests

2007-01-25 Thread takai
Hi, i have problems integrating Cargo Deployment and Surefire Tests. I've bound cargo:start to pre-integration-test, surefire:test to integration-tests and finally cargo:stop to post-integration-test. The problem is that surefire executes twice. Once in test:test and once in integration-test.

Re: Surefire And Java6

2007-01-25 Thread Kalle Korhonen
You are compiling with 1.6 but running the classes in 1.5 (or 1.4). what's your JAVA_HOME set to? Kalle On 1/25/07, Parikh, Pratik P. [EMAIL PROTECTED] wrote: Hi Everyone, I am using Java6 and have some junit 3.8.1 test cases. When I try to build I get following? I am using the 2.2

Re: Use jar not in repository

2007-01-25 Thread Wayne Fay
Just install the file into your local repo using Maven. Search for mvn install:install-file on Google or the Maven Users mailing list for this information. Wayne On 1/25/07, maxmil [EMAIL PROTECTED] wrote: Hi, i'm new to Maven and need to use a jar that is not in the central repository

How to read this time stamp in snapshot ?

2007-01-25 Thread raghurajan . x . gurunathan
Hi All, I built some snapshot version of project on 24th Jan.2007 morning 10 am at my local time, but what i see in my maven-metadata.xml is timestamp20070124.212320/timestamp Date part is ok in this, but what is the time part in this ??? is there some thing i need to configure to get right

Re: Surefire, Cargo and Integration Tests

2007-01-25 Thread takai
Allright - that worked! Thanks a bunch! -- View this message in context: http://www.nabble.com/Surefire%2C-Cargo-and-Integration-Tests-tf3117463s177.html#a8637699 Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Surefire, Cargo and Integration Tests

2007-01-25 Thread Tom Huybrechts
See http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing On 1/25/07, takai [EMAIL PROTECTED] wrote: Hi, i have problems integrating Cargo Deployment and Surefire Tests. I've bound cargo:start to pre-integration-test, surefire:test to integration-tests and finally

RE: Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
My java_home is set to Java 4, but in my pom I do specify that I want to use java6. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

[OT][ANN] JAVAWUG 24 Web Framework Smackdown :: Skills Matter :: 19/Feb/2007

2007-01-25 Thread Peter . Pilgrim
Hi The Java Web User Group (JAVAWUG, LONDON) is holding a web framework smackdown BOF 24 at Skills Matter's offices in London on 19 Feb 2007. At the moment we have representatives for RIFE, Spring MVC, and standard API. Hey! If someone wants to rock the house with Struts 2 or Wicket demos and

[M2] problems running xdoclet-maven-plugin to genetare hibernate xml files

2007-01-25 Thread Roberto UserList
Hi all ! I've been facing a problem running xdoclet-maven-plugin, in order to generate hibernate xml files. Can anyone help me? Thanks in advance for the help. Regards, Roberto. Here is the pom.xml of one of the subprojcts: project . . . plugins plugin groupIdorg.codehaus.mojo/groupId

Re: [M2] problems running xdoclet-maven-plugin to genetare hibernate xml files

2007-01-25 Thread Mick Knutson
I have my declaration in my PluginManagement section of my main pom then just add this to each sub pom: plugin groupIdorg.codehaus.mojo/groupId artifactIdxdoclet-maven-plugin/artifactId /plugin The issue for me, is that my java files are in:

How to refer to dependency jar file inside pom.xml?

2007-01-25 Thread Peter Lynch
Couldn't find the answer to this yet... I am using the exec-maven-plugin to launch a Java process. Before calling exec:exec, I am trying to get antrun plugin to create an endorsed dir and copy a dependency jar ( hopefully referred to by artifact id) into that dir. Then exec java process will

Re: Surefire And Java6

2007-01-25 Thread Wayne Fay
You've only specified the maven-compiler-plugin should use Java6. Your problem occurs when Surefire attempts to use your default Java (in your case, Java4) to run the classes you compiled with Java6. Either configure Surefire to use Java6 when it executes, or change your Java home to Java6.

RE: How to refer to dependency jar file inside pom.xml?

2007-01-25 Thread Brian E. Fox
Use the maven-dependency-plugin to copy the jar to the build tree where you can manipulate it with ant. -Original Message- From: Peter Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 1:58 PM To: users@maven.apache.org Subject: How to refer to dependency jar file inside

RE: pom.xml editor

2007-01-25 Thread David Jackman
Does notepad++ utilize the xmlns attributes to provide additional assistance with the POM format (beyond just generic XML syntax support)? Are there any other standalone editors that do this? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
How do one configure surefire to use Java 6 for execution. Is there a way to do it in pom? Pratik -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 2:00 PM To: Maven Users List Subject: Re: Surefire And Java6 You've only specified the

Re: Surefire And Java6

2007-01-25 Thread Wayne Fay
This is covered in the m-s-p documentation. http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#jvm Wayne On 1/25/07, Parikh, Pratik P. [EMAIL PROTECTED] wrote: How do one configure surefire to use Java 6 for execution. Is there a way to do it in pom? Pratik -Original

RE: Surefire And Java6

2007-01-25 Thread Parikh, Pratik P.
Thanks wayne. I found it as well. Pratik -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 2:45 PM To: Maven Users List Subject: Re: Surefire And Java6 This is covered in the m-s-p documentation.

Re: Use jar not in repository

2007-01-25 Thread JayBee
I have the similar issue, even installing jars in local repository dosen't seem to satisfy dependencies. I have set localrepository to root\mavenlocal where I have installed my jars and from error messages it seems that mvn compile dosen't probe local repository at all. [INFO] Using default

[m2] BUILD ERROR maven-changelog-plugin does not exist

2007-01-25 Thread Riboe, Jens
I got this error, what is wrong? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist

Re: Use jar not in repository

2007-01-25 Thread Nick Stolwijk
Your local repository resides (with all the other downloaded artifacts) in your HOME/.m2/repository. If you use the install:install-file goal maven will also put the artifacts in there. Don't put jar files in there yourself, then Maven won't have the right information (the pom.xml files and

Release plugin code moved?

2007-01-25 Thread David Jackman
According to the release plugin's web page, the code for the plugin is available from SVN at http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin . However, there is no such directory under trunk. Does anyone know where it really is? ..David.. FASTforward '07 The

Maven-surefire qurious problem when extending it

2007-01-25 Thread Petar Tahchiev
Hi guys, I have a very unusual problem with the maven-surefire-plugin ver. 2.2 I want to write my own plugin, and as part of it's functionality is to run a couple of junit tests. So I extend the MavenSurefirePlugin and my plugin looks like this: public class MyMojo extends SurefirePlugin {}

Re: Release plugin code moved?

2007-01-25 Thread Wendy Smoak
On 1/25/07, David Jackman [EMAIL PROTECTED] wrote: According to the release plugin's web page, the code for the plugin is available from SVN at http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin . However, there is no such directory under trunk. Does anyone know where it

Re: APT Title not showing up

2007-01-25 Thread Dennis Lundberg
Ole Ersoy wrote: Hi, Anyone know if the apt processor Title semantics have changed? I tried this at the top of my document: -- Title --

Successful child Modules and Continuum

2007-01-25 Thread Parikh, Pratik P.
Hi Everyone, I have following sturcture and am having problem with continuum problems? Does any one has this configured right? Or have any suggestion on how to make it work! Parent Project (POM) - api (jar) (child project) - pom.xml - src - core (jar) (child

Re: Use jar not in repository

2007-01-25 Thread JayBee
True, but I did not want to use default HOME/.m2/repository, so I set this to root/mavenlocal, could this be problematic? Also, I did not manually copy my jar files to this repository, I use mvn install:install-file..., to let maven install my 3rd party jars to local repository.

assembly plugin and test scope

2007-01-25 Thread flyboy
We have an artifact that is used only during testing: our unit test framework. It has a compile time dependency on xmlunit, junit artifacts. I want to assemble a production artifact that has a test scope dependency on our unit test framework artifact. The jars-with-dependencies descriptor,

Re: Use jar not in repository

2007-01-25 Thread Wayne Fay
http://maven.apache.org/plugins/maven-install-plugin/examples/specific-local-repo.html Wayne On 1/25/07, JayBee [EMAIL PROTECTED] wrote: True, but I did not want to use default HOME/.m2/repository, so I set this to root/mavenlocal, could this be problematic? Also, I did not manually copy

RE: Surefire, Cargo and Integration Tests

2007-01-25 Thread Bashar Abdul Jawad
Hi, Take a look at this: http://docs.codehaus.org/pages/viewpage.action?pageId=62120 Bashar -Original Message- From: takai [mailto:[EMAIL PROTECTED] Sent: Thursday, January 25, 2007 9:47 AM To: users@maven.apache.org Subject: Surefire, Cargo and Integration Tests Hi, i have

RE: Maven-surefire qurious problem when extending it

2007-01-25 Thread Kevan Dunsmore
I had similar problems with extension in my own plugins. It may be related to the process Maven uses to set private member variables with bound project properties. From what I've seen, it analyzes the source of your plugin when you build and install it but not that of the superclass. It doesn't

Findbugs complaining about missing classes erroneously

2007-01-25 Thread Wayne Fay
I'm trying to add some new reports to our existing project/site and right now I'm working on Findbugs... When I run Findbugs, it outputs the following: The following classes needed for analysis were missing: javax.jms.Message com.abc.vo.AbstractBusinessValue com.abc.vo.IValueObject

Re: Dont ask central repository for own artifacts

2007-01-25 Thread Wayne Fay
In short, no you cannot, at least not with Maven 2.0.4. Instead, you are generally suggested to set up a Maven Proxy (Proximity, Archiva, etc) and override Central with a mirrorOf in your settings.xml file. Then you configure the Proxy to only go out to Central for non-local artifacts. Wayne

RE: pom.xml editor

2007-01-25 Thread yuubouna
Thanks about the notepad++, I installed it and test it with editing pom.xml file It is nice one for editing xml file, format, color tagging of xml (for example), error checking when mismatch tags appears. I also found out, that eventhough I installed the japanese version, inputting japanese

cygwin and settings.xml

2007-01-25 Thread Seth Mason
Maven isn't reading my settings file from /home/seth/.m2/settings.xml when I run it within cygwin. Instead it's using C:\documents and settings\seth\settings.xml even though my $HOME is set to /home/seth. I'm running 2.1-SNAPSHOT. Any help would be greatly appreciated. Thanks. seth

how to copy mupltiple resource files

2007-01-25 Thread adingfelder
I got my jar creation working using the maven-jar-plugin but I also need to copy some resources such as property files, dlls and readme files etc. Is there an easy way to copy either specific files, or alternatively all files from a secondary source file dir? -- View this message in context:

[ANN] SQL Maven Plugin 1.0 Released

2007-01-25 Thread Dan Tran
The Mojo team is pleased to announce the release of the SQL Maven Plugin, version 1.0 http://mojo.codehaus.org/sql-maven-plugin You can run mvn -U to get the latest version of the plugin. Changes in this release are: - Added skip configuration. - Site updated to comply with

Re: You must specify at least one goal. Try 'install'

2007-01-25 Thread Edwin Punzalan
The basic command for maven is mvn [goal|phase] where goal is a plugin goal, and phase is lifecycle phase install is an example of a lifecycle phase... you can type several space delimited goals/phases and maven will execute them. For a list of maven lifecycle phases, please see:

Re: cygwin and settings.xml

2007-01-25 Thread Geoffrey De Smet
Maven just uses the Java system property user.home, which on windows is C:\doc... The new Cygwin uses that directory as your default home directory anyway. With kind regards, Geoffrey De Smet Seth Mason schreef: Maven isn't reading my settings file from /home/seth/.m2/settings.xml when I run