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 — wipesall
– Wipes out most of the meta-data (i.e. including the tables!) and also data (e.g. Quotes, PricelistsPrice Lists, …)deploy-
all — deploysall
– 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:
Then navigate to , to view the available goals.
Double-click on the goal to execute it.
Run in Command Line via
theTerminal
To execute via the Terminalterminal, select your profile with the -P
"flag".
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
mvn -P my-profile ... |