Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/maven-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,18 @@ jobs:
- name: Felix Log
if: steps.changes.outputs.log == 'true'
run: mvn -B -V -Dstyle.color=always --file log/pom.xml clean verify
# Built and installed before Felix HTTP, whose integration tests run on it.
# Also runs when only http changed, so those tests always exercise the framework
# in this repository rather than the last release. See FELIX-6869.
- name: Felix Framework
if: steps.changes.outputs.framework == 'true' || steps.changes.outputs.http == 'true'
run: mvn -B -V -Dstyle.color=always --file framework/pom.xml clean install
- name: Felix HTTP
if: steps.changes.outputs.http == 'true'
run: mvn -B -V -Dstyle.color=always "-Dit.test=!MissingWebsocketDependenciesIT" --file http/pom.xml clean install verify "-Dmaven.repo.local=/home/runner/.m2/repository/"
run: |
FRAMEWORK_VERSION=$(mvn -B -q --file framework/pom.xml help:evaluate -Dexpression=project.version -DforceStdout)
echo "Running the integration tests against framework $FRAMEWORK_VERSION"
mvn -B -V -Dstyle.color=always "-Dit.test=!MissingWebsocketDependenciesIT" --file http/pom.xml clean install verify "-Dmaven.repo.local=/home/runner/.m2/repository/" "-Dfelix.framework.version=$FRAMEWORK_VERSION"
- name: Felix Maven bundle plugin
if: steps.changes.outputs.maven-bundle-plugin == 'true'
run: mvn -B -V -Dstyle.color=always --file tools/maven-bundle-plugin/pom.xml clean install verify
Expand All @@ -88,13 +97,6 @@ jobs:
- name: Felix Webconsole
if: steps.changes.outputs.webconsole == 'true'
run: mvn -B -V -Dstyle.color=always --file webconsole/pom.xml clean install verify
- name: Felix Framework
if: steps.changes.outputs.framework == 'true'
# install, not verify: the TCK below is a separate Maven invocation and resolves
# the framework from the repository, so without installing it silently tests
# whatever org.apache.felix.framework is published rather than the build under
# test.
run: mvn -B -V -Dstyle.color=always --file framework/pom.xml clean install
- name: OSGi-TCK Framework
if: steps.changes.outputs.framework == 'true'
run: mvn -B -V -Dstyle.color=always --file framework.tck/pom.xml clean verify
Expand Down
9 changes: 8 additions & 1 deletion http/jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@
<jetty.version>11.0.26</jetty.version>
<baseline.skip>true</baseline.skip>
<org.ops4j.pax.exam.version>4.13.3</org.ops4j.pax.exam.version>
<!-- The OSGi framework the integration tests run on. Pinned rather than taken
from the reactor, because each module here builds on its own and the
framework is not necessarily built first; 7.0.5 is the latest release.
Override to test against a locally built framework, for example:
mvn verify -Dfelix.framework.version=7.1.0-SNAPSHOT
after mvn install in framework/. See FELIX-6869. -->
<felix.framework.version>7.0.5</felix.framework.version>
<!-- To debug the pax process, override this with -D -->
<pax.vm.options>-Xmx512M</pax.vm.options>
</properties>
Expand Down Expand Up @@ -523,7 +530,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>7.0.5</version>
<version>${felix.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ protected ModifiableCompositeOption optionalRemoteDebug() {
public static ModifiableCompositeOption spifly() {
return composite(
mavenBundle().groupId("org.apache.aries.spifly").artifactId("org.apache.aries.spifly.dynamic.bundle").version("1.3.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-analysis").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-commons").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-tree").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-util").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm").version("9.7")
mavenBundle().groupId("org.ow2.asm").artifactId("asm-analysis").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-commons").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-tree").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-util").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm").version("9.10.1")
);
}
}
9 changes: 8 additions & 1 deletion http/jetty12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
<slf4j.version>2.0.17</slf4j.version>
<baseline.skip>false</baseline.skip>
<org.ops4j.pax.exam.version>4.13.3</org.ops4j.pax.exam.version>
<!-- The OSGi framework the integration tests run on. Pinned rather than taken
from the reactor, because each module here builds on its own and the
framework is not necessarily built first; 7.0.5 is the latest release.
Override to test against a locally built framework, for example:
mvn verify -Dfelix.framework.version=7.1.0-SNAPSHOT
after mvn install in framework/. See FELIX-6869. -->
<felix.framework.version>7.0.5</felix.framework.version>
<!-- To debug the pax process, override this with -D -->
<pax.vm.options>-Xmx512M</pax.vm.options>
</properties>
Expand Down Expand Up @@ -701,7 +708,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>7.0.5</version>
<version>${felix.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ protected ModifiableCompositeOption optionalRemoteDebug() {
public static ModifiableCompositeOption spifly() {
return composite(
mavenBundle().groupId("org.apache.aries.spifly").artifactId("org.apache.aries.spifly.dynamic.bundle").version("1.3.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-analysis").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-commons").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-tree").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-util").version("9.7"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm").version("9.7")
mavenBundle().groupId("org.ow2.asm").artifactId("asm-analysis").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-commons").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-tree").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm-util").version("9.10.1"),
mavenBundle().groupId("org.ow2.asm").artifactId("asm").version("9.10.1")
);
}
}
Loading