net.oneandone.troilus:troilus-service-example

Parent POM for 1-and-1 open source projects. Defines oftenly used dependencies as well as plugins and their versions.

License

License

Categories

Categories

Net
GroupId

GroupId

net.oneandone.troilus
ArtifactId

ArtifactId

troilus-service-example
Last Version

Last Version

0.8
Release Date

Release Date

Type

Type

war
Description

Description

Parent POM for 1-and-1 open source projects. Defines oftenly used dependencies as well as plugins and their versions.
Project Organization

Project Organization

1&1

Download troilus-service-example

How to add to project

<!-- https://jarcasting.com/artifacts/net.oneandone.troilus/troilus-service-example/ -->
<dependency>
    <groupId>net.oneandone.troilus</groupId>
    <artifactId>troilus-service-example</artifactId>
    <version>0.8</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/net.oneandone.troilus/troilus-service-example/
implementation 'net.oneandone.troilus:troilus-service-example:0.8'
// https://jarcasting.com/artifacts/net.oneandone.troilus/troilus-service-example/
implementation ("net.oneandone.troilus:troilus-service-example:0.8")
'net.oneandone.troilus:troilus-service-example:war:0.8'
<dependency org="net.oneandone.troilus" name="troilus-service-example" rev="0.8">
  <artifact name="troilus-service-example" type="war" />
</dependency>
@Grapes(
@Grab(group='net.oneandone.troilus', module='troilus-service-example', version='0.8')
)
libraryDependencies += "net.oneandone.troilus" % "troilus-service-example" % "0.8"
[net.oneandone.troilus/troilus-service-example "0.8"]

Dependencies

compile (8)

Group / Artifact Type Version
net.oneandone.troilus : troilus-core jar 0.8
net.oneandone.reactive : reactive-http jar 0.3
javax.ws.rs : javax.ws.rs-api jar 2.0.1
org.springframework : spring-web jar 4.0.3.RELEASE
com.google.guava : guava jar 18.0
com.datastax.cassandra : cassandra-driver-core jar 2.1.4
org.reactivestreams : reactive-streams jar 1.0.0.M3
log4j : log4j jar 1.2.17

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.1.0

test (10)

Group / Artifact Type Version
org.apache.cassandra : cassandra-all jar 2.1.2
org.apache.tomcat.embed : tomcat-embed-core jar 8.0.12
org.apache.tomcat.embed : tomcat-embed-logging-juli jar 8.0.12
org.apache.tomcat.embed : tomcat-embed-jasper jar 8.0.12
org.jboss.resteasy : resteasy-jaxrs jar 3.0.10.Final
org.jboss.resteasy : resteasy-jackson-provider jar 3.0.10.Final
org.jboss.resteasy : resteasy-spring jar 3.0.10.Final
org.jboss.resteasy : async-http-servlet-3.0 jar 3.0.10.Final
org.jboss.resteasy : resteasy-client jar 3.0.10.Final
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Parent POM for 1-and-1 open source projects.

Contains common configuration for projects that use github and Sonatype OSS Repository Hosting. Default License is Apache 2.0.

Build Status Build Status Release GitHub license

Changelog

http://1and1.github.io/foss-parent/github-report.html

How to use the POM

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>net.oneandone.maven.poms</groupId>
        <artifactId>foss-parent</artifactId>
        <version>${project.version}</version>
    </parent>
    <groupId>sample-groupId</groupId>
    <artifactId>sample-project</artifactId>
    <version>1-SNAPSHOT</version>
    [...]
</project>

Latest releases

... may be found at Maven Central.

Rules for versions

  • Major version bump for cases where the user of the pom MUST change or add stuff in her project (new file is needed, plugin or dependency not defined in the pomanymore)
  • Minor version bump for cases where versions of managed dependencies or managed plugins receive a major update so most of the times a quick fix would be to freeze the versions of the aforementioned dependencies or plugins in the project's pom. This includes additions of managed plugins or dependencies as well.
  • Micro version bump for cases where where versions of managed dependencies or managed plugins receive a minor update.

Releasing a project

... to Maven Central via Sonatype OSS Repository Hosting:

  • add the following to your settings:
<settings>
  <servers>
    <server>
      <id>sonatype-nexus-snapshots</id>
      <username>sonatype-user</username>
      <password>sonatype-pwd</password>
    </server>
    <server>
      <id>sonatype-nexus-staging</id>
      <username>sonatype-user</username>
      <password>sonatype-pwd</password>
    </server>
  </servers>
</settings>

TODO: http://www.sonatype.com/books/nexus-book/reference/staging-sect-managing-plugin.html

Deploy site to github

To deploy a site to github using maven-scm-publish-plugin:

  • Add a new branch gh-pages manually.
  • Add src/site/resources/.nojekyll to add hidden files (e.g. for jacoco) as well.
  • Run mvn clean verify site site:stage scm-publish:publish-scm -Dscmpublish.content=target/staging/ARTIFACTID.

Adjust license headers

mvn license:format
net.oneandone.troilus

1&1

Open Source by 1&1 Group.

Versions

Version
0.8
0.7
0.6
0.5