diff --git a/.gitignore b/.gitignore index 8fffe72..b757b59 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,12 @@ +# Created by http://gitignore.io + +### IntelliJ ### +*.iml +*.ipr +*.iws +.idea/ + +### Maven ### target/ -pom.xml.tag -pom.xml.releaseBackup -pom.xml.versionsBackup -pom.xml.next -release.properties -dependency-reduced-pom.xml -buildNumber.properties + +.java-version diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fa8d890 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: java + +sudo: false + +jdk: + - oraclejdk8 + +script: mvn clean verify + +after_success: + - mvn coveralls:report + +notifications: + email: + on_failure: change diff --git a/LICENSE b/LICENSE index 8f71f43..d559c9f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,4 @@ + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -178,7 +179,7 @@ APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" + boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a @@ -186,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright [2015] [Zalando SE] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -198,5 +199,4 @@ 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. - + limitations under the License. \ No newline at end of file diff --git a/MAINTAINERS b/MAINTAINERS new file mode 100644 index 0000000..7a2d6d6 --- /dev/null +++ b/MAINTAINERS @@ -0,0 +1 @@ +Willi Schönborn diff --git a/README.md b/README.md index 7978d22..b0694db 100644 --- a/README.md +++ b/README.md @@ -1 +1,34 @@ -# null-problemo +# Null Problemo + +[![Build Status](https://img.shields.io/travis/zalando/null-problemo.svg)](https://travis-ci.org/zalando/null-problemo) +[![Coverage Status](https://img.shields.io/coveralls/zalando/null-problemo.svg)](https://coveralls.io/r/zalando/null-problemo) +[![Release](https://img.shields.io/github/release/zalando/null-problemo.svg)](https://github.com/zalando/null-problemo/releases) +[![Maven Central](https://img.shields.io/maven-central/v/org.zalando/null-problemo.svg)](https://maven-badges.herokuapp.com/maven-central/org.zalando/null-problemo) + +## Dependency + +```xml + + org.zalando + null-problemo + ${null-problemo.version} + +``` + +## Usage + +## License + +Copyright [2015] Zalando SE + +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. diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..2eab034 --- /dev/null +++ b/pom.xml @@ -0,0 +1,306 @@ + + + 4.0.0 + + + 3.0.4 + + + org.zalando + null-problemo + 0.4.0-SNAPSHOT + + Null Problemo + TODO + https://github.com/zalando/null-problemo + + + Zalando SE + + + 2015 + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + Willi Schönborn + willi.schoenborn@zalando.de + Zalando SE + https://tech.zalando.com/ + + + + + https://github.com/zalando/null-problemo + scm:git:git@github.com:zalando/null-problemo.git + scm:git:git@github.com:zalando/null-problemo.git + + + + UTF-8 + 1.8 + 1.8 + 4.1.6.RELEASE + 2.6.0-rc2 + + + + + com.google.code.findbugs + jsr305 + 3.0.0 + + + com.google.gag + gag + 1.0.1 + + + com.google.guava + guava + 18.0 + + + org.springframework + spring-web + ${spring.version} + + + junit + junit + 4.12 + test + + + org.hamcrest + hamcrest-all + 1.3 + test + + + org.hobsoft.hamcrest + hamcrest-compose + 0.1.0 + test + + + org.mockito + mockito-all + 1.10.19 + test + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + test + + + com.fasterxml.jackson.module + jackson-module-parameter-names + ${jackson.version} + test + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.6 + + + org.codehaus.mojo + license-maven-plugin + 1.8 + + + + update-file-header + + process-sources + + + + apache_v2 + ⁣​ + ​⁣ + ⁣⁣ + + **/*.json + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + + -Xlint:unchecked + -Werror + -parameters + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.16 + + classesAndMethods + 1 + true + + + + org.jacoco + jacoco-maven-plugin + 0.7.5.201505241946 + + + prepare-agent + + prepare-agent + + + + report + + report + + + + check + + check + + + + + CLASS + + + LINE + COVEREDRATIO + 1.0 + + + BRANCH + COVEREDRATIO + 1.0 + + + + + + + + + + org.eluder.coveralls + coveralls-maven-plugin + 3.1.0 + + + org.codehaus.mojo + versions-maven-plugin + 2.2 + + false + + + + maven-scm-plugin + 1.9.4 + + false + ${project.version} + + + + + + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + + release + + + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.5 + true + + ossrh + https://oss.sonatype.org/ + true + + + + + + + + diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..9ab2e39 --- /dev/null +++ b/release.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +set -e + +mvn scm:check-local-modification + +# release +mvn versions:set +git add pom.xml +git commit +mvn clean deploy -P release +mvn scm:tag + +# next development version +mvn versions:set +git add pom.xml +git commit