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
54 changes: 54 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: JCA build

on: [push, pull_request]

jobs:

build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.may_fail }}
strategy:
fail-fast: false
matrix:
java: [ '8', '11' ]
may_fail: [ false ]
include:
- java: '16'
may_fail: true
name: Build on Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v3

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven

- name: Build and Test
run: mvn --batch-mode --update-snapshots verify

site:
runs-on: ubuntu-latest
name: Generate and Deploy site
if: ${{ github.ref == 'refs/heads/master' }}
steps:
- uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven

- name: Create site
run: mvn -B -DskipTests compile site

- name: Push site to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/site
force_orphan: true
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# jca [![Build Status](https://travis-ci.org/epics-base/jca.svg?branch=master)](https://travis-ci.org/epics-base/jca)
# jca [![Build Status](https://github.com/epics-base/jca/actions/workflows/build.yml/badge.svg)

Java Channel Access client and server API and a pure java implementation for both.

Expand Down
36 changes: 19 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.5.3</version>
<version>5.1.6</version>
<extensions>true</extensions>
<executions>
<execution>
Expand All @@ -109,26 +109,24 @@
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<version>3.2.2</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<version>2.19.1</version>
<configuration>
<systemProperties>
<property>
Expand All @@ -140,9 +138,8 @@
</plugin>
<!-- Required add sources to deployment -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<version>3.2.1</version>
<configuration>
<archive>
<manifestEntries>
Expand All @@ -164,9 +161,8 @@
</plugin>
<!-- Required add sources to deployment -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<version>2.10.4</version>
<configuration>
<additionalparam>${javadoc.doclint.none}</additionalparam>
<source>1.8</source>
Expand All @@ -180,27 +176,34 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>4.0.0-M1</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
</dependencies>

<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<version>2.10.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.3</version>
<version>2.12.1</version>
<reportSets>
<reportSet>
<reports>
Expand All @@ -213,9 +216,8 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
<version>3.2.0</version>
</plugin>
</plugins>
</reporting>
Expand Down
4 changes: 3 additions & 1 deletion xdocs/changes.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<document>
<document xmlns="http://maven.apache.org/changes/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
<properties>
<title>JCA Changes page</title>
<author email="matej.sekoranja_AT_cosylab.com">Matej Sekoranja</author>
Expand Down