Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 81 Next »

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

  • Fetch remotely stored objects and merge them into you project.

  • Deploy locally stored objects to a Pricefx partition.

  • Delete 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 "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:

  • help – Shows a 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, Price Lists, …​)

  • 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 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 the goal to execute it.

Run in Command Line via Terminal

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

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