Skip to content

Commit

Permalink
Merge branch 'master' into contentsync
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgonzalez authored Nov 15, 2023
2 parents 14a8b2d + d66f620 commit e892e23
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 61 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
jdk: [8, 11, 17]
jdk: [11, 17, 21]
include:
# lengthy build steps should only be performed on linux with Java 11 (CodeCov analysis, deployment)
- os: ubuntu-latest
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
shell: bash
run: |
if [ "${{ matrix.isMainBuildEnv }}" = "true" ]; then
echo "MVN_ADDITIONAL_OPTS=-Dlogback.configurationFile=bundle/src/test/resources/logback-test-no-logging.xml -Pcoverage,dependency-check" >> $GITHUB_ENV
echo "MVN_ADDITIONAL_OPTS=-Dlogback.configurationFile=bundle/src/test/resources/logback-test-no-logging.xml -Pcoverage,dependency-check,cloud" >> $GITHUB_ENV
if [ "${{github.ref}}" = "refs/heads/master" ] && [ "${{github.event_name}}" = "push" ]; then
echo "MAVEN_USERNAME=${{ secrets.OSSRH_TOKEN_USER }}" >> $GITHUB_ENV
echo "MAVEN_PASSWORD=${{ secrets.OSSRH_TOKEN_PASSWORD }}" >> $GITHUB_ENV
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com)

## Unreleased ([details][unreleased changes details])

## Added

- #3209 - WARN org.apache.sling.models.impl.ModelAdapterFactory - Cannot provide default for java.util.List<java.lang.String>

## 6.3.0 - 2023-10-25

Expand Down
12 changes: 0 additions & 12 deletions bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

@Model(
Expand All @@ -53,7 +54,6 @@ public class DispatcherFlushModelImpl implements DispatcherFlusherModel {
private String replicationActionType;

@ValueMapValue
@Default(values = {})
private List<String> paths;

@Override
Expand All @@ -63,7 +63,7 @@ public String getActionType() {

@Override
public Collection<String> getPaths() {
return paths;
return paths != null ? paths : Collections.emptyList();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public class TwitterFeedModelImpl implements TwitterFeedModel {
private int limit;

@ValueMapValue
@Default(values = {})
private List<String> tweets;

@PostConstruct
Expand Down
49 changes: 5 additions & 44 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@

<jacoco.version>0.8.7</jacoco.version>
<!-- affects both m-compiler-p and m-javadoc-p-->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.release>8</maven.compiler.release>
<!-- for reproducible builds (https://maven.apache.org/guides/mini/guide-reproducible-builds.html), automatically adjusted during release -->
<project.build.outputTimestamp>1698267085</project.build.outputTimestamp>
</properties>
Expand Down Expand Up @@ -386,19 +385,6 @@ Service-Component: OSGI-INF/*.xml
<artifactId>license-maven-plugin</artifactId>
<version>2.0.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.20</version>
<configuration>
<failOnError>false</failOnError>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down Expand Up @@ -459,7 +445,7 @@ Service-Component: OSGI-INF/*.xml
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-maven</id>
<id>enforce-maven-and-java</id>
<goals>
<goal>enforce</goal>
</goals>
Expand All @@ -468,6 +454,9 @@ Service-Component: OSGI-INF/*.xml
<requireMavenVersion>
<version>3.5.4</version><!-- license-maven-plugin 2.0.0 requires 3.5.4 -->
</requireMavenVersion>
<requireJavaVersion>
<version>11</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
Expand Down Expand Up @@ -740,23 +729,6 @@ Service-Component: OSGI-INF/*.xml
</plugins>
</build>
</profile>
<!-- profile for settings when running on Java8 -->
<profile>
<id>java8</id>
<activation>
<jdk>1.8</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>coverage</id>
<build>
Expand Down Expand Up @@ -799,17 +771,6 @@ Service-Component: OSGI-INF/*.xml
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
Expand Down

0 comments on commit e892e23

Please sign in to comment.