expanders-maven-plugin
2024.7.0 (2024-12-03)
Added
- [expansion-resource] Added option
includeTransitiveClassPathDependencies
which can be set to false to exclude transitive dependencies from the class-path dependencies. It is recommended to set this to false, but it is
enabled by default for backwards compatibility.
2024.6.1 (2024-11-28)
Changed
- Update nsx-prime to 2024.0.1. This fixes issues with
.cleanExclude
so the root expansionDirectory can also be excluded.
2024.6.0 (2024-11-08)
Changed
- Update prime-core to 2024.8.0, which fixes a bug in set-model-version where it cause options to be copied from ApplicationInstance to Application.
2024.5.0 (2024-10-14)
Added
- Update nsx-prime to 2024.0.0. This adds support for
.cleanExclude
files in the expansionDirectory. A.cleanExclude
file can list directories which should not be deleted.# Do not clean node_modules
node_modules
2024.4.0 (2024-09-03)
Added
- Added
configure-test-classpath
goal. This goal updates the classpath before running tests in order to prevent conflicts.
2024.3.2 (2024-08-06)
Fixed
- [NSX-509] [NSX-510] [expansion-resource] Fixed an issue where a direct dependency on a SNAPSHOT version was incorrectly pruned.
2024.3.1 (2024-08-05)
Fixed
- [NSX-504] [expansion-resource] Dependencies on ExpansionResources that are replaced by others are now correctly pruned.
2024.3.0 (2024-07-12)
Added
- [expansion-resource] Added support for new fields (title, replaces, sortName, labels) which can be defined in the
configuration:
<plugin>
<groupId>net.democritus.maven.plugins</groupId>
<artifactId>expanders-maven-plugin</artifactId>
<version>${expanders-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>expansionResource</goal>
</goals>
<configuration>
<details>
<title>My expanders</title>
<sortName>my-expanders,net.demo</sortName>
<replaces>org.normalizedsystems:my-other-expanders</replaces>
<labels>
<label>expanders</label>
<label>experimental</label>
<label>jee</label>
</labels>
</details>
</configuration>
</execution>
</executions>
</plugin>
Changed
- [expansion-resource] Transitive dependencies are now marked as transitive.
2024.2.1 (2024-05-30)
Fixed
- Fixed an issue causing classPath conflicts when running
validate-model
ortransmute-model
. The plugin now checks the model-validations/model-transmutations versions used in the expansionSettings and uses that version.
2024.2.0 (2024-05-30)
Changed
- Updated model-transmutations to 2.4.1
- Updated model-validations to 3.6.0
- Updated prime-core to 2024.3.8
2024.1.0 (2024-04-08)
Changed
transmute-model
andvalidate-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
intransmute-model
andvalidate-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 theincludeClassPathDependencies
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
tovalidate-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.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 separatemaven-plugin-report-plugin
plugin. ( See MPLUGIN-467)
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 toprocess-classes
phase, so that it runs aftergenerate-resources
andcompile
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.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.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.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.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
- Libraries:
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.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.2 (2022-04-27)
Changed
- Changed classPath resolution so that prime-core can support ClassPathDependencies instead of being a fat jar.
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.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.9 (2021-09-23)
Fixed
- Fixed prime-core version not being resolved through transitive dependencies
Added
- Added output for dependency resolving
2021.5.6 (2021-09-20)
Added
- added
expansion.settings
user property forexpansionSettings
property of expand/harvest/... mojos
Updated
- nsx-prime 2021.5.1 -> 2021.5.2
- prime-core 2021.5.2 -> 2021.5.4
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.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
- Use
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 (useexpansion.debug.address
instead) - migrated mojo
jacoco
toexpansion-validation-maven-plugin
2020.18.0 (2021-01-11)
Changed
debugPort
option is now replaced withdebugAddress
. 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.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.3 (2020-10-20)
Fixed
- Fixed expansionSettings, expandPom, pluginVersion, and mavenBuildDir parameters 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
- expanders-maven-plugin now uses groupId
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