[image: image.gif]Hi All,

   1. I did some further work on this and tried importing the new version
   of JUnit (version 5) using the following snippet in the pom.xml;[image:
   image.png]
   however, this did not prompt the newly added dependency to be downloaded
   after a mvn clean install.
   Would greatly appreciate some thoughts on how to rectify this.
   2. I also noticed that the repositories included in the pom.xml is only
   the WSO2 public maven repo and Maven central is not included.
   Is it allowed to include Maven central as well so there's access to a
   wider no. of external libraries?

Kind regards






On Fri, Sep 17, 2021 at 1:49 AM Nuwan Jayawardene <nsga...@gmail.com> wrote:

> Hi All,
> I've a couple of doubts to clarify on importing external libraries into
> Synapse.
>
>    1. Is there a vouching process to see if a particular library is
>    suitable to be used (other than the license).
>    2. When adding a new dependency after including it in the pom.xml as
>    follows...
>    [image: image.png]
>    is running a mvn clean install or mvn install -Dmaven.test.skip=true 
> sufficient
>    or do we need to delete the .m2 directory as well and redownload all the
>    dependencies?
>
>    I tried the 2 former commands however it doesn't seem to
>    have downloaded the library from maven central.
>
> Would appreciate your thoughts on this.
> Regards
> --
> *Nuwan Jayawardene*
> Assistant Lecturer, Informatics Institute of Technology (IIT).
> Research Assistant, University of Moratuwa
>
> https://www.linkedin.com/m/in/nuwanjaya
>
>
>

-- 
*Nuwan Jayawardene*
Assistant Lecturer, Informatics Institute of Technology (IIT).
Research Assistant, University of Moratuwa

https://www.linkedin.com/m/in/nuwanjaya

Reply via email to