"include" in the maven world is to declare a dependency. Don't duplicate
classes!

/Anders

On Thu, Apr 7, 2011 at 16:24, Rafael Vanderlei <[email protected]>wrote:

> Oh, sorry, they´re not web services... my project provides ejbs to other
> projects, so they are clients for ejb services.
>
> I know maven-ejb-plugin has an opton to generate ejb client but I believe I
> can´t use it because I also need to include classes that are in other
> modules than ejb. And still there is the need of deploy it to Nexus, which
> I
> strongly believe cannot be solved by maven ejb plugin.
>
> I´m still failing on the search
>
> On Thu, Apr 7, 2011 at 11:10 AM, Ron Wheeler <
> [email protected]
> > wrote:
>
> >  Is it web services?
> >
> >
> > On 07/04/2011 9:46 AM, Rafael Vanderlei wrote:
> >
> > Hi, Ron. Thanks for response.
> >
> > How would I configure such a project using Maven? Keeping in mind I
> already
> > have all the code in the modules I mentioned before and I just need a way
> to
> > put everything together in a jar and then deploy to Nexus.
> >
> > Regards,
> > Rafael.
> >
> > On Thu, Apr 7, 2011 at 10:36 AM, Ron Wheeler <
> > [email protected]> wrote:
> >
> >> This looks like a classic web services configuration.
> >>
> >> The web services project produces a jar that all the clients need, it
> gets
> >> deployed as an artifact and the clients depend on that artifact.
> >>
> >> Is that what you are trying to do?
> >>
> >> Ron
> >>
> >>
> >> On 07/04/2011 9:27 AM, Rafael Vanderlei wrote:
> >>
> >>> Hi.
> >>>
> >>> I have a multi module project and I need to generate two clients (could
> >>> be
> >>> more) for my application. But the clients need to include classes that
> >>> are
> >>> in different modules, so I'm kind of not having much idea on how to do
> >>> this.
> >>>
> >>> My project structure is like this
> >>>
> >>> - root
> >>> --- module a (jar)
> >>> --- module b (jar)
> >>> --- module c (ejb)
> >>> --- module d (ejb)
> >>> --- module e (war)
> >>> --- module f (war)
> >>>
> >>> As I said, the clients I need to generate must include a different
> subset
> >>> of
> >>> classes that are in module a, module b and module d. Also I need to
> >>> deploy
> >>> these clients to the company's repository (I'm using Nexus) so the
> >>> consumers
> >>> can declare it as a dependency.
> >>>
> >>> What do you recommend for this need?
> >>>
> >>> Thanks and regards,
> >>> Rafael.
> >>>
> >>>
> >>
> >>  ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
> >
> >
>

Reply via email to