Resource adapter classes as compile time dependency

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Resource adapter classes as compile time dependency

Jürgen Weber
Hi,

some message driven EJBs (MDB) have dependencies on classes from
corresponding resource adapter packages (.rar).

At runtime, application servers make the rar classes available to the MDBs.

For compile time, the process goes like this: unpack the needed jars
from the rar, put them into Nexus and add the dependencies to the MDB.
Repeat for each new rar version.

Is there a way (a Maven plugin?) to add the whole rar as compile time
dependency, as application servers do at runtime?

Regards,
Juergen

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Resource adapter classes as compile time dependency

Jürgen Weber
Hi,

I was thinking of adapting maven-warpath-plugin, but in the end I
built an uber jar in a sub module with maven-ant-run (unzip, zip and
zipgroupfileset) and did an install-file to local repository.

Juergen



On 2020/08/21 08:04:44, Jürgen Weber wrote: > Hi,> > > some message driven
EJBs (MDB) have dependencies on classes from> > corresponding resource
adapter packages (.rar).> > > At runtime, application servers make the rar
classes available to the MDBs.> > > For compile time, the process goes like
this: unpack the needed jars> > from the rar, put them into Nexus and add
the dependencies to the MDB.> > Repeat for each new rar version.> > > Is
there a way (a Maven plugin?) to add the whole rar as compile time> >
dependency, as application servers do at runtime?> > > Regards,> > Juergen>
> > --------------------------------------------------------------------->
> To unsubscribe, e-mail: [hidden email]> > For
additional commands, e-mail: [hidden email]> > >