what is the proper way deploy maven java adapter -


this tutorial deploy adapter jar file

  • file → import... → maven → existing maven projects.(java adapter create cli use comment "mfpdev adapter create")
  • add 2 jar file lib folder
  • select run → run configurations..., right-click on maven build , select new.
    • provide name: "maven deploy".
    • set goal: "adapter:deploy".

but run not enable . missing? enter image description here

project structure :

enter image description here

run → maven install not found build adapter

enter image description here

and used flowing command fileuploadadapter java adapter cli

mfpdev adapter create
cd fileuploadadapter/
mfpdev adapter build
mfpdev adapter deploy

you're missing step need build adapter.
there nothing deploy if did not build yet.

building adapter
build adapter, right-click on adapter folder , select run → maven install.


Comments