From dafa77d0a08d9a65fbdcfda151e4e27cf851f7b7 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Wed, 22 Mar 2023 16:54:01 +0000 Subject: [PATCH 1/3] ACS-4863 Allow referencing nodes by aliases for tag and category application. (#1822) --- .../rest/api/impl/CategoriesImpl.java | 6 +- .../org/alfresco/rest/api/impl/TagsImpl.java | 83 ++++++++---------- .../rest/api/impl/CategoriesImplTest.java | 20 ++--- .../alfresco/rest/api/impl/TagsImplTest.java | 87 ++++++++++++++++--- 4 files changed, 125 insertions(+), 71 deletions(-) diff --git a/remote-api/src/main/java/org/alfresco/rest/api/impl/CategoriesImpl.java b/remote-api/src/main/java/org/alfresco/rest/api/impl/CategoriesImpl.java index e78f7856d4..7023d2625b 100644 --- a/remote-api/src/main/java/org/alfresco/rest/api/impl/CategoriesImpl.java +++ b/remote-api/src/main/java/org/alfresco/rest/api/impl/CategoriesImpl.java @@ -189,7 +189,7 @@ public class CategoriesImpl implements Categories @Override public List listCategoriesForNode(final String nodeId, final Parameters parameters) { - final NodeRef contentNodeRef = nodes.validateNode(nodeId); + final NodeRef contentNodeRef = nodes.validateOrLookupNode(nodeId, null); verifyReadPermission(contentNodeRef); verifyNodeType(contentNodeRef); @@ -211,7 +211,7 @@ public class CategoriesImpl implements Categories throw new InvalidArgumentException(NOT_A_VALID_CATEGORY); } - final NodeRef contentNodeRef = nodes.validateNode(nodeId); + final NodeRef contentNodeRef = nodes.validateOrLookupNode(nodeId, null); verifyChangePermission(contentNodeRef); verifyNodeType(contentNodeRef); @@ -237,7 +237,7 @@ public class CategoriesImpl implements Categories public void unlinkNodeFromCategory(final StoreRef storeRef, final String nodeId, final String categoryId, final Parameters parameters) { final NodeRef categoryNodeRef = getCategoryNodeRef(storeRef, categoryId); - final NodeRef contentNodeRef = nodes.validateNode(nodeId); + final NodeRef contentNodeRef = nodes.validateOrLookupNode(nodeId, null); verifyChangePermission(contentNodeRef); verifyNodeType(contentNodeRef); diff --git a/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java b/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java index e6fec46b07..d703b86262 100644 --- a/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java +++ b/remote-api/src/main/java/org/alfresco/rest/api/impl/TagsImpl.java @@ -25,11 +25,12 @@ */ package org.alfresco.rest.api.impl; +import static java.util.stream.Collectors.toList; + import static org.alfresco.rest.antlr.WhereClauseParser.EQUALS; import static org.alfresco.rest.antlr.WhereClauseParser.IN; import static org.alfresco.rest.antlr.WhereClauseParser.MATCHES; -import java.util.AbstractList; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -114,44 +115,30 @@ public class TagsImpl implements Tags this.authorityService = authorityService; } - public List addTags(String nodeId, final List tags) - { - NodeRef nodeRef = nodes.validateNode(nodeId); - if(!typeConstraint.matches(nodeRef)) - { - throw new UnsupportedResourceOperationException("Cannot tag this node"); - } + public List addTags(String nodeId, final List tags) + { + NodeRef nodeRef = nodes.validateOrLookupNode(nodeId, null); + if (!typeConstraint.matches(nodeRef)) + { + throw new UnsupportedResourceOperationException("Cannot tag this node"); + } - List tagValues = new AbstractList() + List tagValues = tags.stream().map(Tag::getTag).collect(toList()); + try + { + List> tagNodeRefs = taggingService.addTags(nodeRef, tagValues); + List ret = new ArrayList<>(tags.size()); + for (Pair pair : tagNodeRefs) { - @Override - public String get(int arg0) - { - String tag = tags.get(arg0).getTag(); - return tag; - } - - @Override - public int size() - { - return tags.size(); - } - }; - try - { - List> tagNodeRefs = taggingService.addTags(nodeRef, tagValues); - List ret = new ArrayList(tags.size()); - for(Pair pair : tagNodeRefs) - { - ret.add(new Tag(pair.getSecond(), pair.getFirst())); - } - return ret; + ret.add(new Tag(pair.getSecond(), pair.getFirst())); } - catch(IllegalArgumentException e) - { - throw new InvalidArgumentException(e.getMessage()); - } - } + return ret; + } + catch (IllegalArgumentException e) + { + throw new InvalidArgumentException(e.getMessage()); + } + } public void deleteTag(String nodeId, String tagId) { @@ -254,17 +241,17 @@ public class TagsImpl implements Tags public CollectionWithPagingInfo getTags(String nodeId, Parameters params) { - NodeRef nodeRef = nodes.validateNode(nodeId); - PagingResults> results = taggingService.getTags(nodeRef, Util.getPagingRequest(params.getPaging())); - Integer totalItems = results.getTotalResultCount().getFirst(); - List> page = results.getPage(); - List tags = new ArrayList(page.size()); - for(Pair pair : page) - { - tags.add(new Tag(pair.getFirst(), pair.getSecond())); - } + NodeRef nodeRef = nodes.validateOrLookupNode(nodeId, null); + PagingResults> results = taggingService.getTags(nodeRef, Util.getPagingRequest(params.getPaging())); + Integer totalItems = results.getTotalResultCount().getFirst(); + List> page = results.getPage(); + List tags = new ArrayList<>(page.size()); + for(Pair pair : page) + { + tags.add(new Tag(pair.getFirst(), pair.getSecond())); + } - return CollectionWithPagingInfo.asPaged(params.getPaging(), tags, results.hasMoreItems(), (totalItems == null ? null : totalItems.intValue())); + return CollectionWithPagingInfo.asPaged(params.getPaging(), tags, results.hasMoreItems(), (totalItems == null ? null : totalItems.intValue())); } @Experimental @@ -276,7 +263,7 @@ public class TagsImpl implements Tags .filter(Objects::nonNull) .map(Tag::getTag) .distinct() - .collect(Collectors.toList()); + .collect(toList()); if (CollectionUtils.isEmpty(tagNames)) { @@ -290,7 +277,7 @@ public class TagsImpl implements Tags { tag.setCount(0); } - }).collect(Collectors.toList()); + }).collect(toList()); } private void verifyAdminAuthority() diff --git a/remote-api/src/test/java/org/alfresco/rest/api/impl/CategoriesImplTest.java b/remote-api/src/test/java/org/alfresco/rest/api/impl/CategoriesImplTest.java index 575f0cc0dc..1c7445cb6d 100644 --- a/remote-api/src/test/java/org/alfresco/rest/api/impl/CategoriesImplTest.java +++ b/remote-api/src/test/java/org/alfresco/rest/api/impl/CategoriesImplTest.java @@ -128,7 +128,7 @@ public class CategoriesImplTest { given(authorityServiceMock.hasAdminAuthority()).willReturn(true); given(nodesMock.validateNode(CATEGORY_ID)).willReturn(CATEGORY_NODE_REF); - given(nodesMock.validateNode(CONTENT_NODE_ID)).willReturn(CONTENT_NODE_REF); + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willReturn(CONTENT_NODE_REF); given(nodesMock.isSubClass(any(), any(), anyBoolean())).willReturn(true); given(typeConstraint.matches(any())).willReturn(true); given(permissionServiceMock.hasReadPermission(any())).willReturn(AccessStatus.ALLOWED); @@ -900,7 +900,7 @@ public class CategoriesImplTest // when final List actualLinkedCategories = objectUnderTest.linkNodeToCategories(CONTENT_NODE_ID, categoryLinks, parametersMock); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(permissionServiceMock).should().hasPermission(CONTENT_NODE_REF, PermissionService.CHANGE_PERMISSIONS); then(permissionServiceMock).shouldHaveNoMoreInteractions(); then(typeConstraint).should().matches(CONTENT_NODE_REF); @@ -1011,12 +1011,12 @@ public class CategoriesImplTest @Test public void testLinkNodeToCategories_withInvalidNodeId() { - given(nodesMock.validateNode(CONTENT_NODE_ID)).willThrow(EntityNotFoundException.class); + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willThrow(EntityNotFoundException.class); // when final Throwable actualException = catchThrowable(() -> objectUnderTest.linkNodeToCategories(CONTENT_NODE_ID, List.of(CATEGORY), parametersMock)); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(permissionServiceMock).shouldHaveNoInteractions(); then(nodeServiceMock).shouldHaveNoInteractions(); assertThat(actualException) @@ -1031,7 +1031,7 @@ public class CategoriesImplTest // when final Throwable actualException = catchThrowable(() -> objectUnderTest.linkNodeToCategories(CONTENT_NODE_ID, List.of(CATEGORY), parametersMock)); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(permissionServiceMock).should().hasPermission(CONTENT_NODE_REF, PermissionService.CHANGE_PERMISSIONS); then(nodeServiceMock).shouldHaveNoInteractions(); assertThat(actualException) @@ -1118,7 +1118,7 @@ public class CategoriesImplTest objectUnderTest.unlinkNodeFromCategory(CONTENT_NODE_ID, CATEGORY_ID, parametersMock); then(nodesMock).should().validateNode(CATEGORY_ID); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(permissionServiceMock).should().hasPermission(CONTENT_NODE_REF, PermissionService.CHANGE_PERMISSIONS); then(permissionServiceMock).shouldHaveNoMoreInteractions(); then(typeConstraint).should().matches(CONTENT_NODE_REF); @@ -1155,7 +1155,7 @@ public class CategoriesImplTest // when final List actualCategories = objectUnderTest.listCategoriesForNode(CONTENT_NODE_ID, parametersMock); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(permissionServiceMock).should().hasReadPermission(CONTENT_NODE_REF); then(permissionServiceMock).shouldHaveNoMoreInteractions(); then(typeConstraint).should().matches(CONTENT_NODE_REF); @@ -1176,12 +1176,12 @@ public class CategoriesImplTest @Test public void testListCategoriesForNode_withInvalidNodeId() { - given(nodesMock.validateNode(CONTENT_NODE_ID)).willThrow(EntityNotFoundException.class); + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willThrow(EntityNotFoundException.class); // when final Throwable actualException = catchThrowable(() -> objectUnderTest.listCategoriesForNode(CONTENT_NODE_ID, parametersMock)); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(nodeServiceMock).shouldHaveNoInteractions(); assertThat(actualException) .isInstanceOf(EntityNotFoundException.class); @@ -1195,7 +1195,7 @@ public class CategoriesImplTest // when final Throwable actualException = catchThrowable(() -> objectUnderTest.listCategoriesForNode(CONTENT_NODE_ID, parametersMock)); - then(nodesMock).should().validateNode(CONTENT_NODE_ID); + then(nodesMock).should().validateOrLookupNode(CONTENT_NODE_ID, null); then(permissionServiceMock).should().hasReadPermission(CONTENT_NODE_REF); then(nodeServiceMock).shouldHaveNoInteractions(); assertThat(actualException) diff --git a/remote-api/src/test/java/org/alfresco/rest/api/impl/TagsImplTest.java b/remote-api/src/test/java/org/alfresco/rest/api/impl/TagsImplTest.java index 8b668abef1..f874db09e2 100644 --- a/remote-api/src/test/java/org/alfresco/rest/api/impl/TagsImplTest.java +++ b/remote-api/src/test/java/org/alfresco/rest/api/impl/TagsImplTest.java @@ -25,6 +25,8 @@ */ package org.alfresco.rest.api.impl; +import static java.util.stream.Collectors.toList; + import static org.alfresco.rest.api.impl.TagsImpl.NOT_A_VALID_TAG; import static org.alfresco.rest.api.impl.TagsImpl.NO_PERMISSION_TO_MANAGE_A_TAG; import static org.alfresco.service.cmr.repository.StoreRef.STORE_REF_WORKSPACE_SPACESSTORE; @@ -41,7 +43,6 @@ import static org.mockito.BDDMockito.then; import java.util.Collections; import java.util.List; import java.util.Set; -import java.util.stream.Collectors; import org.alfresco.query.PagingRequest; import org.alfresco.query.PagingResults; @@ -50,6 +51,7 @@ import org.alfresco.rest.api.model.Tag; import org.alfresco.rest.framework.core.exceptions.EntityNotFoundException; import org.alfresco.rest.framework.core.exceptions.InvalidArgumentException; import org.alfresco.rest.framework.core.exceptions.PermissionDeniedException; +import org.alfresco.rest.framework.core.exceptions.UnsupportedResourceOperationException; import org.alfresco.rest.framework.resource.parameters.CollectionWithPagingInfo; import org.alfresco.rest.framework.resource.parameters.Paging; import org.alfresco.rest.framework.resource.parameters.Parameters; @@ -63,6 +65,7 @@ import org.alfresco.service.cmr.repository.StoreRef; import org.alfresco.service.cmr.security.AuthorityService; import org.alfresco.service.cmr.tagging.TaggingService; import org.alfresco.util.Pair; +import org.alfresco.util.TypeConstraint; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @@ -77,7 +80,9 @@ public class TagsImplTest private static final String PARENT_NODE_ID = "tag:tag-root"; private static final String TAG_NAME = "tag-dummy-name"; private static final NodeRef TAG_NODE_REF = new NodeRef(STORE_REF_WORKSPACE_SPACESSTORE, TAG_ID.concat("-").concat(TAG_NAME)); - private static final NodeRef TAG_PARENT_NODE_REF = new NodeRef(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, PARENT_NODE_ID); + private static final NodeRef TAG_PARENT_NODE_REF = new NodeRef(STORE_REF_WORKSPACE_SPACESSTORE, PARENT_NODE_ID); + private static final String CONTENT_NODE_ID = "content-node-id"; + private static final NodeRef CONTENT_NODE_REF = new NodeRef(STORE_REF_WORKSPACE_SPACESSTORE, CONTENT_NODE_ID); private final RecognizedParamsExtractor queryExtractor = new RecognizedParamsExtractor() {}; @@ -97,6 +102,8 @@ public class TagsImplTest private Paging pagingMock; @Mock private PagingResults> pagingResultsMock; + @Mock + private TypeConstraint typeConstraintMock; @InjectMocks private TagsImpl objectUnderTest; @@ -122,7 +129,7 @@ public class TagsImplTest then(taggingServiceMock).should().getTags(eq(STORE_REF_WORKSPACE_SPACESSTORE), any(PagingRequest.class), isNull(), isNull()); then(taggingServiceMock).shouldHaveNoMoreInteractions(); - final List expectedTags = createTagsWithNodeRefs(List.of(TAG_NAME)).stream().peek(tag -> tag.setCount(0)).collect(Collectors.toList()); + final List expectedTags = createTagsWithNodeRefs(List.of(TAG_NAME)).stream().peek(tag -> tag.setCount(0)).collect(toList()); assertEquals(expectedTags, actualTags.getCollection()); } @@ -140,7 +147,7 @@ public class TagsImplTest then(taggingServiceMock).should().findTaggedNodesAndCountByTagName(STORE_REF_WORKSPACE_SPACESSTORE); final List expectedTags = createTagsWithNodeRefs(List.of(TAG_NAME)).stream() .peek(tag -> tag.setCount(0)) - .collect(Collectors.toList()); + .collect(toList()); assertEquals(expectedTags, actualTags.getCollection()); } @@ -395,7 +402,7 @@ public class TagsImplTest final List expectedTags = createTagsWithNodeRefs(tagNames).stream() .peek(tag -> tag.setCount(0)) - .collect(Collectors.toList()); + .collect(toList()); assertThat(actualCreatedTags) .isNotNull() .isEqualTo(expectedTags); @@ -405,18 +412,78 @@ public class TagsImplTest public void testGetTagByIdNotFoundValidation() { given(primaryParentMock.getParentRef()).willReturn(TAG_NODE_REF); - objectUnderTest.getTag(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE,TAG_ID); + objectUnderTest.getTag(STORE_REF_WORKSPACE_SPACESSTORE,TAG_ID); then(nodeServiceMock).shouldHaveNoInteractions(); - then(nodesMock).should().validateNode(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE, TAG_ID); + then(nodesMock).should().validateNode(STORE_REF_WORKSPACE_SPACESSTORE, TAG_ID); then(nodesMock).shouldHaveNoMoreInteractions(); then(taggingServiceMock).shouldHaveNoInteractions(); } + @Test + public void testAddTags() + { + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willReturn(CONTENT_NODE_REF); + given(typeConstraintMock.matches(CONTENT_NODE_REF)).willReturn(true); + List> pairs = List.of(new Pair<>("tagA", new NodeRef("tag://A/")), new Pair<>("tagB", new NodeRef("tag://B/"))); + List tagNames = pairs.stream().map(Pair::getFirst).collect(toList()); + List tags = tagNames.stream().map(name -> Tag.builder().tag(name).create()).collect(toList()); + given(taggingServiceMock.addTags(CONTENT_NODE_REF, tagNames)).willReturn(pairs); + + List actual = objectUnderTest.addTags(CONTENT_NODE_ID, tags); + + List expected = pairs.stream().map(pair -> new Tag(pair.getSecond(), pair.getFirst())).collect(toList()); + assertEquals("Unexpected tags returned.", expected, actual); + } + + @Test(expected = InvalidArgumentException.class) + public void testAddTagsToInvalidNode() + { + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willThrow(new InvalidArgumentException()); + List tags = List.of(Tag.builder().tag("tag1").create()); + + objectUnderTest.addTags(CONTENT_NODE_ID, tags); + } + + @Test(expected = UnsupportedResourceOperationException.class) + public void testAddTagsToWrongTypeOfNode() + { + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willReturn(CONTENT_NODE_REF); + given(typeConstraintMock.matches(CONTENT_NODE_REF)).willReturn(false); + + List tags = List.of(Tag.builder().tag("tag1").create()); + + objectUnderTest.addTags(CONTENT_NODE_ID, tags); + } + + @Test + public void testGetTagsForNode() + { + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willReturn(CONTENT_NODE_REF); + given(parametersMock.getPaging()).willReturn(pagingMock); + List> pairs = List.of(new Pair<>(new NodeRef("tag://A/"), "tagA"), new Pair<>(new NodeRef("tag://B/"), "tagB")); + given(taggingServiceMock.getTags(eq(CONTENT_NODE_REF), any(PagingRequest.class))).willReturn(pagingResultsMock); + given(pagingResultsMock.getTotalResultCount()).willReturn(new Pair<>(null, null)); + given(pagingResultsMock.getPage()).willReturn(pairs); + + CollectionWithPagingInfo actual = objectUnderTest.getTags(CONTENT_NODE_ID, parametersMock); + + List tags = pairs.stream().map(pair -> Tag.builder().tag(pair.getSecond()).nodeRef(pair.getFirst()).create()).collect(toList()); + assertEquals(actual.getCollection(), tags); + } + + @Test (expected = InvalidArgumentException.class) + public void testGetTagsFromInvalidNode() + { + given(nodesMock.validateOrLookupNode(CONTENT_NODE_ID, null)).willThrow(new InvalidArgumentException()); + + objectUnderTest.getTags(CONTENT_NODE_ID, parametersMock); + } + private static List> createTagAndNodeRefPairs(final List tagNames) { return tagNames.stream() .map(tagName -> createPair(tagName, new NodeRef(STORE_REF_WORKSPACE_SPACESSTORE, TAG_ID.concat("-").concat(tagName)))) - .collect(Collectors.toList()); + .collect(toList()); } private static Pair createPair(final String tagName, final NodeRef nodeRef) @@ -426,12 +493,12 @@ public class TagsImplTest private static List createTags(final List tagNames) { - return tagNames.stream().map(TagsImplTest::createTag).collect(Collectors.toList()); + return tagNames.stream().map(TagsImplTest::createTag).collect(toList()); } private static List createTagsWithNodeRefs(final List tagNames) { - return tagNames.stream().map(TagsImplTest::createTagWithNodeRef).collect(Collectors.toList()); + return tagNames.stream().map(TagsImplTest::createTagWithNodeRef).collect(toList()); } private static Tag createTag(final String tagName) From 808a7c67b7be8beee6b111914a0136be16804854 Mon Sep 17 00:00:00 2001 From: alfresco-build <8039454+alfresco-build@users.noreply.github.com> Date: Wed, 22 Mar 2023 17:39:45 +0000 Subject: [PATCH 2/3] [maven-release-plugin][skip ci] prepare release 20.114 --- amps/ags/pom.xml | 2 +- amps/ags/rm-automation/pom.xml | 2 +- .../rm-automation/rm-automation-community-rest-api/pom.xml | 2 +- amps/ags/rm-community/pom.xml | 2 +- amps/ags/rm-community/rm-community-repo/pom.xml | 2 +- amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml | 2 +- amps/pom.xml | 2 +- amps/share-services/pom.xml | 2 +- core/pom.xml | 2 +- data-model/pom.xml | 2 +- mmt/pom.xml | 2 +- packaging/distribution/pom.xml | 2 +- packaging/docker-alfresco/pom.xml | 2 +- packaging/pom.xml | 2 +- packaging/tests/pom.xml | 2 +- packaging/tests/tas-cmis/pom.xml | 2 +- packaging/tests/tas-email/pom.xml | 2 +- packaging/tests/tas-integration/pom.xml | 2 +- packaging/tests/tas-restapi/pom.xml | 2 +- packaging/tests/tas-webdav/pom.xml | 2 +- packaging/war/pom.xml | 2 +- pom.xml | 4 ++-- remote-api/pom.xml | 2 +- repository/pom.xml | 2 +- 24 files changed, 25 insertions(+), 25 deletions(-) diff --git a/amps/ags/pom.xml b/amps/ags/pom.xml index 1fb3fd2eb7..3932e7822a 100644 --- a/amps/ags/pom.xml +++ b/amps/ags/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-amps - 20.114-SNAPSHOT + 20.114 diff --git a/amps/ags/rm-automation/pom.xml b/amps/ags/rm-automation/pom.xml index 5ac388a192..5d9371771a 100644 --- a/amps/ags/rm-automation/pom.xml +++ b/amps/ags/rm-automation/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-community-parent - 20.114-SNAPSHOT + 20.114 diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml index 224c649f69..342155be45 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-automation-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/amps/ags/rm-community/pom.xml b/amps/ags/rm-community/pom.xml index 7df662b295..2025ea0a67 100644 --- a/amps/ags/rm-community/pom.xml +++ b/amps/ags/rm-community/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-community-parent - 20.114-SNAPSHOT + 20.114 diff --git a/amps/ags/rm-community/rm-community-repo/pom.xml b/amps/ags/rm-community/rm-community-repo/pom.xml index 01267806ac..92f96109f6 100644 --- a/amps/ags/rm-community/rm-community-repo/pom.xml +++ b/amps/ags/rm-community/rm-community-repo/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-governance-services-community-repo-parent - 20.114-SNAPSHOT + 20.114 diff --git a/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml b/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml index ba40ba894c..717638994d 100644 --- a/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml +++ b/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-community-repo-parent - 20.114-SNAPSHOT + 20.114 diff --git a/amps/pom.xml b/amps/pom.xml index 271728898e..a8148bae6d 100644 --- a/amps/pom.xml +++ b/amps/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/amps/share-services/pom.xml b/amps/share-services/pom.xml index ef8df7d403..43be54a340 100644 --- a/amps/share-services/pom.xml +++ b/amps/share-services/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-community-repo-amps - 20.114-SNAPSHOT + 20.114 diff --git a/core/pom.xml b/core/pom.xml index 0f43cee191..90df58d6c1 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/data-model/pom.xml b/data-model/pom.xml index e0ca63bfe4..fc6032020e 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/mmt/pom.xml b/mmt/pom.xml index 1dee562aac..db83c95e52 100644 --- a/mmt/pom.xml +++ b/mmt/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/distribution/pom.xml b/packaging/distribution/pom.xml index e1f97bce0c..d4b7eed3ef 100644 --- a/packaging/distribution/pom.xml +++ b/packaging/distribution/pom.xml @@ -9,6 +9,6 @@ org.alfresco alfresco-community-repo-packaging - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/docker-alfresco/pom.xml b/packaging/docker-alfresco/pom.xml index 11e37c2f8e..7ff171ab52 100644 --- a/packaging/docker-alfresco/pom.xml +++ b/packaging/docker-alfresco/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-packaging - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/pom.xml b/packaging/pom.xml index 0b169769da..a80845885c 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/tests/pom.xml b/packaging/tests/pom.xml index 7e6ebe6b6a..9338470bc7 100644 --- a/packaging/tests/pom.xml +++ b/packaging/tests/pom.xml @@ -6,7 +6,7 @@ org.alfresco alfresco-community-repo-packaging - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/tests/tas-cmis/pom.xml b/packaging/tests/tas-cmis/pom.xml index e6c2791092..be6996dbeb 100644 --- a/packaging/tests/tas-cmis/pom.xml +++ b/packaging/tests/tas-cmis/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-tests - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/tests/tas-email/pom.xml b/packaging/tests/tas-email/pom.xml index 05562bca8c..ea0d2a84cb 100644 --- a/packaging/tests/tas-email/pom.xml +++ b/packaging/tests/tas-email/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-community-repo-tests - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/tests/tas-integration/pom.xml b/packaging/tests/tas-integration/pom.xml index c60a8be048..efb45e0407 100644 --- a/packaging/tests/tas-integration/pom.xml +++ b/packaging/tests/tas-integration/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-community-repo-tests - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/tests/tas-restapi/pom.xml b/packaging/tests/tas-restapi/pom.xml index 6fb383b2d5..9102c99229 100644 --- a/packaging/tests/tas-restapi/pom.xml +++ b/packaging/tests/tas-restapi/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-community-repo-tests - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/tests/tas-webdav/pom.xml b/packaging/tests/tas-webdav/pom.xml index ea88a0750c..dad79e66ba 100644 --- a/packaging/tests/tas-webdav/pom.xml +++ b/packaging/tests/tas-webdav/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-community-repo-tests - 20.114-SNAPSHOT + 20.114 diff --git a/packaging/war/pom.xml b/packaging/war/pom.xml index 7998d6234d..d58aa7f24d 100644 --- a/packaging/war/pom.xml +++ b/packaging/war/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-packaging - 20.114-SNAPSHOT + 20.114 diff --git a/pom.xml b/pom.xml index 9a90987857..e5672b8229 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 alfresco-community-repo - 20.114-SNAPSHOT + 20.114 pom Alfresco Community Repo Parent @@ -151,7 +151,7 @@ scm:git:https://github.com/Alfresco/alfresco-community-repo.git scm:git:https://github.com/Alfresco/alfresco-community-repo.git https://github.com/Alfresco/alfresco-community-repo - HEAD + 20.114 diff --git a/remote-api/pom.xml b/remote-api/pom.xml index d749c80c98..7b3f282796 100644 --- a/remote-api/pom.xml +++ b/remote-api/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 diff --git a/repository/pom.xml b/repository/pom.xml index 52a61fc5d2..9c6991fe96 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114-SNAPSHOT + 20.114 From f2d858f911aeae635bd186dbc39fc729dc941013 Mon Sep 17 00:00:00 2001 From: alfresco-build <8039454+alfresco-build@users.noreply.github.com> Date: Wed, 22 Mar 2023 17:39:49 +0000 Subject: [PATCH 3/3] [maven-release-plugin][skip ci] prepare for next development iteration --- amps/ags/pom.xml | 2 +- amps/ags/rm-automation/pom.xml | 2 +- .../rm-automation/rm-automation-community-rest-api/pom.xml | 2 +- amps/ags/rm-community/pom.xml | 2 +- amps/ags/rm-community/rm-community-repo/pom.xml | 2 +- amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml | 2 +- amps/pom.xml | 2 +- amps/share-services/pom.xml | 2 +- core/pom.xml | 2 +- data-model/pom.xml | 2 +- mmt/pom.xml | 2 +- packaging/distribution/pom.xml | 2 +- packaging/docker-alfresco/pom.xml | 2 +- packaging/pom.xml | 2 +- packaging/tests/pom.xml | 2 +- packaging/tests/tas-cmis/pom.xml | 2 +- packaging/tests/tas-email/pom.xml | 2 +- packaging/tests/tas-integration/pom.xml | 2 +- packaging/tests/tas-restapi/pom.xml | 2 +- packaging/tests/tas-webdav/pom.xml | 2 +- packaging/war/pom.xml | 2 +- pom.xml | 4 ++-- remote-api/pom.xml | 2 +- repository/pom.xml | 2 +- 24 files changed, 25 insertions(+), 25 deletions(-) diff --git a/amps/ags/pom.xml b/amps/ags/pom.xml index 3932e7822a..f55945724e 100644 --- a/amps/ags/pom.xml +++ b/amps/ags/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-amps - 20.114 + 20.115-SNAPSHOT diff --git a/amps/ags/rm-automation/pom.xml b/amps/ags/rm-automation/pom.xml index 5d9371771a..b74c8ff8fa 100644 --- a/amps/ags/rm-automation/pom.xml +++ b/amps/ags/rm-automation/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-community-parent - 20.114 + 20.115-SNAPSHOT diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml index 342155be45..7a3594d78f 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-automation-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/amps/ags/rm-community/pom.xml b/amps/ags/rm-community/pom.xml index 2025ea0a67..0774fbc220 100644 --- a/amps/ags/rm-community/pom.xml +++ b/amps/ags/rm-community/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-community-parent - 20.114 + 20.115-SNAPSHOT diff --git a/amps/ags/rm-community/rm-community-repo/pom.xml b/amps/ags/rm-community/rm-community-repo/pom.xml index 92f96109f6..2b8bad72e8 100644 --- a/amps/ags/rm-community/rm-community-repo/pom.xml +++ b/amps/ags/rm-community/rm-community-repo/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-governance-services-community-repo-parent - 20.114 + 20.115-SNAPSHOT diff --git a/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml b/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml index 717638994d..00a291f41f 100644 --- a/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml +++ b/amps/ags/rm-community/rm-community-rest-api-explorer/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-governance-services-community-repo-parent - 20.114 + 20.115-SNAPSHOT diff --git a/amps/pom.xml b/amps/pom.xml index a8148bae6d..9e06143cac 100644 --- a/amps/pom.xml +++ b/amps/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/amps/share-services/pom.xml b/amps/share-services/pom.xml index 43be54a340..74fd2a21d0 100644 --- a/amps/share-services/pom.xml +++ b/amps/share-services/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-community-repo-amps - 20.114 + 20.115-SNAPSHOT diff --git a/core/pom.xml b/core/pom.xml index 90df58d6c1..f7a8fef550 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/data-model/pom.xml b/data-model/pom.xml index fc6032020e..fcfdd094e3 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/mmt/pom.xml b/mmt/pom.xml index db83c95e52..348f93d991 100644 --- a/mmt/pom.xml +++ b/mmt/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/distribution/pom.xml b/packaging/distribution/pom.xml index d4b7eed3ef..427b46aa7f 100644 --- a/packaging/distribution/pom.xml +++ b/packaging/distribution/pom.xml @@ -9,6 +9,6 @@ org.alfresco alfresco-community-repo-packaging - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/docker-alfresco/pom.xml b/packaging/docker-alfresco/pom.xml index 7ff171ab52..06d724c7c1 100644 --- a/packaging/docker-alfresco/pom.xml +++ b/packaging/docker-alfresco/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-packaging - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/pom.xml b/packaging/pom.xml index a80845885c..32f2ebeef7 100644 --- a/packaging/pom.xml +++ b/packaging/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/tests/pom.xml b/packaging/tests/pom.xml index 9338470bc7..8ce9eb2808 100644 --- a/packaging/tests/pom.xml +++ b/packaging/tests/pom.xml @@ -6,7 +6,7 @@ org.alfresco alfresco-community-repo-packaging - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/tests/tas-cmis/pom.xml b/packaging/tests/tas-cmis/pom.xml index be6996dbeb..56e3deaee3 100644 --- a/packaging/tests/tas-cmis/pom.xml +++ b/packaging/tests/tas-cmis/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-tests - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/tests/tas-email/pom.xml b/packaging/tests/tas-email/pom.xml index ea0d2a84cb..11aff83759 100644 --- a/packaging/tests/tas-email/pom.xml +++ b/packaging/tests/tas-email/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-community-repo-tests - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/tests/tas-integration/pom.xml b/packaging/tests/tas-integration/pom.xml index efb45e0407..2e383c8b99 100644 --- a/packaging/tests/tas-integration/pom.xml +++ b/packaging/tests/tas-integration/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-community-repo-tests - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/tests/tas-restapi/pom.xml b/packaging/tests/tas-restapi/pom.xml index 9102c99229..5c1655d94a 100644 --- a/packaging/tests/tas-restapi/pom.xml +++ b/packaging/tests/tas-restapi/pom.xml @@ -8,7 +8,7 @@ org.alfresco alfresco-community-repo-tests - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/tests/tas-webdav/pom.xml b/packaging/tests/tas-webdav/pom.xml index dad79e66ba..2782d7d6b3 100644 --- a/packaging/tests/tas-webdav/pom.xml +++ b/packaging/tests/tas-webdav/pom.xml @@ -9,7 +9,7 @@ org.alfresco alfresco-community-repo-tests - 20.114 + 20.115-SNAPSHOT diff --git a/packaging/war/pom.xml b/packaging/war/pom.xml index d58aa7f24d..2a4eaf7fec 100644 --- a/packaging/war/pom.xml +++ b/packaging/war/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo-packaging - 20.114 + 20.115-SNAPSHOT diff --git a/pom.xml b/pom.xml index e5672b8229..3878140982 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 alfresco-community-repo - 20.114 + 20.115-SNAPSHOT pom Alfresco Community Repo Parent @@ -151,7 +151,7 @@ scm:git:https://github.com/Alfresco/alfresco-community-repo.git scm:git:https://github.com/Alfresco/alfresco-community-repo.git https://github.com/Alfresco/alfresco-community-repo - 20.114 + HEAD diff --git a/remote-api/pom.xml b/remote-api/pom.xml index 7b3f282796..d5be55ac9d 100644 --- a/remote-api/pom.xml +++ b/remote-api/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT diff --git a/repository/pom.xml b/repository/pom.xml index 9c6991fe96..7b62a433a9 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -7,7 +7,7 @@ org.alfresco alfresco-community-repo - 20.114 + 20.115-SNAPSHOT