diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ac35f34..c9694aa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,8 @@ jobs: - uses: ./ with: java-version: ${{ matrix.java }} + java-cache: maven maven-version: ${{ matrix.maven }} - - run: mvn -v + - run: mvn -v validate -Drequire.java=${{ matrix.java }} -Drequire.maven=${{ matrix.maven }} + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee44a96 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +target diff --git a/LICENSE b/LICENSE index 51138b3..6d16f20 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ The MIT License (MIT) -Copyright (c) 2019 Slawomir Jaranowski and contributors +Copyright (c) 2021 Simplify4U and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..3d78f25 --- /dev/null +++ b/pom.xml @@ -0,0 +1,97 @@ + + + + + 4.0.0 + + test + test + 1.0.0 + + + + + <_require.java/> + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + + display-info + enforce + + validate + + + + + + ${_require.java} + + + [${require.maven}] + + + + + + + + + + java8-version-label + + + require.java + 8 + + + + <_require.java>1.8 + + + + non-java8-version-label + + + require.java + !8 + + + + <_require.java>${require.java} + + + +