RE: how to copy resources while building war

2006-07-18 Thread Andrew-A . Davies
I believe that assembly plugin could be used. Also could run ant targets -Original Message- From: AK [mailto:[EMAIL PROTECTED] Sent: 18 July 2006 07:58 To: users@maven.apache.org Subject: Re: how to copy resources while building war Hi, I have config files stored inside modules,

Identifying versions of jar files

2006-07-18 Thread Andrew-A . Davies
Title: Identifying versions of jar files Hi, Can anyone tell me how to accurately identify the version of a particular jar file ? I have been provided with a number of jars and need to place them in to a maven 2 repo, but want to ensure I get the correct version number. TIA Andy

RE: Identifying versions of jar files

2006-07-18 Thread Andrew-A . Davies
I seem to recall a recent Maven User group I attended in london talking about MD5 checksums. Can't remember if this was a feature that was going to be exposed with upcoming repository manager. A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 July 2006

RE: m2 multiple war files with some common code

2006-07-14 Thread Andrew-A . Davies
I've posted the answer to this a few time on this user list A -Original Message- From: Srinivas Pavani [mailto:[EMAIL PROTECTED] Sent: 13 July 2006 19:51 To: users@maven.apache.org Subject: m2 multiple war files with some common code Can someone shed some light on how to setup maven2

Effective-pom and junit M2

2006-07-12 Thread Andrew-A . Davies
Title: Effective-pom and junit M2 Hi, I have a multi project set-up in M2 - version 2.0.4. I have set up a pom containing things that I want to apply across all modules (such as certain reports - PMD, Macker, Checkstyle, etc). If I include a dependency management in there (e.g)

RE: [M2] Build complex projects

2006-07-12 Thread Andrew-A . Davies
Hi I have a similar setup and deploy struts, spring, etc in the ear by including them as dependencies in the ear I use manifest classpaths within wars to externalise dependencies there are a number of ways to do the classpath stuff, I list the ones I know below. I also had this problem, and it

RE: Effective-pom and junit M2

2006-07-12 Thread Andrew-A . Davies
Thanks Kenney A -Original Message- From: Kenney Westerhof [mailto:[EMAIL PROTECTED] Sent: 12 July 2006 12:26 To: Maven Users List Subject: Re: Effective-pom and junit M2 On Wed, 12 Jul 2006 [EMAIL PROTECTED] wrote: Hi, Dependencies specified in dependencyManagement are not added as

RE: pro in a maven command

2006-07-11 Thread Andrew-A . Davies
Sounds like you are behind a firewall. Try setting up the proxies section in your settings.xml proxies proxy activetrue/active protocolhttp/protocol usernameENTER YOUR USER NAME/username

RE: Best practices in testing Hibernate/EJB3 POJOs (or doing database tests)

2006-07-11 Thread Andrew-A . Davies
Have you thought about using dependency injection framework to cater for this ? A -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: 11 July 2006 12:53 To: Maven Users List Subject: Best practices in testing Hibernate/EJB3 POJOs (or doing database tests) Hi

RE: [m2] How to configure the local repository

2006-07-11 Thread Andrew-A . Davies
Leave the setttings xml where it is, configure the repository location in there as described in the settings.xml file ... Why would you have to put repository in same directory as project though ? A !-- localRepository | The path to the local repository maven will use to store artifacts.

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

2006-07-06 Thread Andrew-A . Davies
net.sourceforge.pmd.rules.AvoidDuplicateLiteralsRule Do I have to have pmd jar files on a classpath (or in repository and have some dependencies set up) ? Cheers Andy -Original Message- From: Davies, Andrew-A Sent: 04 July 2006 12:44 To: 'Maven Users List' Subject: RE: maven-pmd

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

2006-07-05 Thread Andrew-A . Davies
that class net.sourceforge.pmd.rules.AvoidDuplicateLiteralsRule Do I have to have pmd jar files on a classpath (or in repository and have some dependencies set up) ? Cheers Andy -Original Message- From: Davies, Andrew-A Sent: 04 July 2006 12:44 To: 'Maven Users List' Subject: RE: maven-pmd

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

2006-07-04 Thread Andrew-A . Davies
Sorry about delayed response - been away 4 a couple of days. No using JDK 1.4.2. Will try PMD alone to confirm, then try specific version. Will vote if I see Rgds Andy -Original Message- From: Doug Douglass [mailto:[EMAIL PROTECTED] Sent: 29 June 2006 18:33 To: Maven Users List

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

2006-06-29 Thread Andrew-A . Davies
Heiko, I have the same issue. Except that only a blank page is created. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId /plugin I also use JXR for cross referencing java plugin

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

2006-06-29 Thread Andrew-A . Davies
I haven't specified a version. My POM looks like reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId configuration

RE: JDepend

2006-06-28 Thread Andrew-A . Davies
Try this for setting up repositories http://docs.codehaus.org/display/MAVENUSER/Creating+the+repositories -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 28 June 2006 12:02 To: Maven Users List Subject: Re: JDepend Thanks, but I'm clueless when it comes to

RE: Scope and manifest class path with M2

2006-06-27 Thread Andrew-A . Davies
Hi Maciej, I also had this problem, and it took a while to sort out. Here are the ways I found ... I've managed to get something into the Manifest.mf Class-Path without it appearing in the WEB-INF/lib in M2 by placing dependencies as follows in the war packaging pom ... dependency

Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
Title: Java2HTML plugin M2 Hi, Has anyone had any success working with Java2HTML plugin and M2 ? I get NullPointer exception when trying to install plugin to my repository as per instructions from http://www.qualitylabs.org/java2htmlplugin/index.html Tx Andy Visit our website at

RE: Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
Hi Damien, How can you tell ? It seems to be compiled Java classes and uses xsd version 4.0.0 which I thought indicated M2 Tx A -Original Message- From: LECAN Damien [mailto:[EMAIL PROTECTED] Sent: 26 June 2006 14:00 To: Maven Users List Subject: RE: Java2HTML plugin M2 Hello, It

RE: Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
Tx - thought that was a typo and changed to mvn. I'd never used M1 - switched recently from Ant to M2 A -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: 26 June 2006 14:23 To: Maven Users List Subject: Re: Java2HTML plugin M2 Look at the page you are refering to in

RE: Java2HTML plugin M2

2006-06-26 Thread Andrew-A . Davies
No particular reason - I was just asked to put Java2html into build. I'll take a look at JXR and see what that offers Tx A -Original Message- From: Ivo Limmen [mailto:[EMAIL PROTECTED] Sent: 26 June 2006 14:23 To: Maven Users List Subject: Re: Java2HTML plugin M2 Why use Java2HTML?

Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Title: Clover and Maven 2 Hi, Has anybody succesfully used clover to generate a report with Mave 2 ? I have followed docs on http://maven.apache.org/plugins/maven-clover-plugin/howto.html However, I continually get the error as below

RE: Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
There is a database there though debug output for same classes below --- T E S T S --- Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest Tests run: 1, Failures: 0,

RE: Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Hi Vincent, As requested. Full Debug Attached. Rgds Andy -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: 23 June 2006 15:12 To: 'Maven Users List' Subject: RE: Clover and Maven 2 _ From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: vendredi

Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Title: Clover and Maven 2 Hi Think I may have tracked it down ... My Junit test was a blank one, so didn't instantiate the class under test. This it would seem does not then recognise that the class has had no tests (and hence has no coverage). What I was expecting was to say that the

RE: Checkstyle plugin Maven 2

2006-06-21 Thread Andrew-A . Davies
Thx. Info is sparse though - ended up having to look at source code to work out what parameters I could set for it !! A -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 04:22 To: Maven Users List Subject: Re: Checkstyle plugin Maven 2 For

Writing plugins and dependencies on other software

2006-06-21 Thread Andrew-A . Davies
Title: Writing plugins and dependencies on other software Hi, I am writing a plugin for a 3rd party piece of software (Macker http://innig.net/macker). To run with Mavne 2.x What should I do re either ensuring availability of that software or informing an end user that it is required to

RE: Writing plugins and dependencies on other software

2006-06-21 Thread Andrew-A . Davies
Thx Jerome. Andy -Original Message- From: jerome lacoste [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 10:43 To: Maven Users List Subject: Re: Writing plugins and dependencies on other software On 6/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am writing a plugin for a

RE: Re: Maven 2.0.5

2006-06-20 Thread Andrew-A . Davies
Thanks Carlos. Must be nice to work that way ;-) Just that 2157 is one that I am waiting on (having discovered it yesterday) Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: 19 June 2006 18:34 To: Maven Users List Subject: Re:

RE: Checkstyle plugin Maven 2

2006-06-20 Thread Andrew-A . Davies
Thanks both. Is it possible to control the output (to direct the report somewhere specific and also to only provide xml output). Also, is it possible to have the checkstyle reporting entry inherit downward (or does it have to be specifically included for each pom where reporting is required) ?

Plugin configuration general question

2006-06-20 Thread Andrew-A . Davies
Title: Plugin configuration general question Hi, In terms of plugin configuration, the surefire config at http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html Is quite useful. Where would the sma e exist for say checkstyle or anything else be found ? Thx in Advance

Macker plugin maven 2

2006-06-20 Thread Andrew-A . Davies
Title: Macker plugin maven 2 Hi, Is there one ? On ibiblio there is reference 2 it in http://www.ibiblio.org/maven2/maven-plugins/maven-macker-plugin/ But I can't get it from a repository Cheers Andy Visit our website at http://www.ubs.com This message contains confidential

RE: Re: Macker plugin maven 2

2006-06-20 Thread Andrew-A . Davies
Thanks. Thought as much :-( Think I may have to have a go and write one myself. Though I am fairly new to maven 2 A -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: 20 June 2006 14:29 To: users@maven.apache.org Subject: Re: Macker plugin maven 2

Including other xml files in Settings XML

2006-06-19 Thread Andrew-A . Davies
Title: Including other xml files in Settings XML Hi has anyone tried / done this. My reasoning behind this is to get clearcase to then seed version numbers into a generated file which is included in settings for build purposes This is in a generated file which is then included in

mvn -P doesn't use profile

2006-06-19 Thread Andrew-A . Davies
Title: mvn -P doesn't use profile Hi, I have setup a profiles.xml file within my project root directory. When calling maven with -P switch, the properties set up don't seem to be used. Any ideas ? Thx Andy Visit our website at http://www.ubs.com This message contains

SOLVED mvn -P doesn't use profile

2006-06-19 Thread Andrew-A . Davies
Title: SOLVED mvn -P doesn't use profile The profiles.xml file needs to be in every directory where there is output (e.g. war, jar, ear) Though this does seem a little bit of a waste of time considering that if you are building with a profile it would apply to ALL projects and hence IMHO

RE: Change versions

2006-06-19 Thread Andrew-A . Davies
Try using settings.xml profiles profile idyour unique identifier/id properties some-version-number1.0/some-version-number /properties /profile /profiles activeProfiles activeProfilesome-version-number/activeProfile /activeProfiles Then in your

RE: Change versions

2006-06-19 Thread Andrew-A . Davies
I personally have not used the project file for this - but my project has specifica requirements re UCM clearcase integration. Also I am new to this myself so kind of finding things out as I go -Original Message- From: Davies, Andrew-A Sent: 19 June 2006 12:56 To: 'Maven Users List

Maven 2.0.5

2006-06-19 Thread Andrew-A . Davies
Title: Maven 2.0.5 Hi, Does anyone have anyidea when 2.0.5 is due for release ? Is there a release roadmap anywhere showing indicative dates for future releases ? Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only

RE: Re: Maven 2.0.5

2006-06-19 Thread Andrew-A . Davies
Pardon my stupidity but I can't see date for scheduled release though. Tx -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet Sent: 19 June 2006 15:38 To: users@maven.apache.org Subject: Re: Maven 2.0.5 They are using JIRA, which can display a road

Checkstyle plugin Maven 2

2006-06-19 Thread Andrew-A . Davies
Title: Checkstyle plugin Maven 2 Does anyone know how the maven 2 checkstyle.properties are set ? In maven 1.x they were provided in a file checkstyle.properties Tx Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the

IBM WAS 6 M2 plugin

2006-06-16 Thread Andrew-A . Davies
Hi, Does anyone know where I can get this (or if it even exists in the public domain) IBM must have written one for the RAD - WAS 6 deployment / management Thx Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual

RE: IBM WAS 6 M2 plugin

2006-06-16 Thread Andrew-A . Davies
Thanks Mike. How do you get around bindingfile generation ? Do you generate at deploy time automatically (wsi files, etc) ? -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: 16 June 2006 14:48 To: Maven Users List Subject: RE: IBM WAS 6 M2 plugin We use Websphere

RE: IBM WAS 6 M2 plugin

2006-06-16 Thread Andrew-A . Davies
Cheers. Meant xmi sorry 4 confusion -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: 16 June 2006 15:15 To: Maven Users List Subject: RE: IBM WAS 6 M2 plugin The bnd files are generated by the developer and packaged in the ear/war. We have standard names for our

RE: common jars between modules in EAR

2006-06-15 Thread Andrew-A . Davies
I've managed to get something into the Manifest.mf Class-Path without it appearing in the WEB-INF/lib in M2 by placing the following in the war packaging pom ... dependency groupIdcom.ubs.datait.rkyc.cim.j2eeclient/groupId artifactIdcim-j2eeclient/artifactId

RE: Cyclic references in M2 projects

2006-06-15 Thread Andrew-A . Davies
I would strongly suggest refactoring as this is bad -Original Message- From: Lucas Opara [mailto:[EMAIL PROTECTED] Sent: 15 June 2006 15:58 To: users@maven.apache.org Subject: Cyclic references in M2 projects Hello, I just migrated some of our J2EE projects to maven 2. Now I have the

RE: how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread Andrew-A . Davies
Hi, Why are you placing them in the same directory ? You should follow standard directory structure Src/main/java/ com/... For your java files and Src/main/resources/ com/... For your properties files -Original Message- From: Kent Tong [mailto:[EMAIL PROTECTED] Sent: 14 June 2006 02:31

RE: how to make sure Foo.properties file copied to the same directory as Foo.class

2006-06-14 Thread Andrew-A . Davies
Thanks Javed. Thought I might be missing something important as I have got 1 issue that I just can't solve and hence have resigned myself to living with it ! Building an enterprise distributed global app with multi site multi project dependencies. Integrating with Cruise Control, Clearcase UCM.

M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib

2006-06-13 Thread Andrew-A . Davies
Title: M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib Problem description : In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling entries in the Manifest.mf file within the war file and the contents of

Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath

2006-06-13 Thread Andrew-A . Davies
Title: Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath Problem description : In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling entries in the Manifest.mf file within the war file and the

War.bundle equivalent in maven 2

2006-06-13 Thread Andrew-A . Davies
Title: War.bundle equivalent in maven 2 Hi, Does anyone have the answer to what maven 1.x war.bundle has now become in Maven 2 ? Thanks Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If

RE: War.bundle equivalent in maven 2

2006-06-13 Thread Andrew-A . Davies
If I try that, I get compilation problems as I need some of the libraries at compilation time. My problem is that I need to make sure something ends up in WEB-INF/lib without being in the Class-Path of manifest.mf Have managed to do the other way in Class-Path but not in WEB-INF/lib with