Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+18 votes

How do you add a new third-party library to your project?

asked in CSC305 Fall 2022 by (8 points)

1 Answer

+11 votes

I believe you have to edit your pom.xml to include another library.

    <groupId>your own custom group id</groupId>
    <artifactId>your own custom artifact id</artifactId>
    <version>some version number</version>

For example, if you wanna add ControlsFX Library to your project: https://github.com/controlsfx/controlsfx/wiki/ControlsFX-Features
you could do:


Hope this helps!

answered by (8 points)