Skip to content

Commit 1d34b19

Browse files
authored
Merge pull request #25953 from arjantijms/9.0
Merge branch 'master' into 9.0
2 parents fd9d602 + d593317 commit 1d34b19

195 files changed

Lines changed: 1913 additions & 1600 deletions

File tree

Some content is hidden

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

Jenkinsfile

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,39 @@ pipeline {
285285
}
286286
}
287287
}
288+
stage('Check Changes') {
289+
steps {
290+
checkout scm
291+
container('maven') {
292+
script {
293+
// Default: run tests
294+
env.SKIP_TESTS = "false"
295+
296+
// Only check for docs-only changes in PR builds
297+
if (env.CHANGE_TARGET) {
298+
echo "PR build detected, checking if only docs changed..."
299+
300+
def relevantChanges = sh(
301+
script: '''
302+
(git diff --exit-code --name-only origin/${CHANGE_TARGET}...HEAD && echo "all") | sed '/^docs[/]/d'
303+
''',
304+
returnStdout: true
305+
).trim()
306+
307+
308+
if (relevantChanges == "") {
309+
env.SKIP_TESTS = "true"
310+
echo "✓ Only docs/ changes detected - tests will be skipped"
311+
} else {
312+
echo "✗ Relevant changes detected - tests will run"
313+
}
314+
} else {
315+
echo "Non-PR build - tests will always run"
316+
}
317+
}
318+
}
319+
}
320+
}
288321
stage('Build') {
289322
steps {
290323
checkout scm
@@ -331,6 +364,9 @@ pipeline {
331364
}
332365

333366
stage('Test') {
367+
when {
368+
environment name: 'SKIP_TESTS', value: 'false'
369+
}
334370
parallel {
335371
stage('main-tests') {
336372
steps {

appserver/admingui/community-theme/src/main/resources/org/glassfish/admingui/community-theme/Strings.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#
2+
# Copyright (c) 2026 Contributors to the Eclipse Foundation
23
# Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
34
#
45
# This program and the accompanying materials are made available under the
@@ -24,4 +25,4 @@ msg.JS.confirmLogout=Log Out of GlassFish Administration Console ?
2425
productName=GlassFish Server Open Source Edition
2526
promotionLink=java.sun.com/glassfish/productmsg.html
2627

27-
copyright.fullPage=Copyright \u00a9 2005,2020, Oracle and/or its affiliates. All rights reserved. <br><br>This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. <br><br>This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability setforth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. <br><br>SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
28+
copyright.fullPage=Copyright \u00a9 2026 Contributors to the Eclipse Foundation. <br>Copyright \u00a9 2005,2020, Oracle and/or its affiliates. All rights reserved. <br><br>This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. <br><br>This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability setforth in the Eclipse Public License v. 2.0 are satisfied: GNU General Public License, version 2 with the GNU Classpath Exception, which is available at https://www.gnu.org/software/classpath/license.html. <br><br>SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/Archivist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ public ProcessingResult processAnnotations(T bundleDesc, ReadableArchive archive
555555

556556

557557
/**
558-
* Process annotations in a bundle descriptor, the annoation processing
558+
* Process annotations in a bundle descriptor, the annotation processing
559559
* is dependent on the type of descriptor being passed.
560560
*/
561561
protected ProcessingResult processAnnotations(T bundleDesc, ModuleScanner<T> scanner, ReadableArchive archive)

appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/util/ResourceValidator.java

Lines changed: 786 additions & 771 deletions
Large diffs are not rendered by default.

appserver/deployment/jakartaee-core/src/main/java/org/glassfish/javaee/core/deployment/DolProvider.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import com.sun.enterprise.deployment.deploy.shared.DeploymentPlanArchive;
3232
import com.sun.enterprise.deployment.deploy.shared.InputJarArchive;
3333
import com.sun.enterprise.deployment.deploy.shared.Util;
34-
import com.sun.enterprise.deployment.util.ResourceValidator;
3534
import com.sun.enterprise.util.LocalStringManagerImpl;
3635
import com.sun.enterprise.util.io.FileUtils;
3736
import com.sun.enterprise.v3.common.HTMLActionReporter;
@@ -111,9 +110,6 @@ public class DolProvider implements ApplicationMetaDataProvider<Application>,
111110
@Inject
112111
Provider<ClassLoaderHierarchy> clhProvider;
113112

114-
@Inject
115-
ResourceValidator resourceValidator;
116-
117113
private static final String WRITEOUT_XML = System.getProperty("writeout.xml");
118114

119115
final private static LocalStringManagerImpl localStrings = new LocalStringManagerImpl(DolProvider.class);

appserver/extras/embedded/common/bootstrap/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2222
<modelVersion>4.0.0</modelVersion>
2323

2424
<parent>

appserver/extras/embedded/common/installroot-builder/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2222
<modelVersion>4.0.0</modelVersion>
2323
<parent>
2424
<groupId>org.glassfish.main.extras</groupId>

appserver/extras/embedded/common/instanceroot-builder/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2222
<modelVersion>4.0.0</modelVersion>
2323
<parent>
2424
<groupId>org.glassfish.main.extras</groupId>

appserver/extras/embedded/common/osgi-main/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2222
<modelVersion>4.0.0</modelVersion>
2323

2424
<parent>

appserver/extras/embedded/common/osgi-modules-uninstaller/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
-->
1919

2020
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2222
<modelVersion>4.0.0</modelVersion>
2323

2424
<parent>

0 commit comments

Comments
 (0)