-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
2018 Week 39-41, 2018 Week 42-44, 2018 Week 45-47, 2018 Week 48-50
-
5
-
NEW
-
VERIFIED
The main goal of this task is to provide an API that editors will use in order to ask AppFormer to add a maven dependency to the pom. This API should be based on CDI events.
Something like this:
event.fire(new AddPomDependency(workspaceProject, dependency); [1]
The dependency object should be a CDI bean on backend/front-end scope (api projects) that implements the same interface:
i.e. DynamicPomDependency interface
getGroupId()
getArtifactId()
WorkspaceProject -> context from the project that will give us the pom root. Library Places probably has this info (Paulo can give more details of this).
[1] we are not going to ask versions here on purpose, more details on AF-1452