Details
-
New Feature
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
2018 Week 36-38, 2018 Week 39-41, 2018 Week 42-44, 2018 Week 45-47, 2018 Week 48-50, 2019 Week 02-04, 2018 Week 51-01
-
5
-
NEW
-
NEW
Description
Create a ServletContextListener that during the contextInitialized get all the WEB-INF/jars that Business Central have and move those to the m2 repo provided by Business Central. It's possible to use quite a lot of logic of the existing in https://github.com/kiegroup/appformer/blob/master/uberfire-m2repo-editor/uberfire-m2repo-editor-backend/src/main/java/org/guvnor/m2repo/backend/server/helpers/HttpPostHelper.java
TODO acceptance criteria
- By default workbench will build projects in "online" mode, which means workbench can resolve artifacts in external maven repositories.
- If user insist on building projects on machine without internet connection, it is possible to provide system property "kie.maven.offline.force=true", which will prevent internal maven infrastructure to contact external maven repositories and will instead rely on (kie) artifacts provided within the WEB-INF/lib folder of the workbench.
Attachments
Issue Links
- is cloned by
-
RHPAM-1524 Provide a mechanism to run webtooling completely offline even without a Maven Central proxy/mirror
- Closed