Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

343 tck via maven cli config on master #1400

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
bb1f6e8
Try to remove an existing SAF map before adding one.
kaczyns Dec 13, 2017
d81d0c0
Microprofile Config TCK as a Simplicity FAT
hutchig Dec 21, 2017
3dd76ed
use build label for release type builds
Dec 21, 2017
d25c6cb
Use a copy of subscriptions set to iterate through to avoid CMException
Channyboy Dec 20, 2017
f37618c
Modified the subscribe and unsubscribe method calls of CollectorManag…
Channyboy Dec 20, 2017
50e41b0
Moved MvnUtils to componenttest.topology.utils
hutchig Dec 21, 2017
151e040
Ready for personal build testing
gmarcy Dec 21, 2017
fea3fa4
Issue #1333 thenApply and thenApplyAsync methods for managed completa…
njr-11 Dec 21, 2017
3090500
Issue #1392:Initial baseline file
pnicolucci Dec 21, 2017
74fa836
Issue #1392: MyFaces-4184 changes
pnicolucci Dec 21, 2017
36a7c90
Issue #1333 thenAccept and thenAcceptAsync methods for managed comple…
njr-11 Dec 21, 2017
cd3daa6
ProviderFactory.isReadable() and ProviderFactory.isWritable() will
Dec 5, 2017
f6d16ad
Issue #1333 exceptionally for managed completable future
njr-11 Dec 21, 2017
9683a81
Add appmanager-1.0 dependency to persistentExecutor-1.0
aguibert Dec 21, 2017
ce9bf2f
Add j2sec permissions to ee8 FAT
aguibert Dec 22, 2017
7a5c3b8
Improved log output
hutchig Dec 22, 2017
b38d9eb
Merge pull request #1394 from njr-11/1333-thenApply-for-managed-compl…
njr-11 Dec 22, 2017
5d4c1d4
Merge pull request #1396 from njr-11/1333-thenAccept-for-managed-comp…
njr-11 Dec 22, 2017
7bf8aaf
Merge pull request #1393 from gmarcy/redeliver-pr-1326
gmarcy Dec 22, 2017
d2e1fa7
Merge pull request #1390 from ewhoch/release-builds-use-label
ewhoch Dec 22, 2017
7fb3d8b
Issue #1333 whenComplete and whenCompleteAsync methods for managed co…
njr-11 Dec 22, 2017
1260057
Issue #1167 update security permission entry to align with changed De…
njr-11 Dec 22, 2017
18aa48c
Merge pull request #1398 from aguibert/pers-exec-standalone-feature
aguibert Dec 22, 2017
5308800
Merge pull request #1399 from aguibert/ee8_fat-j2sec
aguibert Dec 22, 2017
928fb67
Merge pull request #1395 from pnicolucci/1392-MyFaces4184
pnicolucci Dec 23, 2017
bb30b62
Merge pull request #1402 from njr-11/1167-update-permissions-for-new-…
njr-11 Dec 23, 2017
e7bfdfb
Merge pull request #1401 from njr-11/1333-exceptionally-and-whenCompl…
njr-11 Dec 24, 2017
ad2db01
Add JAX-B API as test infra dependency for running on Java 9
aguibert Dec 26, 2017
a86a3e0
copy the release repo before indexing to avoid windows issues
gmarcy Dec 27, 2017
5fcc941
Add deleteRecursive method to use in cleanup tasks
gmarcy Dec 27, 2017
476e2e4
Merge pull request #1406 from gmarcy/was-liberty-changes
gmarcy Dec 27, 2017
7945b63
Issue 1147: add FAT test for dynamically stopping and starting CDI.
nmittles Dec 27, 2017
90efcc7
Merge pull request #1405 from aguibert/java9-simplicity-jaxb-deps
aguibert Dec 28, 2017
1afcb45
Merge pull request #1386 from Channyboy/1384-CMException
Channyboy Dec 28, 2017
354ff86
Merge pull request #1385 from Channyboy/1382-syncHandlerSubSource
Channyboy Dec 28, 2017
a5af04f
Merge pull request #1397 from WhiteCat22/1228-jaxrs_cdi_isWritable
WhiteCat22 Dec 29, 2017
69ecc66
Issue #1333 thenCompose and thenComposeAsync for ManagedCompletableFu…
njr-11 Dec 31, 2017
003400e
Issue #1333 toString for ManagedCompletableFuture
njr-11 Jan 2, 2018
f971120
Update servlet-3.1 to only work with EE6 or EE7 features
aguibert Jan 2, 2018
d4c1e31
Added space to regexp to fix matching on the wrong application names.
nmittles Jan 2, 2018
2f792a6
Add Java2 Security setting for test application
pmd1nh Jan 2, 2018
001867d
Merge pull request #1344 from kaczyns/safAddMapFailure
kaczyns Jan 2, 2018
ce68373
Issue #1333 acceptEither and acceptEitherAsync methods for managed co…
njr-11 Jan 2, 2018
61f2d66
removed need to list jars used in pom systemPaths
hutchig Jan 2, 2018
5a7aa7d
Issue #1419 create new accessor class for timed operations to obtain …
njr-11 Jan 2, 2018
c77bbc1
Merge pull request #1409 from nmittles/bval_cdiStartStopTest
nmittles Jan 2, 2018
10f2944
pause resume command port failure
awisniew90 Jan 2, 2018
5c3674b
Remove redundant list of wlp jars used
hutchig Jan 3, 2018
b3f2983
Merge pull request #1414 from njr-11/1333-thenCompose-for-managed-com…
njr-11 Jan 3, 2018
188b71c
Merge pull request #1420 from njr-11/1419-create-new-accessor-class-f…
njr-11 Jan 3, 2018
b777733
Merge pull request #1417 from pmd1nh/1416-Fix_Java2_Security_Test_App…
pmd1nh Jan 3, 2018
e28c5cb
Merge pull request #1415 from aguibert/servlet-eecompat
aguibert Jan 3, 2018
c7f1cde
Issue #1333 applyToEither and applyToEitherAsync for managed completa…
njr-11 Jan 3, 2018
3f119d6
Issue #1333 handle and handleAsync methods for managed completable fu…
njr-11 Jan 3, 2018
bb50e24
h2 error handling improvements
wtlucy Dec 13, 2017
b4a61df
handle unknown frame types correctly
wtlucy Dec 13, 2017
b29feff
correctly process h2 ping frame payload
wtlucy Dec 13, 2017
145f7ff
better error handling for header compression, stream ID, and others
wtlucy Dec 13, 2017
4e25da3
support http2 trailers; better validate pseudo-headers; SP cleanup
wtlucy Dec 14, 2017
2ee56a9
improve trailer support
wtlucy Dec 18, 2017
6a77d3f
code review fixes
wtlucy Jan 3, 2018
8e90ad9
Add Reader Writer Reentrant lock to avoid CMException when accessing/…
Channyboy Jan 3, 2018
523e027
Add missing doPriv for monitor-1.0 feature
aguibert Jan 3, 2018
9b31eeb
Add j2sec permissions to jca_fat_derbyra bucket
aguibert Jan 3, 2018
67d6a2d
FAT test to check JAXRS works if opentracing feature enabled without …
kgibm Jan 3, 2018
415ba12
Port com.ibm.ws.jca_fat_errorpaths to OpenLiberty
aguibert Jan 3, 2018
9ea93b6
Ensure getClassLoader calls in LogUtils are in doPriv
andymc12 Jan 3, 2018
c465d98
Make the release task depend on assemble for all projects
aguibert Jan 4, 2018
c0ce850
Added two copyrights
hutchig Jan 4, 2018
b1f34fd
Merge pull request #1434 from aguibert/release-dependson-assemble
aguibert Jan 4, 2018
9213848
Merge pull request #1431 from aguibert/port-jca_fat_errorpaths
aguibert Jan 4, 2018
8122432
Merge pull request #1430 from aguibert/jca_fat_derbyra-j2sec
aguibert Jan 4, 2018
975db05
Merge pull request #1425 from njr-11/1333-applyToEither-for-managed-c…
njr-11 Jan 4, 2018
0b454e2
Merge pull request #1428 from njr-11/1333-handle-and-handleAsync-for-…
njr-11 Jan 4, 2018
722e86f
add typ header to JWT tokens (#1360)
brutif Jan 4, 2018
85e0932
Issue #1437 - add org.jboss.weld.util.collections to deserializer
tevans78 Jan 4, 2018
962f546
Adding json logging config variables to the osgi project.
raymondlam Jan 4, 2018
8d602f1
Issue #1333 thenCombine and thenCombineAsync for managed completable …
njr-11 Jan 4, 2018
6cfb4d0
Clientcontainer beanval 2.0 tests should not run on Java 7
aguibert Jan 4, 2018
1717715
throw CompressionException when decoding headers
wtlucy Jan 4, 2018
86c9e5b
Merge pull request #1433 from andymc12/jaxrsJava2Sec
andymc12 Jan 4, 2018
646540d
Issue 1453: Base class
ebreijo Jan 4, 2018
f3468b1
Issue #1333 thenAcceptBoth and thenAcceptBothAsync methods for manage…
njr-11 Jan 4, 2018
10bd97b
Issue 1453: Pull in MYFACES-4183
ebreijo Jan 4, 2018
69d8f0c
Issue #1427: iniitial baseline classes
pnicolucci Jan 4, 2018
c908ace
Issue #1427: MYFACES-4180 updates
pnicolucci Jan 4, 2018
a5e04de
Issue 1457: Move LDAPFatUtils and swap equalsDns in VMM fats
Jan 4, 2018
ac82e72
Merge pull request #1448 from aguibert/clientcontainer-bval20-java7
aguibert Jan 4, 2018
347837c
Issue 1411: Update the EclipseLink 2.6 and 2.7 binaries
Jan 5, 2018
2b95b83
Merge pull request #1442 from tevans78/1437-addWeldPackageToDeserializer
tevans78 Jan 5, 2018
21bbd6e
Merge pull request #1305 from wtlucy/http2-bugfixes
wtlucy Jan 5, 2018
46ba97e
Merge pull request #1456 from pnicolucci/1427-MyFaces4180
pnicolucci Jan 5, 2018
7235867
Merge pull request #1455 from ebreijo/1453-pullMYFACES-4183
ebreijo Jan 5, 2018
469ef85
pause resume nls message review changes
awisniew90 Jan 3, 2018
e3b2a20
Merge pull request #1446 from njr-11/1333-thenCombine-for-managed-com…
njr-11 Jan 5, 2018
cde8fde
Merge pull request #1454 from njr-11/1333-thenAcceptBoth-for-managed-…
njr-11 Jan 5, 2018
47f946d
Issue 1322: Add messages and tests for IdentityStore
Dec 13, 2017
b9cc9da
Refactor gradle scripts (#1452)
fritze2 Jan 5, 2018
2ac35f4
Tidied up tck pom.xml to mirror public TCK better
hutchig Jan 5, 2018
866cc77
Merge pull request #1410 from kristip17/AddMessagesIdentityStore
kristip17 Jan 5, 2018
62fddeb
Made top level pom mirror public TCK as much as possible
hutchig Jan 5, 2018
afe8b74
Update eclipse and bnd settings for Java 8 components.
jhanders34 Jan 5, 2018
e093f71
Put back the 2.7 binaries into oss_ibm.maven file to fix DHE
Jan 5, 2018
ec92601
Merge pull request #1470 from jhanders34/more_eclipse_cleanup
jhanders34 Jan 5, 2018
4e4b4d0
Issue 1147: Create a new DS for bval 2.0 CDI to use instead of adding…
nmittles Jan 5, 2018
4908227
Issue #1468 track policy executor future used by managed completable …
njr-11 Jan 5, 2018
4b4bd30
Minor change to the ossc.template to reflect the new location
Jan 5, 2018
aedd59b
#1479 Don't use the TCCL when choosing a parser impl for beans.xml
andymc12 Jan 5, 2018
a46dfda
Changed the code to ensure that the HTTP Dispatcher Link, and there the
billw1024 Jan 5, 2018
159dc70
Issue #1484 test not waiting for schema/table to be created
njr-11 Jan 5, 2018
dba76e9
Merge pull request #1480 from andymc12/cdiCustomSAXParser
andymc12 Jan 6, 2018
b6d49e9
Merge pull request #1486 from njr-11/1484-testActivationSpecXARecover…
njr-11 Jan 6, 2018
90aa30d
Issue #1468 allow for timing window where policy task future transiti…
njr-11 Jan 6, 2018
4f4ecd8
Implement @SkipForRepeat so FATs can skip individual test repeats
aguibert Jan 5, 2018
d6e7093
Update FATs using RepeatTests to use the @SkipForRepeat anno
aguibert Jan 5, 2018
5dfe8f5
Merge pull request #1471 from aguibert/fat-SkipForRepeat
aguibert Jan 6, 2018
4081539
Merge pull request #1476 from njr-11/1468-track-policy-executor-futur…
njr-11 Jan 7, 2018
b9f40db
Merge pull request #1461 from daliasheasha/1411-updateELBinaries
daliasheasha Jan 7, 2018
692aa61
Merge pull request #1460 from kristip17/MoveDomainEquals
kristip17 Jan 8, 2018
ee82605
Merge pull request #1481 from billw1024/1469-H2CloseHTTPLink
billw1024 Jan 8, 2018
adfb81b
Change to address NPE that may occur when multiple cdi-injected servlets
jim-krueger Jan 5, 2018
b6afe46
Minor changes from code review.
jim-krueger Jan 8, 2018
6012b27
Generate api/spi javadocs (#1159)
fritze2 Jan 8, 2018
58eda29
Initial commit, modified IOException catch block to close the socket.
mrsaldana Jan 8, 2018
fab31fc
Issue #1494: baseline files
pnicolucci Jan 8, 2018
69db20b
Issue #1494: MyFaces-4185 updates
pnicolucci Jan 8, 2018
1ad94d3
Proper formatting with tab indentation
Channyboy Jan 8, 2018
da32d0b
Merge pull request #1429 from Channyboy/1418-CMExceptionBMI
Channyboy Jan 8, 2018
4a4750f
Revert "Generate api/spi javadocs (#1159)"
fritze2 Jan 8, 2018
0441d31
Revert "Refactor gradle scripts (#1452)"
fritze2 Jan 8, 2018
422e7b7
Merge pull request #1502 from fritze2/revert-gradle-changes
fritze2 Jan 8, 2018
4cd1840
Remove JDK 6 specific code
jhanders34 Jan 5, 2018
36241d1
Merge pull request #1444 from raymondlam/1381-loggingMetatype
raymondlam Jan 8, 2018
14e1229
Issue 1504: fix for Swagger Parser vulnerability
Jan 8, 2018
e1b34c0
Merge pull request #1475 from jhanders34/more_eclipse_cleanup
jhanders34 Jan 8, 2018
70b0699
Issue #1468 cancel, complete, and completeExceptionally methods for m…
njr-11 Jan 8, 2018
5b6b410
Remove empty build.gradle files since they aren't needed any longer.
jhanders34 Jan 8, 2018
6e659c8
Issue #1468 additional cancellation tests for managed completable future
njr-11 Jan 8, 2018
e07acef
Merge pull request #1499 from pnicolucci/1494-PullInMyFaces4185
pnicolucci Jan 9, 2018
f2a0e44
Merge pull request #1508 from njr-11/1468-cancel-and-complete-for-man…
njr-11 Jan 9, 2018
925d5f8
Merge pull request #1485 from jim-krueger/1483-load-on-startup
jim-krueger Jan 9, 2018
0cbc61c
Merge pull request #1510 from njr-11/1468-additional-cancellation-tes…
njr-11 Jan 9, 2018
f668f57
Merge pull request #1498 from mrsaldana/1497_TCPChannel_SocketBindExc…
mrsaldana Jan 9, 2018
480ca7e
Add java permission to bean val 2.0 FAT
alexsm82 Jan 9, 2018
e0c2389
Merge pull request #1509 from jhanders34/more_eclipse_cleanup
jhanders34 Jan 9, 2018
2b9f29e
Merge pull request #1473 from nmittles/bval_DSrefactor
aguibert Jan 9, 2018
6d1bf2f
Merge pull request #1424 from awisniew90/pause-resume
awisniew90 Jan 9, 2018
b4ea430
add jwt token generation endpoint (#1472)
brutif Jan 9, 2018
b539e75
Merge pull request #1517 from alexsm82/bval_20_fat_j2security
alexsm82 Jan 9, 2018
c2e76d2
Merge pull request #1506 from a-saf/parser-fix
a-saf Jan 9, 2018
37ceb2a
Microprofile Config TCK as a Simplicity FAT
hutchig Dec 21, 2017
27dd825
Moved MvnUtils to componenttest.topology.utils
hutchig Dec 21, 2017
b43e7c8
Improved log output
hutchig Dec 22, 2017
7eb1b6d
removed need to list jars used in pom systemPaths
hutchig Jan 2, 2018
b098cec
Remove redundant list of wlp jars used
hutchig Jan 3, 2018
de50e7b
Added two copyrights
hutchig Jan 4, 2018
eb68944
Tidied up tck pom.xml to mirror public TCK better
hutchig Jan 5, 2018
f5ee641
Made top level pom mirror public TCK as much as possible
hutchig Jan 5, 2018
1fdc169
Merge branch '343-TckViaMavenCliConfigOnMaster' of github.com:hutchig…
hutchig Jan 10, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017 IBM Corporation and others.
* Copyright (c) 2017, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand All @@ -15,8 +15,8 @@
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

import componenttest.rules.FeatureReplacementAction;
import componenttest.rules.RepeatTests;
import componenttest.rules.repeater.FeatureReplacementAction;
import componenttest.rules.repeater.RepeatTests;

@RunWith(Suite.class)
@SuiteClasses({
Expand All @@ -28,6 +28,6 @@ public class FATSuite {
// First without any modifications, then again with all features upgraded to their EE8 equivalents.
@ClassRule
public static RepeatTests r = RepeatTests.withoutModification()
.andWith(FeatureReplacementAction.EE8_FEATURES);
.andWith(FeatureReplacementAction.EE8_FEATURES());

}
35 changes: 34 additions & 1 deletion dev/build.example_fat/fat/src/com/ibm/ws/example/SimpleTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2017 IBM Corporation and others.
* Copyright (c) 2017, 2018 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand All @@ -10,6 +10,12 @@
*******************************************************************************/
package com.ibm.ws.example;

import static componenttest.annotation.SkipForRepeat.EE8_FEATURES;
import static componenttest.annotation.SkipForRepeat.NO_MODIFICATION;
import static org.junit.Assert.assertTrue;

import java.util.Set;

import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
Expand All @@ -19,6 +25,7 @@

import app1.web.TestServletA;
import componenttest.annotation.Server;
import componenttest.annotation.SkipForRepeat;
import componenttest.annotation.TestServlet;
import componenttest.custom.junit.runner.FATRunner;
import componenttest.topology.impl.LibertyServer;
Expand Down Expand Up @@ -67,4 +74,30 @@ public void verifyArtifactoryDependency() throws Exception {
// Confirm that the example Artifactory dependency was download and is available on the classpath
org.apache.commons.logging.Log.class.getName();
}

@Test
@SkipForRepeat(EE8_FEATURES)
public void testEE7Only() throws Exception {
// This test will skip for the EE8 feature iteration

// Verify only EE7 features are enabled
Set<String> features = server.getServerConfiguration().getFeatureManager().getFeatures();
assertTrue("Expected the Java EE 7 feature 'servlet-3.1' to be enabled but was not: " + features,
features.contains("servlet-3.1"));
assertTrue("No EE8 features should be enabled when this test runs: " + features,
!features.contains("servlet-4.0"));
}

@Test
@SkipForRepeat(NO_MODIFICATION)
public void testEE8Only() throws Exception {
// This test will skip for the EE7 feature (i.e. NO_MODIFICATION) iteration

// Verify only EE8 features are enabled
Set<String> features = server.getServerConfiguration().getFeatureManager().getFeatures();
assertTrue("Expected the Java EE 8 feature 'servlet-4.0' to be enabled but was not: " + features,
features.contains("servlet-4.0"));
assertTrue("No EE7 features should be enabled when this test runs: " + features,
!features.contains("servlet-3.1"));
}
}
22 changes: 5 additions & 17 deletions dev/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,14 @@
/*
* Master Gradle build script
*
* Depends on bndPlugin property set by settings.gradle.
* and bnd_* values from gradle.properties.
* Depends on bnd_* values from gradle.properties.
*/

import aQute.bnd.build.Workspace
import aQute.bnd.osgi.Constants

/* Add bnd gradle plugin as a script dependency */
buildscript {
dependencies {
classpath bndPlugin
}
}

/* Initialize the bnd workspace */
Workspace.setDriver(Constants.BNDDRIVER_GRADLE)
Workspace.addGestalt(Constants.GESTALT_BATCH, null)
/* Initialize rootProject properties */
ext {
bndWorkspace = new Workspace(rootDir, bnd_cnf).setOffline(gradle.startParameter.offline)
cnf = rootProject.project(bnd_cnf)
buildImage = project(':build.image')
}
gradle.bndWorkspaceConfigure(bndWorkspace)

/* Configure the subprojects */
subprojects {
Expand All @@ -54,6 +39,9 @@ subprojects {
}
}
}
// Make the release task depend on assemble so that invoking 'release' or 'releaseNeeded'
// will publish jar updates to the local build.image/wlp image
release.dependsOn assemble
}

task wrapper(type: Wrapper) {
Expand Down
2 changes: 1 addition & 1 deletion dev/cnf/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/cache/
/bin/
/local/
/release/
/generated/
/maven-local/
/mavenlibs/
/*.mvn
2 changes: 1 addition & 1 deletion dev/cnf/ant/delivery_validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

<target name="statusChecksGHE">
<sequential>
<startActivity label="Create status checks for Open Libety EBC builds linked to pull requests and commits"/>
<startActivity label="Create status checks for Open Liberty EBC builds linked to pull requests and commits"/>
<createStatusChecksForOpenLibertyBuilds
repositoryAddress="${repositoryAddress}"
userId="${userId}"
Expand Down
48 changes: 34 additions & 14 deletions dev/cnf/build.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Contributors:
# IBM Corporation - initial API and implementation
#*******************************************************************************
-include: ${workspace}/gradle.properties, ${workspace}/generated.properties
-include: ${workspace}/gradle.properties

# Maven repository credentials
-connection-settings: ${if;${artifactory.download.token};server;-dummy};id=https://${artifactory.download.server};username=${artifactory.download.user};password=${artifactory.download.token}, \
Expand All @@ -17,6 +17,8 @@
# Logging for repository connection when debugging
#-connection-log: ${.}/connection-log.txt

maven.release.name: release

-plugin.1.Local: \
aQute.bnd.repository.maven.provider.MavenBndRepository; \
name = Local; \
Expand All @@ -27,22 +29,41 @@
aQute.bnd.repository.maven.provider.MavenBndRepository; \
name = Release; \
noupdateOnRelease = true; \
local = ${build}/${maven.release.name}
releaseUrl="${fileuri;${build}/${maven.release.name}}"; \
snapshotUrl="${fileuri;${build}/${maven.release.name}}"; \
local = ${build}/local

fetch.oss.repository: \
aQute.bnd.repository.maven.provider.MavenBndRepository; \
name = RemotePublic; \
releaseUrl = https://repo.maven.apache.org/maven2/; \
index = ${build}/oss_dependencies.maven

fetch.oss.ibm.repository: \
aQute.bnd.repository.maven.provider.MavenBndRepository; \
name = RemoteIBM; \
local = ~/.ibmdhe/repository; \
releaseUrl = http://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/wasliberty-open-liberty/; \
index = ${build}/oss_ibm.maven

fetch.ibm.java.repository:

push.ibm.repository:

-plugin.3.RemotePublic = ${fetch.oss.repository}
-plugin.3.RemotePublic: ${fetch.oss.repository}

-plugin.4.RemoteIBM = ${fetch.oss.ibm.repository}
-plugin.4.RemoteIBM: ${fetch.oss.ibm.repository}

-plugin.5.RemoteIBMJava = ${fetch.ibm.java.repository}
-plugin.5.RemoteIBMJava: ${fetch.ibm.java.repository}

-plugin.6.RemotePublish = ${push.ibm.repository}
-plugin.6.RemotePublish: ${push.ibm.repository}

# TODO: Disabled while testing whether this works correctly.
# Remove -SNAPSHOT for releases
#-snapshot: ${if;${is.release};;SNAPSHOT}

# Don't upload sources or javadoc unless bundle overrides
-maven-release: ${if;${is.remote.publishing};remote;local}, sources;path=NONE, javadoc;path=NONE
-maven-release: ${if;${driver;gradle};remote;local}, sources;path=NONE, javadoc;path=NONE

bin: ${if;${driver;gradle};build/classes/java/main;bin}
testbin: ${if;${driver;gradle};build/classes/java/test;bin_test}
Expand All @@ -58,14 +79,16 @@ javac.encoding: UTF-8
-sources: false

-pedantic: true
-fixupmessages.javac17: "The .JRE container is set to JavaSE-1.8 but bnd is compiling against 1.7";is:=ignore
-fixupmessages.nosrc: "bnd's src folder 'src' is not in the Eclipse build path";is:=ignore
-fixupmessages.missingexport: "Used bundle version * for exported package";is:=error

-releaserepo: ${if;${is.remote.publishing};RemotePublish;Release}
-baselinerepo: Release
-buildrepo: Local
-groupid: ${if;${test.project};test;dev}
-pom:
-dsannotations-options: version;minimum=1.2
#-dsannotations-options: version;minimum=1.2

buildEngineName: defaultEngine

Expand All @@ -85,9 +108,7 @@ junit: org.apache.servicemix.bundles.junit;version="[4.11,5)"
mockito: org.mockito.mockito-core;version="[1.9,2)",\
org.objenesis;version="[2.1,3)"

-pluginpath: \
${workspace}/cnf/lib/wlp-bndPlugins.jar,\
${workspace}/cnf/mavenlibs/org.apache.aries.util-1.1.3.jar
-pluginpath: ${if;${driver;gradle};${workspace}/cnf/lib/wlp-bndPlugins.jar,${workspace}/cnf/mavenlibs/org.apache.aries.util-1.1.3.jar;}

instrument.disabled: ${if;${test.project};true;false}
instrument.classesIncludes: **/*.class
Expand Down Expand Up @@ -121,9 +142,8 @@ javac.bootclasspath.java8:

# catch-all if something goes wrong. This should be updated in
# settings.gradle
defaultjdklib.bootclasspath: \
${java.home}/jre/lib/rt.jar;version=file;boot=true

defaultjdklib.bootclasspath:

internaljavac.bootclasspath.1.4: \
com.ibm.ws.internal.prereq.java:java.rt;strategy=exact;version=1.6.0;boot=true

Expand Down
Loading