Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Sep 8, 2023
2 parents 88e2045 + 8512af2 commit ad61f8e
Show file tree
Hide file tree
Showing 42 changed files with 1,470 additions and 391 deletions.
2 changes: 1 addition & 1 deletion build-deploy_aem65.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi
# install AEM 6.5 with service pack
mvn --non-recursive wcmio-content-package:install \
--activate-profiles=${MAVEN_PROFILES} \
-Dvault.artifact=adobe.binary.aem.65.servicepack:aem-service-pkg:zip:6.5.16.0 \
-Dvault.artifact=adobe.binary.aem.65.servicepack:aem-service-pkg:zip:6.5.18.0 \
-Dvault.delayAfterInstallSec=30

if [ "$?" -ne "0" ]; then
Expand Down
4 changes: 2 additions & 2 deletions bundles/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
<parent>
<groupId>io.wcm</groupId>
<artifactId>io.wcm.wcm.core.components.parent</artifactId>
<version>1.13.2-2.22.6</version>
<version>1.14.0-2.23.2</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

<groupId>io.wcm</groupId>
<artifactId>io.wcm.wcm.core.components</artifactId>
<version>1.13.2-2.22.6</version>
<version>1.14.0-2.23.2</version>
<packaging>jar</packaging>

<name>WCM Core Components</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* limitations under the License.
* #L%
*/
package io.wcm.wcm.core.components.impl.link;
package io.wcm.wcm.core.components.commons.link;

import java.io.IOException;
import java.util.Map;
Expand All @@ -31,9 +31,9 @@
import com.fasterxml.jackson.databind.ser.std.StdSerializer;

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

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* limitations under the License.
* #L%
*/
package io.wcm.wcm.core.components.impl.link;
package io.wcm.wcm.core.components.commons.link;

import java.util.Map;

Expand All @@ -34,8 +34,9 @@
import io.wcm.handler.link.Link;

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

private final Link link;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* #%L
* wcm.io
* %%
* Copyright (C) 2023 wcm.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
/**
* Bridges wcm.io Link to Core Components Link.
*/
@org.osgi.annotation.versioning.Version("1.0.0")
package io.wcm.wcm.core.components.commons.link;
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import com.adobe.cq.wcm.core.components.models.ImageArea;

import io.wcm.handler.media.imagemap.ImageMapArea;
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
import io.wcm.wcm.core.components.commons.link.LinkWrapper;

/**
* Implementation of {@link ImageArea}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import com.fasterxml.jackson.annotation.JsonIgnore;

import io.wcm.handler.link.Link;
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
import io.wcm.wcm.core.components.models.mixin.LinkMixin;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import com.fasterxml.jackson.annotation.JsonIgnore;

import io.wcm.handler.link.SyntheticLinkResource;
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
import io.wcm.wcm.core.components.commons.link.LinkWrapper;

/**
* {@link ListItem} implementation for any links.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

import io.wcm.handler.link.Link;
import io.wcm.handler.link.type.InternalLinkType;
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
import io.wcm.wcm.core.components.impl.util.CoreResourceWrapper;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;

import io.wcm.handler.link.Link;
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
import io.wcm.wcm.core.components.impl.models.helpers.LinkListItemV1Impl;
import io.wcm.wcm.core.components.impl.models.v2.TeaserV2Impl;
import io.wcm.wcm.core.components.models.mixin.LinkMixin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.wcm.handler.link.LinkHandler;
import io.wcm.wcm.core.components.impl.link.LinkWrapper;
import io.wcm.wcm.core.components.commons.link.LinkWrapper;
import io.wcm.wcm.core.components.impl.models.helpers.AbstractComponentImpl;
import io.wcm.wcm.core.components.impl.util.HandlerUnwrapper;

Expand Down
Loading

0 comments on commit ad61f8e

Please sign in to comment.