Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Pricefx Stream Maven plugin provides the means allows you to perform three types of operations:

  • Fetch — fetches Fetch remotely stored objects and merges it merge them into you project.

  • Deploy — deploys Deploy locally stored objects to a Pricefx partition.

  • Delete — deletes Delete remotely stored objects.

Note
The Pricefx Maven Plugin should only be used on partitions that you are prepared to completely discard. The plugin includes goals wipes all data from your partition — including partition – including tables, quotesQuotes, price lists Price Lists and other documents. Use with caution, and always use version control.

To use the plugin, you’re you "executing execute Maven goals". Maven is built-in in IntelliJ, so you can use it right there. Eventually, if you install Maven standalone, you can execute the goals also from the command line.

Operations

There are a few (out of many) actions/goals you can execute, here we will name only few:

  • help — shows you help – Shows a list of all goals and their descriptions.

  • clean-all — wipes all – Wipes out most of the meta-data (i.e. including the tables!) and also data (e.g. Quotes, PricelistsPrice Lists, …​)

  • deploy-all — deploys all – Deploys the whole package (meta + data, including execution of processes (, if configured).

Run in IntelliJ

For any Pricefx project that has been set up with Maven, you will be able to can select the profile in the top right corner:

intellij select profile

Then navigate to Module:  Plugins  pricefx-stream, to view the available goals.

Double-click on the goal to execute it.

Run in Command Line via

the

Terminal

To execute via the Terminalterminal, select your profile with the -P "flag".

Code Block
languageshell
themeMidnight
linenumbersfalse
mvn -P my-profile ...