Re: [PR] SLING-11633 Compile with Java 11 [sling-org-apache-sling-junit-teleporter]

2024-02-12 Thread via GitHub


sonarcloud[bot] commented on PR #4:
URL: 
https://github.com/apache/sling-org-apache-sling-junit-teleporter/pull/4#issuecomment-1940410525

   ## [![Quality Gate 
Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png
 'Quality Gate 
Failed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-junit-teleporter=4)
 **Quality Gate failed**  
   Failed conditions  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png
 '') [18.2% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-junit-teleporter=4=new_coverage=list)
 (required ≥ 80%)  
 
   [See analysis details on 
SonarCloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-junit-teleporter=4)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Resolved] (SLING-12249) Clarify "ADDED" resource changes for ancestor nodes of path

2024-02-12 Thread Konrad Windszus (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus resolved SLING-12249.
-
Fix Version/s: API 2.27.4
   Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-api/commit/0b81078c6977afe27d1f3d069456329a34459134.

> Clarify "ADDED" resource changes for ancestor nodes of path
> ---
>
> Key: SLING-12249
> URL: https://issues.apache.org/jira/browse/SLING-12249
> Project: Sling
>  Issue Type: Improvement
>  Components: API
>Affects Versions: API 2.15.0
>Reporter: Konrad Windszus
>Assignee: Konrad Windszus
>Priority: Major
> Fix For: API 2.27.4
>
>
> Similar to what was clarified in SLING-6066, events for ancestors of the 
> registered path may not only be received for "REMOVED" resource changes but 
> also for "ADDED" resource changes.
> This happens e.g. for moving resources with the JCR Resource Provider which 
> uses internally the semantics from 
> https://issues.apache.org/jira/browse/OAK-1459?focusedCommentId=13911484=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13911484



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] SLING-12249 Clarify that both REMOVED and ADDED events may be received [sling-org-apache-sling-api]

2024-02-12 Thread via GitHub


kwin merged PR #51:
URL: https://github.com/apache/sling-org-apache-sling-api/pull/51


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] Update dependency org.apache.sling:org.apache.sling.testing.clients to v3.0.24 [sling-site]

2024-02-12 Thread via GitHub


renovate-bot opened a new pull request, #154:
URL: https://github.com/apache/sling-site/pull/154

   [![Mend 
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
   
   This PR contains the following updates:
   
   | Package | Change | Age | Adoption | Passing | Confidence |
   |---|---|---|---|---|---|
   | 
[org.apache.sling:org.apache.sling.testing.clients](https://sling.apache.org) 
([source](https://togithub.com/apache/sling-org-apache-sling-testing-clients)) 
| `3.0.22` -> `3.0.24` | 
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.sling:org.apache.sling.testing.clients/3.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 | 
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.apache.sling:org.apache.sling.testing.clients/3.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 | 
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.apache.sling:org.apache.sling.testing.clients/3.0.22/3.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 | 
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.sling:org.apache.sling.testing.clients/3.0.22/3.0.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
 |
   
   ---
   
   > [!WARNING]
   > Some dependencies could not be looked up. Check the Dependency Dashboard 
for more information.
   
   ---
   
   ### Configuration
   
    **Schedule**: Branch creation - At any time (no schedule defined), 
Automerge - At any time (no schedule defined).
   
    **Automerge**: Disabled by config. Please merge this manually once you are 
satisfied.
   
   ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry 
checkbox.
   
    **Ignore**: Close this PR and you won't be reminded about this update 
again.
   
   ---
   
- [ ] If you want to rebase/retry this PR, check this 
box
   
   ---
   
   This PR has been generated by [Mend 
Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository 
job log [here](https://developer.mend.io/github/apache/sling-site).
   

   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] SLING-11633 Compile with Java 11 [sling-org-apache-sling-junit-teleporter]

2024-02-12 Thread via GitHub


sufyanharoon commented on PR #4:
URL: 
https://github.com/apache/sling-org-apache-sling-junit-teleporter/pull/4#issuecomment-1938536348

   @rombert , I am trying to run this PR and it is failing in Jenkins with the 
following issue
   
   `Detected JDK version 11.0.16-1 
(JAVA_HOME=/usr/local/asfpackages/java/adoptium-jdk-11.0.16.1+1) is not in the 
allowed range [17,).`
   
   The sling parent pom enforces v60 enforces Java 17 as min build requirement 
but the worker node on Jenkins doesn't have Java 17 installed. Can you please 
help here?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[Jenkins] Sling » Modules » sling-org-apache-sling-starter » master #1260 is BROKEN

2024-02-12 Thread Apache Jenkins Server
: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-model/2.2.1/maven-model-2.2.1.jar
 (88 kB at 1.3 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-settings/2.2.1/maven-settings-2.2.1.jar
 (49 kB at 732 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-profile/2.2.1/maven-profile-2.2.1.jar
 (35 kB at 505 kB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-project/2.2.1/maven-project-2.2.1.jar
 (156 kB at 2.1 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
 (332 kB at 3.9 MB/s)
[INFO] Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-registry/2.2.1/maven-plugin-registry-2.2.1.jar
 (30 kB at 313 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar
 (4.2 kB at 43 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.2.1/maven-plugin-api-2.2.1.jar
 (12 kB at 121 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
 (51 kB at 495 kB/s)
[INFO] Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
 (480 kB at 3.7 MB/s)
[DevOpticsMavenPublisher] dependencies consumed: 0, artifacts produced: 32
[withMaven] Publishers: Pipeline Graph Publisher: 33 ms, Findbugs Publisher: 1 
ms, CloudBees DevOptics Gate Artifact Publisher: 185219 ms
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from 
/home/jenkins/workspace/_org-apache-sling-starter_master/jdk_11_latest/.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 79 implicit excludes.
[INFO] 15 explicit excludes.
[INFO] 21 resources included
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 20 licenses.
[INFO] 
[INFO] --- jacoco:0.8.10:report (report) @ org.apache.sling.starter ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO] 
[INFO] --- jacoco:0.8.10:report-integration (report-integration) @ 
org.apache.sling.starter ---
[INFO] Loading execution data file 
/home/jenkins/workspace/_org-apache-sling-starter_master/jdk_11_latest/target/jacoco-it.exec
[INFO] Analyzed bundle 'Apache Sling Starter' with 0 classes
[INFO] 
[INFO] --- jacoco:0.8.10:report (report-merged) @ org.apache.sling.starter ---
[INFO] Loading execution data file 
/home/jenkins/workspace/_org-apache-sling-starter_master/jdk_11_latest/target/jacoco-merged.exec
[INFO] Analyzed bundle 'Apache Sling Starter' with 0 classes
[INFO] 
[INFO] --- docker:0.43.4:stop (stop-mongo) @ org.apache.sling.starter ---
[Pipeline] // withMaven
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[INFO] DOCKER> [mongo:4.4.6] "mongo": Stop and removed container fd864055b809 
after 0 ms
[INFO] 
[INFO] --- failsafe:3.0.0-M5:verify (default) @ org.apache.sling.starter ---
[INFO] Failsafe report directory: 
/home/jenkins/workspace/_org-apache-sling-starter_master/jdk_11_latest/target/failsafe-reports
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time:  10:17 min
[INFO] Finished at: 2024-02-12T11:28:41Z
[INFO] 
[INFO] [jenkins-event-spy] Generated 
/home/jenkins/workspace/_org-apache-sling-starter_master/jdk_11_latest@tmp/withMaven69c1e940/maven-spy-20240212-111823-81918032133266975481606.log
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M5:verify (default) on 
project org.apache.sling.starter: There are test failures.
[ERROR] 
[ERROR] Please refer to 
/home/jenk

[RESULT] [VOTE] Release Apache Sling Testing Clients 3.0.24

2024-02-12 Thread Andrei Dulvac
Hi, With my +1, the vote has passed with the following result : +1
(binding): Robert, Jörg, Andrei +1 (non binding): none I will copy this
release to the Sling dist directory and promote the artifacts to the
central Maven repository.
- Andrei

On Tue, Feb 6, 2024 at 9:04 PM Jörg Hoh 
wrote:

> +1
>
> Am Di., 6. Feb. 2024 um 13:33 Uhr schrieb Andrei Dulvac  >:
>
> > Hi,
> >
> > We solved 1 issue in this release:
> > https://issues.apache.org/jira/projects/SLING/versions/12354205
> >
> > Staging repository:
> > https://repository.apache.org/content/repositories/orgapachesling-2837
> >
> > You can use this UNIX script to download the release and verify the
> > signatures:
> >
> >
> https://raw.githubusercontent.com/apache/sling-tooling-release/master/check_staged_release.sh
> >
> > Usage:
> > sh check_staged_release.sh 2837 /tmp/sling-staging
> >
> > Please vote to approve this release:
> >
> >   [ ] +1 Approve the release
> >   [ ]  0 Don't care
> >   [ ] -1 Don't release, because ...
> >
> > This majority vote is open for at least 72 hours.
> >
> > - Andrei
> >
>
>
> --
> https://cqdump.joerghoh.de
>


[jira] [Commented] (SLING-11633) ClientSideTeleporter throwing illegal argument when target byte code is > 1.8

2024-02-12 Thread Sufyan Haroon (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17816570#comment-17816570
 ] 

Sufyan Haroon commented on SLING-11633:
---

Further changes are needed for running teleporter plugin with Java 11. Raised 
following PR

[https://github.com/apache/sling-org-apache-sling-junit-teleporter/pull/4]

Please review and merge. 

 

cc: [~bdelacretaz] 

> ClientSideTeleporter throwing illegal argument when target byte code is > 1.8
> -
>
> Key: SLING-11633
> URL: https://issues.apache.org/jira/browse/SLING-11633
> Project: Sling
>  Issue Type: Improvement
>  Components: Testing
> Environment: Apache Maven 3.8.5 
> (3599d3414f046de2324203b78ddcf9b5e4388aa0)
> Maven home: C:\aem-tools\utils\apache-maven-3.8.5
> Java version: 11.0.15.1, vendor: Oracle Corporation, runtime: 
> C:\aem-tools\utils\jdk-11.0.15.1
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>Reporter: Scott Yuan
>Priority: Trivial
> Fix For: JUnit Tests Teleporter 1.0.24
>
> Attachments: mylab.zip
>
>   Original Estimate: 2h
>  Time Spent: 0.5h
>  Remaining Estimate: 1.5h
>
> When attempted to use the latest 1.0.22 to build test cases using 
> TeleporterRule with Java 11+ code, illegal arguments error occurred. 
> It can be reproduce with the attached Maven project by change following 
> properites to 11. 
> * maven.compiler.source
> * maven.compiler.target



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


Re: [PR] SLING-11633 Compile with Java 11 [sling-org-apache-sling-junit-teleporter]

2024-02-12 Thread via GitHub


sufyanharoon commented on PR #4:
URL: 
https://github.com/apache/sling-org-apache-sling-junit-teleporter/pull/4#issuecomment-1938411088

   @bdelacretaz, can you please review it? This is needed for running tests 
with Java 11 using teleporter.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[PR] SLING-11633 Compile with Java 11 [sling-org-apache-sling-junit-teleporter]

2024-02-12 Thread via GitHub


sufyanharoon opened a new pull request, #4:
URL: https://github.com/apache/sling-org-apache-sling-junit-teleporter/pull/4

   When teleported 1.0.22 is used with Java 11.0.22 then the plugin fails


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org