Re: Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread nicolas de loof
This issue has been reported recently. It requires a fix in archiva code to enhance the type folder used by maven1. The current code use the file extension to select the folder, with few exceptions, but ejb type is not correctly supported. Nico. 2008/1/18, Henrik Brautaset Aronsen [EMAIL

Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
I recently tried switching from maven-proxy to archiva. I have installed archiva in http://myhost:9876/archiva/ and my maven1 repo is accessible from http://myhost:9876/archiva/repository/my-maven1/ Everything seems to work OK, except for one weird thing: If I try accessing e.g. ...

Re: Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread nicolas de loof
I've created MRM-659 for this issue, so that we don't forget it and create ejb dedicated testcase. 2008/1/18, Henrik Brautaset Aronsen [EMAIL PROTECTED]: nicolas de loof skrev: Rename the type folder in your repository to the jars expected by archiva or build/install the ejb on the same

upgrade to maven 2.0.7 ?

2008-01-18 Thread Benoit Decherf
Hi, I have a problem to create a release using continuum : 4235886 [Thread-8] ERROR org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:prepare-release - Error executing task edu.emory.mathcs.backport.java.util.concurrent.ExecutionException: java.lang.NullPointerException at

For those behind an NTLM proxy

2008-01-18 Thread Antonio Petrelli
Hi all, I would like you to know that I found CNTLM, that works better than NTLM APS (and does not need to be patched): http://cntlm.sourceforge.net/ I updated the wiki page too: http://docs.codehaus.org/display/MAVENUSER/Configuring+Maven+behind+an+NTLM+proxy HTH Antonio

Re: M2 Cargo Plugin

2008-01-18 Thread amit kumar
Hi, What is the containerId for JBoss 4.2.0GA? Is it same jboss4x or different? Because I tried fetching the plugin without version name and maven did download something newer than 0.3-SNAPSHOT but it threw the same error when I used container id jboss4x. Regards, Amit On Jan 18, 2008 11:00 AM,

Re: Strange problems with mvn release:perform when running javadoc:jar on Windows

2008-01-18 Thread Stephen Connolly
Anyone??? or will i just file an issue On Jan 17, 2008 8:24 AM, Stephen Connolly [EMAIL PROTECTED] wrote: Here is the stacktrace: The exact same commands from my machine work with the exact same proxyHost and proxyPort and JDK and Maven version [INFO] [javadoc:jar] [DEBUG]

Re: IBM custom project

2008-01-18 Thread Thomas Tardy
Hello, I haven't managed to get the example from Peter Pilgrim's blog working. In the example they use the ant task. The problem I faced was, that you have to initialize the runtime with lot of properties and I wasn't feeling like finding all the required properties. Therefore I'm unsing the

Re: IBM custom project

2008-01-18 Thread Jeff Mutonho
On Jan 18, 2008 11:43 AM, Thomas Tardy [EMAIL PROTECTED] wrote: Hello, I haven't managed to get the example from Peter Pilgrim's blog working. In the example they use the ant task. The problem I faced was, that you have to initialize the runtime with lot of properties and I wasn't feeling

Re: IBM custom project

2008-01-18 Thread Jeff Mutonho
On Jan 18, 2008 12:25 PM, Thomas Tardy [EMAIL PROTECTED] wrote: Hello I'm not using a standalone WAS, I'm using the installation from the RSA7 installation. And the property is looking like yours, just applied to the RSA7 installation structure. I'm not facing any problems with the Windows

Re: IBM custom project

2008-01-18 Thread Thomas Tardy
Hello I'm not using a standalone WAS, I'm using the installation from the RSA7 installation. And the property is looking like yours, just applied to the RSA7 installation structure. I'm not facing any problems with the Windows 'Program Files' directory. I have defined the property in my

Re: Strange problems with mvn release:perform when running javadoc:jar on Windows

2008-01-18 Thread Tom Huybrechts
I've had my share of javadoc problems, but not this one. Did you try to run the javadoc command itself from the commandline ? Tom On Jan 18, 2008 10:48 AM, Stephen Connolly [EMAIL PROTECTED] wrote: Anyone??? or will i just file an issue On Jan 17, 2008 8:24 AM, Stephen Connolly [EMAIL

Re: M2 Cargo Plugin

2008-01-18 Thread Daniele De Francesco
Hi, the id of the container is jboss42x...assure you have the latest version of maven 2 cargo plugin...alternatively do a full build yourself with the svn code...take a look at http://cargo.codehaus.org/Importing+sources hope this helps. Cheers Daniele On Jan 18, 2008 10:09 AM, amit kumar

Re: IBM custom project

2008-01-18 Thread Thomas Tardy
They are needed and they are being generated for my EJB project. On Jan 18, 2008 11:55 AM, Jeff Mutonho [EMAIL PROTECTED] wrote: On Jan 18, 2008 12:25 PM, Thomas Tardy [EMAIL PROTECTED] wrote: Hello I'm not using a standalone WAS, I'm using the installation from the RSA7 installation.

Avoid Dependency version

2008-01-18 Thread amit kumar
Hi, Can I make it possible for my dependencies(jar files) declared in dependency tags, not have version. Just like in case of plugin it happens, the latest on gets fetched? When I don't put a version in my dependency tag, it throws error. Regards, Amit

add test classes to main jar

2008-01-18 Thread adrien1977
Hi I am kinda new in the maven world and i have a question. I have a couple test classes that I'd like to embed in the main jar. the problem is that (like everyone knows) test-classes and main classes are in different folder. So how can i accomplish this. thanks -- View this message in

Re: Re: Sending email notification to Owners

2008-01-18 Thread Mick Knutson
I have the same question. sort-of: I have: pom.xml |---module 1 pom.xml |---[EMAIL PROTECTED] |---module 2 pom.xml |---[EMAIL PROTECTED] Is it possible to have developer2 emailed if module1 fails and developer1 emailed when project1 fails? On Jan 17, 2008 9:27 PM,

Re: Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
OK, thanks. nicolas de loof skrev: I've created MRM-659 for this issue, so that we don't forget it and create ejb dedicated testcase. 2008/1/18, Henrik Brautaset Aronsen [EMAIL PROTECTED]: nicolas de loof skrev: Rename the type folder in your repository to the jars expected by archiva or

Re: how can I to use build time in pom files

2008-01-18 Thread Mark Eramo
Rex, Have a look at the Maven build number plugin. It may be able to do what you need. *http://commons.ucalgary.ca/projects/maven-buildnumber-plugin/howto.html* Regards, Mark Rex Huang wrote: Does maven has build time property, which I can use in pom files my-property${build

Re: how can I to use build time in pom files

2008-01-18 Thread amit kumar
You can use buildnumber-maven-plugin, for this but i was able to have date+time... tried only time format but it wasn't running. If this solves your purpose lemme know, I will share the relevant portion of my pom. On Jan 18, 2008 7:58 PM, Rex Huang [EMAIL PROTECTED] wrote: Does maven has build

Re: Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
nicolas de loof skrev: Rename the type folder in your repository to the jars expected by archiva or build/install the ejb on the same computer that requires it Mixing jars and ejbs in the same folder is not an option for us, I'm afraid. We are in a large project with hundreds of artifacts.

Maestro 1.5

2008-01-18 Thread Artamonov, Juri
Guys, I know that Maestro 1.5 containing release of Continuum 1.1 has been released. Perhaps somebody knows the public location of the artifact for Windows and can share it? Thanks,   Juri.

RE: Source Dir

2008-01-18 Thread Artamonov, Juri
http://mojo.codehaus.org/build-helper-maven-plugin/howto.html -Original Message- From: Arthur Rodrigues Stilben [mailto:[EMAIL PROTECTED] Sent: Friday, January 18, 2008 4:16 PM To: Maven Users List Subject: Source Dir I wan to know if is it possible to use more than one source dir using

Re: Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread Henrik Brautaset Aronsen
OK, thanks for the swift answer. Is there a workaround available? Henrik nicolas de loof skrev: This issue has been reported recently. It requires a fix in archiva code to enhance the type folder used by maven1. The current code use the file extension to select the folder, with few

maven replaces @@ with [EMAIL PROTECTED] in resources

2008-01-18 Thread Jan Torben Heuer
Hi, why does maven replace the String @@ in resources with [EMAIL PROTECTED] Is there a documentation of default replacements? ${sas.url} was replaced with http://maven.apache.org. Do I have to expect more surprises? Jan - To

Re: M2 Cargo Plugin

2008-01-18 Thread amit kumar
Hi Daniele, thanks. I tried with 0.3.1 version of cargo plugin and used the id as jboss42x but mvn cargo:start threw the error below [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'cargo'. [INFO]

Re: Strange problems with mvn release:perform when running javadoc:jar on Windows

2008-01-18 Thread Stephen Connolly
oh it gets stranger. we have no problems with javadoc:javadoc, only javadoc:jar On Jan 18, 2008 9:57 AM, Tom Huybrechts [EMAIL PROTECTED] wrote: I've had my share of javadoc problems, but not this one. Did you try to run the javadoc command itself from the commandline ? Tom On Jan 18,

Multiple Artifacts, Same Source

2008-01-18 Thread Adamson, Eric (DIT)
I'm relatively new to Maven 2, and am seeking advice regarding the following problem: I have written a data transfer object (MailMergeRequest) that will be passed (serialized to XML using Xstream) between web client, app server and database. The client and app server are running JDK5, the

how can I to use build time in pom files

2008-01-18 Thread Rex Huang
Does maven has build time property, which I can use in pom files my-property${build time}my-property BR//Rex

Re: Customizing which modules should be processed using goals

2008-01-18 Thread Wayne Fay
You don't do this with goals. Use profiles for this purpose. You will need to remove all the modules from your pom and then redeclare them in the various profiles. Wayne On 1/18/08, Neeraj Joshi [EMAIL PROTECTED] wrote: Hi All, I am a maven newbie so forgive my ignorance. I am migrating my

Re: Sending email notification to Owners

2008-01-18 Thread Wendy Smoak
On Jan 18, 2008 3:25 PM, Mick Knutson [EMAIL PROTECTED] wrote: My issue is that I do not want to just send to the last submitter, I want to send the the developers of a module. Then configure a notifier (or several) in the pom for that module. Have you tried it? -- Wendy

How to create a jar that uses a subset of files in the source directory ?

2008-01-18 Thread wendellGee
I am reading that it is easy to do with profiles- as I read from the Maven site : If you are producing a JAR that is a derivative of the original (eg, just a subset of classes, or the same JAR with debugging enabled), the Maven supports this completely using profiles. See Introduction to

Re: Sending email notification to Owners

2008-01-18 Thread Mick Knutson
My issue is that I do not want to just send to the last submitter, I want to send the the developers of a module. Module a developers should not get an email if module b fails. But the module b developers should get that email. The scenario you just gave will send to both module a b developers

Re: Sending email notification to Owners

2008-01-18 Thread Kalle Korhonen
Notifiers can be set either in pom.xml or in Continuum (if you are using one). In pom, the way to do it is: ciManagement systemcontinuum/system urlhttp://127.0.0.1:8080/continuum/url notifiers notifier typemail/type sendOnErrortrue/sendOnError

Customizing which modules should be processed using goals

2008-01-18 Thread Neeraj Joshi
Hi All, I am a maven newbie so forgive my ignorance. I am migrating my ANT build to a maven one. In my ANT build I have several high-level targets like build_all, build_runtime, build_editor etc which built a subset of the projects Now in maven I have converted the projects to modules and I

RE: Multiple Artifacts, Same Source

2008-01-18 Thread Adamson, Eric (DIT)
Hi Nico, Thanks for your reply. Actually, I need 1.4 *inside* the Oracle database, which has its own internal JVM -- but I'm sure this detail doesn't really matter (does it?) -- your suggestions still appear to be relevant. I'll have a look at both of the options you've suggested. Thanks for

Re: Source Dir

2008-01-18 Thread noon
I have used the build-helper-maven-plugin Maven2 plugin to achieve this. http://mojo.codehaus.org/build-helper-maven-plugin/ Arthur Rodrigues Stilben wrote: I wan to know if is it possible to use more than one source dir using the task sourceDirectory. Arthur Rodrigues Stilben

Configure maven-jetty-plugin logging

2008-01-18 Thread Michael
Hi, I have some serious logging configuration problems with Maven, slf4j and Jetty. The jetty plugin was configured this way http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin#Logging but all I see are the log outputs from jetty, none from my webapp made with slf4j :-( Did I something

Re: Sending email notification to Owners

2008-01-18 Thread Wendy Smoak
On Jan 18, 2008 11:58 AM, Mick Knutson [EMAIL PROTECTED] wrote: In each of my pom.xml's, I have developer settings: ... This is what I want the configuration to use. I do not want to have to duplicate my efforts. The usual way to do this is to set up a mailing list, have the CI server send

Re: [m2] continuum dashboard integration?

2008-01-18 Thread Mick Knutson
How do I run more than one goal in a series? Can anyone help me? On Jan 17, 2008 8:56 AM, Mick Knutson [EMAIL PROTECTED] wrote: Ok, I am switching lists now as I am now into issues with continuum. Issue #1: I followed: http://mojo.codehaus.org/dashboard-maven-plugin/continuum.html Thus I

Strange Ant Plugin Execution

2008-01-18 Thread Thomas Tardy
Hi all, I have a project parent pom which contains the following plugin execution: profiles profile idintBuild/id build plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: add test classes to main jar

2008-01-18 Thread Olivier Lamy
Hi, IMHO the best is to build a separate jar with the test classes. Have a look here http://maven.apache.org/guides/mini/guide-attached-tests.html -- Olivier 2008/1/18, adrien1977 [EMAIL PROTECTED]: Hi I am kinda new in the maven world and i have a question. I have a couple test classes that

Re: add test classes to main jar

2008-01-18 Thread adrien1977
Hi, That is exactly what i have done. I was wondering if there was a way to do it. If there is not well i guess that will be ok. thanks for the help --Adrien Olivier Lamy wrote: Hi, IMHO the best is to build a separate jar with the test classes. Have a look here

Re: Sending email notification to Owners

2008-01-18 Thread Mick Knutson
In each of my pom.xml's, I have developer settings: developer nameMahadevan Virudhagiri/name idCA50922/id email[EMAIL PROTECTED]/email urlhttp://www.delta.org/url organizationDelta Dental: DAP Project/organization

Source Dir

2008-01-18 Thread Arthur Rodrigues Stilben
I wan to know if is it possible to use more than one source dir using the task sourceDirectory. Arthur Rodrigues Stilben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple Artifacts, Same Source

2008-01-18 Thread nicolas de loof
Please correct me : what you need is a java 1.4 version of your java 1.5classes used on client / app server ? Option 1 : compile with target = 1.4, so that same jar can be used on all runtimes Option 2 : use retrotranslator to backport your j5 classes to 1.4. This can be auto-configured in maven

Re: Multiple Artifacts, Same Source

2008-01-18 Thread Michael Meyer
Since all JARs must contain this data transfer object, I'm trying to decide the best way (or at least a very good one) of keeping the three projects in sync. Maybe I misunderstand your question but this sounds like an ordinary maven multi module build. Are your sure that all JARs must contain

Strange Ant Plugin Execution

2008-01-18 Thread Thomas Tardy
Hi all, Sorry, it wasn't supposed to send the previous email! I have a project parent pom which contains the following plugin execution: profiles profile idintBuild/id build plugins plugin

[M2] correct goal sequence for multimodule site generation

2008-01-18 Thread jblack
I have found conflicting guidance on which goals should be run to get a correct multimodule maven build to correctly produce all module site. Note that we use the cobertura and dashboard report plugins. Currently we do: mvn clean install site mvn site mvn site:deploy (The second 'site' run is

MAVEN SCM - Big Problems with ClearTool on Linux .

2008-01-18 Thread Hirn, Joseph
Hello. I am having an issue with Maven SCM checking in multiple files during release:prepare phase. It seems to issue the right command but only the first file is checked in. If I run this command from the command line it works just fine. The next step that fails is when it tried to re-checkout

Re: Re: Sending email notification to Owners

2008-01-18 Thread amit kumar
Ditto mick, ditto! That's what I am looking for but no clue yet. Regards, Amit On Jan 18, 2008 8:59 PM, Mick Knutson [EMAIL PROTECTED] wrote: I have the same question. sort-of: I have: pom.xml |---module 1 pom.xml |---[EMAIL PROTECTED] |---module 2 pom.xml

Re: Sending email notification to Owners

2008-01-18 Thread Michael Meyer
Hi Amit, you say you are using continuum 1.1. Can you not just add a different notifier to each module? But I was told by a colleague of mine that there is something in maven as well which would let you add the information about the owner and the email address in the pom.xml Your colleague

Configure a Plugin for two different Phases

2008-01-18 Thread Thomas Tardy
Hello, I have to say sorry for the previous emails. I haven't seen all the messages in my log file. The problem is, that I configure the ant-run-plugin for two phases and it's executing in both phases the tasks from all phases. One execution is defined in the parent, and one in the child itself.

Re: Strange Ant Plugin Execution

2008-01-18 Thread Thomas Tardy
Please ignore this email! On Jan 18, 2008 7:29 PM, Thomas Tardy [EMAIL PROTECTED] wrote: Hi all, I have a project parent pom which contains the following plugin execution: profiles profile idintBuild/id build plugins

Re: Strange Ant Plugin Execution

2008-01-18 Thread Thomas Tardy
please ignore this email! On Jan 18, 2008 7:35 PM, Thomas Tardy [EMAIL PROTECTED] wrote: Hi all, Sorry, it wasn't supposed to send the previous email! I have a project parent pom which contains the following plugin execution: profiles profile idintBuild/id

Re: Trouble with ejbs folder and maven1 proxy

2008-01-18 Thread nicolas de loof
Rename the type folder in your repository to the jars expected by archiva or build/install the ejb on the same computer that requires it 2008/1/18, Henrik Brautaset Aronsen [EMAIL PROTECTED]: OK, thanks for the swift answer. Is there a workaround available? Henrik nicolas de loof skrev: