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

bump dependencies to ensure Java 11 compatibility #3

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
970e6fc
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
6240494
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
d7f8559
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
739e25a
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
b242172
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
1708ea5
Create maven.yml
fjakop Dec 17, 2019
e72b0f1
Update maven.yml
fjakop Dec 17, 2019
6d42326
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
b5edb4f
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
d0218e9
bump dependencies to ensure Java 11 compatibility
fjakop Dec 17, 2019
7530a83
switch from travis to Github actions
fjakop Dec 17, 2019
a102862
use correct badge
fjakop Dec 17, 2019
34efb8f
overtake project for maintenance
fjakop Sep 8, 2020
0acc304
overtake project for maintenance
fjakop Sep 8, 2020
58d89b3
dependency bump
fjakop Sep 8, 2020
6334b8a
dependency bump
fjakop Sep 8, 2020
0e81851
fix line endings
fjakop Sep 8, 2020
a49140b
Release 2.0.1
fjakop Sep 8, 2020
89159bc
chore(deps): update assertj-core to 3.20.2
fjakop Sep 2, 2021
77507e9
Update maven.yml
fjakop Sep 2, 2021
2e5fb0d
Update maven.yml
fjakop Sep 2, 2021
0772f82
Update maven.yml
fjakop Sep 2, 2021
6441fd1
Update maven.yml
fjakop Sep 2, 2021
e032ecd
Update maven.yml
fjakop Sep 2, 2021
0b051c2
docs: update assertj-core to 3.20.2
fjakop Sep 2, 2021
8a4949a
[maven-release-plugin] prepare release annotation-validator-2.0.2
fjakop Sep 2, 2021
c850f00
[maven-release-plugin] rollback the release of annotation-validator-2…
fjakop Sep 2, 2021
c49b441
docs: update repository connections
fjakop Sep 2, 2021
3c4f7a8
[maven-release-plugin] prepare release annotation-validator-2.0.2
fjakop Sep 2, 2021
083d36b
[maven-release-plugin] prepare for next development iteration
fjakop Sep 2, 2021
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
41 changes: 41 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#
# Copyright © 2016 arxes-tolina GmbH ([email protected])
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Modifications copyright (C) 2020 Frank Jakop
#

name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11 ]
name: Test with Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v1
- name: Set up Java
uses: actions/[email protected]
with:
java-version: ${{ matrix.java }}
distribution: adopt
- name: Build with Maven
run: mvn -B package sonar:sonar -Pcoverage-per-test --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@

# IDEA files
/annotation-validator.iml
.idea/
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [2.0.2] - 2021-09-02
### Changed
- Multiple dependencies updated

## [2.0.1] - 2020-09-09
### Changed
- Moved to new coordinates de.jakop.validation:annotation-validator
- Multiple dependencies updated

## [2.0] - 2018-03-13
### Changed
- Dependencies updated: assertj-core, commons-lang3, jsr305, spring-core
Expand All @@ -9,4 +18,4 @@
- Support for Annotations that use @AliasFor without attributes

### Changed
- Fixed a false positive in @AliasFor validation
- Fixed a false positive in @AliasFor validation
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[![build status](https://travis-ci.org/arxes-tolina/annotation-validator.svg?branch=master)](https://github.com/arxes-tolina/annotation-validator/commits/master)
[![quality status](https://sonarcloud.io//api/badges/gate?key=de.tolina.common.validation%3Aannotation-validator)](https://sonarcloud.io/dashboard?id=de.tolina.common.validation%3Aannotation-validator)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=fjakop_annotation-validator&metric=alert_status)](https://sonarcloud.io/dashboard?id=fjakop_annotation-validator)

# Usage with Maven

Add the following dependency to your pom.xml

```
<dependency>
<groupId>de.tolina.common.validation</groupId>
<groupId>de.jakop.validation</groupId>
<artifactId>annotation-validator</artifactId>
<version>1.0</version>
<version>2.0.2</version>
<scope>test</scope>
</dependency>
```
Expand All @@ -35,7 +34,7 @@ class AnnotatedTestClass {
If you would like to check the class to be annotated only with `@MyAnnotation` and only have the configured params use the following

```
import static de.tolina.common.validation.AnnotationDefinition.*;
import static AnnotationDefinition.*;

...

Expand All @@ -48,7 +47,7 @@ validate().exactly() //
If you would like to check the class to be annotated only with `@MyAnnotation` but also want to consider default values for not configured params use the following

```
import static de.tolina.common.validation.AnnotationDefinition.*;
import static AnnotationDefinition.*;

...

Expand All @@ -75,4 +74,4 @@ validate() //
.param("value", TEST)) //
.forMethod(AnnotatedTestClass.class.getMethod("methodWithAnnotations"));

```
```
Loading