Skip to content

Commit ad61f8e

Browse files
committed
Merge branch 'develop'
2 parents 88e2045 + 8512af2 commit ad61f8e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1470
-391
lines changed

build-deploy_aem65.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626
# install AEM 6.5 with service pack
2727
mvn --non-recursive wcmio-content-package:install \
2828
--activate-profiles=${MAVEN_PROFILES} \
29-
-Dvault.artifact=adobe.binary.aem.65.servicepack:aem-service-pkg:zip:6.5.16.0 \
29+
-Dvault.artifact=adobe.binary.aem.65.servicepack:aem-service-pkg:zip:6.5.18.0 \
3030
-Dvault.delayAfterInstallSec=30
3131

3232
if [ "$?" -ne "0" ]; then

bundles/core/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
<parent>
2626
<groupId>io.wcm</groupId>
2727
<artifactId>io.wcm.wcm.core.components.parent</artifactId>
28-
<version>1.13.2-2.22.6</version>
28+
<version>1.14.0-2.23.2</version>
2929
<relativePath>../../parent/pom.xml</relativePath>
3030
</parent>
3131

3232
<groupId>io.wcm</groupId>
3333
<artifactId>io.wcm.wcm.core.components</artifactId>
34-
<version>1.13.2-2.22.6</version>
34+
<version>1.14.0-2.23.2</version>
3535
<packaging>jar</packaging>
3636

3737
<name>WCM Core Components</name>

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/link/LinkHtmlAttributesSerializer.java bundles/core/src/main/java/io/wcm/wcm/core/components/commons/link/LinkHtmlAttributesSerializer.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* limitations under the License.
1818
* #L%
1919
*/
20-
package io.wcm.wcm.core.components.impl.link;
20+
package io.wcm.wcm.core.components.commons.link;
2121

2222
import java.io.IOException;
2323
import java.util.Map;
@@ -31,9 +31,9 @@
3131
import com.fasterxml.jackson.databind.ser.std.StdSerializer;
3232

3333
/**
34-
* Serialized map of link attributes, omitting the "href" property.
34+
* Serializes a map of link attributes, omitting the "href" property.
3535
*/
36-
public class LinkHtmlAttributesSerializer extends StdSerializer<Map<String, String>> {
36+
public final class LinkHtmlAttributesSerializer extends StdSerializer<Map<String, String>> {
3737
private static final long serialVersionUID = 1L;
3838

3939
/**

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/link/LinkWrapper.java bundles/core/src/main/java/io/wcm/wcm/core/components/commons/link/LinkWrapper.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* limitations under the License.
1818
* #L%
1919
*/
20-
package io.wcm.wcm.core.components.impl.link;
20+
package io.wcm.wcm.core.components.commons.link;
2121

2222
import java.util.Map;
2323

@@ -34,8 +34,9 @@
3434
import io.wcm.handler.link.Link;
3535

3636
/**
37-
* Link wrapper around wcm.io Link.
37+
* Wraps a wcm.io Link object into a Core Components Link.
3838
*/
39+
@SuppressWarnings("java:S3740") // unable to provide generic for Core Component Link here
3940
public final class LinkWrapper implements com.adobe.cq.wcm.core.components.commons.link.Link {
4041

4142
private final Link link;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* #%L
3+
* wcm.io
4+
* %%
5+
* Copyright (C) 2023 wcm.io
6+
* %%
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
* #L%
19+
*/
20+
/**
21+
* Bridges wcm.io Link to Core Components Link.
22+
*/
23+
@org.osgi.annotation.versioning.Version("1.0.0")
24+
package io.wcm.wcm.core.components.commons.link;

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/ImageAreaV2Impl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import com.adobe.cq.wcm.core.components.models.ImageArea;
3232

3333
import io.wcm.handler.media.imagemap.ImageMapArea;
34-
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
34+
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
3535

3636
/**
3737
* Implementation of {@link ImageArea}.

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/LinkListItemV1Impl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import com.fasterxml.jackson.annotation.JsonIgnore;
2929

3030
import io.wcm.handler.link.Link;
31-
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
31+
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
3232
import io.wcm.wcm.core.components.models.mixin.LinkMixin;
3333

3434
/**

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/LinkListItemV2Impl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import com.fasterxml.jackson.annotation.JsonIgnore;
3232

3333
import io.wcm.handler.link.SyntheticLinkResource;
34-
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
34+
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
3535

3636
/**
3737
* {@link ListItem} implementation for any links.

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/helpers/PageListItemV4Impl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
import io.wcm.handler.link.Link;
5050
import io.wcm.handler.link.type.InternalLinkType;
51-
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
51+
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
5252
import io.wcm.wcm.core.components.impl.util.CoreResourceWrapper;
5353

5454
/**

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/v1/TeaserV1Impl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import com.fasterxml.jackson.annotation.JsonProperty;
3333

3434
import io.wcm.handler.link.Link;
35-
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
35+
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
3636
import io.wcm.wcm.core.components.impl.models.helpers.LinkListItemV1Impl;
3737
import io.wcm.wcm.core.components.impl.models.v2.TeaserV2Impl;
3838
import io.wcm.wcm.core.components.models.mixin.LinkMixin;

bundles/core/src/main/java/io/wcm/wcm/core/components/impl/models/v2/ButtonV2Impl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
4141
import io.wcm.handler.link.LinkHandler;
42-
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
42+
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
4343
import io.wcm.wcm.core.components.impl.models.helpers.AbstractComponentImpl;
4444
import io.wcm.wcm.core.components.impl.util.HandlerUnwrapper;
4545

0 commit comments

Comments
 (0)