Versions Compared

Key

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

The maven plugin allows you to fetch/deploy configurations between file systems and remote partitions with Maven. When the Pricefx Maven plugin has been added to your project/module pom.xml file, you will be able to run goals to fetch, deploy, and delete data.

The Pricefx Maven Plugin extends the functionality of the Pricefx Packaging Tool. While the packaging tool is limited to metadata configurations, the maven plugin can fetch/deploy/delete any kind of data. This includes (but is not limited to)

  • Master data

    • Product

    • Customer

    • Product Extensions

    • Customer Extensions

    • Product Competition

    • Bill of Material

    • Pricing Parameters

  • Data Sources

  • Documents

    • Price Lists

    • Quotes

    • Contracts

    • Rebate Agreements

When uploading to a pricefx partition, it is also possible to

  • Run data loads

  • Calculate price lists

Info
The fetch/deploy/delete operations have not been implemented for all types, due to limited demand of these features.
Warning
Do not use the Pricefx Stream Plugin for production environments. Instead, use the pricefx packaging tool.
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 tables, quotes, price lists and other documents. Use with caution, and always use version control.
Tip
The source code is available on Pricefx private GitLab instance: https://gitlab.pricefx.eu/training/pricefx-stream.

Installation

To use the maven plugin, you must add the plugin to your maven pom.xml file. The plugin is hosted from the public Pricefx Nexus repository. The plugin requires some properties. Some of these properties can be specified directly within the pom.xml files. See this setup guide for detailed instructions.

But the properties that connects the plugin to your remote Pricefx partition should rather be via a maven build profile. See this setup guide for detailed instructions.