Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 77 Next »

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

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

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

  • Delete — deletes remotely stored objects.

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 tables, quotes, price lists and other documents. Use with caution, and always use version control.

To use the plugin, you’re "executing 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 command line.

Operations

There are actions/goals you can execute, here we will name only few:

  • help — shows you list of all goals and their descriptions

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

  • deploy-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 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 Terminal, select your profile with the -P flag"

mvn -P my-profile ...
  • No labels