Re: EJB Jar packaging

2008-07-13 Thread Chris_Graham
Stephen Coy [EMAIL PROTECTED] wrote on 13/07/2008 21:07:57: In JEE5, jars in an EAR's lib directory do not need to be in the EJB jar's manifest classpath. Ah. Thanks makes it a lot clearer! Thanks for clearing that up for me. In J2EE 1.3/1.4 these jars normally need to be in the EJB

Re: Archetype sample for multi-projects

2008-07-13 Thread Chris_Graham
I had similar issues, and no answers here, so I'll try to help. s[e]th h[o]lth [EMAIL PROTECTED] wrote on 11/07/2008 03:18:36: Hello, Since monday i'm trying to build a multi-projects archetype without success... I tried many differents way to do it but i didn't reach this goal :x - I

Re: Proper Dependency Management - HowTo?

2008-07-04 Thread Chris_Graham
Michael McCallum [EMAIL PROTECTED] wrote on 03/07/2008 14:05:09: 11) don't mix inheritance and aggregation. that means a parent pom NEVER ever has modules, if you think about the concept for a minute - or longer - there will be a moment of enlightenment Sorry for jumping in here, but wehy

How to use DB2's JCC jars as a single dependency.

2008-07-01 Thread Chris_Graham
I was asked privately how to: Can you explain what should I do to use db2 jcc library as one dependency in my maven project? What commands I should execute to gain such feature? Simple, you need to install (into your local repo) or deploy (into your corporate one, if you have one) the jars

Re: maintaining versions across multi-module project

2008-06-30 Thread Chris_Graham
I remove the version from all of the module poms entirely and just have the multi module build pom have it. It works for me. -Chris Kallin Nagelberg [EMAIL PROTECTED] wrote on 01/07/2008 04:55:00: Can anyone tell me what is the best/simplest way to maintain a version number across all the

Re: Manipulation of ibm-webservices-bnd.xmi

2008-06-30 Thread Chris_Graham
Hello David! Hmmm, upon reading, it may work. If I get some time I may investigate, but for the moment it works for me. -Chris [EMAIL PROTECTED] wrote on 30/06/2008 23:52:34: On Mon, 30 Jun 2008, [EMAIL PROTECTED] wrote: Hi All. I don't mind not having this file generated, but

Re: Maven WebSphere 6.1

2008-06-29 Thread Chris_Graham
Hi Jon, Not to my knowledge. I used the list that RSA V7 uses as the WebSphere Application Server v6.1 Runtime classpath container, so that is what RSA uses itself to compile against. Which from Maven's point of view, it should be all that we need. I've not run into issues

Manipulation of ibm-webservices-bnd.xmi

2008-06-29 Thread Chris_Graham
Hi All. I don't mind not having this file generated, but I do need to manipulate it. The issue arises with the name attribute of the routerModules element. It needs the name of the war file that hosts the router modules. ?xml version=1.0 encoding=UTF-8?

Re: properties in archetypes?

2008-06-19 Thread Chris_Graham
[EMAIL PROTECTED] wrote on 18/06/2008 16:50:05: Can we make use of our own properties/variables in archetypes? The m2eclipse plugin allows us to define properties to be used at arcetype generation time. The problem is, I've not see a single references as to _how_ to do this!??? For

properties in archetypes?

2008-06-18 Thread Chris_Graham
Can we make use of our own properties/variables in archetypes? The m2eclipse plugin allows us to define properties to be used at arcetype generation time. The problem is, I've not see a single references as to _how_ to do this!??? For example: dependency

RE: location of application.xml?

2008-06-18 Thread Chris_Graham
Bernhard David [EMAIL PROTECTED] wrote on 18/06/2008 16:21:06: Hello, I think you just need to declare src/main/application as a resource folder in your pom - resources resource directorysrc/main/application/directory /resource and it should work exactly as

location of application.xml?

2008-06-17 Thread Chris_Graham
I'm not sure when you put META-INF\application.xml. Does it go under src\main\resources or src\main\application? mvn eclipse:eclipse generates a source dir reference to src\main\application, and that is what it appears to need to be able to run the test app in the environment. However,

Re: Maven WebSphere 6.1

2008-06-12 Thread Chris_Graham
Hello Siarhei. No, we don't need to generate the stubs and ties in the IDE for a remote deployment. However, obviously you would have to do that when using the local test environment, and I use the IDE to do that. It is much easier (and more natural for me at least) to have the IDE to generate

Re: AW: Maven WebSphere 6.1

2008-06-11 Thread Chris_Graham
Hi Kuno. I understand why you've done what you've done, but it is not a very CI friendly approach (as it does require a local install). Multiple versions, and even fix pack variations, and especially when you may wish to consider feature packs (ejb 3, web services etc),

Eclipse: How to create a Simple Project type

2008-06-10 Thread Chris_Graham
Hi all. How can we get maven to create a simple eclipse project (not a Java one)? Ie, get it to generate a .project file: ?xml version=1.0 encoding=UTF-8? projectDescription nameBlah/name comment/comment projects/projects buildSpec/buildSpec natures/natures

Re: Maven WebSphere 6.1

2008-06-10 Thread Chris_Graham
Hi. I do not get maven to actually generate the EJB deployment code, WebSphere itself will do it at deployment time, so I do. If nothing else, this will give you a list of the jars that you need. Using RSA V7, it defines a classpath container that has all of the necessary jars in it needed to

Re: AW: modifying version number in POM

2008-06-09 Thread Chris_Graham
No, I meant exactly what I said. Maven itself needs to be able to check in/out etc from your SCM. We use ClearCase in with UCM Dynamic Views, which is not supported (particularly well (if at all?)) by maven. So, in that instance, we will need to basically to a release manually. If maven fully

Re: AW: modifying version number in POM

2008-06-09 Thread Chris_Graham
Mark Struberg [EMAIL PROTECTED] wrote on 05/06/2008 18:32:23: So long as maven supports your scm... But then it is still much better to get this SCM supported then having hundred of developers tweaking around manually. Which SCM you need isn't supported yet? Since I already wrote the

Simple Archetype Question

2008-06-09 Thread Chris_Graham
Hi All. Can an archetype create more than one project? Ta. -Chris ** CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information. If you are not the intended

Re: AW: modifying version number in POM

2008-06-04 Thread Chris_Graham
Mark Struberg [EMAIL PROTECTED] wrote on 04/06/2008 22:53:35: Maybe i missed the point, or you did. The usual behaviour is to always have a SNAPSHOT version in your SCM e.g. version1.4-SNAPSHOT/version If you make a build, you simply use the maven-release-plugin $mvn release:prepare

Über Archetype ?

2008-06-02 Thread Chris_Graham
Hi All, Does maven support the concept of an Über Archetype? That is, a single archetype that can create multiple projects in one invocation. Ideally, what I am looking for is a single archetype that can create a full J2EE project as a multi module build, along with all of it's EJB,

Re: Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Chris_Graham
Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 30/05/2008 00:37:53: Hello, in der Maven documentation is an article about a workaround for creating skinny wars. http://maven.apache.org/plugins/maven-war- plugin/examples/skinny-wars.html In this approach, all libs in

Re: Advanced exclude pattern for Skinny Wars

2008-05-29 Thread Chris_Graham
Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 30/05/2008 00:37:53: Hello, in der Maven documentation is an article about a workaround for creating skinny wars. http://maven.apache.org/plugins/maven-war- plugin/examples/skinny-wars.html In this approach, all libs in

Re: Multi Module Projects - manifest question

2008-05-29 Thread Chris_Graham
Hi Martin. Yes I did. I had some issues with the EJB jar needing the type of it to be specifially set. ?xml version=1.0 encoding=UTF-8? project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; xmlns:xsi=

Re: MultiModule checkstyle config

2008-05-29 Thread Chris_Graham
gommo [EMAIL PROTECTED] wrote on 30/05/2008 10:53:48: Did you ever solve this? I'm having the same problem I did, but took a slightly different appoach. It works for me (so far at least): Take this pom: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Copying Artifacts

2008-05-28 Thread Chris_Graham
Hi All. I would like to copy the produced artifact of the package step (in this case an ear file) to a remote unix server. How do I do this? In this case I need to copy the ear file to a remote unix machine (under ant I used pscp from the putty suite) for deployment.

Multi Module Projects - manifest question

2008-05-28 Thread Chris_Graham
Hi, I have a multi module ear project. One of the modules is a standard jar (just a resource jar with no dependencies of it's own). One of the other modules is a war file. How do I get the manifest file of the war file to reference the (utility) jar in that is

Re: RAD7 Support

2008-05-27 Thread Chris_Graham
Hendlmeier Georg (extern) [EMAIL PROTECTED] wrote on 27/05/2008 23:48:11: Hi all, is there currently any RAD7 support in maven-eclipse-plugin? As far as i tested, RAD7 does not recognize e.g. ear project etc. and is not able to deploy to WAS. Is there something wrong or something in

CheckStyle and Path Issues with Hudson

2008-05-25 Thread Chris_Graham
Hi All. I have an issue running Maven under Hudson, when in conjunction with ClearCase. Hudson is correctly creating a workspace and creating a snapshot view of the UCM Project. As an artifact of using ClearCase, there will always be a reference to the VOB in the

sourcing from property files

2008-05-20 Thread Chris_Graham
Hi All. I know that this is backwards to the maven way of thinking, but: Is it possible to actually take a version number from a property file and have that used in the POM rather than the other way around? Ie, Property File - POM rather than,

Re: sourcing from property files

2008-05-20 Thread Chris_Graham
Wayne Fay [EMAIL PROTECTED] wrote on 21/05/2008 00:22:05: On Tue, May 20, 2008 at 1:39 AM, [EMAIL PROTECTED] wrote: Is it possible to actually take a version number from a property file and have that used in the POM rather than the other way around? Not natively. But you could write a

Re: AW: AW: AW: maven-eclipse-plugin: Facet Issues

2008-05-16 Thread Chris_Graham
Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 15/05/2008 16:47:26: That's why I'm using the runtime argument. I guess that my point, is that I do not really have a good idea on the fit of and the point in having the eclipse plugin itself. Having to specify the workspace, not

Re: AW: AW: maven-eclipse-plugin: Facet Issues

2008-05-15 Thread Chris_Graham
Thank you very much for your help. It wasn't even recognised as an EJB project, but I didn't play with it entensively. If I get a sec, I'll give it another go. It also appears that you can put the workspace location into the settings section, which to me defeats the entire purpose of portable

maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Chris_Graham
Hi All. Using V2.5.1 of the maven-eclipse-plugin, I have some issues in getting the generated artifacts being correct. Take this section of the POM: additionalProjectFacets jst.java5.0/jst.java jst.ejb2.1/jst.ejb

pom settings for RSA V7 EJB project settings

2008-05-14 Thread Chris_Graham
For those of you who are interested... Using the maven-eclipse-plugin V2.5.1: This is what I have for an EJB project. build plugins plugin artifactIdmaven-eclipse-plugin/artifactId configuration wtpversion1.5/wtpversion

Re: wtpversion = R7

2008-05-14 Thread Chris_Graham
Thank you for the heads up. -Chris Arnaud HERITIER [EMAIL PROTECTED] wrote on 14/05/2008 17:54:33: We have to update the documentation (we have an issue about it) http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html R7 is an old old old version of WTP. I think it was the one bundled

Re: RA V7 Maven Support

2008-05-14 Thread Chris_Graham
I think that the best way to think of the differences is like this: RSA = RAD + UML Modeling + a few other goods. Ie, what works with RAD (from a pluging point of view) should work fine with RSA. -Chris Arnaud HERITIER [EMAIL PROTECTED] wrote on 14/05/2008 17:56:23: people had use this

Re: maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Chris_Graham
Done. http://jira.codehaus.org/browse/MECLIPSE-449 However, this leads me to another question. We can specify the classpath container entries, fine, and that works. However, doesn't this conflict with the dependencies section (which in turn generates the .classpath entries which will result

classpath container issues

2008-05-14 Thread Chris_Graham
Given this fragment: classpathContainers classpathContainer org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/WebSphere v6.1 JRE/classpathContainer classpathContainer

Re: AW: maven-eclipse-plugin: Facet Issues

2008-05-14 Thread Chris_Graham
Hi Kuno, Thanks for that, however it does not work for me. However, I'll see if I can incorporate the server settings etc. -Chris Baeriswyl Kuno - Extern (IT-BA-MV) [EMAIL PROTECTED] wrote on 14/05/2008 19:32:24: Hello Chris, for me, following works:

wtpversion = R7

2008-05-13 Thread Chris_Graham
Hi All, There is next to no documentation on this, other than simply listing that it exists. Is this for RSA V7? -Chris ** CAUTION - This message is intended for the addressee named above. It may contain

RA V7 Maven Support

2008-05-13 Thread Chris_Graham
Hi All, I am attempting to, and so far it has been a rather futile effort, to set up the maven-eclipse-plugin settings so that it can create an EJB project as it I had manually created an EJB Project inside RSA V7 itself. Ideally targeting WAS 6.1. Eventually it will

Re: Maven and Eclipse: getting started

2008-05-01 Thread Chris_Graham
And I've tried running mvn eclipse realizing that that is way too naive as a starting point. I'm guessing that to create a Dynamic Web Project under Maven control for use in Eclipse, I have to create a BLANK PROJECT on the command line in Maven, but there's something about the Eclipse

RE: Checkstyle Versions

2008-04-24 Thread Chris_Graham
Hi Brian. Thank you very much for that. I'd asked before but to no avail. Thanks for taking the time to answer. -Chris Brian E. Fox [EMAIL PROTECTED] wrote on 24/04/2008 04:08:18: Chris, this is a commonly requested feature and you can see more info here:

Checkstyle Versions

2008-04-22 Thread Chris_Graham
Hi All. The blurb on Maven 2.0.9 stated that you could force a specific version of a jar, mainly to get newer versions, and the specifically listed checkstyle (amongst others). How do you actually do it? The maven checkstyle plugin uses checkstyle 4.1 and 4.4 is

Re: How can I generate a POM file for dependency?

2008-04-15 Thread Chris_Graham
For instance: mvn install:install-file -Dfile=doccheck.jar -DgroupId=com.sun.tools.doclets -DartifactId=doccheck -Dversion=1.2b2 -Dpackaging=jar -DgeneratePom=true -Chris youhaodeyi [EMAIL PROTECTED] wrote on 15/04/2008 15:42:28: Some dependencies downloaded by Maven

Re: Dependency Relationships in EARs

2008-04-11 Thread Chris_Graham
What is the output of: mvn dependency:tree -Chris David Weintraub [EMAIL PROTECTED] 11/04/2008 10:23 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: Dependency Relationships in EARs Sure: Here's the POM for the

Maven 2 Bug? Not Processing Children

2008-04-09 Thread Chris_Graham
Following Nick's suggestion to how to report a bug: On this issue: http://www.nabble.com/Class-Path-Test-Problem.-tt16556171s177.html I have solved the problem. If the consolidated pom has a scope in it, it fails to resolve it's child dependencies. Consider this from a top level pom:

Newer Jar Override

2008-04-08 Thread Chris_Graham
Hi All. The org.apache.maven.plugins:maven-checkstyle-plugin dependon upon checkstyle 4.1. I'd like to use checkstyle 4.4 (that matches by eclipse version). Is there any way to override it and get it to use 4.4 instead of 4.1? TIA, -Chris

Class Path Test Problem.

2008-04-07 Thread Chris_Graham
Hello All. I am having an issue in attempting to set up a consolidated dependencies POM. I am trying to set up a single POM that represents the DB2 Universal Drivers, which for me, basically consists of three different jars. Each of the three jars have been added into