Re: Setting classpath during junit execution

2007-05-18 Thread Jim Crossley
"Larry Suto" <[EMAIL PROTECTED]> writes: > Hi was wondering if anyone knows how I would set a classpath to a jdbc > properties file that is required by by a Junit test executed during > the Maven build. > > Would it work if I placed it in the test resources area. Yes. Anything residing in src/t

generating site for multiproject

2007-05-18 Thread Marco Mistroni
hi all, how can i generate only one site for my multiproject? i want to avoid to put 'hardcoded' references to point to sites of my subprojects, i was wondering if maven could do an 'all in one' site.. any help? thanks in advance and regards marco

RE: How to share a common checkstyle config across modules?

2007-05-18 Thread Chris Helck
Hi Tim, I recently did something like this (with PMD instead). I used then someone suggested I not use it -- it seems is headed towards deprecation. Instead under build/plugins/plugin add you stuff as a dependency. Something like this: org.apache.maven.plugins maven-checks

Re: [groovy-user] Let your Mojo's be Groovy baby!

2007-05-18 Thread Jason Dillon
Sorry, I never got these emails in my inbox... dunno why. So I haven't just been ignoring you ;-) Anyways, looks like a bug in the Groovy descriptor extractor. I've filled an issue here: http://jira.codehaus.org/browse/MGROOVY-40 Will try to get that fixed asap. --jason Andrew Perepel

Setting classpath during junit execution

2007-05-18 Thread Larry Suto
Hi was wondering if anyone knows how I would set a classpath to a jdbc properties file that is required by by a Junit test executed during the Maven build. Would it work if I placed it in the test resources area. Thanks, Larry ---

RE: M2 Repository Resolution

2007-05-18 Thread David Jackman
This sounds a lot like a problem I was seeing. I haven't have very much time to investigate, but it appears as though Maven gets to the first repository and it does have an entry for the groupId and artifactId, but not the particular version of the artifact. However, instead of going on to the ot

Re: Properties files in a WAR artifact...

2007-05-18 Thread Alexander Sack
Hi Nelz, Let me throw some ideas at you and take what you can. Here is what I do for all our internal projects: In the project's parent POM I have this: profile-db-postgresql org.postgresql.Driver someusername somepassword jdbc:postgresql://lo

Add and Label Artifact in SCM after Release:Perform

2007-05-18 Thread Hall, Neil (CBC)
We are in the process of converting our build lifecycle from using ANT to Maven and are using Subversion as a SCM repository. Our desire is to version in SCM the project source and Pom.xml. However, not the "Target" directory. This is already working by using the release:prepare and release:p

Properties files in a WAR artifact...

2007-05-18 Thread Nelz
Hey All... I think I'm hitting one of the biggest problem areas in Maven: Properties. I'll put my requirement first, and the wrinkles I see after that. 1) I need to have a default set of properties for db connection (host, port, username, password) that end up next to my compiled .class files.

Merge assemblies across projects?

2007-05-18 Thread Mark Diggory
Hello List, I have a couple projects (each with their own assemblies) as modules of a current project. Is there a way I can have their generated assemblies merged when I call assembly:assembly? thanks, Mark ~ Mark R. Diggory - DSpace Systems Manager MIT Libraries, Systems and

eclipse plugin for maven - first letter missing in .classpath file

2007-05-18 Thread Kamil Piętak
Hello I have a problem with eclipse plugin for maven 2 (i'm using maven 2.0.6). it generates wrong .classpath file - all classpath entries describing external jars have missing first letter (after M2_REPO env variable). let take an example: i found that someone already had this problem with ma

Assembly filtering

2007-05-18 Thread Jim Crossley
It seems filtering is broken in the latest release of the assembly plugin (2.2-beta-1). The tip describing how to combine a element with a element to filter a select number of files within the directory named by a used to work in 2.1, but not now. The tip is here: http://maven.apache.org/plugi

Re: m2 update plugin version

2007-05-18 Thread Wayne Fay
Just run the plugin like you normally do, and include -cpu to force an update check. Wayne On 5/18/07, DM <[EMAIL PROTECTED]> wrote: Hi, Thanks for the advice. But how do I specify the plugin that I want it to update? I guessed: mvn -Dplugin=eclipse -cpu But apparently my guess was wrong.

Re: m2 update plugin version

2007-05-18 Thread DM
Hi, Thanks for the advice. But how do I specify the plugin that I want it to update? I guessed: mvn -Dplugin=eclipse -cpu But apparently my guess was wrong. Thanks, Don - Original Message From: Wayne Fay <[EMAIL PROTECTED]> To: Maven Users List Sent: Friday, 18 May, 2007 12:08:41 P

Assembly my dependencies

2007-05-18 Thread Rodrigo Gonçalves
Hi! I would like to create an assembly with all artifacts that my project depends on so that the archive can easily be used to update an internal repository with the artifacts used by your project. Like is described at: http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/usin

Sudden change to SNAPSHOT behaviour

2007-05-18 Thread Graham Leggett
Hi all, I have a weird problem that has just struck - in the past, I have used "mvn deploy" to deploy snapshot packages to our internal repository, so that "mvn install" can pull down those snapshots to other environments. All of a sudden, mvn deploy complains that my snapshot artifact cannot be

Re: m2 update plugin version

2007-05-18 Thread Wayne Fay
mvn -h displays help. Among the options, you'll see -cpu which updates plugin. Wayne On 5/18/07, DM <[EMAIL PROTECTED]> wrote: Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the "eclipse:eclipse" command-line plugin, not the Eclipse

RE: How to share a common checkstyle config across modules?

2007-05-18 Thread Tim Foster
Thanks, Gerald. This is exactly what I wanted and it worked just as you described. This mechanism will be useful for many other applications. Tim -Original Message- From: Nunn, Gerald [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 1:52 PM To: Maven Users List Subject: RE: How t

RE: Non-terminating Builds

2007-05-18 Thread Morgovsky, Alexander \(US - Glen Mills\)
I cannot find the build ID in the SA.TABLE.BUILDRESULT table, as the latest build ID from the GUI is 1500 and that in this table is 1200. I am looking at SA.TABLE.BUILDRESULT.PROJECT_ID_IOD and SA.TABLE.PROJECT.ID, but I cannot find find a way to relate these two tables. Where can I find the r

RE: How to handle inter-project dependencies

2007-05-18 Thread Petter Måhlén
Hi again, No answer to this one in a few days, so I would have to suppose that it is not possible to solve this using standard Continuum features? In the mean time, our solution is a symlink in Continuum's working directory to a checked-out version of the 'common' project. When the builds fail due

Re: Non-terminating Builds

2007-05-18 Thread Emmanuel Venisse
ok, what is the state of your 3 build in the db and the state of the related project? Morgovsky, Alexander (US - Glen Mills) a écrit : Right, but if the "end date" field is set for all the builds, where do I find the 3 builds which never terminated? -Original Message- From: Emmanuel V

m2 update plugin version

2007-05-18 Thread DM
Hi, I'm trying to update the version of the eclipse plugin version that I have installed. I'm referring to the "eclipse:eclipse" command-line plugin, not the Eclipse IDE plugin. When I run the command: mvn -Dplugin=eclipse help:describe I see that I have version 2.2 of this plugin installed.

Maven 1.0.2 build problem

2007-05-18 Thread brownk13
We have a build that has been working for a couple years now, but when I tried this on Vista I ended up getting an error. Just wondering if anybody has seen this or had any ideas on what may be wrong. Error: It happens when trying to build a sub-project. We are using a jbrew pluggin, when it t

Re: axistools-maven-plugin

2007-05-18 Thread Wayne Fay
This may not be a supported function of the plugin at this time. I don't use it so I can't be sure. But if you need this feature, you are welcome to download the plugin code, modify as necessary, and contribute back your changes for the benefit of all Maven users. Wayne On 5/18/07, Vidya Mahavad

Re: using blame

2007-05-18 Thread Emmanuel Venisse
No, it isn't possible actually, but I think you can do it if you modify the actual mail notifier or create your own Emmanuel Ionut S a écrit : Nobody can comment on this one ? Ionut S <[EMAIL PROTECTED]> wrote: Actually we already get something like that .. I was wondering if there is some ki

Re: dependency:unpack is not checking reactor artifacts for dependencies

2007-05-18 Thread Varghese C V
I have a parent project which has two modules 'my-app' and 'my-dep-app' (both created by the archetype-create example). The 'my-dep-app' project wants the 'my-app' dependency to be unpacked into its target\classes folder. I am trying to merge the classes of multiple model projects before I can

RE: axistools-maven-plugin

2007-05-18 Thread Vidya Mahavadi
Thanks for the reply. Yes.. I presume I could do that. But I would like to download the wsdl file which is sitting in a different server. I just have a URL of that file. Regards, Vidya "Murugan, Vellaichamy" <[EMAIL PROTECTED]> 18/05/2007 12:48 Please respond to "Maven Users List" To "

Re: using blame

2007-05-18 Thread Ionut S
Nobody can comment on this one ? Ionut S <[EMAIL PROTECTED]> wrote: Actually we already get something like that .. I was wondering if there is some kind of module that parses the last error from continuum (the one that made the build fail) then verifies who modified any of the classes obtained

multiple execution in exec-maven-plugin

2007-05-18 Thread Erez Nahir
Hi, I need to call some executables from a single pom file and using exec-maven-plugin for that. Is there a way to configure it to run a set of executions and not just one? Thanks, Erez. - To unsubscribe, e-mail: [EMAIL PROT

RE: axistools-maven-plugin

2007-05-18 Thread Murugan, Vellaichamy
Hi, U have to change the URL to the following file:///C:/somefolder/src/main/swdl/somewsdl.wsdl Hope this helps, Regard's Murugan -Original Message- From: Vidya Mahavadi [mailto:[EMAIL PROTECTED] Sent: Friday, May 18, 2007 4:11 PM To: users@maven.apache.org

axistools-maven-plugin

2007-05-18 Thread Vidya Mahavadi
Hi, I am using axistools-maven-plugin to create stub jar files using .wsdl files. Here is the plugin config from my pom. Plugin does not create the stubs with urls mentioned in the configuration, it only creates them if I copy the wsdl files to \src\main\swdl folder. Can anyone please tell me,

jaxb2-maven-plugin

2007-05-18 Thread Vidya Mahavadi
Hi, I am using jaxb2-maven-plugin and in the application I would like to validate the xml. And for that I would like to include schema in the artifact. Is it possible to configure the plugin for that? Regards, Vidya This e-mail is subject to a disclaimer, available at http://www.rmb.co.za/web

Re: Run package life cyclic for the subproject occur error.

2007-05-18 Thread Varghese C V
This might be the cause for the cyclic reference. Your parent pom contains a dependency on and has a module defined as 'agentcommon' ... com.sinosafe.pcies agentcommon ${project.version

Run package life cyclic for the subproject occur error.

2007-05-18 Thread sam
HI, Guys!I have set up a parent project which has three sub project.(see the attachments please).Both the agentapp project and the agentwar project is dependence agentcommon project. I have installed the agentcommon project to the local repo. and run mvn -N install under the parent project agent

Re: MailSender configuration for continuum 1.1-alpha on tomcat

2007-05-18 Thread Martin Ahrer
Emmanuel could you please send me a Tomcat resource definition for a working mail configuration with authentication (e.g. you mentioned gmail)... are any additional system properties required? I'm working with continuum 1.1 alpha that I built around May 5th! Martin Emmanuel Venisse wrote: > >

RE: Problems with preparationGoals config in the release plugin

2007-05-18 Thread LAMY Olivier
Hi, Just try : assembly:assembly If you have more than one, just use as this : clean test-compile Have a look : http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#preparationGoals HTH, -- Olivier -Message d'origine- De : Evan Toliopoulos [mailto:[EMAIL PROTECTED]

Re: External dependencies in Maven remote repository

2007-05-18 Thread Wayne Fay
Generally artifacts are assigned groupIds corresponding to their domain name, in reverse. So software package "xyz" produced by http://a.b.org will be named groupId org.b.a and artifactId xyz. Knowing this, I found the SLF4J and MINA artifacts with no troubles: http://repo1.maven.org/maven2/org/s