Re: Newbie trying to understand how to use some plugins

2013-06-12 Thread rdiddly
tion. I think I've got it now. Now I'm dealing with other dependencies not being resolved at deployment. I'll undoubtedly post more specifics later. Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Newbie-trying-to-understand-how-to-use-some-plugins-tp

Re: Newbie trying to understand how to use some plugins

2013-06-12 Thread Stephen Coy
Richard, When a Java EE server deploys an application EAR, its various components are categorised as modules: Each EJB jar is a separate module Each WAR is a separate module - including all of the jars in it's WEB-INF/lib directory All the jars in the EAR/lib directory are considered as a single

Re: Newbie trying to understand how to use some plugins

2013-06-11 Thread Greg Trasuk
Re: "Local" access crossing different EAR files: That isn't Maven related, but I happened to be discussing this with some folks in my company just this morning. Basically it's a classloading issue. An Enterprise Application (ear file) has its own classloader. So the client in ear file B, tryin

Re: Newbie trying to understand how to use some plugins

2013-06-11 Thread Wayne Fay
> I think that I'd like to deploy to JBoss AS 7 with an EAR containing the EJB > jar, and two > separate wars that use the services of the beans packaged in the EAR. I'm a > little > concerned though because I read that if I go this route, the web tier will be > forced to use > the remote interf

Re: Newbie trying to understand how to use some plugins

2013-06-11 Thread RICHARD DOUST
Wayne, Thanks for your response. I don't really need to make the EJB jar work standalone. I was trying to divide and conquer. In 4.2.2 I deployed the EJB jar as part of an EAR with 2 WARs. I think that I'd like to deploy to JBoss AS 7 with an EAR containing the EJB jar, and two separate wars t

Re: Newbie trying to understand how to use some plugins

2013-06-10 Thread Ron Wheeler
Is this a problem that an installer solves in a much more flexible way? Clearly assembly and shade can do a lot but sometimes it appears that linking to an existing installer with a Maven plug-in (izpack for example) might do it in a more simple and flexible way and allow a lot more pieces to

Re: Newbie trying to understand how to use some plugins

2013-06-10 Thread Wayne Fay
> Anyway, I'm running into issues at deployment time (just starting with the > EJB jar as a > standalone deployment) because the EJB jar depends on a 3rd party jar that is > not > available on the server. If you **really** need to make the EJB jar work in standalone deployment (which is not espe

Newbie trying to understand how to use some plugins

2013-06-10 Thread RICHARD DOUST
Hi, I'm new to Maven. I'm migrating an EAR that contains 2 war files and an EJB jar file from JBoss 4.2.2 to JBoss AS 7. In the process, I'm moving to Maven, as it seems to manage dependencies quite a lot better than Ant. So far, I've created a multi-module POM with 5 sub-modules. I've gotten