Branch: refs/heads/feature-deploy-snapshotextension
Home:
https://github.com/xwiki/xwiki-commons
Commit: 087dd1160659b20dd10dbd80542a854ac3038017
https://github.com/xwiki/xwiki-commons/commit/087dd1160659b20dd10dbd80542a8…
Author: Thomas Mortagne <thomas.mortagne(a)gmail.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/job/internal/AbstractExtensionJob.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/job/internal/InstallJob.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/job/plan/ExtensionPlanAction.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/job/plan/internal/DefaultExtensionPlanAction.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/repository/internal/local/DefaultLocalExtension.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/repository/internal/local/DefaultLocalExtensionRepository.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/version/Version.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/version/internal/DefaultVersion.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/main/java/org/xwiki/extension/version/internal/DefaultVersionConstraint.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/test/java/org/xwiki/extension/job/internal/InstallPlanJobTest.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/test/java/org/xwiki/extension/repository/local/DefaultLocalExtensionRepositoryTest.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/test/java/org/xwiki/extension/test/TestVersion.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-api/src/test/java/org/xwiki/extension/version/internal/DefaultVersionTest.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/main/java/org/xwiki/extension/repository/aether/internal/AetherExtensionRepository.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/main/java/org/xwiki/extension/repository/aether/internal/AetherUtils.java
M
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/java/org/xwiki/extension/repository/aether/internal/AetherDefaultRepositoryManagerTest.java
A
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/resources/repository/maven/lgroupid/lartifactid/1.0-SNAPSHOT/lartifactid-1.0-SNAPSHOT.pom
A
xwiki-commons-core/xwiki-commons-extension/xwiki-commons-extension-repositories/xwiki-commons-extension-repository-maven/src/test/resources/repository/maven/lgroupid/lartifactid/1.0-SNAPSHOT/lartifactid-1.0-SNAPSHOT.type
Log Message:
-----------
XCOMMONS-2748: Allow upgrading a SNAPSHOT extension to a more recent build
* recognize properly timestamped versions as SNAPSHOT
* make timestamped versions lower than SNAPSHOT
* store SNAPSHOT extension with a timestamp so that they can be upgraded to latest
SNAPSHOT
* Fix DefaultVersion not being thread-safe
* introduce an API to access the version as expressed in the source