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.
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:
Then navigate to
, 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 ...