Skip to content

Commit

Permalink
Merge pull request arquillian#2 from jamezp/updates
Browse files Browse the repository at this point in the history
Update POM and .gitignore file. Add CI and dependabot
  • Loading branch information
jasondlee authored Jun 28, 2024
2 parents 02d1fe5 + a51d75d commit 0818b41
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 11 deletions.
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "daily"
groups:
arquillian-group:
patterns:
- "org.jboss.arquillian*"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
# Workflow files stored in the
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "daily"
48 changes: 48 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Build and Test

on:
push:
branches-ignore:
- 'dependabot/**'
paths:
- '**/pom.xml'
- 'src/*'
pull_request:
branches:
- '**'
paths:
- '**/pom.xml'
- 'src/*'

# Only run the latest job
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest ]
java: ['11', '17', '21']

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven Java ${{ matrix.java }}
run: mvn -B clean verify
- uses: actions/upload-artifact@v4
if: failure()
with:
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}
path: '**/surefire-reports/*'
26 changes: 25 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
.idea
#Ignore Maven target folder
target/

# Formatting cache
.cache/

#Ignore Eclipse files
.settings/
.classpath
.project

#Ignore Intellij files
*.iml
*.iws
*.ipr
.idea/

# NetBeans files
nb-configuration.xml

#Ignore Mac files
.DS_Store

# Maven site files
**/velocity.log
54 changes: 44 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>43</version>
<version>45</version>
<relativePath/>
</parent>

Expand All @@ -21,6 +21,35 @@

<name>Arquillian Testcontainers Support</name>
<description>Adds lifecycle management and injection support for Testcontainers in Arquillian tests</description>
<url>https://arquillian.org</url>

<inceptionYear>2024</inceptionYear>

<licenses>
<license>
<name>Apache License Version 2.0</name>
<url>https://repository.jboss.org/licenses/apache-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>jlee</id>
<name>Jason Lee</name>
<email>[email protected]</email>
<url>https://steeplesoft.com</url>
<organization>Red Hat, Inc.</organization>
<organizationUrl>https://redhat.com</organizationUrl>
</developer>
<developer>
<id>jamezp</id>
<name>James R Perkins</name>
<email>[email protected]</email>
<organization>Red Hat, Inc.</organization>
<organizationUrl>https://redhat.com</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://[email protected]:arquillian/arquillian-testcontainers.git</connection>
Expand All @@ -29,22 +58,27 @@
<tag>HEAD</tag>
</scm>

<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/arquillian/arquillian-testcontainers/issues</url>
</issueManagement>

<!-- Properties -->
<properties>
<version.arquillian_core>1.8.0.Final</version.arquillian_core>
<version.testcontainers>1.19.8</version.testcontainers>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>${version.arquillian_core}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>${version.arquillian_core}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
Expand Down

0 comments on commit 0818b41

Please sign in to comment.