Hello everyone,

I have a maven project (jar), for example, my-api. In this project, I defined a REST API endpoint:

public class MyAPI {

    public Response getDossiers() {
        // our logic
        return response;

I have an ivy project, for example, my-app and I added the jar dependency my-api. I can't access the API above from client

But, I tried to create a my-api as an ivy project (iar) and added it as an iar dependency my-app. It works well.

My question is: Can I define the REST API endpoint in a jar file? If yes, how can I do that?

P/s: We're using Ivy 7.0.11

asked 25.03.2020 at 04:40

ptgiang's gravatar image

accept rate: 0%

edited 25.03.2020 at 05:51

As of today you can't. Since we only load JAX-RS annotated resources from the binary class output dir (classes).

But I think we could easily allow such contributions in the future. Please ask and negotiate the priority of this change request via support.axonivy.com.


answered 26.03.2020 at 03:59

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 25.03.2020 at 04:40

Seen: 2,762 times

Last updated: 26.03.2020 at 03:59