Skip to main content

expanders-maven-plugin


2024.1.1 (2024-04-18)

Fixed

  • Updated model-validations to 3.5.1 to fix issue with SNAPSHOT version.

2024.1.0 (2024-04-08)

Changed

  • transmute-model and validate-model no longer fail on expired options.

2024.0.0 (2024-01-16)

Added

  • Updated prime-core version to support tags in expansionResource.xml. Note that in previous versions, the expansionResource goal will not recognize the tags and will drop them.

Changed

  • expanders-maven-plugin now requires java 17 to run.

2023.8.3 (2024-01-02)

Fixed

  • Add missing implementation for expansion.model.force in transmute-model and validate-model goals.

2023.8.2 (2023-12-14)

Fixed

  • [VEGA-365] Fixed expansionResource goal throwing "Version string 'x' is not valid SemVer" if one of the dependencies has more than 3 version numbers, in combination with the includeClassPathDependencies option.

2023.8.1 (2023-12-12)

Changed

  • [VEGA-364] Reverted prime-core to 2023.9.6 to be compatible with java 8. This change is temporary.

2023.8.0 (2023-12-06)

Added

  • [VEGA-354] Added parameter expansion.model.force, which forces expansion or harvest, even if there are model issues, such as expired options. This feature is provided to support expansion of an earlier project version, it should not be used in day-to-day use.

2023.7.1 (2023-11-08)

Changed

  • Filter out net.democritus.metamodel:metamodel-runtime when creating expansion resources, as it is being phased out.

2023.7.0 (2023-10-12)

Changed

  • Plugin tasks now use the classpath as defined in the expansionSettings. Previously, the plugin would look at the versions of prime-core and metamodel-runtime it was built against and insert them if they were newer. The new behaviour instead tries to always use the versions extracted from the expansionSettings file. The old behaviour is still available with the parameter -Dexpansion.versions.preserve=false.

2023.6.2 (2023-10-11)

Fixed

  • Upgraded to prime-core 2023.9.1 to revert change which broke expanders older than 5.36.0 because of a missing database schema/table option. The logic was moved to expanders, but this meant the new prime-core version didn't work with older expander versions.

2023.6.1 (2023-10-06)

Fixed

  • Fixed set-model-version exporting modules that were imported from an expansion-resource.

2023.6.0 (2023-09-26)

Added

  • Added parameter validation.failIfError to validate-model. If it is true, the goal fails if a rule with priority error fails. By default, it is set to true.

Fixed

  • Updated model-transmutation to 2.2.2 to fix an issue in transmute-model that caused modelResource modules to be exported into the source directory.

2023.5.2 (2023-09-25)

Changed

  • Updated model-validations to 3.3.2
  • Updated model-transmutation to 2.2.1
  • Updated metamodel-runtime to 2023.8.0

2023.5.1 (2023-09-22)

Changed

  • Updated prime-core to 2023.7.1

2023.5.0 (2023-07-31)

Added

  • Added support for expansion-resource dependencies with 4 version numbers (e.g 5.24.0.2)

2023.4.7 (2023-07-29)

Fixed

  • Goals documentation was no longer being generates because that functionality was moved from maven-plugin-plugin to a separate maven-plugin-report-plugin plugin. ( See MPLUGIN-467)

2023.4.6 (2023-06-30)

Fixed

  • Updated nsx-prime to 2023.1.4 for a more stable clean expand

2023.4.5 (2023-06-08)

Fixed

  • Create build folder if it does not exist before executing commands.

2023.4.4 (2023-06-07)

Changed

  • Updated nsx-prime to 2023.1.3

2023.4.3 (2023-06-01)

Fixed

  • SCM information was being filtered by flatten-maven-plugin

2023.4.2 (2023-06-01)

Added

  • Added SCM information to deployed pom.xml artifact

2023.4.1 (2023-05-31)

Fixed

  • Updated model-validations to 3.1.1

2023.4.0 (2023-05-31)

Changed

  • Updated model-validations to 3.1.0
  • Updated model-transmutations to 2.1.0
  • Updated prime-core to 2023.4.0

2023.3.1 (2023-05-11)

Changed

  • [expansionResource] Changed default rootDirectory to ${project.build.outputDirectory} instead of ${project.baseDir}/src/main.
  • [expansionResource] Moved expansionResource goal to process-classes phase, so that it runs after generate-resources and compile goals (after annotation processors).

2023.3.0 (2023-05-11)

Fixed

  • Updated nsx-prime to 2023.1.0 to fix issue with missing class
  • Updated model-validations to 2.8.0 to improve consistency of exclusions

2023.2.0 (2023-05-10)

Changed

  • Updated prime-core to 2023.2.3
  • Updated nsx-prime to 2023.0.3
  • Removed expansion-resource-development dependency, the implementation is provided by prime-core

2023.1.1 (2023-03-22)

Updated

  • Updated prime-core to 2023.1.1
  • Updated model-transmutations to 1.4.1

2023.1.0 (2023-02-06)

Added

  • Added set-model-version goal that updates the version fields in Programs and Modules.

2023.0.0 (2023-02-02)

Updated

  • Updated prime-core to 2023.0.2
  • Updated model-validations to 2.7.0
  • Updated model-transmutations to 1.4.0
  • Updated nsx-prime to 2023.0.0

2022.5.2 (2022-11-15)

Updated

  • Updated model-validations to 2.5.1

2022.5.1 (2022-11-10)

Changed

  • Updated SLF4J to version 2.0.3.

2022.5.0 (2022-11-07)

Added

  • Added update-expansion-settings mojo. This updates the expansion-resources in the expansionSettings.xml to the latest released versions. If the option -DuseDependencies is included, the dependencies in dependencyManagement will be used instead.
  • Added set-expansion-resource mojo. This updates a single expansion-resource to a specific version.

Updated

  • Updated model-transmutations to 1.2.3
  • Updated prime-core to 2022.10.6

2022.4.3 (2022-11-03)

  • Re-release 2022.4.2

2022.4.2 (2022-11-03)

Fixed

expansionResource goal:

  • Fixed order of Features

2022.4.1 (2022-10-06)

Updated

  • Updated model-validations to 2.4.0

2022.4.0 (2022-10-05)

Updated

  • Updated model-validations to 2.3.1
  • Updated metamodel-runtime to 4.11.1
  • Updated prime-core to 2022.9.0

2022.3.0 (2022-09-21)

Added

expansionResource goal:

  • Added exclusions parameter to exclude specific directories from being scanned

Updated

  • Updated prime-core to 2022.8.0

2022.2.3 (2022-09-15)

Updated

  • Updated nsx-prime to 2022.0.1

2022.2.2 (2022-09-05)

Fixed

  • Fixed transmute-model goal not correctly fetching the model-transmutations jar
  • Fixed transmute-model failing if no target folder is present

Updated

  • Updated nsx-prime to 2022.0.0, fixing an issue that caused NullPointerExceptions when using clean expand with a custom program type

2022.2.1 (2022-08-31)

Updated

  • Updated model-transmutations to v1.2.0 to support metamodel transmutations

2022.2.0 (2022-08-23)

Added

  • Added transmute-model goal, to modify the model using model-transmutations

Changed

  • Updated 3rd party dependencies:
    • Libraries:
      • commons-io:commons-io: 2.6 -> 2.11.0
      • junit:junit: 4.13 -> 4.13.2 (test only)
      • org.slf4j:slf4j-simple: 1.7.25 -> 1.7.36

2022.1.6 (2022-05-25)

Updated

  • Updated expansion-resource-development to v1.10.1 to fix an issue that cause validate-data

2022.1.5 (2022-05-16)

Changed

  • The plugin documentation is now deployed as a jar file.

2022.1.4 (2022-05-16)

Fixed

  • Fixed error with a version conflict even if the expansionSettings were valid if a newer prime-core was added.

2022.1.3 (2022-04-27)

Fixed

  • Fixed expansionResources not being fetched during prepareResources()

2022.1.2 (2022-04-27)

Changed

  • Changed classPath resolution so that prime-core can support ClassPathDependencies instead of being a fat jar.

2022.1.1 (2022-04-26)

Fixed

  • Add prime-core dependency only if the project itself is not prime-core

2022.1.0 (2022-04-26)

Added

  • [NSX-300][VEGA-130] Added option to include class-path dependencies in expansion-resource goal. This option requires prime-core 2022.4.0 to work. Hence the build will fail if the prime-core dependency is older than that.

2022.0.1 (2022-04-06)

Fixed

  • Fixed output interleaving with maven log
  • [validate-model] Fixed incomplete output with option printReport
  • [validate-model] Fixed classloading issue

2022.0.0 (2022-04-05)

Added

  • Added validate-model mojo, to validate the model using model-validations.

Fixed

  • canceling expansion via ctrl+c now should terminate the underlying expansion process instead of only terminating the outer maven process

2021.7.0 (2021-11-24)

Changed

  • switched to heartless nsx-prime
    • prime-core and metamodel-runtime are now provided from expansionResource dependencies or expanders-maven-plugin dependencies (whichever is higher)
  • nsx-prime is no longer installed/copied to the target directory
    • instead, the jar in local maven repository is used directly
  • [VEGA-181] expansion-resource mojo no longer requires explicit prime-core/elements-shared dependency

Updated

  • prime-core 2021.6.3 -> 2021.7.0
    • it is now also a direct dependency (instead of just a test dependency)
  • nsx-prime 2021.6.0 -> 2021.7.0
    • switched from jar-with-dependencies to explicitly excluding prime-core and metamodel-runtime (same as heartless)
  • expansion-resource-development 1.8.1 -> 1.9.0

2021.6.0 (2021-11-19)

Updated

  • nsx-prime 2021.5.8 -> 2021.6.0
  • prime-core 2021.5.12 -> 2021.6.3
  • metamodel-runtime 4.1.4 -> 4.1.9

2021.5.13 (2021-10-01)

Updated

  • nsx-prime 2021.5.7 -> 2021.5.8
  • prime-core 2021.5.10 -> 2021.5.12

2021.5.12 (2021-09-29)

Updated

  • nsx-prime 2021.5.6 -> 2021.5.7
  • prime-core 2021.5.9 -> 2021.5.10
  • metamodel-runtime 4.0.1 -> 4.1.4

2021.5.11 (2021-09-28)

Updated

  • nsx-prime 2021.5.5 -> 2021.5.6
  • prime-core 2021.5.8 -> 2021.5.9

2021.5.10 (2021-09-23)

Updated

  • nsx-prime 2021.5.4 -> 2021.5.5
  • prime-core 2021.5.6 -> 2021.5.8

2021.5.9 (2021-09-23)

Fixed

  • Fixed prime-core version not being resolved through transitive dependencies

Added

  • Added output for dependency resolving

2021.5.8 (2021-09-22)

Updated

  • nsx-prime 2021.5.3 -> 2021.5.4
  • prime-core 2021.5.5 -> 2021.5.6

2021.5.7 (2021-09-22)

Updated

  • nsx-prime 2021.5.2 -> 2021.5.3
  • prime-core 2021.5.4 -> 2021.5.5

2021.5.6 (2021-09-20)

Added

  • added expansion.settings user property for expansionSettings property of expand/harvest/... mojos

Updated

  • nsx-prime 2021.5.1 -> 2021.5.2
  • prime-core 2021.5.2 -> 2021.5.4

2021.5.5 (2021-09-15)

Updated

  • nsx-prime 2021.5.0 -> 2021.5.1
  • metamodel-runtime 4.0.0 -> 4.0.1

2021.5.4 (2021-09-10)

Updated

  • nsx-prime 2021.4.3 -> 2021.5.0
  • prime-core 2021.4.2 -> 2021.5.2

2021.5.3 (2021-08-31)

Fixed

  • Fixed list-dependencies requiring project to run

2021.5.2 (2021-08-31)

Updated

  • nsx-prime 2021.4.2 -> 2021.4.3
  • prime-core 2021.4.1 -> 2021.4.2

2021.5.1 (2021-08-23)

Updated

  • nsx-prime 2021.4.1 -> 2021.4.2
  • prime-core 2021.4.0 -> 2021.4.1

2021.5.0 (2021-08-23)

Added

  • Added support for prime-core 2021.4.0

Changed

  • Expansion-resources should now explicitly define a dependency on prime-core. This defines the minimum version of prime-core.

2021.4.1 (2021-07-15)

Updated

  • updated nsx-prime 2021.3.0 -> 2021.3.1

2021.4.0 (2021-07-05)

Updated

  • updated nsx-prime 2021.2.2 -> 2021.3.0

2021.3.2 (2021-07-01)

Updated

  • updated nsx-prime 2021.2.1 -> 2021.2.2

2021.3.1 (2021-06-18)

Updated

  • updated nsx-prime 2021.2.0 -> 2021.2.1
  • updated prime-core 2021.2.1 -> 2021.2.2

Fixed

  • Fixed support for non-semver versions in expansion-resources

2021.3.0 (2021-06-15)

Updated

  • updated nsx-prime 2021.1.1 -> 2021.2.0
  • updated prime-core 2021.1.2 -> 2021.2.1

2021.2.0 (2021-06-04)

Removed

  • Removed deprecated net.democritus groupId redeployment
    • Use net.democritus.maven.plugins only

2021.1.1 (2021-04-30)

Updated

  • updated nsx-prime 2021.1.0 -> 2021.1.1

2021.1.0 (2021-04-15)

Updated

  • updated nsx-prime 2021.0.0 -> 2021.1.0
  • updated prime-core 2020.13.2 -> 2021.1.2

2021.0.0 (2021-04-09)

Added

  • Added ListDependencies mojo to list all ExpansionResources of an ExpansionResource project, ExpansionSettings, or an Expansion trace zip

Updated

  • updated nsx-prime 2020.12.0 -> 2021.0.0
  • updated nsx-runtime 2020.9.0 -> 2021.0.0

Removed

  • removed support for Expanders <4.4.x (in line with changes in nsx-prime 2021.0.0)
  • removed expansion.debug.port parameter (use expansion.debug.address instead)
  • migrated mojo jacoco to expansion-validation-maven-plugin

2020.18.1 (2021-03-29)

Fixed

  • Fixed jacoco filter crashing on matching tested generated files

2020.18.0 (2021-01-11)

Changed

  • debugPort option is now replaced with debugAddress. This can be set to <port> or <hostname>:<port> (when working with java 9+).

2020.17.0 (2021-01-06)

Removed

  • Removed distributionManagement relocation to new groupId
    • this should address the issue of using wrong plugin groupId/version

2020.16.0 (2020-12-02)

Added

  • Added support for description fields in ExpansionResource, Expander and AdditionalExpansionStep

Updated

  • updated nsx-prime 2020.11.1 -> 2020.12.0

2020.15.0 (2020-10-29)

Updated

  • updated nsx-prime 2020.10.0 -> 2020.11.1

2020.14.0 (2020-10-28)

Added

  • Added option expansion.debug.port to allow for debug during expansion

Updated

  • updated nsx-prime 2020.9.4 -> 2020.10.0

2020.13.4 (2020-10-21)

Updated

  • updated nsx-prime 2020.9.2 -> 2020.9.4

2020.13.3 (2020-10-20)

Fixed

  • Fixed expansionSettings, expandPom, pluginVersion, and mavenBuildDir parameters being read-only

2020.13.2 (2020-10-19)

Fixed

  • Fixed rootDirectory of ExpansionResourceMojo being read-only

2020.13.1 (2020-10-19)

Fixed

  • Fixed expansionSettings loading changes to maintain compatibility with different nsx-prime versions

2020.13.0 (2020-10-16)

Changed

  • groupId change
    • expanders-maven-plugin now uses groupId net.democritus.maven.plugins
    • to ease the transition, we will continue to deploy under the old groupId for the time being

2020.12.1 (2020-10-12)

Fixed

  • [expansion-resource] The generated elements version is now also based on any prime-core dependency in the project

2020.12.0 (2020-09-08)

Changed

  • Uses nsx-prime 2020.9.x, which introduces prime-core

Fixed

  • [expansion-resource] Fixed an issue where multiple versions of the same expansion-resource dependency would not be pruned before generating a new expansion-resource manifest

2020.11.3 (2020-10-09)

Updated

  • Updated nsx-parent 2019.5 -> 2020.9.1

Fixed

  • Fixed resolution throwing NullPointerException when expansionSettings file is missing

2020.11.2 (2020-09-29)

Updated

  • Updated nsx-prime 2020.8.5 -> 2020.8.6

2020.11.1 (2020-09-25)

Updated

  • nsx-prime 2020.8.4 -> 2020.8.5

2020.11.0 (2020-09-08)

Added

  • added init-project goal that generates a pom-expand.xml file for new nsx projects
  • added experimental jacoco goal to filter custom code in jacoco reports

Fixed

  • different versions of the same expansion-resource are now filtered out of the dependencies when generating a manifest

2020.10.0 (2020-07-09)

  • added skipExpansion support for skipping expand mojo (use -Dexpansion.skip=true on command line)
  • added experimental primeTask for running arbitrary nsx-prime tasks

2020.9.0 (2020-06-15)

  • nsx-prime is now invoked directly with java, instead of going through it's nsf.sh/nsf.bat scripts
  • added sl4j to classpath when invoking nsx-prime
  • running maven in debug mode now sets nsx-prime's logging to debug mode
  • For expansionResource mojo:
    • Fixed issues with transitive dependency where the dependency was set to "provided" in the original project
    • filter out duplicate dependencies

2020.8.0 (2020-05-29)

  • Added experimental nsfArgs to customize nsx-prime invocation
  • Updated dependencies
  • Fixed ExpansionResource mojo not using external maven to fetch artifacts
  • Fixed edge-case where cmd.exe was somehow no in %PATH% by using %CompSpec% and %SystemRoot% instead
  • Removed support for useInternalMaven (= maven invoker inside nsx-prime)

2020.6.0 (2020-04-14)

  • Minimal required maven is 3.5.4
  • Added useInternalMaven configuration to expand and harvest mojos to manage dependencies from maven plugin instead of nsx-prime
    • has no effect on nsx-prime <2020.6.0
  • Removed InstallMojo

2020.5.1 (2020-03-26)

  • Updated to Java8 runtime

2020.3.5 (2020-03-06)

  • Added validate-data mojo

2020.3.1 (2020-02-21)

  • Expansion-resource mojo configuration and behavior is now more in sync with harvest & expand mojos.

2020.1.0 (2020-01-22)

  • Added expansionResource mojo

2019.8.2 (2020-01-06)

  • nsfInstallation versions are configurable
  • maven settings.xml used by nsx-prime can be configured to be empty or custom
  • fixed harvest mojo ignoring clean flag
  • automatically set MAVEN_HOME to be used by nsx-prime

2019.8.0 (2019-12-06)

  • Updated nsx-prime to 2019.8.0
  • Added install mojo